PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 2.0.15
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v2.0.15
2.1.0 2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 All 42 releases
fluent-boards / assets / vendor.js

vendor.js in FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration 2.0.15, at assets/vendor.js

1,074 lines 3.9 MB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var e,t,n=Object.defineProperty,r=e=>{throw TypeError(e)},i=(e,t,r)=>((e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),o=(e,t,n)=>t.has(e)||r("Cannot "+n),a=(e,t,n)=>(o(e,t,"read from private field"),n?n.call(e):t.get(e)),s=(e,t,n)=>t.has(e)?r("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),l=(e,t,n,r)=>(o(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);function c(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const u={},O=[],d=()=>{},h=()=>!1,f=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),p=e=>e.startsWith("onUpdate:"),A=Object.assign,m=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},g=Object.prototype.hasOwnProperty,v=(e,t)=>g.call(e,t),y=Array.isArray,b=e=>"[object Map]"===C(e),w=e=>"[object Set]"===C(e),Q=e=>"[object Date]"===C(e),$=e=>"[object RegExp]"===C(e),S=e=>"function"==typeof e,x=e=>"string"==typeof e,k=e=>"symbol"==typeof e,P=e=>null!==e&&"object"==typeof e,T=e=>(P(e)||S(e))&&S(e.then)&&S(e.catch),_=Object.prototype.toString,C=e=>_.call(e),E=e=>C(e).slice(8,-1),R=e=>"[object Object]"===C(e),X=e=>x(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,B=c(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),U=c("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),D=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},I=/-\w/g,z=D(e=>e.replace(I,e=>e.slice(1).toUpperCase())),N=/\B([A-Z])/g,M=D(e=>e.replace(N,"-$1").toLowerCase()),L=D(e=>e.charAt(0).toUpperCase()+e.slice(1)),V=D(e=>e?`on${L(e)}`:""),q=(e,t)=>!Object.is(e,t),F=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},W=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Y=e=>{const t=x(e)?Number(e):NaN;return isNaN(t)?e:t};let j;const G=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),H=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;const K={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},J={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},ee=c("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol"),te=ee;function ne(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let r=e.split(/(\r?\n)/);const i=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let o=0;const a=[];for(let s=0;s<r.length;s++)if(o+=r[s].length+(i[s]&&i[s].length||0),o>=t){for(let e=s-2;e<=s+2||n>o;e++){if(e<0||e>=r.length)continue;const l=e+1;a.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${r[e]}`);const c=r[e].length,u=i[e]&&i[e].length||0;if(e===s){const e=t-(o-(c+u)),r=Math.max(1,n>o?c-e:n-t);a.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(e>s){if(n>o){const e=Math.max(Math.min(n-o,c),1);a.push(" | "+"^".repeat(e))}o+=c+u}}break}return a.join("\n")}function re(e){if(y(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=x(r)?se(r):re(r);if(i)for(const e in i)t[e]=i[e]}return t}if(x(e)||P(e))return e}const ie=/;(?![^(]*\))/g,oe=/:([^]+)/,ae=/\/\*[^]*?\*\//g;function se(e){const t={};return e.replace(ae,"").split(ie).forEach(e=>{if(e){const n=e.split(oe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function le(e){let t="";if(x(e))t=e;else if(y(e))for(let n=0;n<e.length;n++){const r=le(e[n]);r&&(t+=r+" ")}else if(P(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ce(e){if(!e)return null;let{class:t,style:n}=e;return t&&!x(t)&&(e.class=le(t)),n&&(e.style=re(n)),e}const ue=c("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),Oe=c("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),de=c("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),he=c("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),fe="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",pe=c(fe),Ae=c(fe+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function me(e){return!!e||""===e}const ge=/[>/="'\u0009\u000a\u000c\u0020]/,ve={};const ye=c("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),be=c("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),we=c("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");const Qe=/["'&<>]/;const $e=/^-?>|<!--|-->|--!>|<!-$/g;const Se=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function xe(e,t){if(e===t)return!0;let n=Q(e),r=Q(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=k(e),r=k(t),n||r)return e===t;if(n=y(e),r=y(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=xe(e[r],t[r]);return n}(e,t);if(n=P(e),r=P(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!xe(e[n],t[n]))return!1}}return String(e)===String(t)}function ke(e,t){return e.findIndex(e=>xe(e,t))}const Pe=e=>!(!e||!0!==e.__v_isRef),Te=e=>x(e)?e:null==e?"":y(e)||P(e)&&(e.toString===_||!S(e.toString))?Pe(e)?Te(e.value):JSON.stringify(e,_e,2):String(e),_e=(e,t)=>Pe(t)?_e(e,t.value):b(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ce(t,r)+" =>"]=n,e),{})}:w(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ce(e))}:k(t)?Ce(t):!P(t)||y(t)||R(t)?t:String(t),Ce=(e,t="")=>{var n;return k(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function Ee(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:String(e)}const Re=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:O,EMPTY_OBJ:u,NO:h,NOOP:d,PatchFlagNames:K,PatchFlags:{TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},ShapeFlags:{ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},SlotFlags:{STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},camelize:z,capitalize:L,cssVarNameEscapeSymbolsRE:Se,def:W,escapeHtml:function(e){const t=""+e,n=Qe.exec(t);if(!n)return t;let r,i,o="",a=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}a!==i&&(o+=t.slice(a,i)),a=i+1,o+=r}return a!==i?o+t.slice(a,i):o},escapeHtmlComment:function(e){return e.replace($e,"")},extend:A,genCacheKey:function(e,t){return e+JSON.stringify(t,(e,t)=>"function"==typeof t?t.toString():t)},genPropsAccessExp:function(e){return H.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`},generateCodeFrame:ne,getEscapedCssVarName:function(e,t){return e.replace(Se,e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`)},getGlobalThis:G,hasChanged:q,hasOwn:v,hyphenate:M,includeBooleanAttr:me,invokeArrayFns:F,isArray:y,isBooleanAttr:Ae,isBuiltInDirective:U,isDate:Q,isFunction:S,isGloballyAllowed:ee,isGloballyWhitelisted:te,isHTMLTag:ue,isIntegerKey:X,isKnownHtmlAttr:ye,isKnownMathMLAttr:we,isKnownSvgAttr:be,isMap:b,isMathMLTag:de,isModelListener:p,isObject:P,isOn:f,isPlainObject:R,isPromise:T,isRegExp:$,isRenderableAttrValue:function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t},isReservedProp:B,isSSRSafeAttrName:function(e){if(ve.hasOwnProperty(e))return ve[e];const t=ge.test(e);return ve[e]=!t},isSVGTag:Oe,isSet:w,isSpecialBooleanAttr:pe,isString:x,isSymbol:k,isVoidTag:he,looseEqual:xe,looseIndexOf:ke,looseToNumber:Z,makeMap:c,normalizeClass:le,normalizeCssVarValue:Ee,normalizeProps:ce,normalizeStyle:re,objectToString:_,parseStringStyle:se,propsToAttrMap:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},remove:m,slotFlagsText:J,stringifyStyle:function(e){if(!e)return"";if(x(e))return e;let t="";for(const n in e){const r=e[n];if(x(r)||"number"==typeof r){t+=`${n.startsWith("--")?n:M(n)}:${r};`}}return t},toDisplayString:Te,toHandlerKey:V,toNumber:Y,toRawType:E,toTypeString:C},Symbol.toStringTag,{value:"Module"}));let Xe,Be;class Ue{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Xe,!e&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=Xe;try{return Xe=this,e()}finally{Xe=t}}}on(){1===++this._on&&(this.prevScope=Xe,Xe=this)}off(){this._on>0&&0===--this._on&&(Xe=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function De(e){return new Ue(e)}function Ie(){return Xe}function ze(e,t=!1){Xe&&Xe.cleanups.push(e)}const Ne=new WeakSet;class Me{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Xe&&Xe.active&&Xe.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Ne.has(this)&&(Ne.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Fe(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,it(this),Ye(this);const e=Be,t=et;Be=this,et=!0;try{return this.fn()}finally{je(this),Be=e,et=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)Ke(e);this.deps=this.depsTail=void 0,it(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Ne.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ge(this)&&this.run()}get dirty(){return Ge(this)}}let Le,Ve,qe=0;function Fe(e,t=!1){if(e.flags|=8,t)return e.next=Ve,void(Ve=e);e.next=Le,Le=e}function We(){qe++}function Ze(){if(--qe>0)return;if(Ve){let e=Ve;for(Ve=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Le;){let n=Le;for(Le=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function Ye(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function je(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),Ke(r),Je(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ge(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(He(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function He(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===ot)return;if(e.globalVersion=ot,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Ge(e)))return;e.flags|=2;const t=e.dep,n=Be,r=et;Be=e,et=!0;try{Ye(e);const n=e.fn(e._value);(0===t.version||q(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(i){throw t.version++,i}finally{Be=n,et=r,je(e),e.flags&=-3}}function Ke(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ke(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function Je(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let et=!0;const tt=[];function nt(){tt.push(et),et=!1}function rt(){const e=tt.pop();et=void 0===e||e}function it(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=Be;Be=void 0;try{t()}finally{Be=e}}}let ot=0;class at{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class st{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Be||!et||Be===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==Be)t=this.activeLink=new at(Be,this),Be.deps?(t.prevDep=Be.depsTail,Be.depsTail.nextDep=t,Be.depsTail=t):Be.deps=Be.depsTail=t,lt(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Be.depsTail,t.nextDep=void 0,Be.depsTail.nextDep=t,Be.depsTail=t,Be.deps===t&&(Be.deps=e)}return t}trigger(e){this.version++,ot++,this.notify(e)}notify(e){We();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ze()}}}function lt(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)lt(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ct=new WeakMap,ut=Symbol(""),Ot=Symbol(""),dt=Symbol("");function ht(e,t,n){if(et&&Be){let t=ct.get(e);t||ct.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new st),r.map=t,r.key=n),r.track()}}function ft(e,t,n,r,i,o){const a=ct.get(e);if(!a)return void ot++;const s=e=>{e&&e.trigger()};if(We(),"clear"===t)a.forEach(s);else{const i=y(e),o=i&&X(n);if(i&&"length"===n){const e=Number(r);a.forEach((t,n)=>{("length"===n||n===dt||!k(n)&&n>=e)&&s(t)})}else switch((void 0!==n||a.has(void 0))&&s(a.get(n)),o&&s(a.get(dt)),t){case"add":i?o&&s(a.get("length")):(s(a.get(ut)),b(e)&&s(a.get(Ot)));break;case"delete":i||(s(a.get(ut)),b(e)&&s(a.get(Ot)));break;case"set":b(e)&&s(a.get(ut))}}Ze()}function pt(e){const t=rn(e);return t===e?t:(ht(t,0,dt),tn(e)?t:t.map(an))}function At(e){return ht(e=rn(e),0,dt),e}function mt(e,t){return en(e)?sn(Jt(e)?an(t):t):an(t)}const gt={__proto__:null,[Symbol.iterator](){return vt(this,Symbol.iterator,e=>mt(this,e))},concat(...e){return pt(this).concat(...e.map(e=>y(e)?pt(e):e))},entries(){return vt(this,"entries",e=>(e[1]=mt(this,e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,e=>e.map(e=>mt(this,e)),arguments)},find(e,t){return bt(this,"find",e,t,e=>mt(this,e),arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,e=>mt(this,e),arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qt(this,"includes",e)},indexOf(...e){return Qt(this,"indexOf",e)},join(e){return pt(this).join(e)},lastIndexOf(...e){return Qt(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return wt(this,"reduce",e,t)},reduceRight(e,...t){return wt(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return pt(this).toReversed()},toSorted(e){return pt(this).toSorted(e)},toSpliced(...e){return pt(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return vt(this,"values",e=>mt(this,e))}};function vt(e,t,n){const r=At(e),i=r[t]();return r===e||tn(e)||(i._next=i.next,i.next=()=>{const e=i._next();return e.done||(e.value=n(e.value)),e}),i}const yt=Array.prototype;function bt(e,t,n,r,i,o){const a=At(e),s=a!==e&&!tn(e),l=a[t];if(l!==yt[t]){const t=l.apply(e,o);return s?an(t):t}let c=n;a!==e&&(s?c=function(t,r){return n.call(this,mt(e,t),r,e)}:n.length>2&&(c=function(t,r){return n.call(this,t,r,e)}));const u=l.call(a,c,r);return s&&i?i(u):u}function wt(e,t,n,r){const i=At(e);let o=n,a=!1;i!==e&&(i!==e&&!tn(e)?(a=0===r.length,o=function(t,r,i){return a&&(a=!1,t=mt(e,t)),n.call(this,t,mt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));const s=i[t](o,...r);return a?mt(e,s):s}function Qt(e,t,n){const r=rn(e);ht(r,0,dt);const i=r[t](...n);return-1!==i&&!1!==i||!nn(n[0])?i:(n[0]=rn(n[0]),r[t](...n))}function $t(e,t,n=[]){nt(),We();const r=rn(e)[t].apply(e,n);return Ze(),rt(),r}const St=c("__proto__,__v_isRef,__isVue"),xt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(k));function kt(e){k(e)||(e=String(e));const t=rn(this);return ht(t,0,e),t.hasOwnProperty(e)}class Pt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(r?i?Zt:Wt:i?Ft:qt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=y(e);if(!r){let e;if(o&&(e=gt[t]))return e;if("hasOwnProperty"===t)return kt}const a=Reflect.get(e,t,ln(e)?e:n);if(k(t)?xt.has(t):St(t))return a;if(r||ht(e,0,t),i)return a;if(ln(a)){const e=o&&X(t)?a:a.value;return r&&P(e)?Gt(e):e}return P(a)?r?Gt(a):Yt(a):a}}class Tt extends Pt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t];const o=y(e)&&X(t);if(!this._isShallow){const e=en(i);if(tn(n)||en(n)||(i=rn(i),n=rn(n)),!o&&ln(i)&&!ln(n))return e||(i.value=n),!0}const a=o?Number(t)<e.length:v(e,t),s=Reflect.set(e,t,n,ln(e)?e:r);return e===rn(r)&&(a?q(n,i)&&ft(e,"set",t,n):ft(e,"add",t,n)),s}deleteProperty(e,t){const n=v(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&ft(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return k(t)&&xt.has(t)||ht(e,0,t),n}ownKeys(e){return ht(e,0,y(e)?"length":ut),Reflect.ownKeys(e)}}class _t extends Pt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ct=new Tt,Et=new _t,Rt=new Tt(!0),Xt=new _t(!0),Bt=e=>e,Ut=e=>Reflect.getPrototypeOf(e);function Dt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function It(e,t){const n={get(n){const r=this.__v_raw,i=rn(r),o=rn(n);e||(q(n,o)&&ht(i,0,n),ht(i,0,o));const{has:a}=Ut(i),s=t?Bt:e?sn:an;return a.call(i,n)?s(r.get(n)):a.call(i,o)?s(r.get(o)):void(r!==i&&r.get(n))},get size(){const t=this.__v_raw;return!e&&ht(rn(t),0,ut),t.size},has(t){const n=this.__v_raw,r=rn(n),i=rn(t);return e||(q(t,i)&&ht(r,0,t),ht(r,0,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){const i=this,o=i.__v_raw,a=t?Bt:e?sn:an;return!e&&ht(rn(o),0,ut),o.forEach((e,t)=>n.call(r,a(e),a(t),i))}};A(n,e?{add:Dt("add"),set:Dt("set"),delete:Dt("delete"),clear:Dt("clear")}:{add(e){const n=rn(this),r=Ut(n),i=rn(e),o=t||tn(e)||en(e)?e:i;return r.has.call(n,o)||q(e,o)&&r.has.call(n,e)||q(i,o)&&r.has.call(n,i)||(n.add(o),ft(n,"add",o,o)),this},set(e,n){t||tn(n)||en(n)||(n=rn(n));const r=rn(this),{has:i,get:o}=Ut(r);let a=i.call(r,e);a||(e=rn(e),a=i.call(r,e));const s=o.call(r,e);return r.set(e,n),a?q(n,s)&&ft(r,"set",e,n):ft(r,"add",e,n),this},delete(e){const t=rn(this),{has:n,get:r}=Ut(t);let i=n.call(t,e);i||(e=rn(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&ft(t,"delete",e,void 0),o},clear(){const e=rn(this),t=0!==e.size,n=e.clear();return t&&ft(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(e,t,n){return function(...r){const i=this.__v_raw,o=rn(i),a=b(o),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=i[e](...r),u=n?Bt:t?sn:an;return!t&&ht(o,0,l?Ot:ut),A(Object.create(c),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}(r,e,t)}),n}function zt(e,t){const n=It(e,t);return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(v(n,r)&&r in t?n:t,r,i)}const Nt={get:zt(!1,!1)},Mt={get:zt(!1,!0)},Lt={get:zt(!0,!1)},Vt={get:zt(!0,!0)},qt=new WeakMap,Ft=new WeakMap,Wt=new WeakMap,Zt=new WeakMap;function Yt(e){return en(e)?e:Kt(e,!1,Ct,Nt,qt)}function jt(e){return Kt(e,!1,Rt,Mt,Ft)}function Gt(e){return Kt(e,!0,Et,Lt,Wt)}function Ht(e){return Kt(e,!0,Xt,Vt,Zt)}function Kt(e,t,n,r,i){if(!P(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(E(a));var a;if(0===o)return e;const s=i.get(e);if(s)return s;const l=new Proxy(e,2===o?r:n);return i.set(e,l),l}function Jt(e){return en(e)?Jt(e.__v_raw):!(!e||!e.__v_isReactive)}function en(e){return!(!e||!e.__v_isReadonly)}function tn(e){return!(!e||!e.__v_isShallow)}function nn(e){return!!e&&!!e.__v_raw}function rn(e){const t=e&&e.__v_raw;return t?rn(t):e}function on(e){return!v(e,"__v_skip")&&Object.isExtensible(e)&&W(e,"__v_skip",!0),e}const an=e=>P(e)?Yt(e):e,sn=e=>P(e)?Gt(e):e;function ln(e){return!!e&&!0===e.__v_isRef}function cn(e){return On(e,!1)}function un(e){return On(e,!0)}function On(e,t){return ln(e)?e:new dn(e,t)}class dn{constructor(e,t){this.dep=new st,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:rn(e),this._value=t?e:an(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||tn(e)||en(e);q(e=n?e:rn(e),t)&&(this._rawValue=e,this._value=n?e:an(e),this.dep.trigger())}}function hn(e){e.dep&&e.dep.trigger()}function fn(e){return ln(e)?e.value:e}function pn(e){return S(e)?e():fn(e)}const An={get:(e,t,n)=>"__v_raw"===t?e:fn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return ln(i)&&!ln(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function mn(e){return Jt(e)?e:new Proxy(e,An)}class gn{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new st,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function vn(e){return new gn(e)}function yn(e){const t=y(e)?new Array(e.length):{};for(const n in e)t[n]=$n(e,n);return t}class bn{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=k(t)?t:String(t),this._raw=rn(e);let r=!0,i=e;if(!y(e)||k(this._key)||!X(this._key))do{r=!nn(i)||tn(i)}while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=fn(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&ln(this._raw[this._key])){const t=this._object[this._key];if(ln(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return function(e,t){const n=ct.get(e);return n&&n.get(t)}(this._raw,this._key)}}class wn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Qn(e,t,n){return ln(e)?e:S(e)?new wn(e):P(e)&&arguments.length>1?$n(e,t,n):cn(e)}function $n(e,t,n){return new bn(e,t,n)}class Sn{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new st(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ot-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&Be!==this)return Fe(this,!0),!0}get value(){const e=this.dep.track();return He(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function xn(e,t,n=!1){let r,i;S(e)?r=e:(r=e.get,i=e.set);return new Sn(r,i,n)}const kn={},Pn=new WeakMap;let Tn;function _n(e,t=!1,n=Tn){if(n){let t=Pn.get(n);t||Pn.set(n,t=[]),t.push(e)}}function Cn(e,t=1/0,n){if(t<=0||!P(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,ln(e))Cn(e.value,t,n);else if(y(e))for(let r=0;r<e.length;r++)Cn(e[r],t,n);else if(w(e)||b(e))e.forEach(e=>{Cn(e,t,n)});else if(R(e)){for(const r in e)Cn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Cn(e[r],t,n)}return e}const En=[];const Rn={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Xn(e,t,n,r){try{return r?e(...r):e()}catch(i){Un(i,t,n)}}function Bn(e,t,n,r){if(S(e)){const i=Xn(e,t,n,r);return i&&T(i)&&i.catch(e=>{Un(e,t,n)}),i}if(y(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Bn(e[o],t,n,r));return i}}function Un(e,t,n,r=!0){t&&t.vnode;const{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||u;if(t){let r=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,a))return;r=r.parent}if(i)return nt(),Xn(i,null,10,[e,o,a]),void rt()}!function(e,t,n,r=!0,i=!1){if(i)throw e}(e,0,0,r,o)}const Dn=[];let In=-1;const zn=[];let Nn=null,Mn=0;const Ln=Promise.resolve();let Vn=null;function qn(e){const t=Vn||Ln;return e?t.then(this?e.bind(this):e):t}function Fn(e){if(!(1&e.flags)){const t=Gn(e),n=Dn[Dn.length-1];!n||!(2&e.flags)&&t>=Gn(n)?Dn.push(e):Dn.splice(function(e){let t=In+1,n=Dn.length;for(;t<n;){const r=t+n>>>1,i=Dn[r],o=Gn(i);o<e||o===e&&2&i.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,Wn()}}function Wn(){Vn||(Vn=Ln.then(Hn))}function Zn(e){y(e)?zn.push(...e):Nn&&-1===e.id?Nn.splice(Mn+1,0,e):1&e.flags||(zn.push(e),e.flags|=1),Wn()}function Yn(e,t,n=In+1){for(;n<Dn.length;n++){const t=Dn[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;Dn.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function jn(e){if(zn.length){const e=[...new Set(zn)].sort((e,t)=>Gn(e)-Gn(t));if(zn.length=0,Nn)return void Nn.push(...e);for(Nn=e,Mn=0;Mn<Nn.length;Mn++){const e=Nn[Mn];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Nn=null,Mn=0}}const Gn=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Hn(e){try{for(In=0;In<Dn.length;In++){const e=Dn[In];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Xn(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;In<Dn.length;In++){const e=Dn[In];e&&(e.flags&=-2)}In=-1,Dn.length=0,jn(),Vn=null,(Dn.length||zn.length)&&Hn()}}let Kn,Jn=[];let er=null,tr=null;function nr(e){const t=er;return er=e,tr=e&&e.type.__scopeId||null,t}function rr(e,t=er,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Oa(-1);const i=nr(t);let o;try{o=e(...n)}finally{nr(i),r._d&&Oa(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function ir(e,t){if(null===er)return e;const n=ja(er),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[e,o,a,s=u]=t[i];e&&(S(e)&&(e={mounted:e,updated:e}),e.deep&&Cn(o),r.push({dir:e,instance:n,value:o,oldValue:void 0,arg:a,modifiers:s}))}return e}function or(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let l=s.dir[r];l&&(nt(),Bn(l,n,8,[e.el,s,e,t]),rt())}}function ar(e,t){if(Xa){let n=Xa.provides;const r=Xa.parent&&Xa.parent.provides;r===n&&(n=Xa.provides=Object.create(r)),n[e]=t}}function sr(e,t,n=!1){const r=Ba();if(r||uo){let i=uo?uo._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&S(t)?t.call(r&&r.proxy):t}}function lr(){return!(!Ba()&&!uo)}const cr=Symbol.for("v-scx"),ur=()=>sr(cr);function Or(e,t){return fr(e,null,t)}function dr(e,t){return fr(e,null,{flush:"sync"})}function hr(e,t,n){return fr(e,t,n)}function fr(e,t,n=u){const{immediate:r,deep:i,flush:o,once:a}=n,s=A({},n),l=t&&r||!t&&"post"!==o;let c;if(Va)if("sync"===o){const e=ur();c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!l){const e=()=>{};return e.stop=d,e.resume=d,e.pause=d,e}const O=Xa;s.call=(e,t,n)=>Bn(e,O,t,n);let h=!1;"post"===o?s.scheduler=e=>{Do(e,O&&O.suspense)}:"sync"!==o&&(h=!0,s.scheduler=(e,t)=>{t?e():Fn(e)}),s.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,O&&(e.id=O.uid,e.i=O))};const f=function(e,t,n=u){const{immediate:r,deep:i,once:o,scheduler:a,augmentJob:s,call:l}=n,c=e=>i?e:tn(e)||!1===i||0===i?Cn(e,1):Cn(e);let O,h,f,p,A=!1,g=!1;if(ln(e)?(h=()=>e.value,A=tn(e)):Jt(e)?(h=()=>c(e),A=!0):y(e)?(g=!0,A=e.some(e=>Jt(e)||tn(e)),h=()=>e.map(e=>ln(e)?e.value:Jt(e)?c(e):S(e)?l?l(e,2):e():void 0)):h=S(e)?t?l?()=>l(e,2):e:()=>{if(f){nt();try{f()}finally{rt()}}const t=Tn;Tn=O;try{return l?l(e,3,[p]):e(p)}finally{Tn=t}}:d,t&&i){const e=h,t=!0===i?1/0:i;h=()=>Cn(e(),t)}const v=Ie(),b=()=>{O.stop(),v&&v.active&&m(v.effects,O)};if(o&&t){const e=t;t=(...t)=>{e(...t),b()}}let w=g?new Array(e.length).fill(kn):kn;const Q=e=>{if(1&O.flags&&(O.dirty||e))if(t){const e=O.run();if(i||A||(g?e.some((e,t)=>q(e,w[t])):q(e,w))){f&&f();const n=Tn;Tn=O;try{const n=[e,w===kn?void 0:g&&w[0]===kn?[]:w,p];w=e,l?l(t,3,n):t(...n)}finally{Tn=n}}}else O.run()};return s&&s(Q),O=new Me(h),O.scheduler=a?()=>a(Q,!1):Q,p=e=>_n(e,!1,O),f=O.onStop=()=>{const e=Pn.get(O);if(e){if(l)l(e,4);else for(const t of e)t();Pn.delete(O)}},t?r?Q(!0):w=O.run():a?a(Q.bind(null,!0),!0):O.run(),b.pause=O.pause.bind(O),b.resume=O.resume.bind(O),b.stop=b,b}(e,t,s);return Va&&(c?c.push(f):l&&f()),f}function pr(e,t,n){const r=this.proxy,i=x(e)?e.includes(".")?Ar(r,e):()=>r[e]:e.bind(r,r);let o;S(t)?o=t:(o=t.handler,n=t);const a=Ia(this),s=fr(i,o.bind(r),n);return a(),s}function Ar(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const mr=new WeakMap,gr=Symbol("_vte"),vr=e=>e.__isTeleport,yr=e=>e&&(e.disabled||""===e.disabled),br=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,wr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Qr=(e,t)=>{const n=e&&e.to;if(x(n)){if(t){return t(n)}return null}return n},$r={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,c){const{mc:u,pc:O,pbc:d,o:{insert:h,querySelector:f,createText:p,createComment:A}}=c,m=yr(t.props);let{dynamicChildren:g}=t;const v=(e,t,n)=>{16&e.shapeFlag&&u(e.children,t,n,i,o,a,s,l)},y=(e=t)=>{const n=yr(e.props),r=e.target=Qr(e.props,f),o=Pr(r,e,p,h);r&&("svg"!==a&&br(r)?a="svg":"mathml"!==a&&wr(r)&&(a="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(v(e,r,o),kr(e,!1)))},b=e=>{const t=()=>{mr.get(e)===t&&(mr.delete(e),yr(e.props)&&(v(e,n,e.anchor),kr(e,!0)),y(e))};mr.set(e,t),Do(t,o)};if(null==e){const e=t.el=p(""),i=t.anchor=p("");if(h(e,n,r),h(i,n,r),(w=t.props)&&(w.defer||""===w.defer)||o&&o.pendingBranch)return void b(t);m&&(v(t,n,i),kr(t,!0)),y()}else{t.el=e.el;const r=t.anchor=e.anchor,u=mr.get(e);if(u)return u.flags|=8,mr.delete(e),void b(t);t.targetStart=e.targetStart;const h=t.target=e.target,p=t.targetAnchor=e.targetAnchor,A=yr(e.props),v=A?n:h,y=A?r:p;if("svg"===a||br(h)?a="svg":("mathml"===a||wr(h))&&(a="mathml"),g?(d(e.dynamicChildren,g,v,i,o,a,s),qo(e,t,!0)):l||O(e,t,v,y,i,o,a,s,!1),m)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Sr(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Qr(t.props,f);e&&Sr(t,e,null,c,0)}else A&&Sr(t,h,p,c,1);kr(t,m)}var w},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:O,props:d}=e;let h=o||!yr(d);const f=mr.get(e);if(f&&(f.flags|=8,mr.delete(e),h=!1),O&&(i(c),i(u)),o&&i(l),16&a)for(let p=0;p<s.length;p++){const e=s[p];r(e,t,n,h,!!e.dynamicChildren)}},move:Sr,hydrate:function(e,t,n,r,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l,insert:c,createText:u}},O){function d(e,n){let r=n;for(;r;){if(r&&8===r.nodeType)if("teleport start anchor"===r.data)t.targetStart=r;else if("teleport anchor"===r.data){t.targetAnchor=r,e._lpa=t.targetAnchor&&a(t.targetAnchor);break}r=a(r)}}function h(e,t){t.anchor=O(a(e),t,s(e),n,r,i,o)}const f=t.target=Qr(t.props,l),p=yr(t.props);if(f){const l=f._lpa||f.firstChild;16&t.shapeFlag&&(p?(h(e,t),d(f,l),t.targetAnchor||Pr(f,t,u,c,s(e)===f?e:null)):(t.anchor=a(e),d(f,l),t.targetAnchor||Pr(f,t,u,c),O(l&&a(l),t,f,n,r,i,o))),kr(t,p)}else p&&16&t.shapeFlag&&(h(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}};function Sr(e,t,n,{o:{insert:r},m:i},o=2){0===o&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:c,props:u}=e,O=2===o;if(O&&r(a,t,n),(!O||yr(u))&&16&l)for(let d=0;d<c.length;d++)i(c[d],t,n,2);O&&r(s,t,n)}const xr=$r;function kr(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Pr(e,t,n,r,i=null){const o=t.targetStart=n(""),a=t.targetAnchor=n("");return o[gr]=a,e&&(r(o,e,i),r(a,e,i)),a}const Tr=Symbol("_leaveCb"),_r=Symbol("_enterCb");function Cr(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return vi(()=>{e.isMounted=!0}),wi(()=>{e.isUnmounting=!0}),e}const Er=[Function,Array],Rr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Er,onEnter:Er,onAfterEnter:Er,onEnterCancelled:Er,onBeforeLeave:Er,onLeave:Er,onAfterLeave:Er,onLeaveCancelled:Er,onBeforeAppear:Er,onAppear:Er,onAfterAppear:Er,onAppearCancelled:Er},Xr=e=>{const t=e.subTree;return t.component?Xr(t.component):t};function Br(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==ia){t=n;break}return t}const Ur={name:"BaseTransition",props:Rr,setup(e,{slots:t}){const n=Ba(),r=Cr();return()=>{const i=t.default&&Lr(t.default(),!0);if(!i||!i.length)return;const o=Br(i),a=rn(e),{mode:s}=a;if(r.isLeaving)return zr(o);const l=Nr(o);if(!l)return zr(o);let c=Ir(l,a,r,n,e=>c=e);l.type!==ia&&Mr(l,c);let u=n.subTree&&Nr(n.subTree);if(u&&u.type!==ia&&!Aa(u,l)&&Xr(n).type!==ia){let e=Ir(u,a,r,n);if(Mr(u,e),"out-in"===s&&l.type!==ia)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},zr(o);"in-out"===s&&l.type!==ia?e.delayLeave=(e,t,n)=>{Dr(r,u)[String(u.key)]=u,e[Tr]=()=>{t(),e[Tr]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Dr(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ir(e,t,n,r,i){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:O,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:A,onAppear:m,onAfterAppear:g,onAppearCancelled:v}=t,b=String(e.key),w=Dr(n,e),Q=(e,t)=>{e&&Bn(e,r,9,t)},$=(e,t)=>{const n=t[1];Q(e,t),y(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},S={mode:a,persisted:s,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=A||l}t[Tr]&&t[Tr](!0);const i=w[b];i&&Aa(e,i)&&i.el[Tr]&&i.el[Tr](),Q(r,[t])},enter(t){if(w[b]===e)return;let r=c,i=u,a=O;if(!n.isMounted){if(!o)return;r=m||c,i=g||u,a=v||O}let s=!1;t[_r]=e=>{s||(s=!0,Q(e?a:i,[t]),S.delayedLeave&&S.delayedLeave(),t[_r]=void 0)};const l=t[_r].bind(null,!1);r?$(r,[t,l]):l()},leave(t,r){const i=String(e.key);if(t[_r]&&t[_r](!0),n.isUnmounting)return r();Q(d,[t]);let o=!1;t[Tr]=n=>{o||(o=!0,r(),Q(n?p:f,[t]),t[Tr]=void 0,w[i]===e&&delete w[i])};const a=t[Tr].bind(null,!1);w[i]=e,h?$(h,[t,a]):a()},clone(e){const o=Ir(e,t,n,r,i);return i&&i(o),o}};return S}function zr(e){if(si(e))return(e=wa(e)).children=null,e}function Nr(e){if(!si(e))return vr(e.type)&&e.children?Br(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&S(n.default))return n.default()}}function Mr(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Mr(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Lr(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let a=e[o];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:o);a.type===na?(128&a.patchFlag&&i++,r=r.concat(Lr(a.children,t,s))):(t||a.type!==ia)&&r.push(null!=s?wa(a,{key:s}):a)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Vr(e,t){return S(e)?(()=>A({name:e.name},t,{setup:e}))():e}function qr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Fr(e,t){let n;return!(!(n=Object.getOwnPropertyDescriptor(e,t))||n.configurable)}const Wr=new WeakMap;function Zr(e,t,n,r,i=!1){if(y(e))return void e.forEach((e,o)=>Zr(e,t&&(y(t)?t[o]:t),n,r,i));if(oi(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Zr(e,t,n,r.component.subTree));const o=4&r.shapeFlag?ja(r.component):r.el,a=i?null:o,{i:s,r:l}=e,c=t&&t.r,O=s.refs===u?s.refs={}:s.refs,d=s.setupState,f=rn(d),p=d===u?h:e=>!Fr(O,e)&&v(f,e),A=(e,t)=>!t||!Fr(O,t);if(null!=c&&c!==l)if(Yr(t),x(c))O[c]=null,p(c)&&(d[c]=null);else if(ln(c)){const e=t;A(0,e.k)&&(c.value=null),e.k&&(O[e.k]=null)}if(S(l))Xn(l,s,12,[a,O]);else{const t=x(l),r=ln(l);if(t||r){const s=()=>{if(e.f){const n=t?p(l)?d[l]:O[l]:A()||!e.k?l.value:O[e.k];if(i)y(n)&&m(n,o);else if(y(n))n.includes(o)||n.push(o);else if(t)O[l]=[o],p(l)&&(d[l]=O[l]);else{const t=[o];A(0,e.k)&&(l.value=t),e.k&&(O[e.k]=t)}}else t?(O[l]=a,p(l)&&(d[l]=a)):r&&(A(0,e.k)&&(l.value=a),e.k&&(O[e.k]=a))};if(a){const t=()=>{s(),Wr.delete(e)};t.id=-1,Wr.set(e,t),Do(t,n)}else Yr(e),s()}}}function Yr(e){const t=Wr.get(e);t&&(t.flags|=8,Wr.delete(e))}let jr=!1;const Gr=()=>{jr||(jr=!0)},Hr=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},Kr=e=>8===e.nodeType;function Jr(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:c}}=e,u=(n,r,s,c,f,v=!1)=>{v=v||!!r.dynamicChildren;const y=Kr(n)&&"["===n.data,b=()=>p(n,r,s,c,f,y),{type:w,ref:Q,shapeFlag:$,patchFlag:S}=r;let x=n.nodeType;r.el=n,-2===S&&(v=!1,r.dynamicChildren=null);let k=null;switch(w){case ra:3!==x?""===r.children?(l(r.el=i(""),a(n),n),k=n):k=b():(n.data!==r.children&&(Gr(),n.data=r.children),k=o(n));break;case ia:g(n)?(k=o(n),m(r.el=n.content.firstChild,n,s)):k=8!==x||y?b():o(n);break;case oa:if(y&&(x=(n=o(n)).nodeType),1===x||3===x){k=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===k.nodeType?k.outerHTML:k.data),t===r.staticCount-1&&(r.anchor=k),k=o(k);return y?o(k):k}b();break;case na:k=y?h(n,r,s,c,f,v):b();break;default:if(1&$)k=1===x&&r.type.toLowerCase()===n.tagName.toLowerCase()||g(n)?O(n,r,s,c,f,v):b();else if(6&$){r.slotScopeIds=f;const e=a(n);if(k=y?A(n):Kr(n)&&"teleport start"===n.data?A(n,n.data,"teleport end"):o(n),t(r,e,null,s,c,Hr(e),v),oi(r)&&!r.type.__asyncResolved){let t;y?(t=ya(na),t.anchor=k?k.previousSibling:e.lastChild):t=3===n.nodeType?Qa(""):ya("div"),t.el=n,r.component.subTree=t}}else 64&$?k=8!==x?b():r.type.hydrate(n,r,s,c,f,v,e,d):128&$&&(k=r.type.hydrate(n,r,s,c,Hr(a(n)),f,v,e,u))}return null!=Q&&Zr(Q,null,c,r),k},O=(e,t,n,i,o,a)=>{a=a||!!t.dynamicChildren;const{type:l,props:c,patchFlag:u,shapeFlag:O,dirs:h,transition:p}=t,A="input"===l||"option"===l;if(A||-1!==u){h&&or(t,null,n,"created");let l,v=!1;if(g(e)){v=Vo(null,p)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;if(v){const e=r.getAttribute("class");e&&(r.$cls=e),p.beforeEnter(r)}m(r,e,n),t.el=e=r}if(16&O&&(!c||!c.innerHTML&&!c.textContent)){let r=d(e.firstChild,t,e,n,i,o,a);for(;r;){ni(e,1)||Gr();const t=r;r=r.nextSibling,s(t)}}else if(8&O){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1));const{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,"\n")&&(ni(e,0)||Gr(),e.textContent=t.children)}if(c)if(A||!a||48&u){const t=e.tagName.includes("-");for(const i in c)(A&&(i.endsWith("value")||"indeterminate"===i)||f(i)&&!B(i)||"."===i[0]||t&&!B(i))&&r(e,i,null,c[i],void 0,n)}else if(c.onClick)r(e,"onClick",null,c.onClick,void 0,n);else if(4&u&&Jt(c.style))for(const e in c.style)c.style[e];(l=c&&c.onVnodeBeforeMount)&&_a(l,n,t),h&&or(t,null,n,"beforeMount"),((l=c&&c.onVnodeMounted)||h||v)&&ea(()=>{l&&_a(l,n,t),v&&p.enter(e),h&&or(t,null,n,"mounted")},i)}return e.nextSibling},d=(e,t,r,a,s,c,O)=>{O=O||!!t.dynamicChildren;const d=t.children,h=d.length;for(let f=0;f<h;f++){const t=O?d[f]:d[f]=xa(d[f]),p=t.type===ra;e?(p&&!O&&f+1<h&&xa(d[f+1]).type===ra&&(l(i(e.data.slice(t.children.length)),r,o(e)),e.data=t.children),e=u(e,t,a,s,c,O)):p&&!t.children?l(t.el=i(""),r):(ni(r,1)||Gr(),n(null,t,r,null,a,s,Hr(r),c))}return e},h=(e,t,n,r,i,s)=>{const{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);const O=a(e),h=d(o(e),t,O,n,r,i,s);return h&&Kr(h)&&"]"===h.data?o(t.anchor=h):(Gr(),l(t.anchor=c("]"),O,h),h)},p=(e,t,r,i,l,c)=>{if(ni(e.parentElement,1)||Gr(),t.el=null,c){const t=A(e);for(;;){const n=o(e);if(!n||n===t)break;s(n)}}const u=o(e),O=a(e);return s(e),n(null,t,O,u,r,i,Hr(O),l),r&&(r.vnode.el=t.el,wo(r,t.el)),u},A=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=o(e))&&Kr(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return o(e);r--}return e},m=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},g=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),jn(),void(t._vnode=e);u(t.firstChild,e,null,null,null),jn(),t._vnode=e},u]}const ei="data-allow-mismatch",ti={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ni(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(ei);)e=e.parentElement;const n=e&&e.getAttribute(ei);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||e.includes(ti[t])}}const ri=G().requestIdleCallback||(e=>setTimeout(e,1)),ii=G().cancelIdleCallback||(e=>clearTimeout(e));const oi=e=>!!e.type.__asyncLoader;function ai(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=ya(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const si=e=>e.type.__isKeepAlive,li={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ba(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:O}}}=r,d=O("div");function h(e){fi(e),u(e,n,s,!0)}function f(e){i.forEach((t,n)=>{const r=Ga(oi(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&p(n)})}function p(e){const t=i.get(e);!t||a&&Aa(t,a)?a&&fi(a):h(t),i.delete(e),o.delete(e)}r.activate=(e,t,n,r,i)=>{const o=e.component;c(e,t,n,0,s),l(o.vnode,e,t,n,o,s,r,e.slotScopeIds,i),Do(()=>{o.isDeactivated=!1,o.a&&F(o.a);const t=e.props&&e.props.onVnodeMounted;t&&_a(t,o.parent,e)},s)},r.deactivate=e=>{const t=e.component;Wo(t.m),Wo(t.a),c(e,d,null,1,s),Do(()=>{t.da&&F(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&_a(n,t.parent,e),t.isDeactivated=!0},s)},hr(()=>[e.include,e.exclude],([e,t])=>{e&&f(t=>ci(e,t)),t&&f(e=>!ci(t,e))},{flush:"post",deep:!0});let A=null;const m=()=>{null!=A&&(Yo(n.subTree.type)?Do(()=>{i.set(A,pi(n.subTree))},n.subTree.suspense):i.set(A,pi(n.subTree)))};return vi(m),bi(m),wi(()=>{i.forEach(e=>{const{subTree:t,suspense:r}=n,i=pi(t);if(e.type===i.type&&e.key===i.key){fi(i);const e=i.component.da;return void(e&&Do(e,r))}h(e)})}),()=>{if(A=null,!t.default)return a=null;const n=t.default(),r=n[0];if(n.length>1)return a=null,n;if(!(pa(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return a=null,r;let s=pi(r);if(s.type===ia)return a=null,s;const l=s.type,c=Ga(oi(s)?s.type.__asyncResolved||{}:l),{include:u,exclude:O,max:d}=e;if(u&&(!c||!ci(u,c))||O&&c&&ci(O,c))return s.shapeFlag&=-257,a=s,r;const h=null==s.key?l:s.key,f=i.get(h);return s.el&&(s=wa(s),128&r.shapeFlag&&(r.ssContent=s)),A=h,f?(s.el=f.el,s.component=f.component,s.transition&&Mr(s,s.transition),s.shapeFlag|=512,o.delete(h),o.add(h)):(o.add(h),d&&o.size>parseInt(d,10)&&p(o.values().next().value)),s.shapeFlag|=256,a=s,Yo(r.type)?r:s}}};function ci(e,t){return y(e)?e.some(e=>ci(e,t)):x(e)?e.split(",").includes(t):!!$(e)&&(e.lastIndex=0,e.test(t))}function ui(e,t){di(e,"a",t)}function Oi(e,t){di(e,"da",t)}function di(e,t,n=Xa){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ai(t,r,n),n){let e=n.parent;for(;e&&e.parent;)si(e.parent.vnode)&&hi(r,t,n,e),e=e.parent}}function hi(e,t,n,r){const i=Ai(t,e,r,!0);Qi(()=>{m(r[t],i)},n)}function fi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function pi(e){return 128&e.shapeFlag?e.ssContent:e}function Ai(e,t,n=Xa,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{nt();const i=Ia(n),o=Bn(t,n,e,r);return i(),rt(),o});return r?i.unshift(o):i.push(o),o}}const mi=e=>(t,n=Xa)=>{Va&&"sp"!==e||Ai(e,(...e)=>t(...e),n)},gi=mi("bm"),vi=mi("m"),yi=mi("bu"),bi=mi("u"),wi=mi("bum"),Qi=mi("um"),$i=mi("sp"),Si=mi("rtg"),xi=mi("rtc");function ki(e,t=Xa){Ai("ec",e,t)}const Pi="components";function Ti(e,t){return Ri(Pi,e,!0,t)||e}const _i=Symbol.for("v-ndc");function Ci(e){return x(e)?Ri(Pi,e,!1)||e:e||_i}function Ei(e){return Ri("directives",e)}function Ri(e,t,n=!0,r=!1){const i=er||Xa;if(i){const n=i.type;if(e===Pi){const e=Ga(n,!1);if(e&&(e===t||e===z(t)||e===L(z(t))))return n}const o=Xi(i[e]||n[e],t)||Xi(i.appContext[e],t);return!o&&r?n:o}}function Xi(e,t){return e&&(e[t]||e[z(t)]||e[L(z(t))])}function Bi(e,t,n,r){let i;const o=n&&n[r],a=y(e);if(a||x(e)){let n=!1,r=!1;a&&Jt(e)&&(n=!tn(e),r=en(e),e=At(e)),i=new Array(e.length);for(let a=0,s=e.length;a<s;a++)i[a]=t(n?r?sn(an(e[a])):an(e[a]):e[a],a,void 0,o&&o[a])}else if("number"==typeof e){i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,o&&o[n])}else if(P(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,o&&o[n]));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];i[r]=t(e[a],a,r,o&&o[r])}}else i=[];return n&&(n[r]=i),i}function Ui(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(y(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Di(e,t,n={},r,i){if(er.ce||er.parent&&oi(er.parent)&&er.parent.ce){const e=Object.keys(n).length>0;return"default"!==t&&(n.name=t),la(),fa(na,null,[ya("slot",n,r&&r())],e?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),la();const a=o&&Ii(o(n)),s=n.key||a&&a.key,l=fa(na,{key:(s&&!k(s)?s:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&1===e._?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Ii(e){return e.some(e=>!pa(e)||e.type!==ia&&!(e.type===na&&!Ii(e.children)))?e:null}function zi(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:V(r)]=e[r];return n}const Ni=e=>e?Na(e)?ja(e):Ni(e.parent):null,Mi=A(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ni(e.parent),$root:e=>Ni(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ji(e),$forceUpdate:e=>e.f||(e.f=()=>{Fn(e.update)}),$nextTick:e=>e.n||(e.n=qn.bind(e.proxy)),$watch:e=>pr.bind(e)}),Li=(e,t)=>e!==u&&!e.__isScriptSetup&&v(e,t),Vi={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;if("$"!==t[0]){const e=a[t];if(void 0!==e)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Li(r,t))return a[t]=1,r[t];if(i!==u&&v(i,t))return a[t]=2,i[t];if(v(o,t))return a[t]=3,o[t];if(n!==u&&v(n,t))return a[t]=4,n[t];ji&&(a[t]=0)}}const c=Mi[t];let O,d;return c?("$attrs"===t&&ht(e.attrs,0,""),c(e)):(O=s.__cssModules)&&(O=O[t])?O:n!==u&&v(n,t)?(a[t]=4,n[t]):(d=l.config.globalProperties,v(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Li(i,t)?(i[t]=n,!0):r!==u&&v(r,t)?(r[t]=n,!0):!v(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(o[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:o,type:a}},s){let l;return!!(n[s]||e!==u&&"$"!==s[0]&&v(e,s)||Li(t,s)||v(o,s)||v(r,s)||v(Mi,s)||v(i.config.globalProperties,s)||(l=a.__cssModules)&&l[s])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:v(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},qi=A({},Vi,{get(e,t){if(t!==Symbol.unscopables)return Vi.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!ee(t)});function Fi(){return Zi().slots}function Wi(){return Zi().attrs}function Zi(e){const t=Ba();return t.setupContext||(t.setupContext=Ya(t))}function Yi(e){return y(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let ji=!0;function Gi(e){const t=Ji(e),n=e.proxy,r=e.ctx;ji=!1,t.beforeCreate&&Hi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:O,mounted:h,beforeUpdate:f,updated:p,activated:A,deactivated:m,beforeDestroy:g,beforeUnmount:v,destroyed:b,unmounted:w,render:Q,renderTracked:$,renderTriggered:x,errorCaptured:k,serverPrefetch:T,expose:_,inheritAttrs:C,components:E,directives:R,filters:X}=t;if(c&&function(e,t){y(e)&&(e=ro(e));for(const n in e){const r=e[n];let i;i=P(r)?"default"in r?sr(r.from||n,r.default,!0):sr(r.from||n):sr(r),ln(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(c,r,null),a)for(const d in a){const e=a[d];S(e)&&(r[d]=e.bind(n))}if(i){const t=i.call(n,n);P(t)&&(e.data=Yt(t))}if(ji=!0,o)for(const y in o){const e=o[y],t=S(e)?e.bind(n,n):S(e.get)?e.get.bind(n,n):d,i=!S(e)&&S(e.set)?e.set.bind(n):d,a=Ha({get:t,set:i});Object.defineProperty(r,y,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(s)for(const d in s)Ki(s[d],r,n,d);if(l){const e=S(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{ar(t,e[t])})}function B(e,t){y(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(u&&Hi(u,e,"c"),B(gi,O),B(vi,h),B(yi,f),B(bi,p),B(ui,A),B(Oi,m),B(ki,k),B(xi,$),B(Si,x),B(wi,v),B(Qi,w),B($i,T),y(_))if(_.length){const t=e.exposed||(e.exposed={});_.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});Q&&e.render===d&&(e.render=Q),null!=C&&(e.inheritAttrs=C),E&&(e.components=E),R&&(e.directives=R),T&&qr(e)}function Hi(e,t,n){Bn(y(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ki(e,t,n,r){let i=r.includes(".")?Ar(n,r):()=>n[r];if(x(e)){const n=t[e];S(n)&&hr(i,n)}else if(S(e))hr(i,e.bind(n));else if(P(e))if(y(e))e.forEach(e=>Ki(e,t,n,r));else{const r=S(e.handler)?e.handler.bind(n):t[e.handler];S(r)&&hr(i,r,e)}}function Ji(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:i.length||n||r?(l={},i.length&&i.forEach(e=>eo(l,e,a,!0)),eo(l,t,a)):l=t,P(t)&&o.set(t,l),l}function eo(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&eo(e,o,n,!0),i&&i.forEach(t=>eo(e,t,n,!0));for(const a in t)if(r&&"expose"===a);else{const r=to[a]||n&&n[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const to={data:no,props:ao,emits:ao,methods:oo,computed:oo,beforeCreate:io,created:io,beforeMount:io,mounted:io,beforeUpdate:io,updated:io,beforeDestroy:io,beforeUnmount:io,destroyed:io,unmounted:io,activated:io,deactivated:io,errorCaptured:io,serverPrefetch:io,components:oo,directives:oo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=A(Object.create(null),e);for(const r in t)n[r]=io(e[r],t[r]);return n},provide:no,inject:function(e,t){return oo(ro(e),ro(t))}};function no(e,t){return t?e?function(){return A(S(e)?e.call(this,this):e,S(t)?t.call(this,this):t)}:t:e}function ro(e){if(y(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function io(e,t){return e?[...new Set([].concat(e,t))]:t}function oo(e,t){return e?A(Object.create(null),e,t):t}function ao(e,t){return e?y(e)&&y(t)?[...new Set([...e,...t])]:A(Object.create(null),Yi(e),Yi(null!=t?t:{})):t}function so(){return{app:null,config:{isNativeTag:h,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let lo=0;function co(e,t){return function(n,r=null){S(n)||(n=A({},n)),null==r||P(r)||(r=null);const i=so(),o=new WeakSet,a=[];let s=!1;const l=i.app={_uid:lo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:es,get config(){return i.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&S(e.install)?(o.add(e),e.install(l,...t)):S(e)&&(o.add(e),e(l,...t))),l),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),l),component:(e,t)=>t?(i.components[e]=t,l):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,l):i.directives[e],mount(o,a,c){if(!s){const u=l._ceVNode||ya(n,r);return u.appContext=i,!0===c?c="svg":!1===c&&(c=void 0),a&&t?t(u,o):e(u,o,c),s=!0,l._container=o,o.__vue_app__=l,ja(u.component)}},onUnmount(e){a.push(e)},unmount(){s&&(Bn(a,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,l),runWithContext(e){const t=uo;uo=l;try{return e()}finally{uo=t}}};return l}}let uo=null;const Oo=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${z(t)}Modifiers`]||e[`${M(t)}Modifiers`];function ho(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||u;let i=n;const o=t.startsWith("update:"),a=o&&Oo(r,t.slice(7));let s;a&&(a.trim&&(i=n.map(e=>x(e)?e.trim():e)),a.number&&(i=n.map(Z)));let l=r[s=V(t)]||r[s=V(z(t))];!l&&o&&(l=r[s=V(M(t))]),l&&Bn(l,e,6,i);const c=r[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,Bn(c,e,6,i)}}const fo=new WeakMap;function po(e,t,n=!1){const r=n?fo:t.emitsCache,i=r.get(e);if(void 0!==i)return i;const o=e.emits;let a={},s=!1;if(!S(e)){const r=e=>{const n=po(e,t,!0);n&&(s=!0,A(a,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return o||s?(y(o)?o.forEach(e=>a[e]=null):A(a,o),P(e)&&r.set(e,a),a):(P(e)&&r.set(e,null),null)}function Ao(e,t){return!(!e||!f(t))&&(t=t.slice(2).replace(/Once$/,""),v(e,t[0].toLowerCase()+t.slice(1))||v(e,M(t))||v(e,t))}function mo(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:O,data:d,setupState:h,ctx:f,inheritAttrs:A}=e,m=nr(e);let g,v;try{if(4&n.shapeFlag){const e=i||r,t=e;g=xa(c.call(t,e,u,O,h,d,f)),v=s}else{const e=t;0,g=xa(e.length>1?e(O,{attrs:s,slots:a,emit:l}):e(O,null)),v=t.props?s:go(s)}}catch(b){aa.length=0,Un(b,e,1),g=ya(ia)}let y=g;if(v&&!1!==A){const e=Object.keys(v),{shapeFlag:t}=y;e.length&&7&t&&(o&&e.some(p)&&(v=vo(v,o)),y=wa(y,v,!1,!0))}return n.dirs&&(y=wa(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&Mr(y,n.transition),g=y,nr(m),g}const go=e=>{let t;for(const n in e)("class"===n||"style"===n||f(n))&&((t||(t={}))[n]=e[n]);return t},vo=(e,t)=>{const n={};for(const r in e)p(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function yo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(bo(t,e,o)&&!Ao(n,o))return!0}return!1}function bo(e,t,n){const r=e[n],i=t[n];return"style"===n&&P(r)&&P(i)?!xe(r,i):r!==i}function wo({vnode:e,parent:t,suspense:n},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n!==e)break;(e=t.vnode).el=r,t=t.parent}n&&n.activeBranch===e&&(n.vnode.el=r)}const Qo={},$o=()=>Object.create(Qo),So=e=>Object.getPrototypeOf(e)===Qo;function xo(e,t,n,r){const[i,o]=e.propsOptions;let a,s=!1;if(t)for(let l in t){if(B(l))continue;const c=t[l];let u;i&&v(i,u=z(l))?o&&o.includes(u)?(a||(a={}))[u]=c:n[u]=c:Ao(e.emitsOptions,l)||l in r&&c===r[l]||(r[l]=c,s=!0)}if(o){const t=rn(n),r=a||u;for(let a=0;a<o.length;a++){const s=o[a];n[s]=ko(i,t,s,r[s],e,!v(r,s))}}return s}function ko(e,t,n,r,i,o){const a=e[n];if(null!=a){const e=v(a,"default");if(e&&void 0===r){const e=a.default;if(a.type!==Function&&!a.skipFactory&&S(e)){const{propsDefaults:o}=i;if(n in o)r=o[n];else{const a=Ia(i);r=o[n]=e.call(null,t),a()}}else r=e;i.ce&&i.ce._setProp(n,r)}a[0]&&(o&&!e?r=!1:!a[1]||""!==r&&r!==M(n)||(r=!0))}return r}const Po=new WeakMap;function To(e,t,n=!1){const r=n?Po:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,a={},s=[];let l=!1;if(!S(e)){const r=e=>{l=!0;const[n,r]=To(e,t,!0);A(a,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!o&&!l)return P(e)&&r.set(e,O),O;if(y(o))for(let O=0;O<o.length;O++){const e=z(o[O]);_o(e)&&(a[e]=u)}else if(o)for(const u in o){const e=z(u);if(_o(e)){const t=o[u],n=a[e]=y(t)||S(t)?{type:t}:A({},t),r=n.type;let i=!1,l=!0;if(y(r))for(let e=0;e<r.length;++e){const t=r[e],n=S(t)&&t.name;if("Boolean"===n){i=!0;break}"String"===n&&(l=!1)}else i=S(r)&&"Boolean"===r.name;n[0]=i,n[1]=l,(i||v(n,"default"))&&s.push(e)}}const c=[a,s];return P(e)&&r.set(e,c),c}function _o(e){return"$"!==e[0]&&!B(e)}const Co=e=>"_"===e||"_ctx"===e||"$stable"===e,Eo=e=>y(e)?e.map(xa):[xa(e)],Ro=(e,t,n)=>{if(t._n)return t;const r=rr((...e)=>Eo(t(...e)),n);return r._c=!1,r},Xo=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Co(i))continue;const n=e[i];if(S(n))t[i]=Ro(0,n,r);else if(null!=n){const e=Eo(n);t[i]=()=>e}}},Bo=(e,t)=>{const n=Eo(t);e.slots.default=()=>n},Uo=(e,t,n)=>{for(const r in t)!n&&Co(r)||(e[r]=t[r])},Do=ea;function Io(e){return No(e)}function zo(e){return No(e,Jr)}function No(e,t){G().__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:a,createComment:s,setText:l,setElementText:c,parentNode:h,nextSibling:f,setScopeId:p=d,insertStaticContent:A}=e,m=(e,t,n,r=null,i=null,o=null,a=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Aa(e,t)&&(r=Y(e),L(e,i,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:O}=t;switch(c){case ra:g(e,t,n,r);break;case ia:y(e,t,n,r);break;case oa:null==e&&b(t,n,r,a);break;case na:T(e,t,n,r,i,o,a,s,l);break;default:1&O?w(e,t,n,r,i,o,a,s,l):6&O?_(e,t,n,r,i,o,a,s,l):(64&O||128&O)&&c.process(e,t,n,r,i,o,a,s,l,K)}null!=u&&i?Zr(u,e&&e.ref,o,t||e,!t):null==u&&e&&null!=e.ref&&Zr(e.ref,null,o,e,!0)},g=(e,t,r,i)=>{if(null==e)n(t.el=a(t.children),r,i);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},y=(e,t,r,i)=>{null==e?n(t.el=s(t.children||""),r,i):t.el=e.el},b=(e,t,n,r)=>{[e.el,e.anchor]=A(e.children,t,n,r,e.el,e.anchor)},w=(e,t,n,r,i,o,a,s,l)=>{if("svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e)Q(t,n,r,i,o,a,s,l);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),x(e,t,i,o,a,s,l)}finally{n&&n._endPatch()}}},Q=(e,t,r,a,s,l,u,O)=>{let d,h;const{props:f,shapeFlag:p,transition:A,dirs:m}=e;if(d=e.el=o(e.type,l,f&&f.is,f),8&p?c(d,e.children):16&p&&S(e.children,d,null,a,s,Mo(e,l),u,O),m&&or(e,null,a,"created"),$(d,e,e.scopeId,u,a),f){for(const e in f)"value"===e||B(e)||i(d,e,null,f[e],l,a);"value"in f&&i(d,"value",null,f.value,l),(h=f.onVnodeBeforeMount)&&_a(h,a,e)}m&&or(e,null,a,"beforeMount");const g=Vo(s,A);g&&A.beforeEnter(d),n(d,t,r),((h=f&&f.onVnodeMounted)||g||m)&&Do(()=>{try{h&&_a(h,a,e),g&&A.enter(d),m&&or(e,null,a,"mounted")}finally{}},s)},$=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(let o=0;o<r.length;o++)p(e,r[o]);if(i){let n=i.subTree;if(t===n||Yo(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=i.vnode;$(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},S=(e,t,n,r,i,o,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?ka(e[c]):xa(e[c]);m(null,l,t,n,r,i,o,a,s)}},x=(e,t,n,r,o,a,s)=>{const l=t.el=e.el;let{patchFlag:O,dynamicChildren:d,dirs:h}=t;O|=16&e.patchFlag;const f=e.props||u,p=t.props||u;let A;if(n&&Lo(n,!1),(A=p.onVnodeBeforeUpdate)&&_a(A,n,t,e),h&&or(t,e,n,"beforeUpdate"),n&&Lo(n,!0),(f.innerHTML&&null==p.innerHTML||f.textContent&&null==p.textContent)&&c(l,""),d?k(e.dynamicChildren,d,l,n,r,Mo(t,o),a):s||U(e,t,l,null,n,r,Mo(t,o),a,!1),O>0){if(16&O)P(l,f,p,n,o);else if(2&O&&f.class!==p.class&&i(l,"class",null,p.class,o),4&O&&i(l,"style",f.style,p.style,o),8&O){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t],a=f[r],s=p[r];s===a&&"value"!==r||i(l,r,a,s,o,n)}}1&O&&e.children!==t.children&&c(l,t.children)}else s||null!=d||P(l,f,p,n,o);((A=p.onVnodeUpdated)||h)&&Do(()=>{A&&_a(A,n,t,e),h&&or(t,e,n,"updated")},r)},k=(e,t,n,r,i,o,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===na||!Aa(l,c)||198&l.shapeFlag)?h(l.el):n;m(l,c,u,null,r,i,o,a,!0)}},P=(e,t,n,r,o)=>{if(t!==n){if(t!==u)for(const a in t)B(a)||a in n||i(e,a,t[a],null,o,r);for(const a in n){if(B(a))continue;const s=n[a],l=t[a];s!==l&&"value"!==a&&i(e,a,l,s,o,r)}"value"in n&&i(e,"value",t.value,n.value,o)}},T=(e,t,r,i,o,s,l,c,u)=>{const O=t.el=e?e.el:a(""),d=t.anchor=e?e.anchor:a("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:p}=t;p&&(c=c?c.concat(p):p),null==e?(n(O,r,i),n(d,r,i),S(t.children||[],r,d,o,s,l,c,u)):h>0&&64&h&&f&&e.dynamicChildren&&e.dynamicChildren.length===f.length?(k(e.dynamicChildren,f,r,o,s,l,c),(null!=t.key||o&&t===o.subTree)&&qo(e,t,!0)):U(e,t,r,d,o,s,l,c,u)},_=(e,t,n,r,i,o,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,a,l):C(t,n,r,i,o,a,l):E(e,t,l)},C=(e,t,n,r,i,o,a)=>{const s=e.component=Ra(e,r,i);if(si(e)&&(s.ctx.renderer=K),qa(s,!1,a),s.asyncDep){if(i&&i.registerDep(s,R,a),!e.el){const r=s.subTree=ya(ia);y(null,r,t,n),e.placeholder=r.el}}else R(s,e,t,n,i,o,a)},E=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||r!==a&&(r?!a||yo(r,a,c):!!a);if(1024&l)return!0;if(16&l)return r?yo(r,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(bo(a,r,n)&&!Ao(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void X(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},R=(e,t,n,r,i,o,a)=>{e.scope.on();const s=e.effect=new Me(()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{const n=Fo(e);if(n)return t&&(t.el=c.el,X(e,t,a)),void n.asyncDep.then(()=>{Do(()=>{e.isUnmounted||l()},i)})}let u,O=t;Lo(e,!1),t?(t.el=c.el,X(e,t,a)):t=c,n&&F(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&_a(u,s,t,c),Lo(e,!0);const d=mo(e),f=e.subTree;e.subTree=d,m(f,d,h(f.el),Y(f),e,i,o),t.el=d.el,null===O&&wo(e,d.el),r&&Do(r,i),(u=t.props&&t.props.onVnodeUpdated)&&Do(()=>_a(u,s,t,c),i)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:O,root:d,type:h}=e,f=oi(t);if(Lo(e,!1),c&&F(c),!f&&(a=l&&l.onVnodeBeforeMount)&&_a(a,O,t),Lo(e,!0),s&&ee){const t=()=>{e.subTree=mo(e),ee(s,e.subTree,e,i,null)};f&&h.__asyncHydrate?h.__asyncHydrate(s,e,t):t()}else{d.ce&&d.ce._hasShadowRoot()&&d.ce._injectChildStyle(h,e.parent?e.parent.type:void 0);const a=e.subTree=mo(e);m(null,a,n,r,e,i,o),t.el=a.el}if(u&&Do(u,i),!f&&(a=l&&l.onVnodeMounted)){const e=t;Do(()=>_a(a,O,e),i)}(256&t.shapeFlag||O&&oi(O.vnode)&&256&O.vnode.shapeFlag)&&e.a&&Do(e.a,i),e.isMounted=!0,t=n=r=null}});e.scope.off();const l=e.update=s.run.bind(s),c=e.job=s.runIfDirty.bind(s);c.i=e,c.id=e.uid,s.scheduler=()=>Fn(c),Lo(e,!0),l()},X=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=rn(i),[l]=e.propsOptions;let c=!1;if(!(r||a>0)||16&a){let r;xo(e,t,i,o)&&(c=!0);for(const o in s)t&&(v(t,o)||(r=M(o))!==o&&v(t,r))||(l?!n||void 0===n[o]&&void 0===n[r]||(i[o]=ko(l,s,o,void 0,e,!0)):delete i[o]);if(o!==s)for(const e in o)t&&v(t,e)||(delete o[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];if(Ao(e.emitsOptions,a))continue;const u=t[a];if(l)if(v(o,a))u!==o[a]&&(o[a]=u,c=!0);else{const t=z(a);i[t]=ko(l,s,t,u,e,!1)}else u!==o[a]&&(o[a]=u,c=!0)}}c&&ft(e.attrs,"set","")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=u;if(32&r.shapeFlag){const e=t._;e?n&&1===e?o=!1:Uo(i,t,n):(o=!t.$stable,Xo(t,i)),a=t}else t&&(Bo(e,t),a={default:1});if(o)for(const s in i)Co(s)||null!=a[s]||delete i[s]})(e,t.children,n),nt(),Yn(e),rt()},U=(e,t,n,r,i,o,a,s,l=!1)=>{const u=e&&e.children,O=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:f}=t;if(h>0){if(128&h)return void I(u,d,n,r,i,o,a,s,l);if(256&h)return void D(u,d,n,r,i,o,a,s,l)}8&f?(16&O&&Z(u,i,o),d!==u&&c(n,d)):16&O?16&f?I(u,d,n,r,i,o,a,s,l):Z(u,i,o,!0):(8&O&&c(n,""),16&f&&S(d,n,r,i,o,a,s,l))},D=(e,t,n,r,i,o,a,s,l)=>{t=t||O;const c=(e=e||O).length,u=t.length,d=Math.min(c,u);let h;for(h=0;h<d;h++){const r=t[h]=l?ka(t[h]):xa(t[h]);m(e[h],r,n,null,i,o,a,s,l)}c>u?Z(e,i,o,!0,!1,d):S(t,n,r,i,o,a,s,l,d)},I=(e,t,n,r,i,o,a,s,l)=>{let c=0;const u=t.length;let d=e.length-1,h=u-1;for(;c<=d&&c<=h;){const r=e[c],u=t[c]=l?ka(t[c]):xa(t[c]);if(!Aa(r,u))break;m(r,u,n,null,i,o,a,s,l),c++}for(;c<=d&&c<=h;){const r=e[d],c=t[h]=l?ka(t[h]):xa(t[h]);if(!Aa(r,c))break;m(r,c,n,null,i,o,a,s,l),d--,h--}if(c>d){if(c<=h){const e=h+1,O=e<u?t[e].el:r;for(;c<=h;)m(null,t[c]=l?ka(t[c]):xa(t[c]),n,O,i,o,a,s,l),c++}}else if(c>h)for(;c<=d;)L(e[c],i,o,!0),c++;else{const f=c,p=c,A=new Map;for(c=p;c<=h;c++){const e=t[c]=l?ka(t[c]):xa(t[c]);null!=e.key&&A.set(e.key,c)}let g,v=0;const y=h-p+1;let b=!1,w=0;const Q=new Array(y);for(c=0;c<y;c++)Q[c]=0;for(c=f;c<=d;c++){const r=e[c];if(v>=y){L(r,i,o,!0);continue}let u;if(null!=r.key)u=A.get(r.key);else for(g=p;g<=h;g++)if(0===Q[g-p]&&Aa(r,t[g])){u=g;break}void 0===u?L(r,i,o,!0):(Q[u-p]=c+1,u>=w?w=u:b=!0,m(r,t[u],n,null,i,o,a,s,l),v++)}const $=b?function(e){const t=e.slice(),n=[0];let r,i,o,a,s;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(i=n[n.length-1],e[i]<l){t[r]=i,n.push(r);continue}for(o=0,a=n.length-1;o<a;)s=o+a>>1,e[n[s]]<l?o=s+1:a=s;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}o=n.length,a=n[o-1];for(;o-- >0;)n[o]=a,a=t[a];return n}(Q):O;for(g=$.length-1,c=y-1;c>=0;c--){const e=p+c,O=t[e],d=t[e+1],h=e+1<u?d.el||Zo(d):r;0===Q[c]?m(null,O,n,h,i,o,a,s,l):b&&(g<0||c!==$[g]?N(O,n,h,2):g--)}}},N=(e,t,i,o,a=null)=>{const{el:s,type:l,transition:c,children:u,shapeFlag:O}=e;if(6&O)return void N(e.component.subTree,t,i,o);if(128&O)return void e.suspense.move(t,i,o);if(64&O)return void l.move(e,t,i,K);if(l===na){n(s,t,i);for(let e=0;e<u.length;e++)N(u[e],t,i,o);return void n(e.anchor,t,i)}if(l===oa)return void(({el:e,anchor:t},r,i)=>{let o;for(;e&&e!==t;)o=f(e),n(e,r,i),e=o;n(t,r,i)})(e,t,i);if(2!==o&&1&O&&c)if(0===o)c.beforeEnter(s),n(s,t,i),Do(()=>c.enter(s),a);else{const{leave:o,delayLeave:a,afterLeave:l}=c,u=()=>{e.ctx.isUnmounted?r(s):n(s,t,i)},O=()=>{s._isLeaving&&s[Tr](!0),o(s,()=>{u(),l&&l()})};a?a(s,u,O):O()}else n(s,t,i)},L=(e,t,n,r=!1,i=!1)=>{const{type:o,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:O,dirs:d,cacheIndex:h,memo:f}=e;if(-2===O&&(i=!1),null!=s&&(nt(),Zr(s,null,n,e,!0),rt()),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);const p=1&u&&d,A=!oi(e);let m;if(A&&(m=a&&a.onVnodeBeforeUnmount)&&_a(m,t,e),6&u)W(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&or(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,K,r):c&&!c.hasOnce&&(o!==na||O>0&&64&O)?Z(c,t,n,!1,!0):(o===na&&384&O||!i&&16&u)&&Z(l,t,n),r&&V(e)}const g=null!=f&&null==h;(A&&(m=a&&a.onVnodeUnmounted)||p||g)&&Do(()=>{m&&_a(m,t,e),p&&or(e,null,t,"unmounted"),g&&(e.el=null)},n)},V=e=>{const{type:t,el:n,anchor:i,transition:o}=e;if(t===na)return void q(n,i);if(t===oa)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),r(e),e=n;r(t)})(e);const a=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,a);r?r(e.el,a,i):i()}else a()},q=(e,t)=>{let n;for(;e!==t;)n=f(e),r(e),e=n;r(t)},W=(e,t,n)=>{const{bum:r,scope:i,job:o,subTree:a,um:s,m:l,a:c}=e;Wo(l),Wo(c),r&&F(r),i.stop(),o&&(o.flags|=8,L(a,e,t,n)),s&&Do(s,t),Do(()=>{e.isUnmounted=!0},t)},Z=(e,t,n,r=!1,i=!1,o=0)=>{for(let a=o;a<e.length;a++)L(e[a],t,n,r,i)},Y=e=>{if(6&e.shapeFlag)return Y(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=f(e.anchor||e.el),n=t&&t[gr];return n?f(n):t};let j=!1;const H=(e,t,n)=>{let r;null==e?t._vnode&&(L(t._vnode,null,null,!0),r=t._vnode.component):m(t._vnode||null,e,t,null,null,null,n),t._vnode=e,j||(j=!0,Yn(r),jn(),j=!1)},K={p:m,um:L,m:N,r:V,mt:C,mc:S,pc:U,pbc:k,n:Y,o:e};let J,ee;return t&&([J,ee]=t(K)),{render:H,hydrate:J,createApp:co(H,J)}}function Mo({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Lo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qo(e,t,n=!1){const r=e.children,i=t.children;if(y(r)&&y(i))for(let o=0;o<r.length;o++){const e=r[o];let t=i[o];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=i[o]=ka(i[o]),t.el=e.el),n||-2===t.patchFlag||qo(e,t)),t.type===ra&&(-1===t.patchFlag&&(t=i[o]=ka(t)),t.el=e.el),t.type!==ia||t.el||(t.el=e.el)}}function Fo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fo(t)}function Wo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Zo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Zo(t.subTree):null}const Yo=e=>e.__isSuspense;let jo=0;const Go={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,c){if(null==e)!function(e,t,n,r,i,o,a,s,l){const{p:c,o:{createElement:u}}=l,O=u("div"),d=e.suspense=Ko(e,i,r,t,O,n,o,a,s,l);c(null,d.pendingBranch=e.ssContent,O,null,r,d,o,a),d.deps>0?(Ho(e,"onPending"),Ho(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,a),ta(d,e.ssFallback)):d.resolve(!1,!0)}(t,n,r,i,o,a,s,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,i,o,a,s,{p:l,um:c,o:{createElement:u}}){const O=t.suspense=e.suspense;O.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:f,pendingBranch:p,isInFallback:A,isHydrating:m}=O;if(p)O.pendingBranch=d,Aa(p,d)?(l(p,d,O.hiddenContainer,null,i,O,o,a,s),O.deps<=0?O.resolve():A&&(m||(l(f,h,n,r,i,null,o,a,s),ta(O,h)))):(O.pendingId=jo++,m?(O.isHydrating=!1,O.activeBranch=p):c(p,i,O),O.deps=0,O.effects.length=0,O.hiddenContainer=u("div"),A?(l(null,d,O.hiddenContainer,null,i,O,o,a,s),O.deps<=0?O.resolve():(l(f,h,n,r,i,null,o,a,s),ta(O,h))):f&&Aa(f,d)?(l(f,d,n,r,i,O,o,a,s),O.resolve(!0)):(l(null,d,O.hiddenContainer,null,i,O,o,a,s),O.deps<=0&&O.resolve()));else if(f&&Aa(f,d))l(f,d,n,r,i,O,o,a,s),ta(O,d);else if(Ho(t,"onPending"),O.pendingBranch=d,512&d.shapeFlag?O.pendingId=d.component.suspenseId:O.pendingId=jo++,l(null,d,O.hiddenContainer,null,i,O,o,a,s),O.deps<=0)O.resolve();else{const{timeout:e,pendingId:t}=O;e>0?setTimeout(()=>{O.pendingId===t&&O.fallback(h)},e):0===e&&O.fallback(h)}}(e,t,n,r,i,a,s,l,c)}},hydrate:function(e,t,n,r,i,o,a,s,l){const c=t.suspense=Ko(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,a);0===c.deps&&c.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Jo(r?n.default:n),e.ssFallback=r?Jo(n.fallback):ya(ia)}};function Ho(e,t){const n=e.props&&e.props[t];S(n)&&n()}function Ko(e,t,n,r,i,o,a,s,l,c,u=!1){const{p:O,m:d,um:h,n:f,o:{parentNode:p,remove:A}}=c;let m;const g=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);g&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const v=e.props?Y(e.props.timeout):void 0,y=o,b={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:i,deps:0,pendingId:jo++,timeout:"number"==typeof v?v:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:i,pendingBranch:a,pendingId:s,effects:l,parentComponent:c,container:u,isInFallback:O}=b;let A=!1;b.isHydrating?b.isHydrating=!1:e||(A=i&&a.transition&&"out-in"===a.transition.mode,A&&(i.transition.afterLeave=()=>{s===b.pendingId&&(d(a,u,o===y?f(i):o,0),Zn(l),O&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!b.isFallbackMountPending&&(p(i.el)===u&&(o=f(i)),h(i,c,b,!0),!A&&O&&r.ssFallback&&Do(()=>r.ssFallback.el=null,b)),A||d(a,u,o,0)),b.isFallbackMountPending=!1,ta(b,a),b.pendingBranch=null,b.isInFallback=!1;let v=b.parent,w=!1;for(;v;){if(v.pendingBranch){v.effects.push(...l),w=!0;break}v=v.parent}w||A||Zn(l),b.effects=[],g&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Ho(r,"onResolve")},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:o}=b;Ho(t,"onFallback");const a=f(n),c=()=>{b.isFallbackMountPending=!1,b.isInFallback&&(O(null,e,i,a,r,null,o,s,l),ta(b,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(b.isFallbackMountPending=!0,n.transition.afterLeave=c),b.isInFallback=!0,h(n,r,null,!0),u||c()},move(e,t,n){b.activeBranch&&d(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&f(b.activeBranch),registerDep(e,t,n){const r=!!b.pendingBranch;r&&b.deps++;const i=e.vnode.el;e.asyncDep.catch(t=>{Un(t,e,0)}).then(o=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;za(),e.asyncResolved=!0;const{vnode:s}=e;Fa(e,o,!1),i&&(s.el=i);const l=!i&&e.subTree.el;t(e,s,p(i||e.subTree.el),i?null:f(e.subTree),b,a,n),l&&(s.placeholder=null,A(l)),wo(e,s.el),r&&0===--b.deps&&b.resolve()})},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,e,t),b.pendingBranch&&h(b.pendingBranch,n,e,t)}};return b}function Jo(e){let t;if(S(e)){const n=ua&&e._c;n&&(e._d=!1,la()),e=e(),n&&(e._d=!0,t=sa,ca())}if(y(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(!pa(r))return;if(r.type!==ia||"v-if"===r.children){if(t)return;t=r}}return t}(e);e=t}return e=xa(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function ea(e,t){t&&t.pendingBranch?y(e)?t.effects.push(...e):t.effects.push(e):Zn(e)}function ta(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)i=(t=t.component.subTree).el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,wo(r,i))}const na=Symbol.for("v-fgt"),ra=Symbol.for("v-txt"),ia=Symbol.for("v-cmt"),oa=Symbol.for("v-stc"),aa=[];let sa=null;function la(e=!1){aa.push(sa=e?null:[])}function ca(){aa.pop(),sa=aa[aa.length-1]||null}let ua=1;function Oa(e,t=!1){ua+=e,e<0&&sa&&t&&(sa.hasOnce=!0)}function da(e){return e.dynamicChildren=ua>0?sa||O:null,ca(),ua>0&&sa&&sa.push(e),e}function ha(e,t,n,r,i,o){return da(va(e,t,n,r,i,o,!0))}function fa(e,t,n,r,i){return da(ya(e,t,n,r,i,!0))}function pa(e){return!!e&&!0===e.__v_isVNode}function Aa(e,t){return e.type===t.type&&e.key===t.key}const ma=({key:e})=>null!=e?e:null,ga=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?x(e)||ln(e)||S(e)?{i:er,r:e,k:t,f:!!n}:e:null);function va(e,t=null,n=null,r=0,i=null,o=(e===na?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ma(t),ref:t&&ga(t),scopeId:tr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:er};return s?(Pa(l,n),128&o&&e.normalize(l)):n&&(l.shapeFlag|=x(n)?8:16),ua>0&&!a&&sa&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&sa.push(l),l}const ya=function(e,t=null,n=null,r=0,i=null,o=!1){e&&e!==_i||(e=ia);if(pa(e)){const r=wa(e,t,!0);return n&&Pa(r,n),ua>0&&!o&&sa&&(6&r.shapeFlag?sa[sa.indexOf(e)]=r:sa.push(r)),r.patchFlag=-2,r}a=e,S(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=ba(t);let{class:e,style:n}=t;e&&!x(e)&&(t.class=le(e)),P(n)&&(nn(n)&&!y(n)&&(n=A({},n)),t.style=re(n))}const s=x(e)?1:Yo(e)?128:vr(e)?64:P(e)?4:S(e)?2:0;return va(e,t,n,r,i,s,o,!0)};function ba(e){return e?nn(e)||So(e)?A({},e):e:null}function wa(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:s,transition:l}=e,c=t?Ta(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ma(c),ref:t&&t.ref?n&&o?y(o)?o.concat(ga(t)):[o,ga(t)]:ga(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==na?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wa(e.ssContent),ssFallback:e.ssFallback&&wa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Mr(u,l.clone(u)),u}function Qa(e=" ",t=0){return ya(ra,null,e,t)}function $a(e,t){const n=ya(oa,null,e);return n.staticCount=t,n}function Sa(e="",t=!1){return t?(la(),fa(ia,null,e)):ya(ia,null,e)}function xa(e){return null==e||"boolean"==typeof e?ya(ia):y(e)?ya(na,null,e.slice()):pa(e)?ka(e):ya(ra,null,String(e))}function ka(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:wa(e)}function Pa(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(y(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Pa(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||So(t)?3===r&&er&&(1===er.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=er}}else S(t)?(t={default:t,_ctx:er},n=32):(t=String(t),64&r?(n=16,t=[Qa(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ta(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=le([t.class,r.class]));else if("style"===e)t.style=re([t.style,r.style]);else if(f(e)){const n=t[e],i=r[e];!i||n===i||y(n)&&n.includes(i)?null!=i||null!=n||p(e)||(t[e]=i):t[e]=n?[].concat(n,i):i}else""!==e&&(t[e]=r[e])}return t}function _a(e,t,n,r=null){Bn(e,t,7,[n,r])}const Ca=so();let Ea=0;function Ra(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Ca,o={uid:Ea++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ue(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:To(r,i),emitsOptions:po(r,i),emit:null,emitted:null,propsDefaults:u,inheritAttrs:r.inheritAttrs,ctx:u,data:u,props:u,attrs:u,slots:u,refs:u,setupState:u,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=ho.bind(null,o),e.ce&&e.ce(o),o}let Xa=null;const Ba=()=>Xa||er;let Ua,Da;{const e=G(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ua=t("__VUE_INSTANCE_SETTERS__",e=>Xa=e),Da=t("__VUE_SSR_SETTERS__",e=>Va=e)}const Ia=e=>{const t=Xa;return Ua(e),e.scope.on(),()=>{e.scope.off(),Ua(t)}},za=()=>{Xa&&Xa.scope.off(),Ua(null)};function Na(e){return 4&e.vnode.shapeFlag}let Ma,La,Va=!1;function qa(e,t=!1,n=!1){t&&Da(t);const{props:r,children:i}=e.vnode,o=Na(e);!function(e,t,n,r=!1){const i={},o=$o();e.propsDefaults=Object.create(null),xo(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:jt(i):e.type.props?e.props=i:e.props=o,e.attrs=o}(e,r,o,t),((e,t,n)=>{const r=e.slots=$o();if(32&e.vnode.shapeFlag){const e=t._;e?(Uo(r,t,n),n&&W(r,"_",e,!0)):Xo(t,r)}else t&&Bo(e,t)})(e,i,n||t);const a=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vi);const{setup:r}=n;if(r){nt();const n=e.setupContext=r.length>1?Ya(e):null,i=Ia(e),o=Xn(r,e,0,[e.props,n]),a=T(o);if(rt(),i(),!a&&!e.sp||oi(e)||qr(e),a){if(o.then(za,za),t)return o.then(n=>{Fa(e,n,t)}).catch(t=>{Un(t,e,0)});e.asyncDep=o}else Fa(e,o,t)}else Wa(e,t)}(e,t):void 0;return t&&Da(!1),a}function Fa(e,t,n){S(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:P(t)&&(e.setupState=mn(t)),Wa(e,n)}function Wa(e,t,n){const r=e.type;if(!e.render){if(!t&&Ma&&!r.render){const t=r.template||Ji(e).template;if(t){const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:a}=r,s=A(A({isCustomElement:n,delimiters:o},i),a);r.render=Ma(t,s)}}e.render=r.render||d,La&&La(e)}{const t=Ia(e);nt();try{Gi(e)}finally{rt(),t()}}}const Za={get:(e,t)=>(ht(e,0,""),e[t])};function Ya(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Za),slots:e.slots,emit:e.emit,expose:t}}function ja(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mn(on(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Mi?Mi[n](e):void 0,has:(e,t)=>t in e||t in Mi})):e.proxy}function Ga(e,t=!0){return S(e)?e.displayName||e.name:e.name||t&&e.__name}const Ha=(e,t)=>xn(e,0,Va);function Ka(e,t,n){try{Oa(-1);const r=arguments.length;return 2===r?P(t)&&!y(t)?pa(t)?ya(e,null,[t]):ya(e,t):ya(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&pa(n)&&(n=[n]),ya(e,t,n))}finally{Oa(1)}}function Ja(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(q(n[r],t[r]))return!1;return ua>0&&sa&&sa.push(e),!0}const es="3.5.32",ts=d,ns=Rn,rs=Kn,is=function e(t,n){var r,i;if(Kn=t,Kn)Kn.enabled=!0,Jn.forEach(({event:e,args:t})=>Kn.emit(e,...t)),Jn=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(r=window.navigator)?void 0:r.userAgent)?void 0:i.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{e(t,n)}),setTimeout(()=>{Kn||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jn=[])},3e3)}else Jn=[]},as={createComponentInstance:Ra,setupComponent:qa,renderComponentRoot:mo,setCurrentRenderingInstance:nr,isVNode:pa,normalizeVNode:xa,getComponentPublicInstance:ja,ensureValidVNode:Ii,pushWarningContext:function(e){En.push(e)},popWarningContext:function(){En.pop()}};let ss;const ls="undefined"!=typeof window&&window.trustedTypes;if(ls)try{ss=ls.createPolicy("vue",{createHTML:e=>e})}catch(sy){}const cs=ss?e=>ss.createHTML(e):e=>e,us="undefined"!=typeof document?document:null,Os=us&&us.createElement("template"),ds={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i="svg"===t?us.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?us.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?us.createElement(e,{is:n}):us.createElement(e);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>us.createTextNode(e),createComment:e=>us.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>us.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==o&&(i=i.nextSibling););else{Os.innerHTML=cs("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);const i=Os.content;if("svg"===r||"mathml"===r){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},hs="transition",fs="animation",ps=Symbol("_vtc"),As={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ms=A({},Rr,As),gs=e=>(e.displayName="Transition",e.props=ms,e),vs=gs((e,{slots:t})=>Ka(Ur,ws(e),t)),ys=(e,t=[])=>{y(e)?e.forEach(e=>e(...t)):e&&e(...t)},bs=e=>!!e&&(y(e)?e.some(e=>e.length>1):e.length>1);function ws(e){const t={};for(const A in e)A in As||(t[A]=e[A]);if(!1===e.css)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:O=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,f=function(e){if(null==e)return null;if(P(e))return[Qs(e.enter),Qs(e.leave)];{const t=Qs(e);return[t,t]}}(i),p=f&&f[0],m=f&&f[1],{onBeforeEnter:g,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:w,onBeforeAppear:Q=g,onAppear:$=v,onAppearCancelled:S=y}=t,x=(e,t,n,r)=>{e._enterCancelled=r,Ss(e,t?u:s),Ss(e,t?c:a),n&&n()},k=(e,t)=>{e._isLeaving=!1,Ss(e,O),Ss(e,h),Ss(e,d),t&&t()},T=e=>(t,n)=>{const i=e?$:v,a=()=>x(t,e,n);ys(i,[t,a]),xs(()=>{Ss(t,e?l:o),$s(t,e?u:s),bs(i)||Ps(t,r,p,a)})};return A(t,{onBeforeEnter(e){ys(g,[e]),$s(e,o),$s(e,a)},onBeforeAppear(e){ys(Q,[e]),$s(e,l),$s(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>k(e,t);$s(e,O),e._enterCancelled?($s(e,d),Es(e)):(Es(e),$s(e,d)),xs(()=>{e._isLeaving&&(Ss(e,O),$s(e,h),bs(b)||Ps(e,r,m,n))}),ys(b,[e,n])},onEnterCancelled(e){x(e,!1,void 0,!0),ys(y,[e])},onAppearCancelled(e){x(e,!0,void 0,!0),ys(S,[e])},onLeaveCancelled(e){k(e),ys(w,[e])}})}function Qs(e){return Y(e)}function $s(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[ps]||(e[ps]=new Set)).add(t)}function Ss(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[ps];n&&(n.delete(t),n.size||(e[ps]=void 0))}function xs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ks=0;function Ps(e,t,n,r){const i=e._endId=++ks,o=()=>{i===e._endId&&r()};if(null!=n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=Ts(e,t);if(!a)return r();const c=a+"end";let u=0;const O=()=>{e.removeEventListener(c,d),o()},d=t=>{t.target===e&&++u>=l&&O()};setTimeout(()=>{u<l&&O()},s+1),e.addEventListener(c,d)}function Ts(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),i=r(`${hs}Delay`),o=r(`${hs}Duration`),a=_s(i,o),s=r(`${fs}Delay`),l=r(`${fs}Duration`),c=_s(s,l);let u=null,O=0,d=0;t===hs?a>0&&(u=hs,O=a,d=o.length):t===fs?c>0&&(u=fs,O=c,d=l.length):(O=Math.max(a,c),u=O>0?a>c?hs:fs:null,d=u?u===hs?o.length:l.length:0);return{type:u,timeout:O,propCount:d,hasTransform:u===hs&&/\b(?:transform|all)(?:,|$)/.test(r(`${hs}Property`).toString())}}function _s(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Cs(t)+Cs(e[n])))}function Cs(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Es(e){return(e?e.ownerDocument:document).body.offsetHeight}const Rs=Symbol("_vod"),Xs=Symbol("_vsh"),Bs={name:"show",beforeMount(e,{value:t},{transition:n}){e[Rs]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Us(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Us(e,!0),r.enter(e)):r.leave(e,()=>{Us(e,!1)}):Us(e,t))},beforeUnmount(e,{value:t}){Us(e,t)}};function Us(e,t){e.style.display=t?e[Rs]:"none",e[Xs]=!t}const Ds=Symbol("");function Is(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Is(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)zs(e.el,t);else if(e.type===na)e.children.forEach(e=>Is(e,t));else if(e.type===oa){let{el:n,anchor:r}=e;for(;n&&(zs(n,t),n!==r);)n=n.nextSibling}}function zs(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t){const i=Ee(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Ds]=r}}const Ns=/(?:^|;)\s*display\s*:/;const Ms=/\s*!important$/;function Ls(e,t,n){if(y(n))n.forEach(n=>Ls(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=qs[t];if(n)return n;let r=z(t);if("filter"!==r&&r in e)return qs[t]=r;r=L(r);for(let i=0;i<Vs.length;i++){const n=Vs[i]+r;if(n in e)return qs[t]=n}return t}(e,t);Ms.test(n)?e.setProperty(M(r),n.replace(Ms,""),"important"):e[r]=n}}const Vs=["Webkit","Moz","ms"],qs={};const Fs="http://www.w3.org/1999/xlink";function Ws(e,t,n,r,i,o=pe(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Fs,t.slice(6,t.length)):e.setAttributeNS(Fs,t,n):null==n||o&&!me(n)?e.removeAttribute(t):e.setAttribute(t,o?"":k(n)?String(n):n)}function Zs(e,t,n,r,i){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?cs(n):n));const o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){const r="OPTION"===o?e.getAttribute("value")||"":e.value,i=null==n?"checkbox"===e.type?"on":"":String(n);return r===i&&"_value"in e||(e.value=i),null==n&&e.removeAttribute(t),void(e._value=n)}let a=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=me(n):null==n&&"string"===r?(n="",a=!0):"number"===r&&(n=0,a=!0)}try{e[t]=n}catch(sy){}a&&e.removeAttribute(i||t)}function Ys(e,t,n,r){e.addEventListener(t,n,r)}const js=Symbol("_vei");function Gs(e,t,n,r,i=null){const o=e[js]||(e[js]={}),a=o[t];if(r&&a)a.value=r;else{const[n,s]=function(e){let t;if(Hs.test(e)){let n;for(t={};n=e.match(Hs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):M(e.slice(2));return[n,t]}(t);if(r){const a=o[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Bn(function(e,t){if(y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=el(),n}(r,i);Ys(e,n,a,s)}else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,s),o[t]=void 0)}}const Hs=/(?:Once|Passive|Capture)$/;let Ks=0;const Js=Promise.resolve(),el=()=>Ks||(Js.then(()=>Ks=0),Ks=Date.now());const tl=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nl=(e,t,n,r,i,o)=>{const a="svg"===i;"class"===t?function(e,t,n){const r=e[ps];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,a):"style"===t?function(e,t,n){const r=e.style,i=x(n);let o=!1;if(n&&!i){if(t)if(x(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ls(r,t,"")}else for(const e in t)null==n[e]&&Ls(r,e,"");for(const e in n)"display"===e&&(o=!0),Ls(r,e,n[e])}else if(i){if(t!==n){const e=r[Ds];e&&(n+=";"+e),r.cssText=n,o=Ns.test(n)}}else t&&e.removeAttribute("style");Rs in e&&(e[Rs]=o?r.display:"",e[Xs]&&(r.display="none"))}(e,n,r):f(t)?p(t)||Gs(e,t,0,r,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&tl(t)&&S(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(tl(t)&&x(n))return!1;return t in e}(e,t,r,a))?(Zs(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Ws(e,t,r,a,0,"value"!==t)):e._isVueCE&&(function(e,t){const n=e._def.props;if(!n)return!1;const r=z(t);return Array.isArray(n)?n.some(e=>z(e)===r):Object.keys(n).some(e=>z(e)===r)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!x(r)))?Zs(e,z(t),r,0,t):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),Ws(e,t,r,a))};const rl={};function il(e,t,n){let r=Vr(e,t);R(r)&&(r=A({},r,t));class i extends al{constructor(e){super(r,e,n)}}return i.def=r,i}const ol="undefined"!=typeof HTMLElement?HTMLElement:class{};class al extends ol{constructor(e,t={},n=Wl){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==Wl?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow(A({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof al){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,qn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let i;if(n&&!y(n))for(const o in n){const e=n[o];(e===Number||e&&e.type===Number)&&(o in this._props&&(this._props[o]=Y(this._props[o])),(i||(i=Object.create(null)))[z(o)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const n in t)v(this,n)||Object.defineProperty(this,n,{get:()=>fn(t[n])})}_resolveProps(e){const{props:t}=e,n=y(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(z))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(e){this._setProp(r,e,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):rl;const r=z(e);t&&this._numberProps&&this._numberProps[r]&&(n=Y(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===rl?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),!0===t?this.setAttribute(M(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(M(e),t+""):t||this.removeAttribute(M(e)),n&&n.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Fl(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=ya(this._def,A(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,R(t[0])?A({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),M(e)!==e&&t(M(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const r=this._nonce,i=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let a=null;for(let s=e.length-1;s>=0;s--){const l=document.createElement("style");r&&l.setAttribute("nonce",r),l.textContent=e[s],i.insertBefore(l,a||o),a=l,0===s&&(n||this._styleAnchors.set(this._def,l),t&&this._styleAnchors.set(t,l))}}_getStyleAnchor(e){if(!e)return null;const t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const r=e[n],i=r.getAttribute("name")||"default",o=this._slots[i],a=r.parentNode;if(o)for(const e of o){if(t&&1===e.nodeType){const n=t+"-s",r=document.createTreeWalker(e,1);let i;for(e.setAttribute(n,"");i=r.nextNode();)i.setAttribute(n,"")}a.insertBefore(e,r)}else for(;r.firstChild;)a.insertBefore(r.firstChild,r);a.removeChild(r)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const t=new Set;for(const n of e){const e=n.querySelectorAll("slot");for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return!1!==this._def.shadowRoot}_removeChildStyle(e){}}function sl(e){const t=Ba(),n=t&&t.ce;return n||null}const ll=new WeakMap,cl=new WeakMap,ul=Symbol("_moveCb"),Ol=Symbol("_enterCb"),dl=e=>(delete e.props.mode,e),hl=dl({name:"TransitionGroup",props:A({},ms,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ba(),r=Cr();let i,o;return bi(()=>{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),i=e[ps];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=Ts(r);return o.removeChild(r),a}(i[0].el,n.vnode.el,t))return void(i=[]);i.forEach(pl),i.forEach(Al);const r=i.filter(ml);Es(n.vnode.el),r.forEach(e=>{const n=e.el,r=n.style;$s(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const i=n[ul]=e=>{e&&e.target!==n||e&&!e.propertyName.endsWith("transform")||(n.removeEventListener("transitionend",i),n[ul]=null,Ss(n,t))};n.addEventListener("transitionend",i)}),i=[]}),()=>{const a=rn(e),s=ws(a);let l=a.tag||na;if(i=[],o)for(let e=0;e<o.length;e++){const t=o[e];t.el&&t.el instanceof Element&&(i.push(t),Mr(t,Ir(t,s,r,n)),ll.set(t,gl(t.el)))}o=t.default?Lr(t.default()):[];for(let e=0;e<o.length;e++){const t=o[e];null!=t.key&&Mr(t,Ir(t,s,r,n))}return ya(l,null,o)}}}),fl=hl;function pl(e){const t=e.el;t[ul]&&t[ul](),t[Ol]&&t[Ol]()}function Al(e){cl.set(e,gl(e.el))}function ml(e){const t=ll.get(e),n=cl.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const t=e.el,n=t.style,o=t.getBoundingClientRect();let a=1,s=1;return t.offsetWidth&&(a=o.width/t.offsetWidth),t.offsetHeight&&(s=o.height/t.offsetHeight),Number.isFinite(a)&&0!==a||(a=1),Number.isFinite(s)&&0!==s||(s=1),Math.abs(a-1)<.01&&(a=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/a}px,${i/s}px)`,n.transitionDuration="0s",e}}function gl(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}const vl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return y(t)?e=>F(t,e):t};function yl(e){e.target.composing=!0}function bl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wl=Symbol("_assign");function Ql(e,t,n){return t&&(e=e.trim()),n&&(e=Z(e)),e}const $l={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[wl]=vl(i);const o=r||i.props&&"number"===i.props.type;Ys(e,t?"change":"input",t=>{t.target.composing||e[wl](Ql(e.value,n,o))}),(n||o)&&Ys(e,"change",()=>{e.value=Ql(e.value,n,o)}),t||(Ys(e,"compositionstart",yl),Ys(e,"compositionend",bl),Ys(e,"change",bl))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[wl]=vl(a),e.composing)return;const s=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Z(e.value))===s)return;const l=e.getRootNode();if((l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(i&&e.value.trim()===s)return}e.value=s}},Sl={deep:!0,created(e,t,n){e[wl]=vl(n),Ys(e,"change",()=>{const t=e._modelValue,n=_l(e),r=e.checked,i=e[wl];if(y(t)){const e=ke(t,n),o=-1!==e;if(r&&!o)i(t.concat(n));else if(!r&&o){const n=[...t];n.splice(e,1),i(n)}}else if(w(t)){const e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Cl(e,r))})},mounted:xl,beforeUpdate(e,t,n){e[wl]=vl(n),xl(e,t,n)}};function xl(e,{value:t,oldValue:n},r){let i;if(e._modelValue=t,y(t))i=ke(t,r.props.value)>-1;else if(w(t))i=t.has(r.props.value);else{if(t===n)return;i=xe(t,Cl(e,!0))}e.checked!==i&&(e.checked=i)}const kl={created(e,{value:t},n){e.checked=xe(t,n.props.value),e[wl]=vl(n),Ys(e,"change",()=>{e[wl](_l(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[wl]=vl(r),t!==n&&(e.checked=xe(t,r.props.value))}},Pl={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=w(t);Ys(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?Z(_l(e)):_l(e));e[wl](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,qn(()=>{e._assigning=!1})}),e[wl]=vl(r)},mounted(e,{value:t}){Tl(e,t)},beforeUpdate(e,t,n){e[wl]=vl(n)},updated(e,{value:t}){e._assigning||Tl(e,t)}};function Tl(e,t){const n=e.multiple,r=y(t);if(!n||r||w(t)){for(let i=0,o=e.options.length;i<o;i++){const o=e.options[i],a=_l(o);if(n)if(r){const e=typeof a;o.selected="string"===e||"number"===e?t.some(e=>String(e)===String(a)):ke(t,a)>-1}else o.selected=t.has(a);else if(xe(_l(o),t))return void(e.selectedIndex!==i&&(e.selectedIndex=i))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function _l(e){return"_value"in e?e._value:e.value}function Cl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const El={created(e,t,n){Xl(e,t,n,null,"created")},mounted(e,t,n){Xl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Xl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Xl(e,t,n,r,"updated")}};function Rl(e,t){switch(e){case"SELECT":return Pl;case"TEXTAREA":return $l;default:switch(t){case"checkbox":return Sl;case"radio":return kl;default:return $l}}}function Xl(e,t,n,r,i){const o=Rl(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}const Bl=["ctrl","shift","alt","meta"],Ul={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Bl.some(n=>e[`${n}Key`]&&!t.includes(n))},Dl=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=Ul[t[e]];if(r&&r(n,t))return}return e(n,...r)})},Il={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zl=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=M(n.key);return t.some(e=>e===r||Il[e]===r)?e(n):void 0})},Nl=A({patchProp:nl},ds);let Ml,Ll=!1;function Vl(){return Ml||(Ml=Io(Nl))}function ql(){return Ml=Ll?Ml:zo(Nl),Ll=!0,Ml}const Fl=(...e)=>{Vl().render(...e)},Wl=(...e)=>{const t=Vl().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=jl(e);if(!r)return;const i=t._component;S(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const o=n(r,!1,Yl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Zl=(...e)=>{const t=ql().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=jl(e);if(t)return n(t,!0,Yl(t))},t};function Yl(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function jl(e){if(x(e)){return document.querySelector(e)}return e}let Gl=!1;const Hl=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ur,BaseTransitionPropsValidators:Rr,Comment:ia,DeprecationTypes:null,EffectScope:Ue,ErrorCodes:{SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},ErrorTypeStrings:ns,Fragment:na,KeepAlive:li,ReactiveEffect:Me,Static:oa,Suspense:Go,Teleport:xr,Text:ra,TrackOpTypes:{GET:"get",HAS:"has",ITERATE:"iterate"},Transition:vs,TransitionGroup:fl,TriggerOpTypes:{SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},VueElement:al,assertNumber:function(e,t){},callWithAsyncErrorHandling:Bn,callWithErrorHandling:Xn,camelize:z,capitalize:L,cloneVNode:wa,compatUtils:null,computed:Ha,createApp:Wl,createBlock:fa,createCommentVNode:Sa,createElementBlock:ha,createElementVNode:va,createHydrationRenderer:zo,createPropsRestProxy:function(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n},createRenderer:Io,createSSRApp:Zl,createSlots:Ui,createStaticVNode:$a,createTextVNode:Qa,createVNode:ya,customRef:vn,defineAsyncComponent:function(e){S(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:a,suspensible:s=!0,onError:l}=e;let c,u=null,O=0;const d=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((O++,u=null,d())),()=>n(e),O+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t)))};return Vr({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(e,t,n){let r=!1;(t.bu||(t.bu=[])).push(()=>r=!0);const i=()=>{r||n()},a=o?()=>{const n=o(i,t=>function(e,t){if(Kr(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Kr(r))if("]"===r.data){if(0===--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t));n&&(t.bum||(t.bum=[])).push(n)}:i;c?a():d().then(()=>!t.isUnmounted&&a())},get __asyncResolved(){return c},setup(){const e=Xa;if(qr(e),c)return()=>ai(c,e);const t=t=>{u=null,Un(t,e,13,!r)};if(s&&e.suspense||Va)return d().then(t=>()=>ai(t,e)).catch(e=>(t(e),()=>r?ya(r,{error:e}):null));const o=cn(!1),l=cn(),O=cn(!!i);return i&&setTimeout(()=>{O.value=!1},i),null!=a&&setTimeout(()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${a}ms.`);t(e),l.value=e}},a),d().then(()=>{o.value=!0,e.parent&&si(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),l.value=e}),()=>o.value&&c?ai(c,e):l.value&&r?ya(r,{error:l.value}):n&&!O.value?ai(n,e):void 0}})},defineComponent:Vr,defineCustomElement:il,defineEmits:function(){return null},defineExpose:function(e){},defineModel:function(){},defineOptions:function(e){},defineProps:function(){return null},defineSSRCustomElement:(e,t)=>il(e,t,Zl),defineSlots:function(){return null},devtools:rs,effect:function(e,t){e.effect instanceof Me&&(e=e.effect.fn);const n=new Me(e);t&&A(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r},effectScope:De,getCurrentInstance:Ba,getCurrentScope:Ie,getCurrentWatcher:function(){return Tn},getTransitionRawChildren:Lr,guardReactiveProps:ba,h:Ka,handleError:Un,hasInjectionContext:lr,hydrate:(...e)=>{ql().hydrate(...e)},hydrateOnIdle:(e=1e4)=>t=>{const n=ri(t,{timeout:e});return()=>ii(n)},hydrateOnInteraction:(e=[])=>(t,n)=>{x(e)&&(e=[e]);let r=!1;const i=e=>{r||(r=!0,o(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},o=()=>{n(t=>{for(const n of e)t.removeEventListener(n,i)})};return n(t=>{for(const n of e)t.addEventListener(n,i,{once:!0})}),o},hydrateOnMediaQuery:e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},hydrateOnVisible:e=>(t,n)=>{const r=new IntersectionObserver(e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:a}=window;return(t>0&&t<o||r>0&&r<o)&&(n>0&&n<a||i>0&&i<a)}(e)?(t(),r.disconnect(),!1):void r.observe(e)}),()=>r.disconnect()},initCustomFormatter:function(){},initDirectivesForSSR:()=>{Gl||(Gl=!0,$l.getSSRProps=({value:e})=>({value:e}),kl.getSSRProps=({value:e},t)=>{if(t.props&&xe(t.props.value,e))return{checked:!0}},Sl.getSSRProps=({value:e},t)=>{if(y(e)){if(t.props&&ke(e,t.props.value)>-1)return{checked:!0}}else if(w(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},El.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=Rl(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},Bs.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},inject:sr,isMemoSame:Ja,isProxy:nn,isReactive:Jt,isReadonly:en,isRef:ln,isRuntimeOnly:()=>!Ma,isShallow:tn,isVNode:pa,markRaw:on,mergeDefaults:function(e,t){const n=Yi(e);for(const r in t){if(r.startsWith("__skip"))continue;let e=n[r];e?y(e)||S(e)?e=n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(e=n[r]={default:t[r]}),e&&t[`__skip_${r}`]&&(e.skipFactory=!0)}return n},mergeModels:function(e,t){return e&&t?y(e)&&y(t)?e.concat(t):A({},Yi(e),Yi(t)):e||t},mergeProps:Ta,nextTick:qn,nodeOps:ds,normalizeClass:le,normalizeProps:ce,normalizeStyle:re,onActivated:ui,onBeforeMount:gi,onBeforeUnmount:wi,onBeforeUpdate:yi,onDeactivated:Oi,onErrorCaptured:ki,onMounted:vi,onRenderTracked:xi,onRenderTriggered:Si,onScopeDispose:ze,onServerPrefetch:$i,onUnmounted:Qi,onUpdated:bi,onWatcherCleanup:_n,openBlock:la,patchProp:nl,popScopeId:function(){tr=null},provide:ar,proxyRefs:mn,pushScopeId:function(e){tr=e},queuePostFlushCb:Zn,reactive:Yt,readonly:Gt,ref:cn,registerRuntimeCompiler:function(e){Ma=e,La=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,qi))}},render:Fl,renderList:Bi,renderSlot:Di,resolveComponent:Ti,resolveDirective:Ei,resolveDynamicComponent:Ci,resolveFilter:null,resolveTransitionHooks:Ir,setBlockTracking:Oa,setDevtoolsHook:is,setTransitionHooks:Mr,shallowReactive:jt,shallowReadonly:Ht,shallowRef:un,ssrContextKey:cr,ssrUtils:as,stop:function(e){e.effect.stop()},toDisplayString:Te,toHandlerKey:V,toHandlers:zi,toRaw:rn,toRef:Qn,toRefs:yn,toValue:pn,transformVNodeArgs:function(e){},triggerRef:hn,unref:fn,useAttrs:Wi,useCssModule:function(e="$style"){{const t=Ba();if(!t)return u;const n=t.type.__cssModules;if(!n)return u;const r=n[e];return r||u}},useCssVars:function(e){const t=Ba();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>zs(e,n))},r=()=>{const r=e(t.proxy);t.ce?zs(t.ce,r):Is(t.subTree,r),n(r)};yi(()=>{Zn(r)}),vi(()=>{hr(r,d,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Qi(()=>e.disconnect())})},useHost:sl,useId:function(){const e=Ba();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""},useModel:function(e,t,n=u){const r=Ba(),i=z(t),o=M(t),a=Oo(e,i),s=vn((a,s)=>{let l,c,O=u;return dr(()=>{const t=e[i];q(l,t)&&(l=t,s())}),{get:()=>(a(),n.get?n.get(l):l),set(e){const a=n.set?n.set(e):e;if(!(q(a,l)||O!==u&&q(e,O)))return;const d=r.vnode.props;d&&(t in d||i in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${o}`in d)||(l=e,s()),r.emit(`update:${t}`,a),q(e,a)&&q(e,O)&&!q(a,c)&&s(),O=e,c=a}}});return s[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?a||u:s,done:!1}:{done:!0}}},s},useSSRContext:ur,useShadowRoot:function(){const e=sl();return e&&e.shadowRoot},useSlots:Fi,useTemplateRef:function(e){const t=Ba(),n=un(null);if(t){const r=t.refs===u?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n},useTransitionState:Cr,vModelCheckbox:Sl,vModelDynamic:El,vModelRadio:kl,vModelSelect:Pl,vModelText:$l,vShow:Bs,version:es,warn:ts,watch:hr,watchEffect:Or,watchPostEffect:function(e,t){return fr(e,null,{flush:"post"})},watchSyncEffect:dr,withAsyncContext:function(e){const t=Ba(),n=Va;let r=e();za(),n&&Da(!1);const i=()=>{Ia(t),n&&Da(!0)},o=()=>{Ba()!==t&&t.scope.off(),za(),n&&Da(!1)};return T(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(o)),e})),[r,()=>{i(),Promise.resolve().then(o)}]},withCtx:rr,withDefaults:function(e,t){return null},withDirectives:ir,withKeys:zl,withMemo:function(e,t,n,r){const i=n[r];if(i&&Ja(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o},withModifiers:Dl,withScopeId:e=>rr},Symbol.toStringTag,{value:"Module"})),Kl="undefined"!=typeof document;function Jl(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const ec=Object.assign;function tc(e,t){const n={};for(const r in t){const i=t[r];n[r]=rc(i)?i.map(e):e(i)}return n}const nc=()=>{},rc=Array.isArray;function ic(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const oc=/#/g,ac=/&/g,sc=/\//g,lc=/=/g,cc=/\?/g,uc=/\+/g,Oc=/%5B/g,dc=/%5D/g,hc=/%5E/g,fc=/%60/g,pc=/%7B/g,Ac=/%7C/g,mc=/%7D/g,gc=/%20/g;function vc(e){return null==e?"":encodeURI(""+e).replace(Ac,"|").replace(Oc,"[").replace(dc,"]")}function yc(e){return vc(e).replace(uc,"%2B").replace(gc,"+").replace(oc,"%23").replace(ac,"%26").replace(fc,"`").replace(pc,"{").replace(mc,"}").replace(hc,"^")}function bc(e){return yc(e).replace(lc,"%3D")}function wc(e){return function(e){return vc(e).replace(oc,"%23").replace(cc,"%3F")}(e).replace(sc,"%2F")}function Qc(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const $c=/\/$/;function Sc(e,t,n="/"){let r,i={},o="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return l=s>=0&&l>s?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,s>0?s:t.length),i=e(o.slice(1))),s>=0&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];".."!==i&&"."!==i||r.push("");let o,a,s=n.length-1;for(o=0;o<r.length;o++)if(a=r[o],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}(null!=r?r:t,n),{fullPath:r+o+a,path:r,query:i,hash:Qc(a)}}function xc(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function kc(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Pc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Tc(e[n],t[n]))return!1;return!0}function Tc(e,t){return rc(e)?_c(e,t):rc(t)?_c(t,e):(null==e?void 0:e.valueOf())===(null==t?void 0:t.valueOf())}function _c(e,t){return rc(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Cc={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ec=function(e){return e.pop="pop",e.push="push",e}({}),Rc=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Xc(e){if(!e)if(Kl){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace($c,"")}const Bc=/^[^#]+#/;function Uc(e,t){return e.replace(Bc,"#")+t}const Dc=()=>({left:window.scrollX,top:window.scrollY});function Ic(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function zc(e,t){return(history.state?history.state.position-t:-1)+e}const Nc=new Map;function Mc(e){return"string"==typeof e||"symbol"==typeof e}let Lc=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const Vc=Symbol("");function qc(e,t){return ec(new Error,{type:e,[Vc]:!0},t)}function Fc(e,t){return e instanceof Error&&Vc in e&&(null==t||!!(e.type&t))}Lc.MATCHER_NOT_FOUND,Lc.NAVIGATION_GUARD_REDIRECT,Lc.NAVIGATION_ABORTED,Lc.NAVIGATION_CANCELLED,Lc.NAVIGATION_DUPLICATED;function Wc(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(uc," "),i=e.indexOf("="),o=Qc(i<0?e:e.slice(0,i)),a=i<0?null:Qc(e.slice(i+1));if(o in t){let e=t[o];rc(e)||(e=t[o]=[e]),e.push(a)}else t[o]=a}return t}function Zc(e){let t="";for(let n in e){const r=e[n];n=bc(n),null!=r?(rc(r)?r.map(e=>e&&yc(e)):[r&&yc(r)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}):void 0!==r&&(t+=(t.length?"&":"")+n)}return t}function Yc(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=rc(r)?r.map(e=>null==e?null:""+e):null==r?r:""+r)}return t}const jc=Symbol(""),Gc=Symbol(""),Hc=Symbol(""),Kc=Symbol(""),Jc=Symbol("");function eu(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function tu(e,t,n,r,i,o=e=>e()){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const c=e=>{var o;!1===e?l(qc(Lc.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(o=e)||o&&"object"==typeof o?l(qc(Lc.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(a&&r.enterCallbacks[i]===a&&"function"==typeof e&&a.push(e),s())},u=o(()=>e.call(r&&r.instances[i],t,n,c));let O=Promise.resolve(u);e.length<3&&(O=O.then(c)),O.catch(e=>l(e))})}function nu(e,t,n,r,i=e=>e()){const o=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(Jl(s)){const l=(s.__vccOpts||s)[t];l&&o.push(tu(l,n,r,a,e,i))}else{let l=s();o.push(()=>l.then(o=>{if(!o)throw new Error(`Couldn't resolve component "${e}" at "${a.path}"`);const s=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Jl(l.default)?o.default:o;var l;a.mods[e]=o,a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&tu(c,n,r,a,e,i)()}))}}return o}function ru(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let t=i.includes(e.slice(o))?e.slice(o).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),xc(n,"")}return xc(n,e)+r+i}function iu(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Dc():null}}function ou(e){const{history:t,location:n}=window,r={value:ru(e,n)},i={value:t.state};function o(r,o,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+r:location.protocol+"//"+location.host+e+r;try{t[a?"replaceState":"pushState"](o,"",l),i.value=o}catch(c){n[a?"replace":"assign"](l)}}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:function(e,n){const a=ec({},i.value,t.state,{forward:e,scroll:Dc()});o(a.current,a,!0),o(e,ec({},iu(r.value,e,null),{position:a.position+1},n),!1),r.value=e},replace:function(e,n){o(e,ec({},t.state,iu(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}}}function au(e){const t=ou(e=Xc(e)),n=function(e,t,n,r){let i=[],o=[],a=null;const s=({state:o})=>{const s=ru(e,location),l=n.value,c=t.value;let u=0;if(o){if(n.value=s,t.value=o,a&&a===l)return void(a=null);u=c?o.position-c.position:0}else r(s);i.forEach(e=>{e(n.value,l,{delta:u,type:Ec.pop,direction:u?u>0?Rc.forward:Rc.back:Rc.unknown})})};function l(){if("hidden"===document.visibilityState){const{history:e}=window;if(!e.state)return;e.replaceState(ec({},e.state,{scroll:Dc()}),"")}}return window.addEventListener("popstate",s),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:function(){a=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return o.push(t),t},destroy:function(){for(const e of o)e();o=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}}}(e,t.state,t.location,t.replace);const r=ec({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Uc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function su(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),au(e)}let lu=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var cu=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(cu||{});const uu={type:lu.Static,value:""},Ou=/[a-zA-Z0-9_]/;const du="[^/]+?",hu={sensitive:!1,strict:!1,start:!0,end:!0};var fu=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(fu||{});const pu=/[.+*?^${}()[\]/\\]/g;function Au(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&e[0]===fu.Static+fu.Segment?-1:1:e.length>t.length?1===t.length&&t[0]===fu.Static+fu.Segment?1:-1:0}function mu(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const e=Au(r[n],i[n]);if(e)return e;n++}if(1===Math.abs(i.length-r.length)){if(gu(r))return 1;if(gu(i))return-1}return i.length-r.length}function gu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const vu={strict:!1,end:!0,sensitive:!1};function yu(e,t,n){const r=function(e,t){const n=ec({},hu,t),r=[];let i=n.start?"^":"";const o=[];for(const s of e){const e=s.length?[]:[fu.Root];n.strict&&!s.length&&(i+="/");for(let t=0;t<s.length;t++){const r=s[t];let a=fu.Segment+(n.sensitive?fu.BonusCaseSensitive:0);if(r.type===lu.Static)t||(i+="/"),i+=r.value.replace(pu,"\\$&"),a+=fu.Static;else if(r.type===lu.Param){const{value:e,repeatable:n,optional:l,regexp:c}=r;o.push({name:e,repeatable:n,optional:l});const u=c||du;u!==du&&(a+=fu.BonusCustomRegExp);let O=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;t||(O=l&&s.length<2?`(?:/${O})`:"/"+O),l&&(O+="?"),i+=O,a+=fu.Dynamic,l&&(a+=fu.BonusOptional),n&&(a+=fu.BonusRepeatable),".*"===u&&(a+=fu.BonusWildcard)}e.push(a)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=fu.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const a=new RegExp(i,n.sensitive?"":"i");return{re:a,score:r,keys:o,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",i=o[r-1];n[i.name]=e&&i.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",r=!1;for(const i of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of i)if(e.type===lu.Static)n+=e.value;else if(e.type===lu.Param){const{value:o,repeatable:a,optional:s}=e,l=o in t?t[o]:"";if(rc(l)&&!a)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=rc(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${o}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[uu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=cu.Static,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let s,l=0,c="",u="";function O(){c&&(n===cu.Static?o.push({type:lu.Static,value:c}):n===cu.Param||n===cu.ParamRegExp||n===cu.ParamRegExpEnd?(o.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:lu.Param,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function d(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||n===cu.ParamRegExp)switch(n){case cu.Static:"/"===s?(c&&O(),a()):":"===s?(O(),n=cu.Param):d();break;case cu.EscapeNext:d(),n=r;break;case cu.Param:"("===s?n=cu.ParamRegExp:Ou.test(s)?d():(O(),n=cu.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case cu.ParamRegExp:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=cu.ParamRegExpEnd:u+=s;break;case cu.ParamRegExpEnd:O(),n=cu.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else r=n,n=cu.EscapeNext;return n===cu.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),O(),a(),i}(e.path),n),i=ec(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function bu(e,t){const n=[],r=new Map;function i(e,n,r){const s=!r,l=Qu(e);l.aliasOf=r&&r.record;const c=ic(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Qu(ec({},l,{components:r?r.record.components:l.components,path:e,aliasOf:r?r.record:l})))}let O,d;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&r+u)}if(O=yu(t,n,c),r?r.alias.push(O):(d=d||O,d!==O&&d.alias.push(O),s&&e.name&&!Su(O)&&o(e.name)),ku(O)&&a(O),l.children){const e=l.children;for(let t=0;t<e.length;t++)i(e[t],O,r&&r.children[t])}r=r||O}return d?()=>{o(d)}:nc}function o(e){if(Mc(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function a(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;mu(e,t[i])<0?r=i:n=i+1}const i=function(e){let t=e;for(;t=t.parent;)if(ku(t)&&0===mu(e,t))return t}(e);i&&(r=t.lastIndexOf(i,r-1));return r}(e,n);n.splice(t,0,e),e.record.name&&!Su(e)&&r.set(e.record.name,e)}return t=ic(vu,t),e.forEach(e=>i(e)),{addRoute:i,resolve:function(e,t){let i,o,a,s={};if("name"in e&&e.name){if(i=r.get(e.name),!i)throw qc(Lc.MATCHER_NOT_FOUND,{location:e});a=i.record.name,s=ec(wu(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&wu(e.params,i.keys.map(e=>e.name))),o=i.stringify(s)}else if(null!=e.path)o=e.path,i=n.find(e=>e.re.test(o)),i&&(s=i.parse(o),a=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw qc(Lc.MATCHER_NOT_FOUND,{location:e,currentLocation:t});a=i.record.name,s=ec({},t.params,e.params),o=i.stringify(s)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:o,params:s,matched:l,meta:xu(l)}},removeRoute:o,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function wu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Qu(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:$u(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function $u(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function Su(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xu(e){return e.reduce((e,t)=>ec(e,t.meta),{})}function ku({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Pu(e){const t=sr(Hc),n=sr(Kc),r=Ha(()=>{const n=fn(e.to);return t.resolve(n)}),i=Ha(()=>{const{matched:e}=r.value,{length:t}=e,i=e[t-1],o=n.matched;if(!i||!o.length)return-1;const a=o.findIndex(kc.bind(null,i));if(a>-1)return a;const s=_u(e[t-2]);return t>1&&_u(i)===s&&o[o.length-1].path!==s?o.findIndex(kc.bind(null,e[t-2])):a}),o=Ha(()=>i.value>-1&&function(e,t){for(const n in t){const r=t[n],i=e[n];if("string"==typeof r){if(r!==i)return!1}else if(!rc(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}(n.params,r.value.params)),a=Ha(()=>i.value>-1&&i.value===n.matched.length-1&&Pc(n.params,r.value.params));return{route:r,href:Ha(()=>r.value.href),isActive:o,isExactActive:a,navigate:function(n={}){if(function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)){const n=t[fn(e.replace)?"replace":"push"](fn(e.to)).catch(nc);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const Tu=Vr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Pu,setup(e,{slots:t}){const n=Yt(Pu(e)),{options:r}=sr(Hc),i=Ha(()=>({[Cu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Cu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&(1===(o=t.default(n)).length?o[0]:o);var o;return e.custom?r:Ka("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function _u(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Cu=(e,t,n)=>null!=e?e:null!=t?t:n;function Eu(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ru=Vr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=sr(Jc),i=Ha(()=>e.route||r.value),o=sr(Gc,0),a=Ha(()=>{let e=fn(o);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=Ha(()=>i.value.matched[a.value]);ar(Gc,Ha(()=>a.value+1)),ar(jc,s),ar(Jc,i);const l=cn();return hr(()=>[l.value,s.value,e.name],([e,t,n],[r,i,o])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&kc(t,i)&&r||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const r=i.value,o=e.name,a=s.value,c=a&&a.components[o];if(!c)return Eu(n.default,{Component:c,route:r});const u=a.props[o],O=u?!0===u?r.params:"function"==typeof u?u(r):u:null,d=Ka(c,ec({},O,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[o]=null)},ref:l}));return Eu(n.default,{Component:d,route:r})||d}}});function Xu(e){const t=bu(e.routes,e),n=e.parseQuery||Wc,r=e.stringifyQuery||Zc,i=e.history,o=eu(),a=eu(),s=eu(),l=un(Cc);let c=Cc;Kl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=tc.bind(null,e=>""+e),O=tc.bind(null,wc),d=tc.bind(null,Qc);function h(e,o){if(o=ec({},o||l.value),"string"==typeof e){const r=Sc(n,e,o.path),a=t.resolve({path:r.path},o),s=i.createHref(r.fullPath);return ec(r,a,{params:d(a.params),hash:Qc(r.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=ec({},e,{path:Sc(n,e.path,o.path).path});else{const t=ec({},e.params);for(const e in t)null==t[e]&&delete t[e];a=ec({},e,{params:O(t)}),o.params=O(o.params)}const s=t.resolve(a,o),c=e.hash||"";s.params=u(d(s.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,ec({},e,{hash:(f=c,vc(f).replace(pc,"{").replace(mc,"}").replace(hc,"^")),path:s.path}));var f;const p=i.createHref(h);return ec({fullPath:h,hash:c,query:r===Zc?Yc(e.query):e.query||{}},s,{redirectedFrom:void 0,href:p})}function f(e){return"string"==typeof e?Sc(n,e,l.value.path):ec({},e)}function p(e,t){if(c!==e)return qc(Lc.NAVIGATION_CANCELLED,{from:t,to:e})}function A(e){return g(e)}function m(e,t){const n=e.matched[e.matched.length-1];if(n&&n.redirect){const{redirect:r}=n;let i="function"==typeof r?r(e,t):r;return"string"==typeof i&&(i=i.includes("?")||i.includes("#")?i=f(i):{path:i},i.params={}),ec({query:e.query,hash:e.hash,params:null!=i.path?{}:e.params},i)}}function g(e,t){const n=c=h(e),i=l.value,o=e.state,a=e.force,s=!0===e.replace,u=m(n,i);if(u)return g(ec(f(u),{state:"object"==typeof u?ec({},o,u.state):o,force:a,replace:s}),t||n);const O=n;let d;return O.redirectedFrom=t,!a&&function(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&kc(t.matched[r],n.matched[i])&&Pc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,i,n)&&(d=qc(Lc.NAVIGATION_DUPLICATED,{to:O,from:i}),C(i,i,!0,!1)),(d?Promise.resolve(d):b(O,i)).catch(e=>Fc(e)?Fc(e,Lc.NAVIGATION_GUARD_REDIRECT)?e:_(e):T(e,O,i)).then(e=>{if(e){if(Fc(e,Lc.NAVIGATION_GUARD_REDIRECT))return g(ec({replace:s},f(e.to),{state:"object"==typeof e.to?ec({},o,e.to.state):o,force:a}),t||O)}else e=Q(O,i,!0,s,o);return w(O,i,e),e})}function v(e,t){const n=p(e,t);return n?Promise.reject(n):Promise.resolve()}function y(e){const t=X.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function b(e,t){let n;const[r,i,s]=function(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const o=t.matched[a];o&&(e.matched.find(e=>kc(e,o))?r.push(o):n.push(o));const s=e.matched[a];s&&(t.matched.find(e=>kc(e,s))||i.push(s))}return[n,r,i]}(e,t);n=nu(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach(r=>{n.push(tu(r,e,t))});const l=v.bind(null,e,t);return n.push(l),U(n).then(()=>{n=[];for(const r of o.list())n.push(tu(r,e,t));return n.push(l),U(n)}).then(()=>{n=nu(i,"beforeRouteUpdate",e,t);for(const r of i)r.updateGuards.forEach(r=>{n.push(tu(r,e,t))});return n.push(l),U(n)}).then(()=>{n=[];for(const r of s)if(r.beforeEnter)if(rc(r.beforeEnter))for(const i of r.beforeEnter)n.push(tu(i,e,t));else n.push(tu(r.beforeEnter,e,t));return n.push(l),U(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=nu(s,"beforeRouteEnter",e,t,y),n.push(l),U(n))).then(()=>{n=[];for(const r of a.list())n.push(tu(r,e,t));return n.push(l),U(n)}).catch(e=>Fc(e,Lc.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function w(e,t,n){s.list().forEach(r=>y(()=>r(e,t,n)))}function Q(e,t,n,r,o){const a=p(e,t);if(a)return a;const s=t===Cc,c=Kl?history.state:{};n&&(r||s?i.replace(e.fullPath,ec({scroll:s&&c&&c.scroll},o)):i.push(e.fullPath,o)),l.value=e,C(e,t,n,s),_()}let $;function S(){$||($=i.listen((e,t,n)=>{if(!B.listening)return;const r=h(e),o=m(r,B.currentRoute.value);if(o)return void g(ec(o,{replace:!0,force:!0}),r).catch(nc);c=r;const a=l.value;var s,u;Kl&&(s=zc(a.fullPath,n.delta),u=Dc(),Nc.set(s,u)),b(r,a).catch(e=>Fc(e,Lc.NAVIGATION_ABORTED|Lc.NAVIGATION_CANCELLED)?e:Fc(e,Lc.NAVIGATION_GUARD_REDIRECT)?(g(ec(f(e.to),{force:!0}),r).then(e=>{Fc(e,Lc.NAVIGATION_ABORTED|Lc.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Ec.pop&&i.go(-1,!1)}).catch(nc),Promise.reject()):(n.delta&&i.go(-n.delta,!1),T(e,r,a))).then(e=>{(e=e||Q(r,a,!1))&&(n.delta&&!Fc(e,Lc.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===Ec.pop&&Fc(e,Lc.NAVIGATION_ABORTED|Lc.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),w(r,a,e)}).catch(nc)}))}let x,k=eu(),P=eu();function T(e,t,n){_(e);const r=P.list();return r.length&&r.forEach(r=>r(e,t,n)),Promise.reject(e)}function _(e){return x||(x=!e,S(),k.list().forEach(([t,n])=>e?n(e):t()),k.reset()),e}function C(t,n,r,i){const{scrollBehavior:o}=e;if(!Kl||!o)return Promise.resolve();const a=!r&&function(e){const t=Nc.get(e);return Nc.delete(e),t}(zc(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return qn().then(()=>o(t,n,a)).then(e=>e&&Ic(e)).catch(e=>T(e,t,n))}const E=e=>i.go(e);let R;const X=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let r,i;return Mc(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:h,options:e,push:A,replace:function(e){return A(ec(f(e),{replace:!0}))},go:E,back:()=>E(-1),forward:()=>E(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:P.add,isReady:function(){return x&&l.value!==Cc?Promise.resolve():new Promise((e,t)=>{k.add([e,t])})},install(e){e.component("RouterLink",Tu),e.component("RouterView",Ru),e.config.globalProperties.$router=B,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>fn(l)}),Kl&&!R&&l.value===Cc&&(R=!0,A(i.location).catch(e=>{}));const t={};for(const r in Cc)Object.defineProperty(t,r,{get:()=>l.value[r],enumerable:!0});e.provide(Hc,B),e.provide(Kc,jt(t)),e.provide(Jc,l);const n=e.unmount;X.add(e),e.unmount=function(){X.delete(e),X.size<1&&(c=Cc,$&&$(),$=null,l.value=Cc,R=!1,x=!1),n()}}};function U(e){return e.reduce((e,t)=>e.then(()=>y(t)),Promise.resolve())}return B}const Bu={},Uu=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};const i=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(null==o?void 0:o.nonce)||(null==o?void 0:o.getAttribute("nonce"));r=e(t.map(e=>{if(e=function(e,t){return new URL(e,t).href}(e,n),e in Bu)return;Bu[e]=!0;const t=e.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!n)for(let n=i.length-1;n>=0;n--){const r=i[n];if(r.href===e&&(!t||"stylesheet"===r.rel))return}else if(document.querySelector(`link[href="${e}"]${r}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":"modulepreload",t||(o.as="script"),o.crossOrigin="",o.href=e,a&&o.setAttribute("nonce",a),document.head.appendChild(o),t?new Promise((t,n)=>{o.addEventListener("load",t),o.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function i(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&i(e.reason);return e().catch(i)})};var Du="object"==typeof global&&global&&global.Object===Object&&global,Iu="object"==typeof self&&self&&self.Object===Object&&self,zu=Du||Iu||Function("return this")(),Nu=zu.Symbol,Mu=Object.prototype,Lu=Mu.hasOwnProperty,Vu=Mu.toString,qu=Nu?Nu.toStringTag:void 0;var Fu=Object.prototype.toString;var Wu=Nu?Nu.toStringTag:void 0;function Zu(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Wu&&Wu in Object(e)?function(e){var t=Lu.call(e,qu),n=e[qu];try{e[qu]=void 0;var r=!0}catch(sy){}var i=Vu.call(e);return r&&(t?e[qu]=n:delete e[qu]),i}(e):function(e){return Fu.call(e)}(e)}function Yu(e){return null!=e&&"object"==typeof e}function ju(e){return"symbol"==typeof e||Yu(e)&&"[object Symbol]"==Zu(e)}function Gu(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Hu=Array.isArray,Ku=Nu?Nu.prototype:void 0,Ju=Ku?Ku.toString:void 0;function eO(e){if("string"==typeof e)return e;if(Hu(e))return Gu(e,eO)+"";if(ju(e))return Ju?Ju.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var tO=/\s/;var nO=/^\s+/;function rO(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&tO.test(e.charAt(t)););return t}(e)+1).replace(nO,""):e}function iO(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var oO=/^[-+]0x[0-9a-f]+$/i,aO=/^0b[01]+$/i,sO=/^0o[0-7]+$/i,lO=parseInt;function cO(e){if("number"==typeof e)return e;if(ju(e))return NaN;if(iO(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=iO(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=rO(e);var n=aO.test(e);return n||sO.test(e)?lO(e.slice(2),n?2:8):oO.test(e)?NaN:+e}function uO(e){return e}function OO(e){if(!iO(e))return!1;var t=Zu(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var dO,hO=zu["__core-js_shared__"],fO=(dO=/[^.]+$/.exec(hO&&hO.keys&&hO.keys.IE_PROTO||""))?"Symbol(src)_1."+dO:"";var pO=Function.prototype.toString;function AO(e){if(null!=e){try{return pO.call(e)}catch(sy){}try{return e+""}catch(sy){}}return""}var mO=/^\[object .+?Constructor\]$/,gO=Function.prototype,vO=Object.prototype,yO=gO.toString,bO=vO.hasOwnProperty,wO=RegExp("^"+yO.call(bO).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function QO(e){return!(!iO(e)||(t=e,fO&&fO in t))&&(OO(e)?wO:mO).test(AO(e));var t}function $O(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return QO(n)?n:void 0}var SO=$O(zu,"WeakMap"),xO=Object.create,kO=function(){function e(){}return function(t){if(!iO(t))return{};if(xO)return xO(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function PO(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var TO=Date.now;var _O,CO,EO,RO=function(){try{var e=$O(Object,"defineProperty");return e({},"",{}),e}catch(sy){}}(),XO=RO?function(e,t){return RO(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:uO,BO=(_O=XO,CO=0,EO=0,function(){var e=TO(),t=16-(e-EO);if(EO=e,t>0){if(++CO>=800)return arguments[0]}else CO=0;return _O.apply(void 0,arguments)});function UO(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function DO(e){return e!=e}function IO(e,t){return!!(null==e?0:e.length)&&function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):UO(e,DO,n)}(e,t,0)>-1}var zO=/^(?:0|[1-9]\d*)$/;function NO(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&zO.test(e))&&e>-1&&e%1==0&&e<t}function MO(e,t,n){"__proto__"==t&&RO?RO(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function LO(e,t){return e===t||e!=e&&t!=t}var VO=Object.prototype.hasOwnProperty;function qO(e,t,n){var r=e[t];VO.call(e,t)&&LO(r,n)&&(void 0!==n||t in e)||MO(e,t,n)}function FO(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=void 0;void 0===l&&(l=e[s]),i?MO(n,s,l):qO(n,s,l)}return n}var WO=Math.max;function ZO(e,t,n){return t=WO(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=WO(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}function YO(e,t){return BO(ZO(e,t,uO),e+"")}function jO(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function GO(e){return null!=e&&jO(e.length)&&!OO(e)}var HO=Object.prototype;function KO(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||HO)}function JO(e){return Yu(e)&&"[object Arguments]"==Zu(e)}var ed=Object.prototype,td=ed.hasOwnProperty,nd=ed.propertyIsEnumerable,rd=JO(function(){return arguments}())?JO:function(e){return Yu(e)&&td.call(e,"callee")&&!nd.call(e,"callee")};var id="object"==typeof exports&&exports&&!exports.nodeType&&exports,od=id&&"object"==typeof module&&module&&!module.nodeType&&module,ad=od&&od.exports===id?zu.Buffer:void 0,sd=(ad?ad.isBuffer:void 0)||function(){return!1},ld={};function cd(e){return function(t){return e(t)}}ld["[object Float32Array]"]=ld["[object Float64Array]"]=ld["[object Int8Array]"]=ld["[object Int16Array]"]=ld["[object Int32Array]"]=ld["[object Uint8Array]"]=ld["[object Uint8ClampedArray]"]=ld["[object Uint16Array]"]=ld["[object Uint32Array]"]=!0,ld["[object Arguments]"]=ld["[object Array]"]=ld["[object ArrayBuffer]"]=ld["[object Boolean]"]=ld["[object DataView]"]=ld["[object Date]"]=ld["[object Error]"]=ld["[object Function]"]=ld["[object Map]"]=ld["[object Number]"]=ld["[object Object]"]=ld["[object RegExp]"]=ld["[object Set]"]=ld["[object String]"]=ld["[object WeakMap]"]=!1;var ud="object"==typeof exports&&exports&&!exports.nodeType&&exports,Od=ud&&"object"==typeof module&&module&&!module.nodeType&&module,dd=Od&&Od.exports===ud&&Du.process,hd=function(){try{var e=Od&&Od.require&&Od.require("util").types;return e||dd&&dd.binding&&dd.binding("util")}catch(sy){}}(),fd=hd&&hd.isTypedArray,pd=fd?cd(fd):function(e){return Yu(e)&&jO(e.length)&&!!ld[Zu(e)]},Ad=Object.prototype.hasOwnProperty;function md(e,t){var n=Hu(e),r=!n&&rd(e),i=!n&&!r&&sd(e),o=!n&&!r&&!i&&pd(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!Ad.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||NO(c,l))||s.push(c);return s}function gd(e,t){return function(n){return e(t(n))}}var vd=gd(Object.keys,Object),yd=Object.prototype.hasOwnProperty;function bd(e){return GO(e)?md(e):function(e){if(!KO(e))return vd(e);var t=[];for(var n in Object(e))yd.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var wd=Object.prototype.hasOwnProperty;function Qd(e){if(!iO(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=KO(e),n=[];for(var r in e)("constructor"!=r||!t&&wd.call(e,r))&&n.push(r);return n}function $d(e){return GO(e)?md(e,!0):Qd(e)}var Sd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xd=/^\w*$/;function kd(e,t){if(Hu(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ju(e))||(xd.test(e)||!Sd.test(e)||null!=t&&e in Object(t))}var Pd=$O(Object,"create");var Td=Object.prototype.hasOwnProperty;var _d=Object.prototype.hasOwnProperty;function Cd(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ed(e,t){for(var n=e.length;n--;)if(LO(e[n][0],t))return n;return-1}Cd.prototype.clear=function(){this.__data__=Pd?Pd(null):{},this.size=0},Cd.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Cd.prototype.get=function(e){var t=this.__data__;if(Pd){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Td.call(t,e)?t[e]:void 0},Cd.prototype.has=function(e){var t=this.__data__;return Pd?void 0!==t[e]:_d.call(t,e)},Cd.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pd&&void 0===t?"__lodash_hash_undefined__":t,this};var Rd=Array.prototype.splice;function Xd(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xd.prototype.clear=function(){this.__data__=[],this.size=0},Xd.prototype.delete=function(e){var t=this.__data__,n=Ed(t,e);return!(n<0)&&(n==t.length-1?t.pop():Rd.call(t,n,1),--this.size,!0)},Xd.prototype.get=function(e){var t=this.__data__,n=Ed(t,e);return n<0?void 0:t[n][1]},Xd.prototype.has=function(e){return Ed(this.__data__,e)>-1},Xd.prototype.set=function(e,t){var n=this.__data__,r=Ed(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Bd=$O(zu,"Map");function Ud(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Dd(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Dd.prototype.clear=function(){this.size=0,this.__data__={hash:new Cd,map:new(Bd||Xd),string:new Cd}},Dd.prototype.delete=function(e){var t=Ud(this,e).delete(e);return this.size-=t?1:0,t},Dd.prototype.get=function(e){return Ud(this,e).get(e)},Dd.prototype.has=function(e){return Ud(this,e).has(e)},Dd.prototype.set=function(e,t){var n=Ud(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function Id(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Id.Cache||Dd),n}Id.Cache=Dd;var zd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nd=/\\(\\)?/g,Md=function(e){var t=Id(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(zd,function(e,n,r,i){t.push(r?i.replace(Nd,"$1"):n||e)}),t});function Ld(e,t){return Hu(e)?e:kd(e,t)?[e]:Md(function(e){return null==e?"":eO(e)}(e))}function Vd(e){if("string"==typeof e||ju(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function qd(e,t){for(var n=0,r=(t=Ld(t,e)).length;null!=e&&n<r;)e=e[Vd(t[n++])];return n&&n==r?e:void 0}function Fd(e,t,n){var r=null==e?void 0:qd(e,t);return void 0===r?n:r}function Wd(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Zd=Nu?Nu.isConcatSpreadable:void 0;function Yd(e){return Hu(e)||rd(e)||!!(Zd&&e&&e[Zd])}function jd(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=Yd),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?jd(s,t-1,n,r,i):Wd(i,s):r||(i[i.length]=s)}return i}function Gd(e){return(null==e?0:e.length)?jd(e,1):[]}function Hd(e){return BO(ZO(e,void 0,Gd),e+"")}var Kd=gd(Object.getPrototypeOf,Object),Jd=Function.prototype,eh=Object.prototype,th=Jd.toString,nh=eh.hasOwnProperty,rh=th.call(Object);function ih(e){if(!Yu(e)||"[object Object]"!=Zu(e))return!1;var t=Kd(e);if(null===t)return!0;var n=nh.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&th.call(n)==rh}function oh(){if(!arguments.length)return[];var e=arguments[0];return Hu(e)?e:[e]}function ah(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=cO(n))==n?n:0),void 0!==t&&(t=(t=cO(t))==t?t:0),function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}(cO(e),t,n)}function sh(e){var t=this.__data__=new Xd(e);this.size=t.size}sh.prototype.clear=function(){this.__data__=new Xd,this.size=0},sh.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},sh.prototype.get=function(e){return this.__data__.get(e)},sh.prototype.has=function(e){return this.__data__.has(e)},sh.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Xd){var r=n.__data__;if(!Bd||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Dd(r)}return n.set(e,t),this.size=n.size,this};var lh="object"==typeof exports&&exports&&!exports.nodeType&&exports,ch=lh&&"object"==typeof module&&module&&!module.nodeType&&module,uh=ch&&ch.exports===lh?zu.Buffer:void 0,Oh=uh?uh.allocUnsafe:void 0;function dh(e,t){if(t)return e.slice();var n=e.length,r=Oh?Oh(n):new e.constructor(n);return e.copy(r),r}function hh(){return[]}var fh=Object.prototype.propertyIsEnumerable,ph=Object.getOwnPropertySymbols,Ah=ph?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(ph(e),function(t){return fh.call(e,t)}))}:hh;var mh=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Wd(t,Ah(e)),e=Kd(e);return t}:hh;function gh(e,t,n){var r=t(e);return Hu(e)?r:Wd(r,n(e))}function vh(e){return gh(e,bd,Ah)}function yh(e){return gh(e,$d,mh)}var bh=$O(zu,"DataView"),wh=$O(zu,"Promise"),Qh=$O(zu,"Set"),$h="[object Map]",Sh="[object Promise]",xh="[object Set]",kh="[object WeakMap]",Ph="[object DataView]",Th=AO(bh),_h=AO(Bd),Ch=AO(wh),Eh=AO(Qh),Rh=AO(SO),Xh=Zu;(bh&&Xh(new bh(new ArrayBuffer(1)))!=Ph||Bd&&Xh(new Bd)!=$h||wh&&Xh(wh.resolve())!=Sh||Qh&&Xh(new Qh)!=xh||SO&&Xh(new SO)!=kh)&&(Xh=function(e){var t=Zu(e),n="[object Object]"==t?e.constructor:void 0,r=n?AO(n):"";if(r)switch(r){case Th:return Ph;case _h:return $h;case Ch:return Sh;case Eh:return xh;case Rh:return kh}return t});var Bh=Object.prototype.hasOwnProperty;var Uh=zu.Uint8Array;function Dh(e){var t=new e.constructor(e.byteLength);return new Uh(t).set(new Uh(e)),t}var Ih=/\w*$/;var zh=Nu?Nu.prototype:void 0,Nh=zh?zh.valueOf:void 0;function Mh(e,t){var n=t?Dh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Lh(e,t,n){var r,i,o,a=e.constructor;switch(t){case"[object ArrayBuffer]":return Dh(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?Dh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Mh(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(o=new(i=e).constructor(i.source,Ih.exec(i))).lastIndex=i.lastIndex,o;case"[object Symbol]":return r=e,Nh?Object(Nh.call(r)):{}}}function Vh(e){return"function"!=typeof e.constructor||KO(e)?{}:kO(Kd(e))}var qh=hd&&hd.isMap,Fh=qh?cd(qh):function(e){return Yu(e)&&"[object Map]"==Xh(e)};var Wh=hd&&hd.isSet,Zh=Wh?cd(Wh):function(e){return Yu(e)&&"[object Set]"==Xh(e)},Yh="[object Arguments]",jh="[object Function]",Gh="[object Object]",Hh={};function Kh(e,t,n,r,i,o){var a,s=1&t,l=2&t,c=4&t;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!iO(e))return e;var u=Hu(e);if(u){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Bh.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return PO(e,a)}else{var O=Xh(e),d=O==jh||"[object GeneratorFunction]"==O;if(sd(e))return dh(e,s);if(O==Gh||O==Yh||d&&!i){if(a=l||d?{}:Vh(e),!s)return l?function(e,t){return FO(e,mh(e),t)}(e,function(e,t){return e&&FO(t,$d(t),e)}(a,e)):function(e,t){return FO(e,Ah(e),t)}(e,function(e,t){return e&&FO(t,bd(t),e)}(a,e))}else{if(!Hh[O])return i?e:{};a=Lh(e,O,s)}}o||(o=new sh);var h=o.get(e);if(h)return h;o.set(e,a),Zh(e)?e.forEach(function(r){a.add(Kh(r,t,n,r,e,o))}):Fh(e)&&e.forEach(function(r,i){a.set(i,Kh(r,t,n,i,e,o))});var f=u?void 0:(c?l?yh:vh:l?$d:bd)(e);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(f||e,function(r,i){f&&(r=e[i=r]),qO(a,i,Kh(r,t,n,i,e,o))}),a}Hh[Yh]=Hh["[object Array]"]=Hh["[object ArrayBuffer]"]=Hh["[object DataView]"]=Hh["[object Boolean]"]=Hh["[object Date]"]=Hh["[object Float32Array]"]=Hh["[object Float64Array]"]=Hh["[object Int8Array]"]=Hh["[object Int16Array]"]=Hh["[object Int32Array]"]=Hh["[object Map]"]=Hh["[object Number]"]=Hh[Gh]=Hh["[object RegExp]"]=Hh["[object Set]"]=Hh["[object String]"]=Hh["[object Symbol]"]=Hh["[object Uint8Array]"]=Hh["[object Uint8ClampedArray]"]=Hh["[object Uint16Array]"]=Hh["[object Uint32Array]"]=!0,Hh["[object Error]"]=Hh[jh]=Hh["[object WeakMap]"]=!1;function Jh(e){return Kh(e,5)}function ef(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Dd;++t<n;)this.add(e[t])}function tf(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function nf(e,t){return e.has(t)}ef.prototype.add=ef.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ef.prototype.has=function(e){return this.__data__.has(e)};function rf(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var O=-1,d=!0,h=2&n?new ef:void 0;for(o.set(e,t),o.set(t,e);++O<s;){var f=e[O],p=t[O];if(r)var A=a?r(p,f,O,t,e,o):r(f,p,O,e,t,o);if(void 0!==A){if(A)continue;d=!1;break}if(h){if(!tf(t,function(e,t){if(!nf(h,t)&&(f===e||i(f,e,n,r,o)))return h.push(t)})){d=!1;break}}else if(f!==p&&!i(f,p,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function of(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function af(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var sf=Nu?Nu.prototype:void 0,lf=sf?sf.valueOf:void 0;var cf=Object.prototype.hasOwnProperty;var uf="[object Arguments]",Of="[object Array]",df="[object Object]",hf=Object.prototype.hasOwnProperty;function ff(e,t,n,r,i,o){var a=Hu(e),s=Hu(t),l=a?Of:Xh(e),c=s?Of:Xh(t),u=(l=l==uf?df:l)==df,O=(c=c==uf?df:c)==df,d=l==c;if(d&&sd(e)){if(!sd(t))return!1;a=!0,u=!1}if(d&&!u)return o||(o=new sh),a||pd(e)?rf(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new Uh(e),new Uh(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return LO(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=of;case"[object Set]":var l=1&r;if(s||(s=af),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=rf(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(lf)return lf.call(e)==lf.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var h=u&&hf.call(e,"__wrapped__"),f=O&&hf.call(t,"__wrapped__");if(h||f){var p=h?e.value():e,A=f?t.value():t;return o||(o=new sh),i(p,A,n,r,o)}}return!!d&&(o||(o=new sh),function(e,t,n,r,i,o){var a=1&n,s=vh(e),l=s.length;if(l!=vh(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:cf.call(t,u)))return!1}var O=o.get(e),d=o.get(t);if(O&&d)return O==t&&d==e;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var p=e[u=s[c]],A=t[u];if(r)var m=a?r(A,p,u,t,e,o):r(p,A,u,e,t,o);if(!(void 0===m?p===A||i(p,A,n,r,o):m)){h=!1;break}f||(f="constructor"==u)}if(h&&!f){var g=e.constructor,v=t.constructor;g==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,n,r,i,o))}function pf(e,t,n,r,i){return e===t||(null==e||null==t||!Yu(e)&&!Yu(t)?e!=e&&t!=t:ff(e,t,n,r,pf,i))}function Af(e){return e==e&&!iO(e)}function mf(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function gf(e){var t=function(e){for(var t=bd(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Af(i)]}return t}(e);return 1==t.length&&t[0][2]?mf(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s],c=a[1];if(a[2]){if(void 0===l&&!(s in e))return!1}else if(!pf(c,l,3,r,new sh))return!1}return!0}(n,0,t)}}function vf(e,t){return null!=e&&t in Object(e)}function yf(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=Ld(t,e)).length,o=!1;++r<i;){var a=Vd(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&jO(i)&&NO(a,i)&&(Hu(e)||rd(e))}(e,t,vf)}function bf(e){return kd(e)?(t=Vd(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return qd(t,e)}}(e);var t}function wf(e){return"function"==typeof e?e:null==e?uO:"object"==typeof e?Hu(e)?(t=e[0],n=e[1],kd(t)&&Af(n)?mf(Vd(t),n):function(e){var r=Fd(e,t);return void 0===r&&r===n?yf(e,t):pf(n,r,3)}):gf(e):bf(e);var t,n}var Qf=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};var $f,Sf=($f=function(e,t){return e&&Qf(e,t,bd)},function(e,t){if(null==e)return e;if(!GO(e))return $f(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e}),xf=function(){return zu.Date.now()},kf=Math.max,Pf=Math.min;function Tf(e,t,n){var r,i,o,a,s,l,c=0,u=!1,O=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function f(e){var n=e-l;return void 0===l||n>=t||n<0||O&&e-c>=o}function p(){var e=xf();if(f(e))return A(e);s=setTimeout(p,function(e){var n=t-(e-l);return O?Pf(n,o-(e-c)):n}(e))}function A(e){return s=void 0,d&&r?h(e):(r=i=void 0,a)}function m(){var e=xf(),n=f(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(p,t),u?h(e):a}(l);if(O)return clearTimeout(s),s=setTimeout(p,t),h(l)}return void 0===s&&(s=setTimeout(p,t)),a}return t=cO(t)||0,iO(n)&&(u=!!n.leading,o=(O="maxWait"in n)?kf(cO(n.maxWait)||0,t):o,d="trailing"in n?!!n.trailing:d),m.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},m.flush=function(){return void 0===s?a:A(xf())},m}function _f(e,t,n){(void 0!==n&&!LO(e[t],n)||void 0===n&&!(t in e))&&MO(e,t,n)}function Cf(e){return Yu(e)&&GO(e)}function Ef(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function Rf(e,t,n,r,i,o,a){var s=Ef(e,n),l=Ef(t,n),c=a.get(l);if(c)_f(e,n,c);else{var u,O=o?o(s,l,n+"",e,t,a):void 0,d=void 0===O;if(d){var h=Hu(l),f=!h&&sd(l),p=!h&&!f&&pd(l);O=l,h||f||p?Hu(s)?O=s:Cf(s)?O=PO(s):f?(d=!1,O=dh(l,!0)):p?(d=!1,O=Mh(l,!0)):O=[]:ih(l)||rd(l)?(O=s,rd(s)?O=FO(u=s,$d(u)):iO(s)&&!OO(s)||(O=Vh(l))):d=!1}d&&(a.set(l,O),i(O,l,r,o,a),a.delete(l)),_f(e,n,O)}}function Xf(e,t,n,r,i){e!==t&&Qf(t,function(o,a){if(i||(i=new sh),iO(o))Rf(e,t,a,n,Xf,r,i);else{var s=r?r(Ef(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),_f(e,a,s)}},$d)}function Bf(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return UO(e,wf(t),i,!0)}function Uf(e,t){var n=-1,r=GO(e)?Array(e.length):[];return Sf(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function Df(e,t){return jd(function(e,t){return(Hu(e)?Gu:Uf)(e,wf(t))}(e,t),1)}var If=1/0;function zf(e){return(null==e?0:e.length)?jd(e,If):[]}function Nf(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];MO(r,i[0],i[1])}return r}function Mf(e,t){return t.length<2?e:qd(e,function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}(t,0,-1))}function Lf(e,t){return pf(e,t)}function Vf(e){return null==e}function qf(e){return null===e}function Ff(e){return void 0===e}var Wf,Zf=(Wf=function(e,t,n){Xf(e,t,n)},YO(function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Wf.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!iO(n))return!1;var r=typeof t;return!!("number"==r?GO(n)&&NO(t,n.length):"string"==r&&t in n)&&LO(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Wf(e,a,n,i)}return e})),Yf=Object.prototype.hasOwnProperty;function jf(e,t){var n=-1,r=(t=Ld(t,e)).length;if(!r)return!0;for(;++n<r;){var i=Vd(t[n]);if("__proto__"===i&&!Yf.call(e,"__proto__"))return!1;if(("constructor"===i||"prototype"===i)&&n<r-1)return!1}var o=Mf(e,t);return null==o||delete o[Vd(function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(t))]}function Gf(e){return ih(e)?void 0:e}var Hf=Hd(function(e,t){var n={};if(null==e)return n;var r=!1;t=Gu(t,function(t){return t=Ld(t,e),r||(r=t.length>1),t}),FO(e,yh(e),n),r&&(n=Kh(n,7,Gf));for(var i=t.length;i--;)jf(n,t[i]);return n});function Kf(e,t,n,r){if(!iO(e))return e;for(var i=-1,o=(t=Ld(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=Vd(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=void 0)&&(c=iO(u)?u:NO(t[i+1])?[]:{})}qO(s,l,c),s=s[l]}return e}function Jf(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=qd(e,a);n(s,a)&&Kf(o,Ld(a,e),s)}return o}(e,t,function(t,n){return yf(e,n)})}var ep=Hd(function(e,t){return null==e?{}:Jf(e,t)});function tp(e,t,n){return null==e?e:Kf(e,t,n)}function np(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return iO(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Tf(e,t,{leading:r,maxWait:t,trailing:i})}var rp=Qh&&1/af(new Qh([,-0]))[1]==1/0?function(e){return new Qh(e)}:function(){};var ip=YO(function(e){return function(e,t,n){var r=-1,i=IO,o=e.length,a=!0,s=[],l=s;if(o>=200){var c=rp(e);if(c)return af(c);a=!1,i=nf,l=new ef}else l=s;e:for(;++r<o;){var u=e[r],O=u;if(u=0!==u?u:0,a&&O==O){for(var d=l.length;d--;)if(l[d]===O)continue e;s.push(u)}else i(l,O,n)||(l!==s&&l.push(O),s.push(u))}return s}(jd(e,1,Cf,!0))});function op(e,t){const n=un();return Or(()=>{n.value=e()},{...t,flush:null!=void 0?void 0:"sync"}),Gt(n)}function ap(e){return!!Ie()&&(ze(e),!0)}function sp(e){return"function"==typeof e?e():fn(e)}function lp(e){return Yt(ln(t=Ha(e))?new Proxy({},{get:(e,n,r)=>fn(Reflect.get(t.value,n,r)),set:(e,n,r)=>(ln(t.value[n])&&!ln(r)?t.value[n].value=r:t.value[n]=r,!0),deleteProperty:(e,n)=>Reflect.deleteProperty(t.value,n),has:(e,n)=>Reflect.has(t.value,n),ownKeys:()=>Object.keys(t.value),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})}):t);var t}const cp="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const up=e=>null!=e,Op=Object.prototype.toString,dp=(e,t,n)=>Math.min(n,Math.max(t,e)),hp=()=>{},fp=pp();function pp(){var e,t;return cp&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==(t=null==window?void 0:window.navigator)?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent))}function Ap(e,t){return function(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}}function mp(e,t=200,n={}){return Ap(function(e,t={}){let n,r,i=hp;const o=e=>{clearTimeout(e),i(),i=hp};return a=>{const s=sp(e),l=sp(t.maxWait);return n&&o(n),s<=0||void 0!==l&&l<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((e,c)=>{i=t.rejectOnCancel?c:e,l&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,e(a())},l)),n=setTimeout(()=>{r&&o(r),r=null,e(a())},s)})}}(t,n),e)}function gp(e,t=200,n={}){const r=cn(e.value),i=mp(()=>{r.value=e.value},t,n);return hr(e,()=>i()),r}function vp(e,t=200,n=!1,r=!0,i=!1){return Ap(function(...e){let t,n,r,i,o,a,s=0,l=!0,c=hp;ln(e[0])||"object"!=typeof e[0]?[r,i=!0,o=!0,a=!1]=e:({delay:r,trailing:i=!0,leading:o=!0,rejectOnCancel:a=!1}=e[0]);const u=()=>{t&&(clearTimeout(t),t=void 0,c(),c=hp)};return e=>{const O=sp(r),d=Date.now()-s,h=()=>n=e();return u(),O<=0?(s=Date.now(),h()):(d>O&&(o||!l)?(s=Date.now(),h()):i&&(n=new Promise((e,n)=>{c=a?n:e,t=setTimeout(()=>{s=Date.now(),l=!0,e(h()),u()},Math.max(0,O-d))})),o||t||(t=setTimeout(()=>l=!0,O)),l=!1,n)}}(t,n,r,i),e)}function yp(e,t=!0,n){Ba()?vi(e,n):t?e():qn(e)}function bp(e,t,n={}){const{immediate:r=!0}=n,i=cn(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function s(){i.value=!1,a()}function l(...n){a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,e(...n)},sp(t))}return r&&(i.value=!0,cp&&l()),ap(s),{isPending:Gt(i),start:l,stop:s}}const wp=cp?window:void 0,Qp=cp?window.document:void 0;function $p(e){var t;const n=sp(e);return null!=(t=null==n?void 0:n.$el)?t:n}function Sp(...e){let t,n,r,i;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,i]=e,t=wp):[t,n,r,i]=e,!t)return hp;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(e=>e()),o.length=0},s=hr(()=>[$p(t),sp(i)],([e,t])=>{if(a(),!e)return;const i=(s=t,"[object Object]"===Op.call(s)?{...t}:t);var s;o.push(...n.flatMap(t=>r.map(n=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,t,n,i))))},{immediate:!0,flush:"post"}),l=()=>{s(),a()};return ap(l),l}let xp=!1;function kp(e,t,n={}){const{window:r=wp,ignore:i=[],capture:o=!0,detectIframe:a=!1}=n;if(!r)return hp;fp&&!xp&&(xp=!0,Array.from(r.document.body.children).forEach(e=>e.addEventListener("click",hp)),r.document.documentElement.addEventListener("click",hp));let s=!0;const l=e=>sp(i).some(t=>{if("string"==typeof t)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const n=$p(t);return n&&(e.target===n||e.composedPath().includes(n))}});const c=n=>{const r=$p(e);null!=n.target&&(r instanceof Element||!function(e){const t=sp(e);return t&&16===t.$.subTree.shapeFlag}(e)||!function(e,t){const n=sp(e),r=n.$.subTree&&n.$.subTree.children;return!(null==r||!Array.isArray(r))&&r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}(e,n))&&r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(s=!l(n)),s?t(n):s=!0)};let u=!1;const O=[Sp(r,"click",e=>{u||(u=!0,setTimeout(()=>{u=!1},0),c(e))},{passive:!0,capture:o}),Sp(r,"pointerdown",t=>{const n=$p(e);s=!l(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),a&&Sp(r,"blur",n=>{setTimeout(()=>{var i;const o=$p(e);"IFRAME"!==(null==(i=r.document.activeElement)?void 0:i.tagName)||(null==o?void 0:o.contains(r.document.activeElement))||t(n)},0)})].filter(Boolean);return()=>O.forEach(e=>e())}function Pp(e){const t=function(){const e=cn(!1),t=Ba();return t&&vi(()=>{e.value=!0},t),e}();return Ha(()=>(t.value,Boolean(e())))}function Tp(e,t,n={}){const{window:r=wp,...i}=n;let o;const a=Pp(()=>r&&"MutationObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=Ha(()=>{const t=sp(e),n=(Array.isArray(t)?t:[t]).map($p).filter(up);return new Set(n)}),c=hr(()=>l.value,e=>{s(),a.value&&e.size&&(o=new MutationObserver(t),e.forEach(e=>o.observe(e,i)))},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return ap(u),{isSupported:a,stop:u,takeRecords:()=>null==o?void 0:o.takeRecords()}}function _p(e={}){var t;const{window:n=wp,deep:r=!0,triggerOnRemoval:i=!1}=e,o=null!=(t=e.document)?t:null==n?void 0:n.document,a=cn(),s=()=>{a.value=(()=>{var e;let t=null==o?void 0:o.activeElement;if(r)for(;null==t?void 0:t.shadowRoot;)t=null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;return t})()};return n&&(Sp(n,"blur",e=>{null===e.relatedTarget&&s()},!0),Sp(n,"focus",s,!0)),i&&Tp(o,e=>{e.filter(e=>e.removedNodes.length).map(e=>Array.from(e.removedNodes)).flat().forEach(e=>{e===a.value&&s()})},{childList:!0,subtree:!0}),s(),a}function Cp(e,t,n={}){const{window:r=wp,initialValue:i,observe:o=!1}=n,a=cn(i),s=Ha(()=>{var e;return $p(t)||(null==(e=null==r?void 0:r.document)?void 0:e.documentElement)});function l(){var t;const n=sp(e),o=sp(s);if(o&&r&&n){const e=null==(t=r.getComputedStyle(o).getPropertyValue(n))?void 0:t.trim();a.value=e||i}}return o&&Tp(s,l,{attributeFilter:["style","class"],window:r}),hr([s,()=>sp(e)],(e,t)=>{t[0]&&t[1]&&t[0].style.removeProperty(t[1]),l()},{immediate:!0}),hr(a,t=>{var n;const r=sp(e);(null==(n=s.value)?void 0:n.style)&&r&&(null==t?s.value.style.removeProperty(r):s.value.style.setProperty(r,t))}),a}function Ep(e={}){const{document:t=Qp}=e;if(!t)return cn("visible");const n=cn(t.visibilityState);return Sp(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Rp(e,t,n={}){const{window:r=wp,...i}=n;let o;const a=Pp(()=>r&&"ResizeObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=hr(Ha(()=>{const t=sp(e);return Array.isArray(t)?t.map(e=>$p(e)):[$p(t)]}),e=>{if(s(),a.value&&r){o=new ResizeObserver(t);for(const t of e)t&&o.observe(t,i)}},{immediate:!0,flush:"post"}),c=()=>{s(),l()};return ap(c),{isSupported:a,stop:c}}function Xp(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:o=!0,updateTiming:a="sync"}=t,s=cn(0),l=cn(0),c=cn(0),u=cn(0),O=cn(0),d=cn(0),h=cn(0),f=cn(0);function p(){const t=$p(e);if(!t)return void(n&&(s.value=0,l.value=0,c.value=0,u.value=0,O.value=0,d.value=0,h.value=0,f.value=0));const r=t.getBoundingClientRect();s.value=r.height,l.value=r.bottom,c.value=r.left,u.value=r.right,O.value=r.top,d.value=r.width,h.value=r.x,f.value=r.y}function A(){"sync"===a?p():"next-frame"===a&&requestAnimationFrame(()=>p())}return Rp(e,A),hr(()=>$p(e),e=>!e&&A()),Tp(e,A,{attributeFilter:["style","class"]}),i&&Sp("scroll",A,{capture:!0,passive:!0}),r&&Sp("resize",A,{passive:!0}),yp(()=>{o&&A()}),{height:s,bottom:l,left:c,right:u,top:O,width:d,x:h,y:f,update:A}}function Bp(e,t={width:0,height:0},n={}){const{window:r=wp,box:i="content-box"}=n,o=Ha(()=>{var t,n;return null==(n=null==(t=$p(e))?void 0:t.namespaceURI)?void 0:n.includes("svg")}),a=cn(t.width),s=cn(t.height),{stop:l}=Rp(e,([t])=>{const n="border-box"===i?t.borderBoxSize:"content-box"===i?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&o.value){const t=$p(e);if(t){const e=t.getBoundingClientRect();a.value=e.width,s.value=e.height}}else if(n){const e=Array.isArray(n)?n:[n];a.value=e.reduce((e,{inlineSize:t})=>e+t,0),s.value=e.reduce((e,{blockSize:t})=>e+t,0)}else a.value=t.contentRect.width,s.value=t.contentRect.height},n);yp(()=>{const n=$p(e);n&&(a.value="offsetWidth"in n?n.offsetWidth:t.width,s.value="offsetHeight"in n?n.offsetHeight:t.height)});const c=hr(()=>$p(e),e=>{a.value=e?t.width:0,s.value=e?t.height:0});return{width:a,height:s,stop:function(){l(),c()}}}function Up(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:o=0,window:a=wp,immediate:s=!0}=n,l=Pp(()=>a&&"IntersectionObserver"in a),c=Ha(()=>{const t=sp(e);return(Array.isArray(t)?t:[t]).map($p).filter(up)});let u=hp;const O=cn(s),d=l.value?hr(()=>[c.value,$p(r),O.value],([e,n])=>{if(u(),!O.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{root:$p(n),rootMargin:i,threshold:o});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=hp}},{immediate:s,flush:"post"}):hp,h=()=>{u(),d(),O.value=!1};return ap(h),{isSupported:l,isActive:O,pause(){u(),O.value=!1},resume(){O.value=!0},stop:h}}function Dp(e,t,n,r={}){var i,o,a;const{clone:s=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:O,shouldEmit:d}=r,h=Ba(),f=n||(null==h?void 0:h.emit)||(null==(i=null==h?void 0:h.$emit)?void 0:i.bind(h))||(null==(a=null==(o=null==h?void 0:h.proxy)?void 0:o.$emit)?void 0:a.bind(null==h?void 0:h.proxy));let p=c;t||(t="modelValue"),p=p||`update:${t.toString()}`;const A=e=>{return s?"function"==typeof s?s(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},m=()=>void 0!==e[t]?A(e[t]):O,g=e=>{d?d(e)&&f(p,e):f(p,e)};if(l){const n=cn(m());let r=!1;return hr(()=>e[t],e=>{r||(r=!0,n.value=A(e),qn(()=>r=!1))}),hr(n,n=>{r||n===e[t]&&!u||g(n)},{deep:u}),n}return Ha({get:()=>m(),set(e){g(e)}})}function Ip(e={}){const{window:t=wp}=e;if(!t)return cn(!1);const n=cn(t.document.hasFocus());return Sp(t,"blur",()=>{n.value=!1}),Sp(t,"focus",()=>{n.value=!0}),n}function zp(e={}){const{window:t=wp,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0,type:a="inner"}=e,s=cn(n),l=cn(r),c=()=>{t&&("outer"===a?(s.value=t.outerWidth,l.value=t.outerHeight):o?(s.value=t.innerWidth,l.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),yp(c),Sp("resize",c,{passive:!0}),i){const e=function(e,t={}){const{window:n=wp}=t,r=Pp(()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia);let i;const o=cn(!1),a=e=>{o.value=e.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},l=Or(()=>{r.value&&(s(),i=n.matchMedia(sp(e)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return ap(()=>{l(),s(),i=void 0}),o}("(orientation: portrait)");hr(e,()=>c())}return{width:s,height:l}}var Np="top",Mp="bottom",Lp="right",Vp="left",qp="auto",Fp=[Np,Mp,Lp,Vp],Wp="start",Zp="end",Yp="viewport",jp="popper",Gp=Fp.reduce(function(e,t){return e.concat([t+"-"+Wp,t+"-"+Zp])},[]),Hp=[].concat(Fp,[qp]).reduce(function(e,t){return e.concat([t,t+"-"+Wp,t+"-"+Zp])},[]),Kp=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Jp(e){return e?(e.nodeName||"").toLowerCase():null}function eA(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function tA(e){return e instanceof eA(e).Element||e instanceof Element}function nA(e){return e instanceof eA(e).HTMLElement||e instanceof HTMLElement}function rA(e){return"undefined"!=typeof ShadowRoot&&(e instanceof eA(e).ShadowRoot||e instanceof ShadowRoot)}var iA={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];!nA(i)||!Jp(i)||(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});!nA(r)||!Jp(r)||(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function oA(e){return e.split("-")[0]}var aA=Math.max,sA=Math.min,lA=Math.round;function cA(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function uA(){return!/^((?!chrome|android).)*safari/i.test(cA())}function OA(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&nA(e)&&(i=e.offsetWidth>0&&lA(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&lA(r.height)/e.offsetHeight||1);var a=(tA(e)?eA(e):window).visualViewport,s=!uA()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/i,c=(r.top+(s&&a?a.offsetTop:0))/o,u=r.width/i,O=r.height/o;return{width:u,height:O,top:c,right:l+u,bottom:c+O,left:l,x:l,y:c}}function dA(e){var t=OA(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function hA(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&rA(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function fA(e){return eA(e).getComputedStyle(e)}function pA(e){return["table","td","th"].indexOf(Jp(e))>=0}function AA(e){return((tA(e)?e.ownerDocument:e.document)||window.document).documentElement}function mA(e){return"html"===Jp(e)?e:e.assignedSlot||e.parentNode||(rA(e)?e.host:null)||AA(e)}function gA(e){return nA(e)&&"fixed"!==fA(e).position?e.offsetParent:null}function vA(e){for(var t=eA(e),n=gA(e);n&&pA(n)&&"static"===fA(n).position;)n=gA(n);return n&&("html"===Jp(n)||"body"===Jp(n)&&"static"===fA(n).position)?t:n||function(e){var t=/firefox/i.test(cA());if(/Trident/i.test(cA())&&nA(e)&&"fixed"===fA(e).position)return null;var n=mA(e);for(rA(n)&&(n=n.host);nA(n)&&["html","body"].indexOf(Jp(n))<0;){var r=fA(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function yA(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function bA(e,t,n){return aA(e,sA(t,n))}function wA(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function QA(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var $A={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=oA(n.placement),l=yA(s),c=[Vp,Lp].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return wA("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:QA(e,Fp))}(i.padding,n),O=dA(o),d="y"===l?Np:Vp,h="y"===l?Mp:Lp,f=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],p=a[l]-n.rects.reference[l],A=vA(o),m=A?"y"===l?A.clientHeight||0:A.clientWidth||0:0,g=f/2-p/2,v=u[d],y=m-O[c]-u[h],b=m/2-O[c]/2+g,w=bA(v,b,y),Q=l;n.modifiersData[r]=((t={})[Q]=w,t.centerOffset=w-b,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"==typeof r&&!(r=t.elements.popper.querySelector(r))||hA(t.elements.popper,r)&&(t.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function SA(e){return e.split("-")[1]}var xA={top:"auto",right:"auto",bottom:"auto",left:"auto"};function kA(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,O=e.isFixed,d=a.x,h=void 0===d?0:d,f=a.y,p=void 0===f?0:f,A="function"==typeof u?u({x:h,y:p}):{x:h,y:p};h=A.x,p=A.y;var m=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),v=Vp,y=Np,b=window;if(c){var w=vA(n),Q="clientHeight",$="clientWidth";if(w===eA(n)&&("static"!==fA(w=AA(n)).position&&"absolute"===s&&(Q="scrollHeight",$="scrollWidth")),i===Np||(i===Vp||i===Lp)&&o===Zp)y=Mp,p-=(O&&w===b&&b.visualViewport?b.visualViewport.height:w[Q])-r.height,p*=l?1:-1;if(i===Vp||(i===Np||i===Mp)&&o===Zp)v=Lp,h-=(O&&w===b&&b.visualViewport?b.visualViewport.width:w[$])-r.width,h*=l?1:-1}var S,x=Object.assign({position:s},c&&xA),k=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:lA(n*i)/i||0,y:lA(r*i)/i||0}}({x:h,y:p},eA(n)):{x:h,y:p};return h=k.x,p=k.y,l?Object.assign({},x,((S={})[y]=g?"0":"",S[v]=m?"0":"",S.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",S)):Object.assign({},x,((t={})[y]=g?p+"px":"",t[v]=m?h+"px":"",t.transform="",t))}var PA={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:oA(t.placement),variation:SA(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,kA(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,kA(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},TA={passive:!0};var _A={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=eA(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,TA)}),s&&l.addEventListener("resize",n.update,TA),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,TA)}),s&&l.removeEventListener("resize",n.update,TA)}},data:{}},CA={left:"right",right:"left",bottom:"top",top:"bottom"};function EA(e){return e.replace(/left|right|bottom|top/g,function(e){return CA[e]})}var RA={start:"end",end:"start"};function XA(e){return e.replace(/start|end/g,function(e){return RA[e]})}function BA(e){var t=eA(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function UA(e){return OA(AA(e)).left+BA(e).scrollLeft}function DA(e){var t=fA(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function IA(e){return["html","body","#document"].indexOf(Jp(e))>=0?e.ownerDocument.body:nA(e)&&DA(e)?e:IA(mA(e))}function zA(e,t){var n;void 0===t&&(t=[]);var r=IA(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=eA(r),a=i?[o].concat(o.visualViewport||[],DA(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(zA(mA(a)))}function NA(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function MA(e,t,n){return t===Yp?NA(function(e,t){var n=eA(e),r=AA(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=uA();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+UA(e),y:l}}(e,n)):tA(t)?function(e,t){var n=OA(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):NA(function(e){var t,n=AA(e),r=BA(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=aA(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=aA(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+UA(e),l=-r.scrollTop;return"rtl"===fA(i||n).direction&&(s+=aA(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(AA(e)))}function LA(e,t,n,r){var i="clippingParents"===t?function(e){var t=zA(mA(e)),n=["absolute","fixed"].indexOf(fA(e).position)>=0&&nA(e)?vA(e):e;return tA(n)?t.filter(function(e){return tA(e)&&hA(e,n)&&"body"!==Jp(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var i=MA(e,n,r);return t.top=aA(i.top,t.top),t.right=sA(i.right,t.right),t.bottom=sA(i.bottom,t.bottom),t.left=aA(i.left,t.left),t},MA(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function VA(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?oA(i):null,a=i?SA(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Np:t={x:s,y:n.y-r.height};break;case Mp:t={x:s,y:n.y+n.height};break;case Lp:t={x:n.x+n.width,y:l};break;case Vp:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?yA(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Wp:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Zp:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function qA(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Yp:c,O=n.elementContext,d=void 0===O?jp:O,h=n.altBoundary,f=void 0!==h&&h,p=n.padding,A=void 0===p?0:p,m=wA("number"!=typeof A?A:QA(A,Fp)),g=d===jp?"reference":jp,v=e.rects.popper,y=e.elements[f?g:d],b=LA(tA(y)?y:y.contextElement||AA(e.elements.popper),l,u,a),w=OA(e.elements.reference),Q=VA({reference:w,element:v,placement:i}),$=NA(Object.assign({},v,Q)),S=d===jp?$:w,x={top:b.top-S.top+m.top,bottom:S.bottom-b.bottom+m.bottom,left:b.left-S.left+m.left,right:S.right-b.right+m.right},k=e.modifiersData.offset;if(d===jp&&k){var P=k[i];Object.keys(x).forEach(function(e){var t=[Lp,Mp].indexOf(e)>=0?1:-1,n=[Np,Mp].indexOf(e)>=0?"y":"x";x[e]+=P[n]*t})}return x}var FA={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,O=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,f=void 0===h||h,p=n.allowedAutoPlacements,A=t.options.placement,m=oA(A),g=l||(m===A||!f?[EA(A)]:function(e){if(oA(e)===qp)return[];var t=EA(e);return[XA(e),t,XA(t)]}(A)),v=[A].concat(g).reduce(function(e,n){return e.concat(oA(n)===qp?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Hp:l,u=SA(r),O=u?s?Gp:Gp.filter(function(e){return SA(e)===u}):Fp,d=O.filter(function(e){return c.indexOf(e)>=0});0===d.length&&(d=O);var h=d.reduce(function(t,n){return t[n]=qA(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[oA(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:n,boundary:u,rootBoundary:O,padding:c,flipVariations:f,allowedAutoPlacements:p}):n)},[]),y=t.rects.reference,b=t.rects.popper,w=new Map,Q=!0,$=v[0],S=0;S<v.length;S++){var x=v[S],k=oA(x),P=SA(x)===Wp,T=[Np,Mp].indexOf(k)>=0,_=T?"width":"height",C=qA(t,{placement:x,boundary:u,rootBoundary:O,altBoundary:d,padding:c}),E=T?P?Lp:Vp:P?Mp:Np;y[_]>b[_]&&(E=EA(E));var R=EA(E),X=[];if(o&&X.push(C[k]<=0),s&&X.push(C[E]<=0,C[R]<=0),X.every(function(e){return e})){$=x,Q=!1;break}w.set(x,X)}if(Q)for(var B=function(e){var t=v.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return $=t,"break"},U=f?3:1;U>0;U--){if("break"===B(U))break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function WA(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ZA(e){return[Np,Lp,Mp,Vp].some(function(t){return e[t]>=0})}var YA={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=qA(t,{elementContext:"reference"}),s=qA(t,{altBoundary:!0}),l=WA(a,r),c=WA(s,i,o),u=ZA(l),O=ZA(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:O},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":O})}};var jA={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=Hp.reduce(function(e,n){return e[n]=function(e,t,n){var r=oA(e),i=[Vp,Np].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Vp,Lp].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var GA={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=VA({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}};var HA={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,O=n.padding,d=n.tether,h=void 0===d||d,f=n.tetherOffset,p=void 0===f?0:f,A=qA(t,{boundary:l,rootBoundary:c,padding:O,altBoundary:u}),m=oA(t.placement),g=SA(t.placement),v=!g,y=yA(m),b=function(e){return"x"===e?"y":"x"}(y),w=t.modifiersData.popperOffsets,Q=t.rects.reference,$=t.rects.popper,S="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,x="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(w){if(o){var T,_="y"===y?Np:Vp,C="y"===y?Mp:Lp,E="y"===y?"height":"width",R=w[y],X=R+A[_],B=R-A[C],U=h?-$[E]/2:0,D=g===Wp?Q[E]:$[E],I=g===Wp?-$[E]:-Q[E],z=t.elements.arrow,N=h&&z?dA(z):{width:0,height:0},M=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},L=M[_],V=M[C],q=bA(0,Q[E],N[E]),F=v?Q[E]/2-U-q-L-x.mainAxis:D-q-L-x.mainAxis,W=v?-Q[E]/2+U+q+V+x.mainAxis:I+q+V+x.mainAxis,Z=t.elements.arrow&&vA(t.elements.arrow),Y=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,j=null!=(T=null==k?void 0:k[y])?T:0,G=R+W-j,H=bA(h?sA(X,R+F-j-Y):X,R,h?aA(B,G):B);w[y]=H,P[y]=H-R}if(s){var K,J="x"===y?Np:Vp,ee="x"===y?Mp:Lp,te=w[b],ne="y"===b?"height":"width",re=te+A[J],ie=te-A[ee],oe=-1!==[Np,Vp].indexOf(m),ae=null!=(K=null==k?void 0:k[b])?K:0,se=oe?re:te-Q[ne]-$[ne]-ae+x.altAxis,le=oe?te+Q[ne]+$[ne]-ae-x.altAxis:ie,ce=h&&oe?function(e,t,n){var r=bA(e,t,n);return r>n?n:r}(se,te,le):bA(h?se:re,te,h?le:ie);w[b]=ce,P[b]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function KA(e,t,n){void 0===n&&(n=!1);var r=nA(t),i=nA(t)&&function(e){var t=e.getBoundingClientRect(),n=lA(t.width)/e.offsetWidth||1,r=lA(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=AA(t),a=OA(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==Jp(t)||DA(o))&&(s=function(e){return e!==eA(e)&&nA(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):BA(e)}(t)),nA(t)?((l=OA(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=UA(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function JA(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}function em(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var tm={placement:"bottom",modifiers:[],strategy:"absolute"};function nm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function rm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?tm:i;return function(e,t,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},tm,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:i,setOptions:function(n){var s="function"==typeof n?n(i.options):n;c(),i.options=Object.assign({},o,i.options,s),i.scrollParents={reference:tA(e)?zA(e):e.contextElement?zA(e.contextElement):[],popper:zA(t)};var u=function(e){var t=JA(e);return Kp.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}(function(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}([].concat(r,i.options.modifiers)));return i.orderedModifiers=u.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var s=o({state:i,name:t,instance:l,options:r}),c=function(){};a.push(s||c)}}),l.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(nm(t,n)){i.rects={reference:KA(t,vA(n),"fixed"===i.options.strategy),popper:dA(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,c=o.options,u=void 0===c?{}:c,O=o.name;"function"==typeof a&&(i=a({state:i,options:u,name:O,instance:l})||i)}else i.reset=!1,r=-1}}},update:em(function(){return new Promise(function(e){l.forceUpdate(),e(i)})}),destroy:function(){c(),s=!0}};if(!nm(e,t))return l;function c(){a.forEach(function(e){return e()}),a=[]}return l.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)}),l}}rm(),rm({defaultModifiers:[_A,GA,PA,iA]});var im=rm({defaultModifiers:[_A,GA,PA,iA,jA,FA,HA,$A,YA]});const om=Math.min,am=Math.max,sm=Math.round,lm=Math.floor,cm=e=>({x:e,y:e}),um={left:"right",right:"left",bottom:"top",top:"bottom"};function Om(e,t,n){return am(e,om(t,n))}function dm(e,t){return"function"==typeof e?e(t):e}function hm(e){return e.split("-")[0]}function fm(e){return e.split("-")[1]}function pm(e){return"x"===e?"y":"x"}function Am(e){return"y"===e?"height":"width"}function mm(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function gm(e){return pm(mm(e))}function vm(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ym=["left","right"],bm=["right","left"],wm=["top","bottom"],Qm=["bottom","top"];function $m(e,t,n,r){const i=fm(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?bm:ym:t?ym:bm;case"left":case"right":return t?wm:Qm;default:return[]}}(hm(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(vm)))),o}function Sm(e){const t=hm(e);return um[t]+e.slice(t.length)}function xm(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function km(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Pm(e,t,n){let{reference:r,floating:i}=e;const o=mm(t),a=gm(t),s=Am(a),l=hm(t),c="y"===o,u=r.x+r.width/2-i.width/2,O=r.y+r.height/2-i.height/2,d=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:O};break;case"left":h={x:r.x-i.width,y:O};break;default:h={x:r.x,y:r.y}}switch(fm(t)){case"start":h[a]-=d*(n&&c?-1:1);break;case"end":h[a]+=d*(n&&c?-1:1)}return h}async function Tm(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:O="floating",altBoundary:d=!1,padding:h=0}=dm(t,e),f=xm(h),p=s[d?"floating"===O?"reference":"floating":O],A=km(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),m="floating"===O?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,g=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),v=await(null==o.isElement?void 0:o.isElement(g))&&await(null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},y=km(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:g,strategy:l}):m);return{top:(A.top-y.top+f.top)/v.y,bottom:(y.bottom-A.bottom+f.bottom)/v.y,left:(A.left-y.left+f.left)/v.x,right:(y.right-A.right+f.right)/v.x}}const _m=new Set(["left","top"]);function Cm(){return"undefined"!=typeof window}function Em(e){return Bm(e)?(e.nodeName||"").toLowerCase():"#document"}function Rm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Xm(e){var t;return null==(t=(Bm(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Bm(e){return!!Cm()&&(e instanceof Node||e instanceof Rm(e).Node)}function Um(e){return!!Cm()&&(e instanceof Element||e instanceof Rm(e).Element)}function Dm(e){return!!Cm()&&(e instanceof HTMLElement||e instanceof Rm(e).HTMLElement)}function Im(e){return!(!Cm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Rm(e).ShadowRoot)}function zm(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=jm(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function Nm(e){return/^(table|td|th)$/.test(Em(e))}function Mm(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}const Lm=/transform|translate|scale|rotate|perspective|filter/,Vm=/paint|layout|strict|content/,qm=e=>!!e&&"none"!==e;let Fm;function Wm(e){const t=Um(e)?jm(e):e;return qm(t.transform)||qm(t.translate)||qm(t.scale)||qm(t.rotate)||qm(t.perspective)||!Zm()&&(qm(t.backdropFilter)||qm(t.filter))||Lm.test(t.willChange||"")||Vm.test(t.contain||"")}function Zm(){return null==Fm&&(Fm="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fm}function Ym(e){return/^(html|body|#document)$/.test(Em(e))}function jm(e){return Rm(e).getComputedStyle(e)}function Gm(e){return Um(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Hm(e){if("html"===Em(e))return e;const t=e.assignedSlot||e.parentNode||Im(e)&&e.host||Xm(e);return Im(t)?t.host:t}function Km(e){const t=Hm(e);return Ym(t)?e.ownerDocument?e.ownerDocument.body:e.body:Dm(t)&&zm(t)?t:Km(t)}function Jm(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Km(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Rm(i);if(o){const e=eg(a);return t.concat(a,a.visualViewport||[],zm(i)?i:[],e&&n?Jm(e):[])}return t.concat(i,Jm(i,[],n))}function eg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tg(e){const t=jm(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Dm(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=sm(n)!==o||sm(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function ng(e){return Um(e)?e:e.contextElement}function rg(e){const t=ng(e);if(!Dm(t))return cm(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=tg(t);let a=(o?sm(n.width):n.width)/r,s=(o?sm(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ig=cm(0);function og(e){const t=Rm(e);return Zm()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ig}function ag(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=ng(e);let a=cm(1);t&&(r?Um(r)&&(a=rg(r)):a=rg(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Rm(e))&&t}(o,n,r)?og(o):cm(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,O=i.height/a.y;if(o){const e=Rm(o),t=r&&Um(r)?Rm(r):r;let n=e,i=eg(n);for(;i&&r&&t!==n;){const e=rg(i),t=i.getBoundingClientRect(),r=jm(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,O*=e.y,l+=o,c+=a,n=Rm(i),i=eg(n)}}return km({width:u,height:O,x:l,y:c})}function sg(e,t){const n=Gm(e).scrollLeft;return t?t.left+n:ag(Xm(e)).left+n}function lg(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-sg(e,n),y:n.top+t.scrollTop}}function cg(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Rm(e),r=Xm(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=Zm();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}const c=sg(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else c<=25&&(o+=c);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Xm(e),n=Gm(e),r=e.ownerDocument.body,i=am(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=am(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+sg(e);const s=-n.scrollTop;return"rtl"===jm(r).direction&&(a+=am(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Xm(e));else if(Um(t))r=function(e,t){const n=ag(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Dm(e)?rg(e):cm(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=og(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return km(r)}function ug(e,t){const n=Hm(e);return!(n===t||!Um(n)||Ym(n))&&("fixed"===jm(n).position||ug(n,t))}function Og(e,t,n){const r=Dm(t),i=Xm(t),o="fixed"===n,a=ag(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=cm(0);function c(){l.x=sg(i)}if(r||!r&&!o)if(("body"!==Em(t)||zm(i))&&(s=Gm(t)),r){const e=ag(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&c();o&&!r&&i&&c();const u=!i||r||o?cm(0):lg(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}function dg(e){return"static"===jm(e).position}function hg(e,t){if(!Dm(e)||"fixed"===jm(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Xm(e)===n&&(n=n.ownerDocument.body),n}function fg(e,t){const n=Rm(e);if(Mm(e))return n;if(!Dm(e)){let t=Hm(e);for(;t&&!Ym(t);){if(Um(t)&&!dg(t))return t;t=Hm(t)}return n}let r=hg(e,t);for(;r&&Nm(r)&&dg(r);)r=hg(r,t);return r&&Ym(r)&&dg(r)&&!Wm(r)?n:r||function(e){let t=Hm(e);for(;Dm(t)&&!Ym(t);){if(Wm(t))return t;if(Mm(t))return null;t=Hm(t)}return null}(e)||n}const pg={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Xm(r),s=!!t&&Mm(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=cm(1);const u=cm(0),O=Dm(r);if((O||!O&&!o)&&(("body"!==Em(r)||zm(a))&&(l=Gm(r)),O)){const e=ag(r);c=rg(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const d=!a||O||o?cm(0):lg(a,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-l.scrollTop*c.y+u.y+d.y}},getDocumentElement:Xm,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?Mm(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Jm(e,[],!1).filter(e=>Um(e)&&"body"!==Em(e)),i=null;const o="fixed"===jm(e).position;let a=o?Hm(e):e;for(;Um(a)&&!Ym(a);){const t=jm(a),n=Wm(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||zm(a)&&!n&&ug(e,a))?r=r.filter(e=>e!==a):i=t,a=Hm(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=cg(t,o[0],i);let s=a.top,l=a.right,c=a.bottom,u=a.left;for(let O=1;O<o.length;O++){const e=cg(t,o[O],i);s=am(e.top,s),l=om(e.right,l),c=om(e.bottom,c),u=am(e.left,u)}return{width:l-u,height:c-s,x:u,y:s}},getOffsetParent:fg,getElementRects:async function(e){const t=this.getOffsetParent||fg,n=this.getDimensions,r=await n(e.floating);return{reference:Og(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=tg(e);return{width:t,height:n}},getScale:rg,isElement:Um,isRTL:function(e){return"rtl"===jm(e).direction}};function Ag(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mg(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=ng(e),u=i||o?[...c?Jm(c):[],...t?Jm(t):[]]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const O=c&&s?function(e,t){let n,r=null;const i=Xm(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:O,width:d,height:h}=c;if(s||t(),!d||!h)return;const f={rootMargin:-lm(O)+"px "+-lm(i.clientWidth-(u+d))+"px "+-lm(i.clientHeight-(O+h))+"px "+-lm(u)+"px",threshold:am(0,om(1,l))||1};let p=!0;function A(t){const r=t[0].intersectionRatio;if(r!==l){if(!p)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Ag(c,e.getBoundingClientRect())||a(),p=!1}try{r=new IntersectionObserver(A,{...f,root:i.ownerDocument})}catch(m){r=new IntersectionObserver(A,f)}r.observe(e)}(!0),o}(c,n):null;let d,h=-1,f=null;a&&(f=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&f&&t&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),n()}),c&&!l&&f.observe(c),t&&f.observe(t));let p=l?ag(e):null;return l&&function t(){const r=ag(e);p&&!Ag(p,r)&&n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==O||O(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(d)}}const gg=Tm,vg=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=hm(n),s=fm(n),l="y"===mm(n),c=_m.has(a)?-1:1,u=o&&l?-1:1,O=dm(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:f}="number"==typeof O?{mainAxis:O,crossAxis:0,alignmentAxis:null}:{mainAxis:O.mainAxis||0,crossAxis:O.crossAxis||0,alignmentAxis:O.alignmentAxis};return s&&"number"==typeof f&&(h="end"===s?-1*f:f),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},yg=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=dm(e,t),u={x:n,y:r},O=await o.detectOverflow(t,c),d=mm(hm(i)),h=pm(d);let f=u[h],p=u[d];if(a){const e="y"===h?"bottom":"right";f=Om(f+O["y"===h?"top":"left"],f,f-O[e])}if(s){const e="y"===d?"bottom":"right";p=Om(p+O["y"===d?"top":"left"],p,p-O[e])}const A=l.fn({...t,[h]:f,[d]:p});return{...A,data:{x:A.x-n,y:A.y-r,enabled:{[h]:a,[d]:s}}}}}},bg=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:O=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:p=!0,...A}=dm(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=hm(i),g=mm(s),v=hm(s)===s,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=d||(v||!p?[Sm(s)]:function(e){const t=Sm(e);return[vm(e),t,vm(t)]}(s)),w="none"!==f;!d&&w&&b.push(...$m(s,p,f,y));const Q=[s,...b],$=await l.detectOverflow(t,A),S=[];let x=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&S.push($[m]),O){const e=function(e,t,n){void 0===n&&(n=!1);const r=fm(e),i=gm(e),o=Am(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=Sm(a)),[a,Sm(a)]}(i,a,y);S.push($[e[0]],$[e[1]])}if(x=[...x,{placement:i,overflows:S}],!S.every(e=>e<=0)){var k,P;const e=((null==(k=o.flip)?void 0:k.index)||0)+1,t=Q[e];if(t){if(!("alignment"===O&&g!==mm(t))||x.every(e=>mm(e.placement)!==g||e.overflows[0]>0))return{data:{index:e,overflows:x},reset:{placement:t}}}let n=null==(P=x.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!n)switch(h){case"bestFit":{var T;const e=null==(T=x.filter(e=>{if(w){const t=mm(e.placement);return t===g||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:T[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},wg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=dm(e,t)||{};if(null==c)return{};const O=xm(u),d={x:n,y:r},h=gm(i),f=Am(h),p=await a.getDimensions(c),A="y"===h,m=A?"top":"left",g=A?"bottom":"right",v=A?"clientHeight":"clientWidth",y=o.reference[f]+o.reference[h]-d[h]-o.floating[f],b=d[h]-o.reference[h],w=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let Q=w?w[v]:0;Q&&await(null==a.isElement?void 0:a.isElement(w))||(Q=s.floating[v]||o.floating[f]);const $=y/2-b/2,S=Q/2-p[f]/2-1,x=om(O[m],S),k=om(O[g],S),P=x,T=Q-p[f]-k,_=Q/2-p[f]/2+$,C=Om(P,_,T),E=!l.arrow&&null!=fm(i)&&_!==C&&o.reference[f]/2-(_<P?x:k)-p[f]/2<0,R=E?_<P?_-P:_-T:0;return{[h]:d[h]+R,data:{[h]:C,centerOffset:_-C-R,...E&&{alignmentOffset:R}},reset:E}}}),Qg=(e,t,n)=>{const r=new Map,i={platform:pg,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:Tm},l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:O}=Pm(c,r,l),d=r,h=0;const f={};for(let p=0;p<o.length;p++){const n=o[p];if(!n)continue;const{name:A,fn:m}=n,{x:g,y:v,data:y,reset:b}=await m({x:u,y:O,initialPlacement:r,placement:d,strategy:i,middlewareData:f,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=g?g:u,O=null!=v?v:O,f[A]={...f[A],...y},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:u,y:O}=Pm(c,d,l))),p=-1)}return{x:u,y:O,placement:d,strategy:i,middlewareData:f}})(e,t,{...i,platform:o})};function $g(){return $g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$g.apply(this,arguments)}function Sg(e){return(Sg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xg(e,t){return(xg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function kg(e,t,n){return(kg=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(sy){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&xg(i,n.prototype),i}).apply(null,arguments)}function Pg(e){var t="function"==typeof Map?new Map:void 0;return Pg=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return kg(e,arguments,Sg(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),xg(r,e)},Pg(e)}var Tg=/%[sdj%]/g;function _g(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function Cg(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o=n.length;return"function"==typeof e?e.apply(null,n):"string"==typeof e?e.replace(Tg,function(e){if("%%"===e)return"%";if(i>=o)return e;switch(e){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}break;default:return e}}):e}function Eg(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function Rg(e,t,n){var r=0,i=e.length;!function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?t(e[s],o):n([])}}([])}var Xg=function(e){var t,n;function r(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,xg(t,n),r}(Pg(Error));function Bg(e,t,n,r,i){if(t.first){var o=new Promise(function(t,o){var a=function(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}(e);Rg(a,n,function(e){return r(e),e.length?o(new Xg(e,_g(e))):t(i)})});return o.catch(function(e){return e}),o}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],O=new Promise(function(t,o){var O=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?o(new Xg(u,_g(u))):t(i)};s.length||(r(u),t(i)),s.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?Rg(r,n,O):function(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,e||[]),++i===o&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,O)})});return O.catch(function(e){return e}),O}function Ug(e,t){return function(n){var r,i;return r=e.fullFields?function(e,t){for(var n=e,r=0;r<t.length;r++){if(null==n)return n;n=n[t[r]]}return n}(t,e.fullFields):t[n.field||e.fullField],(i=n)&&void 0!==i.message?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"==typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function Dg(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"==typeof r&&"object"==typeof e[n]?e[n]=$g({},e[n],r):e[n]=r}return e}var Ig,zg=function(e,t,n,r,i,o){!e.required||n.hasOwnProperty(e.field)&&!Eg(t,o||e.type)||r.push(Cg(i.messages.required,e.fullField))},Ng=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,Mg=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,Lg={integer:function(e){return Lg.number(e)&&parseInt(e,10)===e},float:function(e){return Lg.number(e)&&!Lg.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(sy){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!Lg.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Ng)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(Ig)return Ig;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+i+"$"),l=function(e){return e&&e.exact?o:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+i+t(e)+")","g")};l.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+i+t(e),"g")};var c=l.v4().source,u=l.v6().source;return Ig=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(Mg)}},Vg="enum",qg={required:zg,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(Cg(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&void 0===t)zg(e,t,n,r,i);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?Lg[o](t)||r.push(Cg(i.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(Cg(i.messages.types[o],e.fullField,e.type))}},range:function(e,t,n,r,i){var o="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,O="string"==typeof t,d=Array.isArray(t);if(u?c="number":O?c="string":d&&(c="array"),!c)return!1;d&&(l=t.length),O&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?l!==e.len&&r.push(Cg(i.messages[c].len,e.fullField,e.len)):a&&!s&&l<e.min?r.push(Cg(i.messages[c].min,e.fullField,e.min)):s&&!a&&l>e.max?r.push(Cg(i.messages[c].max,e.fullField,e.max)):a&&s&&(l<e.min||l>e.max)&&r.push(Cg(i.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,i){e[Vg]=Array.isArray(e[Vg])?e[Vg]:[],-1===e[Vg].indexOf(t)&&r.push(Cg(i.messages[Vg],e.fullField,e[Vg].join(", ")))},pattern:function(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Cg(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(Cg(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},Fg=function(e,t,n,r,i){var o=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t,o)&&!e.required)return n();qg.required(e,t,r,a,i,o),Eg(t,o)||qg.type(e,t,r,a,i)}n(a)},Wg={string:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t,"string")&&!e.required)return n();qg.required(e,t,r,o,i,"string"),Eg(t,"string")||(qg.type(e,t,r,o,i),qg.range(e,t,r,o,i),qg.pattern(e,t,r,o,i),!0===e.whitespace&&qg.whitespace(e,t,r,o,i))}n(o)},method:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),void 0!==t&&qg.type(e,t,r,o,i)}n(o)},number:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),void 0!==t&&(qg.type(e,t,r,o,i),qg.range(e,t,r,o,i))}n(o)},boolean:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),void 0!==t&&qg.type(e,t,r,o,i)}n(o)},regexp:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),Eg(t)||qg.type(e,t,r,o,i)}n(o)},integer:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),void 0!==t&&(qg.type(e,t,r,o,i),qg.range(e,t,r,o,i))}n(o)},float:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),void 0!==t&&(qg.type(e,t,r,o,i),qg.range(e,t,r,o,i))}n(o)},array:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();qg.required(e,t,r,o,i,"array"),null!=t&&(qg.type(e,t,r,o,i),qg.range(e,t,r,o,i))}n(o)},object:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),void 0!==t&&qg.type(e,t,r,o,i)}n(o)},enum:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i),void 0!==t&&qg.enum(e,t,r,o,i)}n(o)},pattern:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t,"string")&&!e.required)return n();qg.required(e,t,r,o,i),Eg(t,"string")||qg.pattern(e,t,r,o,i)}n(o)},date:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t,"date")&&!e.required)return n();var a;if(qg.required(e,t,r,o,i),!Eg(t,"date"))a=t instanceof Date?t:new Date(t),qg.type(e,a,r,o,i),a&&qg.range(e,a.getTime(),r,o,i)}n(o)},url:Fg,hex:Fg,email:Fg,required:function(e,t,n,r,i){var o=[],a=Array.isArray(t)?"array":typeof t;qg.required(e,t,r,o,i,a),n(o)},any:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Eg(t)&&!e.required)return n();qg.required(e,t,r,o,i)}n(o)}};function Zg(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Yg=Zg(),jg=function(){function e(e){this.rules=null,this._messages=Yg,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})},t.messages=function(e){return e&&(this._messages=Dg(Zg(),e)),this._messages},t.validate=function(t,n,r){var i=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var o=t,a=n,s=r;if("function"==typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,o),Promise.resolve(o);if(a.messages){var l=this.messages();l===Yg&&(l=Zg()),Dg(l,a.messages),a.messages=l}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach(function(e){var n=i.rules[e],r=o[e];n.forEach(function(n){var a=n;"function"==typeof a.transform&&(o===t&&(o=$g({},o)),r=o[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:$g({},a)).validator=i.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=i.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:r,source:o,field:e}))})});var u={};return Bg(c,a,function(t,n){var r,i=t.rule,s=!("object"!==i.type&&"array"!==i.type||"object"!=typeof i.fields&&"object"!=typeof i.defaultField);function l(e,t){return $g({},t,{fullField:i.fullField+"."+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function c(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==i.message&&(c=[].concat(i.message));var O=c.map(Ug(i,o));if(a.first&&O.length)return u[i.field]=1,n(O);if(s){if(i.required&&!t.value)return void 0!==i.message?O=[].concat(i.message).map(Ug(i,o)):a.error&&(O=[a.error(i,Cg(a.messages.required,i.field))]),n(O);var d={};i.defaultField&&Object.keys(t.value).map(function(e){d[e]=i.defaultField}),d=$g({},d,t.rule.fields);var h={};Object.keys(d).forEach(function(e){var t=d[e],n=Array.isArray(t)?t:[t];h[e]=n.map(l.bind(null,e))});var f=new e(h);f.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),f.validate(t.value,t.rule.options||a,function(e){var t=[];O&&O.length&&t.push.apply(t,O),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)})}else n(O)}if(s=s&&(i.required||!i.required&&t.value),i.field=t.field,i.asyncValidator)r=i.asyncValidator(i,t.value,c,t.source,a);else if(i.validator){try{r=i.validator(i,t.value,c,t.source,a)}catch(O){console.error,a.suppressValidatorError||setTimeout(function(){throw O},0),c(O.message)}!0===r?c():!1===r?c("function"==typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then(function(){return c()},function(e){return c(e)})},function(e){!function(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var i=0;i<e.length;i++)r(e[i]);t.length?(n=_g(t),s(t,n)):s(null,o)}(e)},o)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!Wg.hasOwnProperty(e.type))throw new Error(Cg("Unknown rule type %s",e.type));return e.type||"string"},t.getValidationMethod=function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?Wg.required:Wg[this.getType(e)]||void 0},e}();function Gg(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");const n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Hg(e){return Math.min(1,Math.max(0,e))}function Kg(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Jg(e){return Number(e)<=1?100*Number(e)+"%":e}function ev(e){return 1===e.length?"0"+e:String(e)}function tv(e,t,n){e=Gg(e,255),t=Gg(t,255),n=Gg(n,255);const r=Math.max(e,t,n),i=Math.min(e,t,n);let o=0,a=0;const s=(r+i)/2;if(r===i)a=0,o=0;else{const l=r-i;switch(a=s>.5?l/(2-r-i):l/(r+i),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:a,l:s}}function nv(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function rv(e,t,n){e=Gg(e,255),t=Gg(t,255),n=Gg(n,255);const r=Math.max(e,t,n),i=Math.min(e,t,n);let o=0;const a=r,s=r-i,l=0===r?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:l,v:a}}function iv(e,t,n,r){const i=[ev(Math.round(e).toString(16)),ev(Math.round(t).toString(16)),ev(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function ov(e,t,n){let r=1-e/255,i=1-t/255,o=1-n/255,a=Math.min(r,i,o);return 1===a?(r=0,i=0,o=0):(r=(r-a)/(1-a)*100,i=(i-a)/(1-a)*100,o=(o-a)/(1-a)*100),a*=100,{c:Math.round(r),m:Math.round(i),y:Math.round(o),k:Math.round(a)}}function av(e){return sv(e)/255}function sv(e){return parseInt(e,16)}jg.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");Wg[e]=t},jg.warning=function(){},jg.messages=Yg,jg.validators=Wg;const lv={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function cv(e){let t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;var l,c,u;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;let t=!1;if(lv[e])e=lv[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};let n=hv.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=hv.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=hv.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=hv.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=hv.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=hv.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=hv.cmyk.exec(e),n)return{c:n[1],m:n[2],y:n[3],k:n[4]};if(n=hv.hex8.exec(e),n)return{r:sv(n[1]),g:sv(n[2]),b:sv(n[3]),a:av(n[4]),format:t?"name":"hex8"};if(n=hv.hex6.exec(e),n)return{r:sv(n[1]),g:sv(n[2]),b:sv(n[3]),format:t?"name":"hex"};if(n=hv.hex4.exec(e),n)return{r:sv(n[1]+n[1]),g:sv(n[2]+n[2]),b:sv(n[3]+n[3]),a:av(n[4]+n[4]),format:t?"name":"hex8"};if(n=hv.hex3.exec(e),n)return{r:sv(n[1]+n[1]),g:sv(n[2]+n[2]),b:sv(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(fv(e.r)&&fv(e.g)&&fv(e.b)?(l=e.r,c=e.g,u=e.b,t={r:255*Gg(l,255),g:255*Gg(c,255),b:255*Gg(u,255)},a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):fv(e.h)&&fv(e.s)&&fv(e.v)?(r=Jg(e.s),i=Jg(e.v),t=function(e,t,n){e=6*Gg(e,360),t=Gg(t,100),n=Gg(n,100);const r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6;return{r:255*[n,a,o,o,s,n][l],g:255*[s,n,n,a,o,o][l],b:255*[o,o,s,n,n,a][l]}}(e.h,r,i),a=!0,s="hsv"):fv(e.h)&&fv(e.s)&&fv(e.l)?(r=Jg(e.s),o=Jg(e.l),t=function(e,t,n){let r,i,o;if(e=Gg(e,360),t=Gg(t,100),n=Gg(n,100),0===t)i=n,o=n,r=n;else{const a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=nv(s,a,e+1/3),i=nv(s,a,e),o=nv(s,a,e-1/3)}return{r:255*r,g:255*i,b:255*o}}(e.h,r,o),a=!0,s="hsl"):fv(e.c)&&fv(e.m)&&fv(e.y)&&fv(e.k)&&(t=function(e,t,n,r){const i=r/100;return{r:255*(1-e/100)*(1-i),g:255*(1-t/100)*(1-i),b:255*(1-n/100)*(1-i)}}(e.c,e.m,e.y,e.k),a=!0,s="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Kg(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const uv="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",Ov="[\\s|\\(]+("+uv+")[,|\\s]+("+uv+")[,|\\s]+("+uv+")\\s*\\)?",dv="[\\s|\\(]+("+uv+")[,|\\s]+("+uv+")[,|\\s]+("+uv+")[,|\\s]+("+uv+")\\s*\\)?",hv={CSS_UNIT:new RegExp(uv),rgb:new RegExp("rgb"+Ov),rgba:new RegExp("rgba"+dv),hsl:new RegExp("hsl"+Ov),hsla:new RegExp("hsla"+dv),hsv:new RegExp("hsv"+Ov),hsva:new RegExp("hsva"+dv),cmyk:new RegExp("cmyk"+dv),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function fv(e){return"number"==typeof e?!Number.isNaN(e):hv.CSS_UNIT.test(e)}class pv{constructor(e="",t={}){if(e instanceof pv)return e;"number"==typeof e&&(e=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(e)),this.originalInput=e;const n=cv(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3}getLuminance(){const e=this.toRgb();let t,n,r;const i=e.r/255,o=e.g/255,a=e.b/255;return t=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),r=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}getAlpha(){return this.a}setAlpha(e){return this.a=Kg(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:e}=this.toHsl();return 0===e}toHsv(){const e=rv(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}}toHsvString(){const e=rv(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`}toHsl(){const e=tv(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}}toHslString(){const e=tv(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`}toHex(e=!1){return iv(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return function(e,t,n,r,i){const o=[ev(Math.round(e).toString(16)),ev(Math.round(t).toString(16)),ev(Math.round(n).toString(16)),ev((a=r,Math.round(255*parseFloat(a)).toString(16)))];var a;return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return 1===this.a?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`}toPercentageRgb(){const e=e=>`${Math.round(100*Gg(e,255))}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){const e=e=>Math.round(100*Gg(e,255));return 1===this.a?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...ov(this.r,this.g,this.b)}}toCmykString(){const{c:e,m:t,y:n,k:r}=ov(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${n}, ${r})`}toName(){if(0===this.a)return"transparent";if(this.a<1)return!1;const e="#"+iv(this.r,this.g,this.b,!1);for(const[t,n]of Object.entries(lv))if(e===n)return t;return!1}toString(e){const t=Boolean(e);e=e??this.format;let n=!1;const r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),"cmyk"===e&&(n=this.toCmykString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new pv(this.toString())}lighten(e=10){const t=this.toHsl();return t.l+=e/100,t.l=Hg(t.l),new pv(t)}brighten(e=10){const t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-e/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-e/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-e/100*255))),new pv(t)}darken(e=10){const t=this.toHsl();return t.l-=e/100,t.l=Hg(t.l),new pv(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){const t=this.toHsl();return t.s-=e/100,t.s=Hg(t.s),new pv(t)}saturate(e=10){const t=this.toHsl();return t.s+=e/100,t.s=Hg(t.s),new pv(t)}greyscale(){return this.desaturate(100)}spin(e){const t=this.toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,new pv(t)}mix(e,t=50){const n=this.toRgb(),r=new pv(e).toRgb(),i=t/100,o={r:(r.r-n.r)*i+n.r,g:(r.g-n.g)*i+n.g,b:(r.b-n.b)*i+n.b,a:(r.a-n.a)*i+n.a};return new pv(o)}analogous(e=6,t=30){const n=this.toHsl(),r=360/t,i=[this];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,i.push(new pv(n));return i}complement(){const e=this.toHsl();return e.h=(e.h+180)%360,new pv(e)}monochromatic(e=6){const t=this.toHsv(),{h:n}=t,{s:r}=t;let{v:i}=t;const o=[],a=1/e;for(;e--;)o.push(new pv({h:n,s:r,v:i})),i=(i+a)%1;return o}splitcomplement(){const e=this.toHsl(),{h:t}=e;return[this,new pv({h:(t+72)%360,s:e.s,l:e.l}),new pv({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){const t=this.toRgb(),n=new pv(e).toRgb(),r=t.a+n.a*(1-t.a);return new pv({r:(t.r*t.a+n.r*n.a*(1-t.a))/r,g:(t.g*t.a+n.g*n.a*(1-t.a))/r,b:(t.b*t.a+n.b*n.a*(1-t.a))/r,a:r})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){const t=this.toHsl(),{h:n}=t,r=[this],i=360/e;for(let o=1;o<e;o++)r.push(new pv({h:(n+o*i)%360,s:t.s,l:t.l}));return r}equals(e){const t=new pv(e);return"cmyk"===this.format||"cmyk"===t.format?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}}var Av="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function mv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gv(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var vv,yv={exports:{}};var bv=(vv||(vv=1,yv.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",l="week",c="month",u="quarter",O="year",d="date",h="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),o=n-i<0,a=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:O,w:l,d:s,D:d,h:a,m:o,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",y={};y[v]=A;var b="$isDayjsObject",w=function(e){return e instanceof x||!(!e||!e[b])},Q=function e(t,n,r){var i;if(!t)return v;if("string"==typeof t){var o=t.toLowerCase();y[o]&&(i=o),n&&(y[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;y[s]=t,i=s}return!r&&i&&(v=i),i||!r&&v},$=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},S=g;S.l=Q,S.i=w,S.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function A(e){this.$L=Q(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var m=A.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return S},m.isValid=function(){return!(this.$d.toString()===h)},m.isSame=function(e,t){var n=$(e);return this.startOf(t)<=n&&n<=this.endOf(t)},m.isAfter=function(e,t){return $(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<$(e)},m.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,t){var n=this,r=!!S.u(t)||t,u=S.p(e),h=function(e,t){var i=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},f=function(e,t){return S.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},p=this.$W,A=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(u){case O:return r?h(1,0):h(31,11);case c:return r?h(1,A):h(0,A+1);case l:var v=this.$locale().weekStart||0,y=(p<v?p+7:p)-v;return h(r?m-y:m+(6-y),A);case s:case d:return f(g+"Hours",0);case a:return f(g+"Minutes",1);case o:return f(g+"Seconds",2);case i:return f(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(e,t){var n,l=S.p(e),u="set"+(this.$u?"UTC":""),h=(n={},n[s]=u+"Date",n[d]=u+"Date",n[c]=u+"Month",n[O]=u+"FullYear",n[a]=u+"Hours",n[o]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],f=l===s?this.$D+(t-this.$W):t;if(l===c||l===O){var p=this.clone().set(d,1);p.$d[h](f),p.init(),this.$d=p.set(d,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[S.p(e)]()},m.add=function(r,u){var d,h=this;r=Number(r);var f=S.p(u),p=function(e){var t=$(h);return S.w(t.date(t.date()+Math.round(e*r)),h)};if(f===c)return this.set(c,this.$M+r);if(f===O)return this.set(O,this.$y+r);if(f===s)return p(1);if(f===l)return p(7);var A=(d={},d[o]=t,d[a]=n,d[i]=e,d)[f]||1,m=this.$d.getTime()+r*A;return S.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,O=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},d=function(e){return S.s(o%12||12,e,"0")},f=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(p,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return S.s(t.$y,4,"0");case"M":return s+1;case"MM":return S.s(s+1,2,"0");case"MMM":return O(n.monthsShort,s,c,3);case"MMMM":return O(c,s);case"D":return t.$D;case"DD":return S.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return O(n.weekdaysMin,t.$W,l,2);case"ddd":return O(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return S.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(o,a,!0);case"A":return f(o,a,!1);case"m":return String(a);case"mm":return S.s(a,2,"0");case"s":return String(t.$s);case"ss":return S.s(t.$s,2,"0");case"SSS":return S.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,h){var f,p=this,A=S.p(d),m=$(r),g=(m.utcOffset()-this.utcOffset())*t,v=this-m,y=function(){return S.m(p,m)};switch(A){case O:f=y()/12;break;case c:f=y();break;case u:f=y()/3;break;case l:f=(v-g)/6048e5;break;case s:f=(v-g)/864e5;break;case a:f=v/n;break;case o:f=v/t;break;case i:f=v/e;break;default:f=v}return h?f:S.a(f)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return y[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=Q(e,t,!0);return r&&(n.$L=r),n},m.clone=function(){return S.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},A}(),k=x.prototype;return $.prototype=k,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",c],["$y",O],["$D",d]].forEach(function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),$.extend=function(e,t){return e.$i||(e(t,x,$),e.$i=!0),$},$.locale=Q,$.isDayjs=w,$.unix=function(e){return $(1e3*e)},$.en=y[v],$.Ls=y,$.p={},$}()),yv.exports);const wv=mv(bv);var Qv,$v,Sv,xv,kv,Pv,Tv,_v,Cv,Ev,Rv,Xv,Bv,Uv,Dv,Iv=!1;function zv(){if(!Iv){Iv=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Xv=/\b(iPhone|iP[ao]d)/.exec(e),Bv=/\b(iP[ao]d)/.exec(e),Ev=/Android/i.exec(e),Uv=/FBAN\/\w+;/i.exec(e),Dv=/Mobile/i.exec(e),Rv=!!/Win64/.exec(e),t){(Qv=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(Qv=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);Pv=r?parseFloat(r[1])+4:Qv,$v=t[2]?parseFloat(t[2]):NaN,Sv=t[3]?parseFloat(t[3]):NaN,(xv=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),kv=t&&t[1]?parseFloat(t[1]):NaN):kv=NaN}else Qv=$v=Sv=kv=xv=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Tv=!i||parseFloat(i[1].replace("_","."))}else Tv=!1;_v=!!n[2],Cv=!!n[3]}else Tv=_v=Cv=!1}}var Nv,Mv={ie:function(){return zv()||Qv},ieCompatibilityMode:function(){return zv()||Pv>Qv},ie64:function(){return Mv.ie()&&Rv},firefox:function(){return zv()||$v},opera:function(){return zv()||Sv},webkit:function(){return zv()||xv},safari:function(){return Mv.webkit()},chrome:function(){return zv()||kv},windows:function(){return zv()||_v},osx:function(){return zv()||Tv},linux:function(){return zv()||Cv},iphone:function(){return zv()||Xv},mobile:function(){return zv()||Xv||Bv||Ev||Dv},nativeApp:function(){return zv()||Uv},android:function(){return zv()||Ev},ipad:function(){return zv()||Bv}},Lv=Mv,Vv={canUseDOM:!!(typeof window<"u"&&window.document&&window.document.createElement)};Vv.canUseDOM&&(Nv=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var qv=function(e,t){if(!Vv.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&Nv&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r};function Fv(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1==e.deltaMode?(r*=40,i*=40):(r*=800,i*=800)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}Fv.getEventType=function(){return Lv.firefox()?"DOMMouseScroll":qv("wheel")?"wheel":"mousewheel"};var Wv,Zv=Fv,Yv={exports:{}};var jv=(Wv||(Wv=1,Yv.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},s=function(e){return(e=+e)+(e>68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},O=function(e,t){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[o,function(e){this.afternoon=O(e,!1)}],a:[o,function(e){this.afternoon=O(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,l("seconds")],ss:[i,l("seconds")],m:[i,l("minutes")],mm:[i,l("minutes")],H:[i,l("hours")],h:[i,l("hours")],HH:[i,l("hours")],hh:[i,l("hours")],D:[i,l("day")],DD:[r,l("day")],Do:[o,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,l("week")],ww:[r,l("week")],M:[i,l("month")],MM:[r,l("month")],MMM:[o,function(e){var t=u("months"),n=(u("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function h(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),s=o.length,l=0;l<s;l+=1){var c=o[l],u=d[c],O=u&&u[0],h=u&&u[1];o[l]=h?{regex:O,parser:h}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,l=i.parser,c=e.slice(r),u=a.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,o=e.args;this.$u=r;var s=o[1];if("string"==typeof s){var l=!0===o[2],c=!0===o[3],u=l||c,O=o[2];c&&(O=o[2]),a=this.$locale(),!l&&O&&(a=n.Ls[O]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var i=h(t)(e),o=i.year,a=i.month,s=i.day,l=i.hours,c=i.minutes,u=i.seconds,O=i.milliseconds,d=i.zone,f=i.week,p=new Date,A=s||(o||a?1:p.getDate()),m=o||p.getFullYear(),g=0;o&&!a||(g=a>0?a-1:p.getMonth());var v,y=l||0,b=c||0,w=u||0,Q=O||0;return d?new Date(Date.UTC(m,g,A,y,b,w,Q+60*d.offset*1e3)):n?new Date(Date.UTC(m,g,A,y,b,w,Q)):(v=new Date(m,g,A,y,b,w,Q),f&&(v=r(v).week(f).toDate()),v)}catch($){return new Date("")}}(t,s,r,n),this.init(),O&&!0!==O&&(this.$L=this.locale(O).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,f=1;f<=d;f+=1){o[1]=s[f-1];var p=n.apply(this,o);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}f===d&&(this.$d=new Date(""))}else i.call(this,e)}}}()),Yv.exports);const Gv=mv(jv);var Hv,Kv={exports:{}};var Jv=(Hv||(Hv=1,Kv.exports=function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,n,r,o){var a=e.name?e:e.$locale(),s=i(a[t]),l=i(a[n]),c=s||l.map(function(e){return e.slice(0,r)});if(!o)return c;var u=a.weekStart;return c.map(function(e,t){return c[(t+(u||0))%7]})},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return o(a(),"months")},n.monthsShort=function(){return o(a(),"monthsShort","months",3)},n.weekdays=function(e){return o(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return o(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return o(a(),"weekdaysMin","weekdays",2,e)}}),Kv.exports);const ey=mv(Jv);var ty,ny={exports:{}};var ry=ty?ny.exports:(ty=1,ny.exports=function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return i.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return i.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return i.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}});return r.bind(this)(o)}});const iy=mv(ry);var oy,ay={exports:{}};var sy,ly,cy=oy?ay.exports:(oy=1,ay.exports=(sy="week",ly="year",function(e,t,n){var r=t.prototype;r.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var t=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var r=n(this).startOf(ly).add(1,ly).date(t),i=n(this).endOf(sy);if(r.isBefore(i))return 1}var o=n(this).startOf(ly).date(t).startOf(sy).subtract(1,"millisecond"),a=this.diff(o,sy,!0);return a<0?n(this).startOf("week").week():Math.ceil(a)},r.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}));const uy=mv(cy);var Oy,dy={exports:{}};var hy=(Oy||(Oy=1,dy.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}),dy.exports);const fy=mv(hy);var py,Ay={exports:{}};var my=(py||(py=1,Ay.exports=function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}),Ay.exports);const gy=mv(my);var vy,yy={exports:{}};var by=(vy||(vy=1,yy.exports=function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}),yy.exports);const wy=mv(by);var Qy,$y={exports:{}};var Sy=(Qy||(Qy=1,$y.exports=function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}),$y.exports);const xy=mv(Sy);var ky=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Py(e,t){return e===t||!(!ky(e)||!ky(t))}function Ty(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Py(e[n],t[n]))return!1;return!0}function _y(e,t){void 0===t&&(t=Ty);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}let Cy;const Ey=e=>Cy=e,Ry=Symbol();function Xy(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var By,Uy;function Dy(){const e=De(!0),t=e.run(()=>cn({}));let n=[],r=[];const i=on({install(e){Ey(i),i._a=e,e.provide(Ry,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}(Uy=By||(By={})).direct="direct",Uy.patchObject="patch object",Uy.patchFunction="patch function";const Iy=()=>{};function zy(e,t,n,r=Iy){e.add(t);const i=()=>{e.delete(t)&&r()};return!n&&Ie()&&ze(i),i}function Ny(e,...t){e.forEach(e=>{e(...t)})}const My=e=>e(),Ly=Symbol(),Vy=Symbol();function qy(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];Xy(i)&&Xy(r)&&e.hasOwnProperty(n)&&!ln(r)&&!Jt(r)?e[n]=qy(i,r):e[n]=r}return e}const Fy=Symbol();function Wy(e){return!Xy(e)||!Object.prototype.hasOwnProperty.call(e,Fy)}const{assign:Zy}=Object;function Yy(e){return!(!ln(e)||!e.effect)}function jy(e,t,n={},r,i,o){let a;const s=Zy({actions:{}},n),l={deep:!0};let c,u,O,d=new Set,h=new Set;const f=r.state.value[e];let p;function A(t){let n;c=u=!1,"function"==typeof t?(t(r.state.value[e]),n={type:By.patchFunction,storeId:e,events:O}):(qy(r.state.value[e],t),n={type:By.patchObject,payload:t,storeId:e,events:O});const i=p=Symbol();qn().then(()=>{p===i&&(c=!0)}),u=!0,Ny(d,n,r.state.value[e])}o||f||(r.state.value[e]={});const m=o?function(){const{state:e}=n,t=e?e():{};this.$patch(e=>{Zy(e,t)})}:Iy;const g=(t,n="")=>{if(Ly in t)return t[Vy]=n,t;const i=function(){Ey(r);const n=Array.from(arguments),o=new Set,a=new Set;let s;Ny(h,{args:n,name:i[Vy],store:v,after:function(e){o.add(e)},onError:function(e){a.add(e)}});try{s=t.apply(this&&this.$id===e?this:v,n)}catch(l){throw Ny(a,l),l}return s instanceof Promise?s.then(e=>(Ny(o,e),e)).catch(e=>(Ny(a,e),Promise.reject(e))):(Ny(o,s),s)};return i[Ly]=!0,i[Vy]=n,i},v=Yt({_p:r,$id:e,$onAction:zy.bind(null,h),$patch:A,$reset:m,$subscribe(t,n={}){const i=zy(d,t,n.detached,()=>o()),o=a.run(()=>hr(()=>r.state.value[e],r=>{("sync"===n.flush?u:c)&&t({storeId:e,type:By.direct,events:O},r)},Zy({},l,n)));return i},$dispose:function(){a.stop(),d.clear(),h.clear(),r._s.delete(e)}});r._s.set(e,v);const y=(r._a&&r._a.runWithContext||My)(()=>r._e.run(()=>(a=De()).run(()=>t({action:g}))));for(const b in y){const t=y[b];if(ln(t)&&!Yy(t)||Jt(t))o||(f&&Wy(t)&&(ln(t)?t.value=f[b]:qy(t,f[b])),r.state.value[e][b]=t);else if("function"==typeof t){const e=g(t,b);y[b]=e,s.actions[b]=t}}return Zy(v,y),Zy(rn(v),y),Object.defineProperty(v,"$state",{get:()=>r.state.value[e],set:e=>{A(t=>{Zy(t,e)})}}),r._p.forEach(e=>{Zy(v,a.run(()=>e({store:v,app:r._a,pinia:r,options:s})))}),f&&o&&n.hydrate&&n.hydrate(v.$state,f),c=!0,u=!0,v}function Gy(e,t,n){let r;const i="function"==typeof t;function o(n,o){const a=lr();(n=n||(a?sr(Ry,null):null))&&Ey(n),(n=Cy)._s.has(e)||(i?jy(e,t,r,n):function(e,t,n){const{state:r,actions:i,getters:o}=t,a=n.state.value[e];let s;s=jy(e,function(){a||(n.state.value[e]=r?r():{});const t=yn(n.state.value[e]);return Zy(t,i,Object.keys(o||{}).reduce((t,r)=>(t[r]=on(Ha(()=>{Ey(n);const t=n._s.get(e);return o[r].call(t,t)})),t),{}))},t,n,0,!0)}(e,r,n));return n._s.get(e)}return r=i?n:t,o.$id=e,o}function Hy(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const n=e(this.$pinia),i=t[r];return"function"==typeof i?i.call(this,n):n[i]},n),{})}function Ky(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...n){return e(this.$pinia)[t[r]](...n)},n),{})}function Jy(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var eb,tb={exports:{}};var nb=(eb||(eb=1,tb.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(!s&&Jy)return Jy(a);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o=Jy,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){(function(e){var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(u),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}function O(e){1!==c.push(e)||r||n()}t.exports=O}).call(this,void 0!==Av?Av:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){var r=e(1);function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&h(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function O(e,t,n){r(function(){var r;try{r=t(n)}catch(sy){return o.reject(e,sy)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}function a(){t(i,r)}var s=f(a);"error"===s.status&&r(s.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(sy){n.status="error",n.value=sy}return n}function p(e){return e instanceof this?e:o.resolve(new this(i),e)}function A(e){var t=new this(i);return o.reject(t,e)}function m(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,c=new this(i);++l<n;)u(e[l],l);return c;function u(e,i){function l(e){a[i]=e,++s!==n||r||(r=!0,o.resolve(c,a))}t.resolve(e).then(l,function(e){r||(r=!0,o.reject(c,e))})}}function g(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=-1,s=new this(i);++a<n;)l(e[a]);return s;function l(e){t.resolve(e).then(function(e){r||(r=!0,o.resolve(s,e))},function(e){r||(r=!0,o.reject(s,e))})}}t.exports=c,c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(i);return this.state!==l?O(n,this.state===s?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){O(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){O(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=f(d,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)h(e,r);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=p,c.reject=A,c.all=m,c.race=g},{1:1}],3:[function(e,t,n){(function(t){"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==Av?Av:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(sy){return}}var a=o();function s(){try{if(!a||!a.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(sy){return!1}}function l(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(sy){if("TypeError"!==sy.name)throw sy;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var c=Promise;function u(e,t){t&&e.then(function(e){t(null,e)},function(e){t(e)})}function O(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function d(e){return"string"!=typeof e&&(e=String(e)),e}function h(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var f="local-forage-detect-blob-support",p=void 0,A={},m=Object.prototype.toString,g="readonly",v="readwrite";function y(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}function b(e){return new c(function(t){var n=e.transaction(f,v),r=l([""]);n.objectStore(f).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}}).catch(function(){return!1})}function w(e){return"boolean"==typeof p?c.resolve(p):b(e).then(function(e){return p=e})}function Q(e){var t=A[e.name],n={};n.promise=new c(function(e,t){n.resolve=e,n.reject=t}),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then(function(){return n.promise}):t.dbReady=n.promise}function $(e){var t=A[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function S(e,t){var n=A[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function x(e,t){return new c(function(n,r){if(A[e.name]=A[e.name]||U(),e.db){if(!t)return n(e.db);Q(e),e.db.close()}var i=[e.name];t&&i.push(e.version);var o=a.open.apply(a,i);t&&(o.onupgradeneeded=function(t){var n=o.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(f)}catch(r){if("ConstraintError"!==r.name)throw r}}),o.onerror=function(e){e.preventDefault(),r(o.error)},o.onsuccess=function(){var t=o.result;t.onversionchange=function(e){e.target.close()},n(t),$(e)}})}function k(e){return x(e,!1)}function P(e){return x(e,!0)}function T(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,i=e.version>e.db.version;if(r&&(e.version,e.version=e.db.version),i||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function _(e){return new c(function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)})}function C(e){return l([y(atob(e.data))],{type:e.type})}function E(e){return e&&e.__local_forage_encoded_blob}function R(e){var t=this,n=t._initReady().then(function(){var e=A[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady});return O(n,e,e),n}function X(e){Q(e);for(var t=A[e.name],n=t.forages,r=0;r<n.length;r++){var i=n[r];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,k(e).then(function(t){return e.db=t,T(e)?P(e):t}).then(function(r){e.db=t.db=r;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=r}).catch(function(t){throw S(e,t),t})}function B(e,t,n,r){void 0===r&&(r=1);try{var i=e.db.transaction(e.storeName,t);n(null,i)}catch(o){if(r>0&&(!e.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return c.resolve().then(function(){if(!e.db||"NotFoundError"===o.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),P(e)}).then(function(){return X(e).then(function(){B(e,t,n,r-1)})}).catch(n);n(o)}}function U(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function D(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var i=A[n.name];i||(i=U(),A[n.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=R);var o=[];function a(){return c.resolve()}for(var s=0;s<i.forages.length;s++){var l=i.forages[s];l!==t&&o.push(l._initReady().catch(a))}var u=i.forages.slice(0);return c.all(o).then(function(){return n.db=i.db,k(n)}).then(function(e){return n.db=e,T(n,t._defaultConfig.version)?P(n):e}).then(function(e){n.db=i.db=e,t._dbInfo=n;for(var r=0;r<u.length;r++){var o=u[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}})}function I(e,t){var n=this;e=d(e);var r=new c(function(t,r){n.ready().then(function(){B(n._dbInfo,g,function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).get(e);a.onsuccess=function(){var e=a.result;void 0===e&&(e=null),E(e)&&(e=C(e)),t(e)},a.onerror=function(){r(a.error)}}catch(sy){r(sy)}})}).catch(r)});return u(r,t),r}function z(e,t){var n=this,r=new c(function(t,r){n.ready().then(function(){B(n._dbInfo,g,function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).openCursor(),s=1;a.onsuccess=function(){var n=a.result;if(n){var r=n.value;E(r)&&(r=C(r));var i=e(r,n.key,s++);void 0!==i?t(i):n.continue()}else t()},a.onerror=function(){r(a.error)}}catch(sy){r(sy)}})}).catch(r)});return u(r,t),r}function N(e,t,n){var r=this;e=d(e);var i=new c(function(n,i){var o;r.ready().then(function(){return o=r._dbInfo,"[object Blob]"===m.call(t)?w(o.db).then(function(e){return e?t:_(t)}):t}).then(function(t){B(r._dbInfo,v,function(o,a){if(o)return i(o);try{var s=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var l=s.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){var e=l.error?l.error:l.transaction.error;i(e)}}catch(sy){i(sy)}})}).catch(i)});return u(i,n),i}function M(e,t){var n=this;e=d(e);var r=new c(function(t,r){n.ready().then(function(){B(n._dbInfo,v,function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(a.error)},o.onabort=function(){var e=a.error?a.error:a.transaction.error;r(e)}}catch(sy){r(sy)}})}).catch(r)});return u(r,t),r}function L(e){var t=this,n=new c(function(e,n){t.ready().then(function(){B(t._dbInfo,v,function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){var e=o.error?o.error:o.transaction.error;n(e)}}catch(sy){n(sy)}})}).catch(n)});return u(n,e),n}function V(e){var t=this,n=new c(function(e,n){t.ready().then(function(){B(t._dbInfo,g,function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(sy){n(sy)}})}).catch(n)});return u(n,e),n}function q(e,t){var n=this,r=new c(function(t,r){e<0?t(null):n.ready().then(function(){B(n._dbInfo,g,function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName),s=!1,l=a.openKeyCursor();l.onsuccess=function(){var n=l.result;n?0===e||s?t(n.key):(s=!0,n.advance(e)):t(null)},l.onerror=function(){r(l.error)}}catch(sy){r(sy)}})}).catch(r)});return u(r,t),r}function F(e){var t=this,n=new c(function(e,n){t.ready().then(function(){B(t._dbInfo,g,function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).openKeyCursor(),a=[];o.onsuccess=function(){var t=o.result;t?(a.push(t.key),t.continue()):e(a)},o.onerror=function(){n(o.error)}}catch(sy){n(sy)}})}).catch(n)});return u(n,e),n}function W(e,t){t=h.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;if(e.name){var o=e.name===n.name&&i._dbInfo.db?c.resolve(i._dbInfo.db):k(e).then(function(t){var n=A[e.name],r=n.forages;n.db=t;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=t;return t});r=e.storeName?o.then(function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;Q(e);var r=A[e.name],i=r.forages;t.close();for(var o=0;o<i.length;o++){var s=i[o];s._dbInfo.db=null,s._dbInfo.version=n}return new c(function(t,r){var i=a.open(e.name,n);i.onerror=function(e){i.result.close(),r(e)},i.onupgradeneeded=function(){i.result.deleteObjectStore(e.storeName)},i.onsuccess=function(){var e=i.result;e.close(),t(e)}}).then(function(e){r.db=e;for(var t=0;t<i.length;t++){var n=i[t];n._dbInfo.db=e,$(n._dbInfo)}}).catch(function(t){throw(S(e,t)||c.resolve()).catch(function(){}),t})}}):o.then(function(t){Q(e);var n=A[e.name],r=n.forages;t.close();for(var i=0;i<r.length;i++)r[i]._dbInfo.db=null;return new c(function(t,n){var r=a.deleteDatabase(e.name);r.onerror=function(){var e=r.result;e&&e.close(),n(r.error)},r.onblocked=function(){},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}}).then(function(e){n.db=e;for(var t=0;t<r.length;t++)$(r[t]._dbInfo)}).catch(function(t){throw(S(e,t)||c.resolve()).catch(function(){}),t})})}else r=c.reject("Invalid arguments");return u(r,t),r}var Z={_driver:"asyncStorage",_initStorage:D,_support:s(),iterate:z,getItem:I,setItem:N,removeItem:M,clear:L,length:V,key:q,keys:F,dropInstance:W};function Y(){return"function"==typeof openDatabase}var j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",G="~~local_forage_type~",H=/^~~local_forage_type~([^~]+)~/,K="__lfsc__:",J=K.length,ee="arbf",te="blob",ne="si08",re="ui08",ie="uic8",oe="si16",ae="si32",se="ur16",le="ui32",ce="fl32",ue="fl64",Oe=J+ee.length,de=Object.prototype.toString;function he(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),u=new Uint8Array(c);for(t=0;t<s;t+=4)n=j.indexOf(e[t]),r=j.indexOf(e[t+1]),i=j.indexOf(e[t+2]),o=j.indexOf(e[t+3]),u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c}function fe(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=j[n[t]>>2],r+=j[(3&n[t])<<4|n[t+1]>>4],r+=j[(15&n[t+1])<<2|n[t+2]>>6],r+=j[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function pe(e,t){var n="";if(e&&(n=de.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===de.call(e.buffer))){var r,i=K;e instanceof ArrayBuffer?(r=e,i+=ee):(r=e.buffer,"[object Int8Array]"===n?i+=ne:"[object Uint8Array]"===n?i+=re:"[object Uint8ClampedArray]"===n?i+=ie:"[object Int16Array]"===n?i+=oe:"[object Uint16Array]"===n?i+=se:"[object Int32Array]"===n?i+=ae:"[object Uint32Array]"===n?i+=le:"[object Float32Array]"===n?i+=ce:"[object Float64Array]"===n?i+=ue:t(new Error("Failed to get type for BinaryArray"))),t(i+fe(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=G+e.type+"~"+fe(this.result);t(K+te+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(sy){t(null,sy)}}function Ae(e){if(e.substring(0,J)!==K)return JSON.parse(e);var t,n=e.substring(Oe),r=e.substring(J,Oe);if(r===te&&H.test(n)){var i=n.match(H);t=i[1],n=n.substring(i[0].length)}var o=he(n);switch(r){case ee:return o;case te:return l([o],{type:t});case ne:return new Int8Array(o);case re:return new Uint8Array(o);case ie:return new Uint8ClampedArray(o);case oe:return new Int16Array(o);case se:return new Uint16Array(o);case ae:return new Int32Array(o);case le:return new Uint32Array(o);case ce:return new Float32Array(o);case ue:return new Float64Array(o);default:throw new Error("Unkown type: "+r)}}var me={serialize:pe,deserialize:Ae,stringToBuffer:he,bufferToString:fe};function ge(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function ve(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var i=new c(function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(sy){return r(sy)}n.db.transaction(function(i){ge(i,n,function(){t._dbInfo=n,e()},function(e,t){r(t)})},r)});return n.serializer=me,i}function ye(e,t,n,r,i,o){e.executeSql(n,r,i,function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],function(e,s){s.rows.length?o(e,a):ge(e,t,function(){e.executeSql(n,r,i,o)},o)},o):o(e,a)},o)}function be(e,t){var n=this;e=d(e);var r=new c(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){ye(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function we(e,t){var n=this,r=new c(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){ye(n,i,"SELECT * FROM "+i.storeName,[],function(n,r){for(var o=r.rows,a=o.length,s=0;s<a;s++){var l=o.item(s),c=l.value;if(c&&(c=i.serializer.deserialize(c)),void 0!==(c=e(c,l.key,s+1)))return void t(c)}t()},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function Qe(e,t,n,r){var i=this;e=d(e);var o=new c(function(o,a){i.ready().then(function(){void 0===t&&(t=null);var s=t,l=i._dbInfo;l.serializer.serialize(t,function(t,c){c?a(c):l.db.transaction(function(n){ye(n,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[e,t],function(){o(s)},function(e,t){a(t)})},function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void o(Qe.apply(i,[e,s,n,r-1]));a(t)}})})}).catch(a)});return u(o,n),o}function $e(e,t,n){return Qe.apply(this,[e,t,n,1])}function Se(e,t){var n=this;e=d(e);var r=new c(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){ye(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],function(){t()},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function xe(e){var t=this,n=new c(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){ye(t,r,"DELETE FROM "+r.storeName,[],function(){e()},function(e,t){n(t)})})}).catch(n)});return u(n,e),n}function ke(e){var t=this,n=new c(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){ye(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(t,n){var r=n.rows.item(0).c;e(r)},function(e,t){n(t)})})}).catch(n)});return u(n,e),n}function Pe(e,t){var n=this,r=new c(function(t,r){n.ready().then(function(){var i=n._dbInfo;i.db.transaction(function(n){ye(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function Te(e){var t=this,n=new c(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){ye(t,r,"SELECT key FROM "+r.storeName,[],function(t,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);e(r)},function(e,t){n(t)})})}).catch(n)});return u(n,e),n}function _e(e){return new c(function(t,n){e.transaction(function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(n,r){for(var i=[],o=0;o<r.rows.length;o++)i.push(r.rows.item(o).name);t({db:e,storeNames:i})},function(e,t){n(t)})},function(e){n(e)})})}function Ce(e,t){t=h.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;return r=e.name?new c(function(t){var r;r=e.name===n.name?i._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(_e(r))}).then(function(e){return new c(function(t,n){e.db.transaction(function(r){function i(e){return new c(function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],function(){t()},function(e,t){n(t)})})}for(var o=[],a=0,s=e.storeNames.length;a<s;a++)o.push(i(e.storeNames[a]));c.all(o).then(function(){t()}).catch(function(e){n(e)})},function(e){n(e)})})}):c.reject("Invalid arguments"),u(r,t),r}var Ee={_driver:"webSQLStorage",_initStorage:ve,_support:Y(),iterate:we,getItem:be,setItem:$e,removeItem:Se,clear:xe,length:ke,key:Pe,keys:Te,dropInstance:Ce};function Re(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(sy){return!1}}function Xe(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function Be(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(sy){return!0}}function Ue(){return!Be()||localStorage.length>0}function De(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return n.keyPrefix=Xe(e,t._defaultConfig),Ue()?(t._dbInfo=n,n.serializer=me,c.resolve()):c.reject()}function Ie(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}});return u(n,e),n}function ze(e,t){var n=this;e=d(e);var r=n.ready().then(function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r});return u(r,t),r}function Ne(e,t){var n=this,r=n.ready().then(function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,a=1,s=0;s<o;s++){var l=localStorage.key(s);if(0===l.indexOf(r)){var c=localStorage.getItem(l);if(c&&(c=t.serializer.deserialize(c)),void 0!==(c=e(c,l.substring(i),a++)))return c}}});return u(r,t),r}function Me(e,t){var n=this,r=n.ready().then(function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(i){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t});return u(r,t),r}function Le(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r});return u(n,e),n}function Ve(e){var t=this.keys().then(function(e){return e.length});return u(t,e),t}function qe(e,t){var n=this;e=d(e);var r=n.ready().then(function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)});return u(r,t),r}function Fe(e,t,n){var r=this;e=d(e);var i=r.ready().then(function(){void 0===t&&(t=null);var n=t;return new c(function(i,o){var a=r._dbInfo;a.serializer.serialize(t,function(t,r){if(r)o(r);else try{localStorage.setItem(a.keyPrefix+e,t),i(n)}catch(sy){"QuotaExceededError"!==sy.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==sy.name||o(sy),o(sy)}})})});return u(i,n),i}function We(e,t){if(t=h.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,i=this;return r=e.name?new c(function(t){e.storeName?t(Xe(e,i._defaultConfig)):t(e.name+"/")}).then(function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}}):c.reject("Invalid arguments"),u(r,t),r}var Ze={_driver:"localStorageWrapper",_initStorage:De,_support:Re(),iterate:Ne,getItem:ze,setItem:Fe,removeItem:qe,clear:Ie,length:Ve,key:Me,keys:Le,dropInstance:We},Ye=function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)},je=function(e,t){for(var n=e.length,r=0;r<n;){if(Ye(e[r],t))return!0;r++}return!1},Ge=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},He={},Ke={},Je={INDEXEDDB:Z,WEBSQL:Ee,LOCALSTORAGE:Ze},et=[Je.INDEXEDDB._driver,Je.WEBSQL._driver,Je.LOCALSTORAGE._driver],tt=["dropInstance"],nt=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(tt),rt={description:"",driver:et.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function it(e,t){e[t]=function(){var n=arguments;return e.ready().then(function(){return e[t].apply(e,n)})}}function ot(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(Ge(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var at=function(){function e(t){for(var n in i(this,e),Je)if(Je.hasOwnProperty(n)){var r=Je[n],o=r._driver;this[n]=o,He[o]||this.defineDriver(r)}this._defaultConfig=ot({},rt),this._config=ot({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new c(function(t,n){try{var r=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(i);for(var o=nt.concat("_initStorage"),a=0,s=o.length;a<s;a++){var l=o[a];if((!je(tt,l)||e[l])&&"function"!=typeof e[l])return void n(i)}var O=function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=c.reject(t);return u(n,arguments[arguments.length-1]),n}},n=0,r=tt.length;n<r;n++){var i=tt[n];e[i]||(e[i]=t(i))}};O();var d=function(n){He[r],He[r]=e,Ke[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(d,n):d(!!e._support):d(!0)}catch(sy){n(sy)}});return O(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=He[e]?c.resolve(He[e]):c.reject(new Error("Driver not found."));return O(r,t,n),r},e.prototype.getSerializer=function(e){var t=c.resolve(me);return O(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then(function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready});return O(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;Ge(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function a(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}function s(e){return function(){var t=0;function n(){for(;t<e.length;){var i=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(i).then(a).catch(n)}o();var s=new Error("No available storage method found.");return r._driverSet=c.reject(s),r._driverSet}return n()}}var l=null!==this._driverSet?this._driverSet.catch(function(){return c.resolve()}):c.resolve();return this._driverSet=l.then(function(){var e=i[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then(function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=s(i)})}).catch(function(){o();var e=new Error("No available storage method found.");return r._driverSet=c.reject(e),r._driverSet}),O(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!Ke[e]},e.prototype._extend=function(e){ot(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=nt.length;e<t;e++)it(this,nt[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),st=new at;t.exports=st},{3:3}]},{},[4])(4)),tb.exports);const rb=mv(nb);function ib(e){return Array.isArray?Array.isArray(e):"[object Array]"===db(e)}function ob(e){return null==e?"":function(e){if("string"==typeof e)return e;if("bigint"==typeof e)return e.toString();const t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}function ab(e){return"string"==typeof e}function sb(e){return"number"==typeof e}function lb(e){return!0===e||!1===e||function(e){return cb(e)&&null!==e}(e)&&"[object Boolean]"==db(e)}function cb(e){return"object"==typeof e}function ub(e){return null!=e}function Ob(e){return!e.trim().length}function db(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const hb=Object.prototype.hasOwnProperty;class fb{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{const n=pb(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function pb(e){let t=null,n=null,r=null,i=1,o=null;if(ab(e)||ib(e))r=e,t=Ab(e),n=mb(e);else{if(!hb.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const a=e.name;if(r=a,hb.call(e,"weight")&&(i=e.weight,i<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(a));t=Ab(a),n=mb(a),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function Ab(e){return ib(e)?e:e.split(".")}function mb(e){return ib(e)?e.join("."):e}const gb={useExtendedSearch:!1,useTokenSearch:!1,getFn:function(e,t){const n=[];let r=!1;const i=(e,t,o,a)=>{if(ub(e))if(t[o]){const s=e[t[o]];if(!ub(s))return;if(o===t.length-1&&(ab(s)||sb(s)||lb(s)||"bigint"==typeof s))n.push(void 0!==a?{v:ob(s),i:a}:ob(s));else if(ib(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,o+1,e)}else t.length&&i(s,t,o+1,a)}else n.push(void 0!==a?{v:e,i:a}:e)};return i(e,ab(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},vb=Object.freeze({isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...gb}),yb=/[^ ]+/g;class bb{constructor({getFn:e=vb.getFn,fieldNormWeight:t=vb.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const i=t.match(yb).length;if(n.has(i))return n.get(i);const o=1/Math.pow(i,.5*e),a=parseFloat(Math.round(o*r)/r);return n.set(i,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,ab(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();ab(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}removeAll(e){for(let t=e.length-1;t>=0;t-=1)this.records.splice(e[t],1);for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i=t}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!ub(e)||Ob(e))return;const n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){const n={i:t,$:{}};this.keys.forEach((t,r)=>{const i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(ub(i))if(ib(i)){const e=[];for(let t=0,n=i.length;t<n;t+=1){const n=i[t];if(ub(n))if(ab(n)){if(!Ob(n)){const r={v:n,i:t,n:this.norm.get(n)};e.push(r)}}else if(ub(n.v)){const t=ab(n.v)?n.v:ob(n.v);if(!Ob(t)){const r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}n.$[r]=e}else if(ab(i)&&!Ob(i)){const e={v:i,n:this.norm.get(i)};n.$[r]=e}}),this.records.push(n)}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}}function wb(e,t,{getFn:n=vb.getFn,fieldNormWeight:r=vb.fieldNormWeight}={}){const i=new bb({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(pb)),i.setSources(t),i.create(),i}const Qb=32;function $b(e,t,n,{location:r=vb.location,distance:i=vb.distance,threshold:o=vb.threshold,findAllMatches:a=vb.findAllMatches,minMatchCharLength:s=vb.minMatchCharLength,includeMatches:l=vb.includeMatches,ignoreLocation:c=vb.ignoreLocation}={}){if(t.length>Qb)throw new Error(`Pattern length exceeds max of ${Qb}.`);const u=t.length,O=e.length,d=Math.max(0,Math.min(r,O));let h=o,f=d;const p=(e,t)=>{const n=e/u;if(c)return n;const r=Math.abs(d-t);return i?n+r/i:r?1:n},A=s>1||l,m=A?Array(O):[];let g;for(;(g=e.indexOf(t,f))>-1;){const e=p(0,g);if(h=Math.min(e,h),f=g+u,A){let e=0;for(;e<u;)m[g+e]=1,e+=1}}f=-1;let v=[],y=1,b=u+O;const w=1<<u-1;for(let $=0;$<u;$+=1){let t=0,r=b;for(;t<r;){p($,d+r)<=h?t=r:b=r,r=Math.floor((b-t)/2+t)}b=r;let i=Math.max(1,d-r+1);const o=a?O:Math.min(d+r,O)+u,s=Array(o+2);s[o+1]=(1<<$)-1;for(let a=o;a>=i;a-=1){const t=a-1,r=n[e[t]];if(A&&(m[t]=+!!r),s[a]=(s[a+1]<<1|1)&r,$&&(s[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),s[a]&w&&(y=p($,t),y<=h)){if(h=y,f=t,f<=d)break;i=Math.max(1,2*d-f)}}if(p($+1,d)>h)break;v=s}const Q={isMatch:f>=0,score:Math.max(.001,y)};if(A){const e=function(e=[],t=vb.minMatchCharLength){const n=[];let r=-1,i=-1,o=0;for(let a=e.length;o<a;o+=1){const a=e[o];a&&-1===r?r=o:a||-1===r||(i=o-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(m,s);e.length?l&&(Q.indices=e):Q.isMatch=!1}return Q}function Sb(e){const t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function xb(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);const t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){const r=t[t.length-1],i=e[n];i[0]<=r[1]+1?r[1]=Math.max(r[1],i[1]):t.push(i)}return t}const kb={"ł":"l","Ł":"L","đ":"d","Đ":"D","ø":"o","Ø":"O","ħ":"h","Ħ":"H","ŧ":"t","Ŧ":"T","ı":"i","ß":"ss"},Pb=new RegExp("["+Object.keys(kb).join("")+"]","g"),Tb=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(Pb,e=>kb[e]):e=>e;class _b{constructor(e,{location:t=vb.location,threshold:n=vb.threshold,distance:r=vb.distance,includeMatches:i=vb.includeMatches,findAllMatches:o=vb.findAllMatches,minMatchCharLength:a=vb.minMatchCharLength,isCaseSensitive:s=vb.isCaseSensitive,ignoreDiacritics:l=vb.ignoreDiacritics,ignoreLocation:c=vb.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c},e=s?e:e.toLowerCase(),e=l?Tb(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:Sb(e),startIndex:t})},O=this.pattern.length;if(O>Qb){let e=0;const t=O%Qb,n=O-t;for(;e<n;)u(this.pattern.substr(e,Qb),e),e+=Qb;if(t){const e=O-Qb;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?Tb(e):e,this.pattern===e){const t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,ignoreLocation:c}=this.options,u=[];let O=0,d=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:h})=>{const{isMatch:f,score:p,indices:A}=$b(e,t,n,{location:i+h,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});f&&(d=!0),O+=p,f&&A&&u.push(...A)});const h={isMatch:d,score:d?O/this.chunks.length:1};return d&&r&&(h.indices=xb(u)),h}}class Cb{constructor(e){this.pattern=e}static isMultiMatch(e){return Eb(e,this.multiRegex)}static isSingleMatch(e){return Eb(e,this.singleRegex)}search(e){return{isMatch:!1,score:1}}}function Eb(e,t){const n=e.match(t);return n?n[1]:null}class Rb extends Cb{constructor(e,{location:t=vb.location,threshold:n=vb.threshold,distance:r=vb.distance,includeMatches:i=vb.includeMatches,findAllMatches:o=vb.findAllMatches,minMatchCharLength:a=vb.minMatchCharLength,isCaseSensitive:s=vb.isCaseSensitive,ignoreDiacritics:l=vb.ignoreDiacritics,ignoreLocation:c=vb.ignoreLocation}={}){super(e),this._bitapSearch=new _b(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Xb extends Cb{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],i=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Bb=[class extends Cb{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Xb,class extends Cb{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Cb{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Cb{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Cb{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Cb{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Rb],Ub=Bb.length;const Db=new Set([Rb.type,Xb.type]);class Ib{constructor(e,{isCaseSensitive:t=vb.isCaseSensitive,ignoreDiacritics:n=vb.ignoreDiacritics,includeMatches:r=vb.includeMatches,minMatchCharLength:i=vb.minMatchCharLength,ignoreLocation:o=vb.ignoreLocation,findAllMatches:a=vb.findAllMatches,location:s=vb.location,threshold:l=vb.threshold,distance:c=vb.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:a,ignoreLocation:o,location:s,threshold:l,distance:c},e=t?e:e.toLowerCase(),e=n?Tb(e):e,this.pattern=e,this.query=function(e,t={}){return e.replace(/\\\|/g,"\0").split("|").map(e=>{const n=function(e){const t=[],n=e.length;let r=0;for(;r<n;){for(;r<n&&" "===e[r];)r++;if(r>=n)break;let i=r;for(;i<n&&" "!==e[i]&&'"'!==e[i];)i++;if(i<n&&'"'===e[i]){for(i++;i<n;){if('"'===e[i]){const t=i+1;if(t>=n||" "===e[t]){i++;break}if("$"===e[t]&&(t+1>=n||" "===e[t+1])){i+=2;break}}i++}t.push(e.substring(r,i)),r=i}else{for(;i<n&&" "!==e[i];)i++;t.push(e.substring(r,i)),r=i}}return t}(e.replace(/\u0000/g,"|").trim()).filter(e=>e&&!!e.trim()),r=[];for(let i=0,o=n.length;i<o;i+=1){const e=n[i];let o=!1,a=-1;for(;!o&&++a<Ub;){const n=Bb[a],i=n.isMultiMatch(e);i&&(r.push(new n(i,t)),o=!0)}if(!o)for(a=-1;++a<Ub;){const n=Bb[a],i=n.isSingleMatch(e);if(i){r.push(new n(i,t));break}}}return r})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?Tb(e):e;let o=0;const a=[];let s=0,l=!1;for(let c=0,u=t.length;c<u;c+=1){const r=t[c];a.length=0,o=0,l=!1;for(let t=0,i=r.length;t<i;t+=1){const i=r[t],{isMatch:c,indices:u,score:O}=i.search(e);if(!c){s=0,o=0,a.length=0,l=!1;break}{o+=1,s+=O;const e=i.constructor.type;e.startsWith("inverse")&&(l=!0),n&&(Db.has(e)?a.push(...u):a.push(u))}}if(o){const e={isMatch:!0,score:s/o};return l&&(e.hasInverse=!0),n&&(e.indices=xb(a)),e}}return{isMatch:!1,score:1}}}const zb=[];function Nb(...e){zb.push(...e)}function Mb(e,t){for(let n=0,r=zb.length;n<r;n+=1){const r=zb[n];if(r.condition(e,t))return new r(e,t)}return new _b(e,t)}const Lb="$and",Vb="$or",qb="$path",Fb="$val",Wb=e=>!(!e[Lb]&&!e[Vb]),Zb=e=>({[Lb]:Object.keys(e).map(t=>({[t]:e[t]}))});function Yb(e,t,{auto:n=!0}={}){const r=e=>{if(ab(e)){const r={keyId:null,pattern:e};return n&&(r.searcher=Mb(e,t)),r}const i=Object.keys(e),o=(e=>!!e[qb])(e);if(!o&&i.length>1&&!Wb(e))return r(Zb(e));if((e=>!ib(e)&&cb(e)&&!Wb(e))(e)){const r=o?e[qb]:i[0],a=o?e[Fb]:e[r];if(!ab(a))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={keyId:mb(r),pattern:a};return n&&(s.searcher=Mb(a,t)),s}const a={children:[],operator:i[0]};return i.forEach(t=>{const n=e[t];ib(n)&&n.forEach(e=>{a.children.push(r(e))})}),a};return Wb(e)||(e=Zb(e)),r(e)}function jb(e,{ignoreFieldNorm:t=vb.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:r,score:i})=>{const o=e?e.weight:null;n*=Math.pow(0===i&&o?Number.EPSILON:i,(o||1)*(t?1:r))}),n}class Gb{constructor(e){this.limit=e,this.heap=[]}get size(){return this.heap.length}shouldInsert(e){return this.size<this.limit||e<this.heap[0].score}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):e.score<this.heap[0].score&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(e){return this.heap.sort(e)}_bubbleUp(e){const t=this.heap;for(;e>0;){const n=e-1>>1;if(t[e].score<=t[n].score)break;const r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){const t=this.heap,n=t.length;let r=e;do{const i=2*(e=r)+1,o=2*e+2;if(i<n&&t[i].score>t[r].score&&(r=i),o<n&&t[o].score>t[r].score&&(r=o),r!==e){const n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}}function Hb(e,t){const n=e.matches;t.matches=[],ub(n)&&n.forEach(e=>{if(!ub(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function Kb(e,t){t.score=e.score}const Jb=/\b\w+\b/g;function ew({isCaseSensitive:e=!1,ignoreDiacritics:t=!1}={}){return{tokenize:n=>(e||(n=n.toLowerCase()),t&&(n=Tb(n)),n.match(Jb)||[])}}function tw(e,t){for(const[n,r]of e.terms){const i=r.filter(e=>e.docIdx!==t),o=r.length-i.length;o>0&&(e.fieldCount-=o,e.df.set(n,(e.df.get(n)||0)-o),0===i.length?(e.terms.delete(n),e.df.delete(n)):e.terms.set(n,i))}}class nw{constructor(e,t,n){this.options={...vb,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new fb(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;const t=Mb(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof bb))throw new Error("Incorrect 'index' type");if(this._myIndex=t||wb(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const e=ew({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});this._invertedIndex=function(e,t,n){const r=new Map,i=new Map;let o=0;function a(e,t,a,s){const l=n.tokenize(e);if(!l.length)return;o++;const c=new Map;for(const n of l)c.set(n,(c.get(n)||0)+1);for(const[n,o]of c){const e={docIdx:t,keyIdx:a,subIdx:s,tf:o};let l=r.get(n);l||(l=[],r.set(n,l)),l.push(e),i.set(n,(i.get(n)||0)+1)}}for(const s of e){const{i:e,v:n,$:r}=s;if(void 0===n){if(r)for(let i=0;i<t;i++){const t=r[i];if(t)if(Array.isArray(t))for(const n of t)a(n.v,e,i,n.i??-1);else a(t.v,e,i,-1)}}else a(n,e,-1,-1)}return{terms:r,fieldCount:o,df:i}}(this._myIndex.records,this._myIndex.keys.length,e)}}add(e){if(ub(e)&&(this._docs.push(e),this._myIndex.add(e),this._invertedIndex)){const e=this._myIndex.records[this._myIndex.records.length-1],t=ew({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});!function(e,t,n,r){const{i:i,v:o,$:a}=t;function s(t,n,o){const a=r.tokenize(t);if(!a.length)return;e.fieldCount++;const s=new Map;for(const e of a)s.set(e,(s.get(e)||0)+1);for(const[r,l]of s){const t={docIdx:i,keyIdx:n,subIdx:o,tf:l};let a=e.terms.get(r);a||(a=[],e.terms.set(r,a)),a.push(t),e.df.set(r,(e.df.get(r)||0)+1)}}if(void 0===o){if(a)for(let l=0;l<n;l++){const e=a[l];if(e)if(Array.isArray(e))for(const t of e)s(t.v,l,t.i??-1);else s(e.v,l,-1)}}else s(o,-1,-1)}(this._invertedIndex,e,this._myIndex.keys.length,t)}}remove(e=()=>!1){const t=[],n=[];for(let r=0,i=this._docs.length;r<i;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){if(this._invertedIndex)for(const e of n)tw(this._invertedIndex,e);for(let e=n.length-1;e>=0;e-=1)this._docs.splice(n[e],1);this._myIndex.removeAll(n)}return t}removeAt(e){this._invertedIndex&&tw(this._invertedIndex,e);const t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),t}getIndex(){return this._myIndex}search(e,t){const{limit:n=-1}=t||{},{includeMatches:r,includeScore:i,shouldSort:o,sortFn:a,ignoreFieldNorm:s}=this.options;if(ab(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return sb(n)&&n>-1&&(e=e.slice(0,n)),e}let l;if(sb(n)&&n>0&&ab(e)){const t=new Gb(n);ab(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),l=t.extractSorted(a)}else l=ab(e)?ab(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),function(e,{ignoreFieldNorm:t=vb.ignoreFieldNorm}){e.forEach(e=>{e.score=jb(e.matches,{ignoreFieldNorm:t})})}(l,{ignoreFieldNorm:s}),o&&l.sort(a),sb(n)&&n>-1&&(l=l.slice(0,n));return function(e,t,{includeMatches:n=vb.includeMatches,includeScore:r=vb.includeScore}={}){const i=[];return n&&i.push(Hb),r&&i.push(Kb),e.map(e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}(l,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),{records:i}=this._myIndex,o=t?null:[];return i.forEach(({v:e,i:i,n:a})=>{if(!ub(e))return;const{isMatch:s,score:l,indices:c}=r.searchIn(e);if(s){const r={item:e,idx:i,matches:[{score:l,value:e,norm:a,indices:c}]};t?(r.score=jb(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&t.insert(r)):o.push(r)}}),o}_searchLogical(e){const t=Yb(e,this.options),n=(e,t,r)=>{if(!("children"in e)){const{keyId:n,searcher:i}=e;let o;return null===n?(o=[],this._myIndex.keys.forEach((e,n)=>{o.push(...this._findMatches({key:e,value:t[n],searcher:i}))})):o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i}),o&&o.length?[{idx:r,item:t,matches:o}]:[]}const{children:i,operator:o}=e,a=[];for(let s=0,l=i.length;s<l;s+=1){const e=i[s],l=n(e,t,r);if(l.length)a.push(...l);else if(o===Lb)return[]}return a},r=this._myIndex.records,i=new Map,o=[];return r.forEach(({$:e,i:r})=>{if(ub(e)){const a=n(t,e,r);a.length&&(i.has(r)||(i.set(r,{idx:r,item:e,matches:[]}),o.push(i.get(r))),a.forEach(({matches:e})=>{i.get(r).matches.push(...e)}))}}),o}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){const r=this._getSearcher(e),{keys:i,records:o}=this._myIndex,a=t?null:[];return o.forEach(({$:e,i:o})=>{if(!ub(e))return;const s=[];let l=!1,c=!1;if(i.forEach((t,n)=>{const i=this._findMatches({key:t,value:e[n],searcher:r});i.length?(s.push(...i),i[0].hasInverse&&(c=!0)):l=!0}),(!c||!l)&&s.length){const r={idx:o,item:e,matches:s};t?(r.score=jb(r.matches,{ignoreFieldNorm:n}),t.shouldInsert(r.score)&&t.insert(r)):a.push(r)}}),a}_findMatches({key:e,value:t,searcher:n}){if(!ub(t))return[];const r=[];if(ib(t))t.forEach(({v:t,i:i,n:o})=>{if(!ub(t))return;const{isMatch:a,score:s,indices:l,hasInverse:c}=n.searchIn(t);a&&r.push({score:s,key:e,value:t,idx:i,norm:o,indices:l,hasInverse:c})});else{const{v:i,n:o}=t,{isMatch:a,score:s,indices:l,hasInverse:c}=n.searchIn(i);a&&r.push({score:s,key:e,value:i,norm:o,indices:l,hasInverse:c})}return r}}class rw{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=ew({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics});const n=this.analyzer.tokenize(e),r=t._invertedIndex,{df:i,fieldCount:o}=r;this.termSearchers=[],this.idfWeights=[];for(const a of n){this.termSearchers.push(new _b(a,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const e=i.get(a)||0,n=Math.log(1+(o-e+.5)/(e+.5));this.idfWeights.push(n)}}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};const t=[];let n=0,r=0,i=0;for(let s=0;s<this.termSearchers.length;s++){const o=this.termSearchers[s].searchIn(e),a=this.idfWeights[s];r+=a,o.isMatch&&(i++,n+=a*(1-o.score),o.indices&&t.push(...o.indices))}if(0===i)return{isMatch:!1,score:1};const o=r>0?1-n/r:0,a={isMatch:!0,score:Math.max(.001,o)};return this.options.includeMatches&&t.length&&(a.indices=xb(t)),a}}nw.version="7.3.0",nw.createIndex=wb,nw.parseIndex=function(e,{getFn:t=vb.getFn,fieldNormWeight:n=vb.fieldNormWeight}={}){const{keys:r,records:i}=e,o=new bb({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o},nw.config=vb,nw.match=function(e,t,n){return Mb(e,{...vb,...n}).searchIn(t)},nw.parseQuery=Yb,Nb(Ib),Nb(rw),nw.use=function(...e){e.forEach(e=>Nb(e))};var iw,ow={exports:{}};var aw,sw,lw,cw=(iw||(iw=1,aw=ow,sw=ow.exports,function(){var e,t="Expected a function",n="__lodash_hash_undefined__",r="__lodash_placeholder__",i=32,o=128,a=256,s=1/0,l=9007199254740991,c=NaN,u=4294967295,O=[["ary",o],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",i],["partialRight",64],["rearg",a]],d="[object Arguments]",h="[object Array]",f="[object Boolean]",p="[object Date]",A="[object Error]",m="[object Function]",g="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",Q="[object RegExp]",$="[object Set]",S="[object String]",x="[object Symbol]",k="[object WeakMap]",P="[object ArrayBuffer]",T="[object DataView]",_="[object Float32Array]",C="[object Float64Array]",E="[object Int8Array]",R="[object Int16Array]",X="[object Int32Array]",B="[object Uint8Array]",U="[object Uint8ClampedArray]",D="[object Uint16Array]",I="[object Uint32Array]",z=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,M=/(__e\(.*?\)|\b__t\)) \+\n'';/g,L=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,q=RegExp(L.source),F=RegExp(V.source),W=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,J=RegExp(K.source),ee=/^\s+/,te=/\s/,ne=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,re=/\{\n\/\* \[wrapped with (.+)\] \*/,ie=/,? & /,oe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ae=/[()=,{}\[\]\/\s]/,se=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,ue=/^[-+]0x[0-9a-f]+$/i,Oe=/^0b[01]+$/i,de=/^\[object .+?Constructor\]$/,he=/^0o[0-7]+$/i,fe=/^(?:0|[1-9]\d*)$/,pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ae=/($^)/,me=/['\n\r\u2028\u2029\\]/g,ge="\\ud800-\\udfff",ve="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ye="\\u2700-\\u27bf",be="a-z\\xdf-\\xf6\\xf8-\\xff",we="A-Z\\xc0-\\xd6\\xd8-\\xde",Qe="\\ufe0e\\ufe0f",$e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Se="['’]",xe="["+ge+"]",ke="["+$e+"]",Pe="["+ve+"]",Te="\\d+",_e="["+ye+"]",Ce="["+be+"]",Ee="[^"+ge+$e+Te+ye+be+we+"]",Re="\\ud83c[\\udffb-\\udfff]",Xe="[^"+ge+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",De="["+we+"]",Ie="\\u200d",ze="(?:"+Ce+"|"+Ee+")",Ne="(?:"+De+"|"+Ee+")",Me="(?:['’](?:d|ll|m|re|s|t|ve))?",Le="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ve="(?:"+Pe+"|"+Re+")?",qe="["+Qe+"]?",Fe=qe+Ve+"(?:"+Ie+"(?:"+[Xe,Be,Ue].join("|")+")"+qe+Ve+")*",We="(?:"+[_e,Be,Ue].join("|")+")"+Fe,Ze="(?:"+[Xe+Pe+"?",Pe,Be,Ue,xe].join("|")+")",Ye=RegExp(Se,"g"),je=RegExp(Pe,"g"),Ge=RegExp(Re+"(?="+Re+")|"+Ze+Fe,"g"),He=RegExp([De+"?"+Ce+"+"+Me+"(?="+[ke,De,"$"].join("|")+")",Ne+"+"+Le+"(?="+[ke,De+ze,"$"].join("|")+")",De+"?"+ze+"+"+Me,De+"+"+Le,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,We].join("|"),"g"),Ke=RegExp("["+Ie+ge+ve+Qe+"]"),Je=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,et=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tt=-1,nt={};nt[_]=nt[C]=nt[E]=nt[R]=nt[X]=nt[B]=nt[U]=nt[D]=nt[I]=!0,nt[d]=nt[h]=nt[P]=nt[f]=nt[T]=nt[p]=nt[A]=nt[m]=nt[v]=nt[y]=nt[b]=nt[Q]=nt[$]=nt[S]=nt[k]=!1;var rt={};rt[d]=rt[h]=rt[P]=rt[T]=rt[f]=rt[p]=rt[_]=rt[C]=rt[E]=rt[R]=rt[X]=rt[v]=rt[y]=rt[b]=rt[Q]=rt[$]=rt[S]=rt[x]=rt[B]=rt[U]=rt[D]=rt[I]=!0,rt[A]=rt[m]=rt[k]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,at=parseInt,st="object"==typeof Av&&Av&&Av.Object===Object&&Av,lt="object"==typeof self&&self&&self.Object===Object&&self,ct=st||lt||Function("return this")(),ut=sw&&!sw.nodeType&&sw,Ot=ut&&aw&&!aw.nodeType&&aw,dt=Ot&&Ot.exports===ut,ht=dt&&st.process,ft=function(){try{var e=Ot&&Ot.require&&Ot.require("util").types;return e||ht&&ht.binding&&ht.binding("util")}catch(sy){}}(),pt=ft&&ft.isArrayBuffer,At=ft&&ft.isDate,mt=ft&&ft.isMap,gt=ft&&ft.isRegExp,vt=ft&&ft.isSet,yt=ft&&ft.isTypedArray;function bt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wt(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function Qt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function $t(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function xt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function kt(e,t){return!(null==e||!e.length)&&Dt(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Tt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function _t(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ct(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Et(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Rt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Xt=Mt("length");function Bt(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Ut(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Dt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,zt,n)}function It(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function zt(e){return e!=e}function Nt(e,t){var n=null==e?0:e.length;return n?qt(e,t)/n:c}function Mt(t){return function(n){return null==n?e:n[t]}}function Lt(t){return function(n){return null==t?e:t[n]}}function Vt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function qt(t,n){for(var r,i=-1,o=t.length;++i<o;){var a=n(t[i]);a!==e&&(r=r===e?a:r+a)}return r}function Ft(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Wt(e){return e?e.slice(0,cn(e)+1).replace(ee,""):e}function Zt(e){return function(t){return e(t)}}function Yt(e,t){return Tt(t,function(t){return e[t]})}function jt(e,t){return e.has(t)}function Gt(e,t){for(var n=-1,r=e.length;++n<r&&Dt(t,e[n],0)>-1;);return n}function Ht(e,t){for(var n=e.length;n--&&Dt(t,e[n],0)>-1;);return n}var Kt=Lt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Jt=Lt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function en(e){return"\\"+it[e]}function tn(e){return Ke.test(e)}function nn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function rn(e,t){return function(n){return e(t(n))}}function on(e,t){for(var n=-1,i=e.length,o=0,a=[];++n<i;){var s=e[n];s!==t&&s!==r||(e[n]=r,a[o++]=n)}return a}function an(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function sn(e){return tn(e)?function(e){for(var t=Ge.lastIndex=0;Ge.test(e);)++t;return t}(e):Xt(e)}function ln(e){return tn(e)?function(e){return e.match(Ge)||[]}(e):function(e){return e.split("")}(e)}function cn(e){for(var t=e.length;t--&&te.test(e.charAt(t)););return t}var un=Lt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),On=function te(ge){var ve=(ge=null==ge?ct:On.defaults(ct.Object(),ge,On.pick(ct,et))).Array,ye=ge.Date,be=ge.Error,we=ge.Function,Qe=ge.Math,$e=ge.Object,Se=ge.RegExp,xe=ge.String,ke=ge.TypeError,Pe=ve.prototype,Te=we.prototype,_e=$e.prototype,Ce=ge["__core-js_shared__"],Ee=Te.toString,Re=_e.hasOwnProperty,Xe=0,Be=function(){var e=/[^.]+$/.exec(Ce&&Ce.keys&&Ce.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ue=_e.toString,De=Ee.call($e),Ie=ct._,ze=Se("^"+Ee.call(Re).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=dt?ge.Buffer:e,Me=ge.Symbol,Le=ge.Uint8Array,Ve=Ne?Ne.allocUnsafe:e,qe=rn($e.getPrototypeOf,$e),Fe=$e.create,We=_e.propertyIsEnumerable,Ze=Pe.splice,Ge=Me?Me.isConcatSpreadable:e,Ke=Me?Me.iterator:e,it=Me?Me.toStringTag:e,st=function(){try{var e=lo($e,"defineProperty");return e({},"",{}),e}catch(sy){}}(),lt=ge.clearTimeout!==ct.clearTimeout&&ge.clearTimeout,ut=ye&&ye.now!==ct.Date.now&&ye.now,Ot=ge.setTimeout!==ct.setTimeout&&ge.setTimeout,ht=Qe.ceil,ft=Qe.floor,Xt=$e.getOwnPropertySymbols,Lt=Ne?Ne.isBuffer:e,dn=ge.isFinite,hn=Pe.join,fn=rn($e.keys,$e),pn=Qe.max,An=Qe.min,mn=ye.now,gn=ge.parseInt,vn=Qe.random,yn=Pe.reverse,bn=lo(ge,"DataView"),wn=lo(ge,"Map"),Qn=lo(ge,"Promise"),$n=lo(ge,"Set"),Sn=lo(ge,"WeakMap"),xn=lo($e,"create"),kn=Sn&&new Sn,Pn={},Tn=Bo(bn),_n=Bo(wn),Cn=Bo(Qn),En=Bo($n),Rn=Bo(Sn),Xn=Me?Me.prototype:e,Bn=Xn?Xn.valueOf:e,Un=Xn?Xn.toString:e;function Dn(e){if(Ka(e)&&!Ma(e)&&!(e instanceof Mn)){if(e instanceof Nn)return e;if(Re.call(e,"__wrapped__"))return Uo(e)}return new Nn(e)}var In=function(){function t(){}return function(n){if(!Ha(n))return{};if(Fe)return Fe(n);t.prototype=n;var r=new t;return t.prototype=e,r}}();function zn(){}function Nn(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=e}function Mn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=u,this.__views__=[]}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Wn(e){var t=this.__data__=new Vn(e);this.size=t.size}function Zn(e,t){var n=Ma(e),r=!n&&Na(e),i=!n&&!r&&Fa(e),o=!n&&!r&&!i&&as(e),a=n||r||i||o,s=a?Ft(e.length,xe):[],l=s.length;for(var c in e)!t&&!Re.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ao(c,l))||s.push(c);return s}function Yn(t){var n=t.length;return n?t[Fr(0,n-1)]:e}function jn(e,t){return Eo(xi(e),ir(t,0,e.length))}function Gn(e){return Eo(xi(e))}function Hn(t,n,r){(r!==e&&!Da(t[n],r)||r===e&&!(n in t))&&nr(t,n,r)}function Kn(t,n,r){var i=t[n];Re.call(t,n)&&Da(i,r)&&(r!==e||n in t)||nr(t,n,r)}function Jn(e,t){for(var n=e.length;n--;)if(Da(e[n][0],t))return n;return-1}function er(e,t,n,r){return cr(e,function(e,i,o){t(r,e,n(e),o)}),r}function tr(e,t){return e&&ki(t,Ps(t),e)}function nr(e,t,n){"__proto__"==t&&st?st(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function rr(t,n){for(var r=-1,i=n.length,o=ve(i),a=null==t;++r<i;)o[r]=a?e:Qs(t,n[r]);return o}function ir(t,n,r){return t==t&&(r!==e&&(t=t<=r?t:r),n!==e&&(t=t>=n?t:n)),t}function or(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),s!==e)return s;if(!Ha(t))return t;var O=Ma(t);if(O){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Re.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return xi(t,s)}else{var h=Oo(t),A=h==m||h==g;if(Fa(t))return yi(t,l);if(h==b||h==d||A&&!o){if(s=c||A?{}:fo(t),!l)return c?function(e,t){return ki(e,uo(e),t)}(t,function(e,t){return e&&ki(t,Ts(t),e)}(s,t)):function(e,t){return ki(e,co(e),t)}(t,tr(s,t))}else{if(!rt[h])return o?t:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case P:return bi(e);case f:case p:return new i(+e);case T:return function(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case _:case C:case E:case R:case X:case B:case U:case D:case I:return wi(e,n);case v:return new i;case y:case S:return new i(e);case Q:return function(e){var t=new e.constructor(e.source,ce.exec(e));return t.lastIndex=e.lastIndex,t}(e);case $:return new i;case x:return r=e,Bn?$e(Bn.call(r)):{}}}(t,h,l)}}a||(a=new Wn);var w=a.get(t);if(w)return w;a.set(t,s),rs(t)?t.forEach(function(e){s.add(or(e,n,r,e,t,a))}):Ja(t)&&t.forEach(function(e,i){s.set(i,or(e,n,r,i,t,a))});var k=O?e:(u?c?to:eo:c?Ts:Ps)(t);return Qt(k||t,function(e,i){k&&(e=t[i=e]),Kn(s,i,or(e,n,r,i,t,a))}),s}function ar(t,n,r){var i=r.length;if(null==t)return!i;for(t=$e(t);i--;){var o=r[i],a=n[o],s=t[o];if(s===e&&!(o in t)||!a(s))return!1}return!0}function sr(n,r,i){if("function"!=typeof n)throw new ke(t);return Po(function(){n.apply(e,i)},r)}function lr(e,t,n,r){var i=-1,o=kt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Tt(t,Zt(n))),r?(o=Pt,a=!1):t.length>=200&&(o=jt,a=!1,t=new Fn(t));e:for(;++i<s;){var u=e[i],O=null==n?u:n(u);if(u=r||0!==u?u:0,a&&O==O){for(var d=c;d--;)if(t[d]===O)continue e;l.push(u)}else o(t,O,r)||l.push(u)}return l}Dn.templateSettings={escape:W,evaluate:Z,interpolate:Y,variable:"",imports:{_:Dn}},Dn.prototype=zn.prototype,Dn.prototype.constructor=Dn,Nn.prototype=In(zn.prototype),Nn.prototype.constructor=Nn,Mn.prototype=In(zn.prototype),Mn.prototype.constructor=Mn,Ln.prototype.clear=function(){this.__data__=xn?xn(null):{},this.size=0},Ln.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ln.prototype.get=function(t){var r=this.__data__;if(xn){var i=r[t];return i===n?e:i}return Re.call(r,t)?r[t]:e},Ln.prototype.has=function(t){var n=this.__data__;return xn?n[t]!==e:Re.call(n,t)},Ln.prototype.set=function(t,r){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=xn&&r===e?n:r,this},Vn.prototype.clear=function(){this.__data__=[],this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=Jn(t,e);return!(n<0||(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,0))},Vn.prototype.get=function(t){var n=this.__data__,r=Jn(n,t);return r<0?e:n[r][1]},Vn.prototype.has=function(e){return Jn(this.__data__,e)>-1},Vn.prototype.set=function(e,t){var n=this.__data__,r=Jn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Ln,map:new(wn||Vn),string:new Ln}},qn.prototype.delete=function(e){var t=ao(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return ao(this,e).get(e)},qn.prototype.has=function(e){return ao(this,e).has(e)},qn.prototype.set=function(e,t){var n=ao(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Fn.prototype.add=Fn.prototype.push=function(e){return this.__data__.set(e,n),this},Fn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Vn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Vn){var r=n.__data__;if(!wn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var cr=_i(mr),ur=_i(gr,!0);function Or(e,t){var n=!0;return cr(e,function(e,r,i){return n=!!t(e,r,i)}),n}function dr(t,n,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=n(a);if(null!=s&&(l===e?s==s&&!os(s):r(s,l)))var l=s,c=a}return c}function hr(e,t){var n=[];return cr(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function fr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=po),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?fr(s,t-1,n,r,i):_t(i,s):r||(i[i.length]=s)}return i}var pr=Ci(),Ar=Ci(!0);function mr(e,t){return e&&pr(e,t,Ps)}function gr(e,t){return e&&Ar(e,t,Ps)}function vr(e,t){return xt(t,function(t){return Ya(e[t])})}function yr(t,n){for(var r=0,i=(n=Ai(n,t)).length;null!=t&&r<i;)t=t[Xo(n[r++])];return r&&r==i?t:e}function br(e,t,n){var r=t(e);return Ma(e)?r:_t(r,n(e))}function wr(t){return null==t?t===e?"[object Undefined]":"[object Null]":it&&it in $e(t)?function(t){var n=Re.call(t,it),r=t[it];try{t[it]=e;var i=!0}catch(sy){}var o=Ue.call(t);return i&&(n?t[it]=r:delete t[it]),o}(t):function(e){return Ue.call(e)}(t)}function Qr(e,t){return e>t}function $r(e,t){return null!=e&&Re.call(e,t)}function Sr(e,t){return null!=e&&t in $e(e)}function xr(t,n,r){for(var i=r?Pt:kt,o=t[0].length,a=t.length,s=a,l=ve(a),c=1/0,u=[];s--;){var O=t[s];s&&n&&(O=Tt(O,Zt(n))),c=An(O.length,c),l[s]=!r&&(n||o>=120&&O.length>=120)?new Fn(s&&O):e}O=t[0];var d=-1,h=l[0];e:for(;++d<o&&u.length<c;){var f=O[d],p=n?n(f):f;if(f=r||0!==f?f:0,!(h?jt(h,p):i(u,p,r))){for(s=a;--s;){var A=l[s];if(!(A?jt(A,p):i(t[s],p,r)))continue e}h&&h.push(p),u.push(f)}}return u}function kr(t,n,r){var i=null==(t=So(t,n=Ai(n,t)))?t:t[Xo(Zo(n))];return null==i?e:bt(i,t,r)}function Pr(e){return Ka(e)&&wr(e)==d}function Tr(t,n,r,i,o){return t===n||(null==t||null==n||!Ka(t)&&!Ka(n)?t!=t&&n!=n:function(t,n,r,i,o,a){var s=Ma(t),l=Ma(n),c=s?h:Oo(t),u=l?h:Oo(n),O=(c=c==d?b:c)==b,m=(u=u==d?b:u)==b,g=c==u;if(g&&Fa(t)){if(!Fa(n))return!1;s=!0,O=!1}if(g&&!O)return a||(a=new Wn),s||as(t)?Ki(t,n,r,i,o,a):function(e,t,n,r,i,o,a){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!o(new Le(e),new Le(t)));case f:case p:case y:return Da(+e,+t);case A:return e.name==t.name&&e.message==t.message;case Q:case S:return e==t+"";case v:var s=nn;case $:var l=1&r;if(s||(s=an),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Ki(s(e),s(t),r,i,o,a);return a.delete(e),u;case x:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(t,n,c,r,i,o,a);if(!(1&r)){var w=O&&Re.call(t,"__wrapped__"),k=m&&Re.call(n,"__wrapped__");if(w||k){var _=w?t.value():t,C=k?n.value():n;return a||(a=new Wn),o(_,C,r,i,a)}}return!!g&&(a||(a=new Wn),function(t,n,r,i,o,a){var s=1&r,l=eo(t),c=l.length,u=eo(n),O=u.length;if(c!=O&&!s)return!1;for(var d=c;d--;){var h=l[d];if(!(s?h in n:Re.call(n,h)))return!1}var f=a.get(t),p=a.get(n);if(f&&p)return f==n&&p==t;var A=!0;a.set(t,n),a.set(n,t);for(var m=s;++d<c;){var g=t[h=l[d]],v=n[h];if(i)var y=s?i(v,g,h,n,t,a):i(g,v,h,t,n,a);if(!(y===e?g===v||o(g,v,r,i,a):y)){A=!1;break}m||(m="constructor"==h)}if(A&&!m){var b=t.constructor,w=n.constructor;b==w||!("constructor"in t)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(A=!1)}return a.delete(t),a.delete(n),A}(t,n,r,i,o,a))}(t,n,r,i,Tr,o))}function _r(t,n,r,i){var o=r.length,a=o,s=!i;if(null==t)return!a;for(t=$e(t);o--;){var l=r[o];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<a;){var c=(l=r[o])[0],u=t[c],O=l[1];if(s&&l[2]){if(u===e&&!(c in t))return!1}else{var d=new Wn;if(i)var h=i(u,O,c,t,n,d);if(!(h===e?Tr(O,u,3,i,d):h))return!1}}return!0}function Cr(e){return!(!Ha(e)||function(e){return!!Be&&Be in e}(e))&&(Ya(e)?ze:de).test(Bo(e))}function Er(e){return"function"==typeof e?e:null==e?el:"object"==typeof e?Ma(e)?Ir(e[0],e[1]):Dr(e):cl(e)}function Rr(e){if(!bo(e))return fn(e);var t=[];for(var n in $e(e))Re.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Xr(e){if(!Ha(e))return function(e){var t=[];if(null!=e)for(var n in $e(e))t.push(n);return t}(e);var t=bo(e),n=[];for(var r in e)("constructor"!=r||!t&&Re.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Ur(e,t){var n=-1,r=Va(e)?ve(e.length):[];return cr(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function Dr(e){var t=so(e);return 1==t.length&&t[0][2]?Qo(t[0][0],t[0][1]):function(n){return n===e||_r(n,e,t)}}function Ir(t,n){return go(t)&&wo(n)?Qo(Xo(t),n):function(r){var i=Qs(r,t);return i===e&&i===n?$s(r,t):Tr(n,i,3)}}function zr(t,n,r,i,o){t!==n&&pr(n,function(a,s){if(o||(o=new Wn),Ha(a))!function(t,n,r,i,o,a,s){var l=xo(t,r),c=xo(n,r),u=s.get(c);if(u)Hn(t,r,u);else{var O=a?a(l,c,r+"",t,n,s):e,d=O===e;if(d){var h=Ma(c),f=!h&&Fa(c),p=!h&&!f&&as(c);O=c,h||f||p?Ma(l)?O=l:qa(l)?O=xi(l):f?(d=!1,O=yi(c,!0)):p?(d=!1,O=wi(c,!0)):O=[]:ts(c)||Na(c)?(O=l,Na(l)?O=fs(l):Ha(l)&&!Ya(l)||(O=fo(c))):d=!1}d&&(s.set(c,O),o(O,c,i,a,s),s.delete(c)),Hn(t,r,O)}}(t,n,s,r,zr,i,o);else{var l=i?i(xo(t,s),a,s+"",t,n,o):e;l===e&&(l=a),Hn(t,s,l)}},Ts)}function Nr(t,n){var r=t.length;if(r)return Ao(n+=n<0?r:0,r)?t[n]:e}function Mr(e,t,n){t=t.length?Tt(t,function(e){return Ma(e)?function(t){return yr(t,1===e.length?e[0]:e)}:e}):[el];var r=-1;return t=Tt(t,Zt(oo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Ur(e,function(e,n,i){return{criteria:Tt(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Qi(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)})}function Lr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=yr(e,a);n(s,a)&&Gr(o,Ai(a,e),s)}return o}function Vr(e,t,n,r){var i=r?It:Dt,o=-1,a=t.length,s=e;for(e===t&&(t=xi(t)),n&&(s=Tt(e,Zt(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&Ze.call(s,l,1),Ze.call(e,l,1);return e}function qr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Ao(i)?Ze.call(e,i,1):li(e,i)}}return e}function Fr(e,t){return e+ft(vn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>l)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Zr(e,t){return To($o(e,t,el),e+"")}function Yr(e){return Yn(Ds(e))}function jr(e,t){var n=Ds(e);return Eo(n,ir(t,0,n.length))}function Gr(t,n,r,i){if(!Ha(t))return t;for(var o=-1,a=(n=Ai(n,t)).length,s=a-1,l=t;null!=l&&++o<a;){var c=Xo(n[o]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=s){var O=l[c];(u=i?i(O,c,l):e)===e&&(u=Ha(O)?O:Ao(n[o+1])?[]:{})}Kn(l,c,u),l=l[c]}return t}var Hr=kn?function(e,t){return kn.set(e,t),e}:el,Kr=st?function(e,t){return st(e,"toString",{configurable:!0,enumerable:!1,value:Hs(t),writable:!0})}:el;function Jr(e){return Eo(Ds(e))}function ei(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=ve(i);++r<i;)o[r]=e[r+t];return o}function ti(e,t){var n;return cr(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function ni(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!os(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return ri(e,t,el,n)}function ri(t,n,r,i){var o=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(n=r(n))!=n,l=null===n,c=os(n),u=n===e;o<a;){var O=ft((o+a)/2),d=r(t[O]),h=d!==e,f=null===d,p=d==d,A=os(d);if(s)var m=i||p;else m=u?p&&(i||h):l?p&&h&&(i||!f):c?p&&h&&!f&&(i||!A):!f&&!A&&(i?d<=n:d<n);m?o=O+1:a=O}return An(a,4294967294)}function ii(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Da(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function oi(e){return"number"==typeof e?e:os(e)?c:+e}function ai(e){if("string"==typeof e)return e;if(Ma(e))return Tt(e,ai)+"";if(os(e))return Un?Un.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function si(e,t,n){var r=-1,i=kt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Pt;else if(o>=200){var c=t?null:Wi(e);if(c)return an(c);a=!1,i=jt,l=new Fn}else l=t?[]:s;e:for(;++r<o;){var u=e[r],O=t?t(u):u;if(u=n||0!==u?u:0,a&&O==O){for(var d=l.length;d--;)if(l[d]===O)continue e;t&&l.push(O),s.push(u)}else i(l,O,n)||(l!==s&&l.push(O),s.push(u))}return s}function li(e,t){var n=-1,r=(t=Ai(t,e)).length;if(!r)return!0;for(;++n<r;){var i=Xo(t[n]);if("__proto__"===i&&!Re.call(e,"__proto__"))return!1;if(("constructor"===i||"prototype"===i)&&n<r-1)return!1}var o=So(e,t);return null==o||delete o[Xo(Zo(t))]}function ci(e,t,n,r){return Gr(e,t,n(yr(e,t)),r)}function ui(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ei(e,r?0:o,r?o+1:i):ei(e,r?o+1:0,r?i:o)}function Oi(e,t){var n=e;return n instanceof Mn&&(n=n.value()),Ct(t,function(e,t){return t.func.apply(t.thisArg,_t([e],t.args))},n)}function di(e,t,n){var r=e.length;if(r<2)return r?si(e[0]):[];for(var i=-1,o=ve(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=lr(o[i]||a,e[s],t,n));return si(fr(o,1),t,n)}function hi(t,n,r){for(var i=-1,o=t.length,a=n.length,s={};++i<o;){var l=i<a?n[i]:e;r(s,t[i],l)}return s}function fi(e){return qa(e)?e:[]}function pi(e){return"function"==typeof e?e:el}function Ai(e,t){return Ma(e)?e:go(e,t)?[e]:Ro(ps(e))}var mi=Zr;function gi(t,n,r){var i=t.length;return r=r===e?i:r,!n&&r>=i?t:ei(t,n,r)}var vi=lt||function(e){return ct.clearTimeout(e)};function yi(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function bi(e){var t=new e.constructor(e.byteLength);return new Le(t).set(new Le(e)),t}function wi(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Qi(t,n){if(t!==n){var r=t!==e,i=null===t,o=t==t,a=os(t),s=n!==e,l=null===n,c=n==n,u=os(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}function $i(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,c=pn(o-a,0),u=ve(l+c),O=!r;++s<l;)u[s]=t[s];for(;++i<a;)(O||i<o)&&(u[n[i]]=e[i]);for(;c--;)u[s++]=e[i++];return u}function Si(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,c=t.length,u=pn(o-s,0),O=ve(u+c),d=!r;++i<u;)O[i]=e[i];for(var h=i;++l<c;)O[h+l]=t[l];for(;++a<s;)(d||i<o)&&(O[h+n[a]]=e[i++]);return O}function xi(e,t){var n=-1,r=e.length;for(t||(t=ve(r));++n<r;)t[n]=e[n];return t}function ki(t,n,r,i){var o=!r;r||(r={});for(var a=-1,s=n.length;++a<s;){var l=n[a],c=i?i(r[l],t[l],l,r,t):e;c===e&&(c=t[l]),o?nr(r,l,c):Kn(r,l,c)}return r}function Pi(e,t){return function(n,r){var i=Ma(n)?wt:er,o=t?t():{};return i(n,e,oo(r,2),o)}}function Ti(t){return Zr(function(n,r){var i=-1,o=r.length,a=o>1?r[o-1]:e,s=o>2?r[2]:e;for(a=t.length>3&&"function"==typeof a?(o--,a):e,s&&mo(r[0],r[1],s)&&(a=o<3?e:a,o=1),n=$e(n);++i<o;){var l=r[i];l&&t(n,l,i,a)}return n})}function _i(e,t){return function(n,r){if(null==n)return n;if(!Va(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=$e(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ci(e){return function(t,n,r){for(var i=-1,o=$e(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function Ei(t){return function(n){var r=tn(n=ps(n))?ln(n):e,i=r?r[0]:n.charAt(0),o=r?gi(r,1).join(""):n.slice(1);return i[t]()+o}}function Ri(e){return function(t){return Ct(Ys(Ns(t).replace(Ye,"")),e,"")}}function Xi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=In(e.prototype),r=e.apply(n,t);return Ha(r)?r:n}}function Bi(t){return function(n,r,i){var o=$e(n);if(!Va(n)){var a=oo(r,3);n=Ps(n),r=function(e){return a(o[e],e,o)}}var s=t(n,r,i);return s>-1?o[a?n[s]:s]:e}}function Ui(n){return Ji(function(r){var i=r.length,o=i,a=Nn.prototype.thru;for(n&&r.reverse();o--;){var s=r[o];if("function"!=typeof s)throw new ke(t);if(a&&!l&&"wrapper"==ro(s))var l=new Nn([],!0)}for(o=l?o:i;++o<i;){var c=ro(s=r[o]),u="wrapper"==c?no(s):e;l=u&&vo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ro(u[0])].apply(l,u[3]):1==s.length&&vo(s)?l[c]():l.thru(s)}return function(){var e=arguments,t=e[0];if(l&&1==e.length&&Ma(t))return l.plant(t).value();for(var n=0,o=i?r[n].apply(this,e):t;++n<i;)o=r[n].call(this,o);return o}})}function Di(t,n,r,i,a,s,l,c,u,O){var d=n&o,h=1&n,f=2&n,p=24&n,A=512&n,m=f?e:Xi(t);return function o(){for(var g=arguments.length,v=ve(g),y=g;y--;)v[y]=arguments[y];if(p)var b=io(o),w=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(v,b);if(i&&(v=$i(v,i,a,p)),s&&(v=Si(v,s,l,p)),g-=w,p&&g<O){var Q=on(v,b);return qi(t,n,Di,o.placeholder,r,v,Q,c,u,O-g)}var $=h?r:this,S=f?$[t]:t;return g=v.length,c?v=function(t,n){for(var r=t.length,i=An(n.length,r),o=xi(t);i--;){var a=n[i];t[i]=Ao(a,r)?o[a]:e}return t}(v,c):A&&g>1&&v.reverse(),d&&u<g&&(v.length=u),this&&this!==ct&&this instanceof o&&(S=m||Xi(S)),S.apply($,v)}}function Ii(e,t){return function(n,r){return function(e,t,n,r){return mr(e,function(e,i,o){t(r,n(e),i,o)}),r}(n,e,t(r),{})}}function zi(t,n){return function(r,i){var o;if(r===e&&i===e)return n;if(r!==e&&(o=r),i!==e){if(o===e)return i;"string"==typeof r||"string"==typeof i?(r=ai(r),i=ai(i)):(r=oi(r),i=oi(i)),o=t(r,i)}return o}}function Ni(e){return Ji(function(t){return t=Tt(t,Zt(oo())),Zr(function(n){var r=this;return e(t,function(e){return bt(e,r,n)})})})}function Mi(t,n){var r=(n=n===e?" ":ai(n)).length;if(r<2)return r?Wr(n,t):n;var i=Wr(n,ht(t/sn(n)));return tn(n)?gi(ln(i),0,t).join(""):i.slice(0,t)}function Li(t){return function(n,r,i){return i&&"number"!=typeof i&&mo(n,r,i)&&(r=i=e),n=us(n),r===e?(r=n,n=0):r=us(r),function(e,t,n,r){for(var i=-1,o=pn(ht((t-e)/(n||1)),0),a=ve(o);o--;)a[r?o:++i]=e,e+=n;return a}(n,r,i=i===e?n<r?1:-1:us(i),t)}}function Vi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=hs(t),n=hs(n)),e(t,n)}}function qi(t,n,r,o,a,s,l,c,u,O){var d=8&n;n|=d?i:64,4&(n&=~(d?64:i))||(n&=-4);var h=[t,n,a,d?s:e,d?l:e,d?e:s,d?e:l,c,u,O],f=r.apply(e,h);return vo(t)&&ko(f,h),f.placeholder=o,_o(f,t,n)}function Fi(e){var t=Qe[e];return function(e,n){if(e=hs(e),(n=null==n?0:An(Os(n),292))&&dn(e)){var r=(ps(e)+"e").split("e");return+((r=(ps(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Wi=$n&&1/an(new $n([,-0]))[1]==s?function(e){return new $n(e)}:ol;function Zi(e){return function(t){var n=Oo(t);return n==v?nn(t):n==$?function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}(t):function(e,t){return Tt(t,function(t){return[t,e[t]]})}(t,e(t))}}function Yi(n,s,l,c,u,O,d,h){var f=2&s;if(!f&&"function"!=typeof n)throw new ke(t);var p=c?c.length:0;if(p||(s&=-97,c=u=e),d=d===e?d:pn(Os(d),0),h=h===e?h:Os(h),p-=u?u.length:0,64&s){var A=c,m=u;c=u=e}var g=f?e:no(n),v=[n,s,l,c,u,A,m,O,d,h];if(g&&function(e,t){var n=e[1],i=t[1],s=n|i,l=s<131,c=i==o&&8==n||i==o&&n==a&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!l&&!c)return e;1&i&&(e[2]=t[2],s|=1&n?0:4);var u=t[3];if(u){var O=e[3];e[3]=O?$i(O,u,t[4]):u,e[4]=O?on(e[3],r):t[4]}(u=t[5])&&(O=e[5],e[5]=O?Si(O,u,t[6]):u,e[6]=O?on(e[5],r):t[6]),(u=t[7])&&(e[7]=u),i&o&&(e[8]=null==e[8]?t[8]:An(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=s}(v,g),n=v[0],s=v[1],l=v[2],c=v[3],u=v[4],!(h=v[9]=v[9]===e?f?0:n.length:pn(v[9]-p,0))&&24&s&&(s&=-25),s&&1!=s)y=8==s||16==s?function(t,n,r){var i=Xi(t);return function o(){for(var a=arguments.length,s=ve(a),l=a,c=io(o);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:on(s,c);return(a-=u.length)<r?qi(t,n,Di,o.placeholder,e,s,u,e,e,r-a):bt(this&&this!==ct&&this instanceof o?i:t,this,s)}}(n,s,h):s!=i&&33!=s||u.length?Di.apply(e,v):function(e,t,n,r){var i=1&t,o=Xi(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=ve(c+s),O=this&&this!==ct&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return bt(O,i?n:this,u)}}(n,s,l,c);else var y=function(e,t,n){var r=1&t,i=Xi(e);return function t(){return(this&&this!==ct&&this instanceof t?i:e).apply(r?n:this,arguments)}}(n,s,l);return _o((g?Hr:ko)(y,v),n,s)}function ji(t,n,r,i){return t===e||Da(t,_e[r])&&!Re.call(i,r)?n:t}function Gi(t,n,r,i,o,a){return Ha(t)&&Ha(n)&&(a.set(n,t),zr(t,n,e,Gi,a),a.delete(n)),t}function Hi(t){return ts(t)?e:t}function Ki(t,n,r,i,o,a){var s=1&r,l=t.length,c=n.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(t),O=a.get(n);if(u&&O)return u==n&&O==t;var d=-1,h=!0,f=2&r?new Fn:e;for(a.set(t,n),a.set(n,t);++d<l;){var p=t[d],A=n[d];if(i)var m=s?i(A,p,d,n,t,a):i(p,A,d,t,n,a);if(m!==e){if(m)continue;h=!1;break}if(f){if(!Rt(n,function(e,t){if(!jt(f,t)&&(p===e||o(p,e,r,i,a)))return f.push(t)})){h=!1;break}}else if(p!==A&&!o(p,A,r,i,a)){h=!1;break}}return a.delete(t),a.delete(n),h}function Ji(t){return To($o(t,e,Lo),t+"")}function eo(e){return br(e,Ps,co)}function to(e){return br(e,Ts,uo)}var no=kn?function(e){return kn.get(e)}:ol;function ro(e){for(var t=e.name+"",n=Pn[t],r=Re.call(Pn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function io(e){return(Re.call(Dn,"placeholder")?Dn:e).placeholder}function oo(){var e=Dn.iteratee||tl;return e=e===tl?Er:e,arguments.length?e(arguments[0],arguments[1]):e}function ao(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function so(e){for(var t=Ps(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,wo(i)]}return t}function lo(t,n){var r=function(t,n){return null==t?e:t[n]}(t,n);return Cr(r)?r:e}var co=Xt?function(e){return null==e?[]:(e=$e(e),xt(Xt(e),function(t){return We.call(e,t)}))}:dl,uo=Xt?function(e){for(var t=[];e;)_t(t,co(e)),e=qe(e);return t}:dl,Oo=wr;function ho(e,t,n){for(var r=-1,i=(t=Ai(t,e)).length,o=!1;++r<i;){var a=Xo(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ga(i)&&Ao(a,i)&&(Ma(e)||Na(e))}function fo(e){return"function"!=typeof e.constructor||bo(e)?{}:In(qe(e))}function po(e){return Ma(e)||Na(e)||!!(Ge&&e&&e[Ge])}function Ao(e,t){var n=typeof e;return!!(t=null==t?l:t)&&("number"==n||"symbol"!=n&&fe.test(e))&&e>-1&&e%1==0&&e<t}function mo(e,t,n){if(!Ha(n))return!1;var r=typeof t;return!!("number"==r?Va(n)&&Ao(t,n.length):"string"==r&&t in n)&&Da(n[t],e)}function go(e,t){if(Ma(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!os(e))||G.test(e)||!j.test(e)||null!=t&&e in $e(t)}function vo(e){var t=ro(e),n=Dn[t];if("function"!=typeof n||!(t in Mn.prototype))return!1;if(e===n)return!0;var r=no(n);return!!r&&e===r[0]}(bn&&Oo(new bn(new ArrayBuffer(1)))!=T||wn&&Oo(new wn)!=v||Qn&&Oo(Qn.resolve())!=w||$n&&Oo(new $n)!=$||Sn&&Oo(new Sn)!=k)&&(Oo=function(t){var n=wr(t),r=n==b?t.constructor:e,i=r?Bo(r):"";if(i)switch(i){case Tn:return T;case _n:return v;case Cn:return w;case En:return $;case Rn:return k}return n});var yo=Ce?Ya:hl;function bo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function wo(e){return e==e&&!Ha(e)}function Qo(t,n){return function(r){return null!=r&&r[t]===n&&(n!==e||t in $e(r))}}function $o(t,n,r){return n=pn(n===e?t.length-1:n,0),function(){for(var e=arguments,i=-1,o=pn(e.length-n,0),a=ve(o);++i<o;)a[i]=e[n+i];i=-1;for(var s=ve(n+1);++i<n;)s[i]=e[i];return s[n]=r(a),bt(t,this,s)}}function So(e,t){return t.length<2?e:yr(e,ei(t,0,-1))}function xo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ko=Co(Hr),Po=Ot||function(e,t){return ct.setTimeout(e,t)},To=Co(Kr);function _o(e,t,n){var r=t+"";return To(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ne,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Qt(O,function(n){var r="_."+n[0];t&n[1]&&!kt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(re);return t?t[1].split(ie):[]}(r),n)))}function Co(t){var n=0,r=0;return function(){var i=mn(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(e,arguments)}}function Eo(t,n){var r=-1,i=t.length,o=i-1;for(n=n===e?i:n;++r<n;){var a=Fr(r,o),s=t[a];t[a]=t[r],t[r]=s}return t.length=n,t}var Ro=function(e){var t=Ca(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(H,function(e,n,r,i){t.push(r?i.replace(se,"$1"):n||e)}),t});function Xo(e){if("string"==typeof e||os(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bo(e){if(null!=e){try{return Ee.call(e)}catch(sy){}try{return e+""}catch(sy){}}return""}function Uo(e){if(e instanceof Mn)return e.clone();var t=new Nn(e.__wrapped__,e.__chain__);return t.__actions__=xi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Do=Zr(function(e,t){return qa(e)?lr(e,fr(t,1,qa,!0)):[]}),Io=Zr(function(t,n){var r=Zo(n);return qa(r)&&(r=e),qa(t)?lr(t,fr(n,1,qa,!0),oo(r,2)):[]}),zo=Zr(function(t,n){var r=Zo(n);return qa(r)&&(r=e),qa(t)?lr(t,fr(n,1,qa,!0),e,r):[]});function No(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Os(n);return i<0&&(i=pn(r+i,0)),Ut(e,oo(t,3),i)}function Mo(t,n,r){var i=null==t?0:t.length;if(!i)return-1;var o=i-1;return r!==e&&(o=Os(r),o=r<0?pn(i+o,0):An(o,i-1)),Ut(t,oo(n,3),o,!0)}function Lo(e){return null!=e&&e.length?fr(e,1):[]}function Vo(t){return t&&t.length?t[0]:e}var qo=Zr(function(e){var t=Tt(e,fi);return t.length&&t[0]===e[0]?xr(t):[]}),Fo=Zr(function(t){var n=Zo(t),r=Tt(t,fi);return n===Zo(r)?n=e:r.pop(),r.length&&r[0]===t[0]?xr(r,oo(n,2)):[]}),Wo=Zr(function(t){var n=Zo(t),r=Tt(t,fi);return(n="function"==typeof n?n:e)&&r.pop(),r.length&&r[0]===t[0]?xr(r,e,n):[]});function Zo(t){var n=null==t?0:t.length;return n?t[n-1]:e}var Yo=Zr(jo);function jo(e,t){return e&&e.length&&t&&t.length?Vr(e,t):e}var Go=Ji(function(e,t){var n=null==e?0:e.length,r=rr(e,t);return qr(e,Tt(t,function(e){return Ao(e,n)?+e:e}).sort(Qi)),r});function Ho(e){return null==e?e:yn.call(e)}var Ko=Zr(function(e){return si(fr(e,1,qa,!0))}),Jo=Zr(function(t){var n=Zo(t);return qa(n)&&(n=e),si(fr(t,1,qa,!0),oo(n,2))}),ea=Zr(function(t){var n=Zo(t);return n="function"==typeof n?n:e,si(fr(t,1,qa,!0),e,n)});function ta(e){if(!e||!e.length)return[];var t=0;return e=xt(e,function(e){if(qa(e))return t=pn(e.length,t),!0}),Ft(t,function(t){return Tt(e,Mt(t))})}function na(t,n){if(!t||!t.length)return[];var r=ta(t);return null==n?r:Tt(r,function(t){return bt(n,e,t)})}var ra=Zr(function(e,t){return qa(e)?lr(e,t):[]}),ia=Zr(function(e){return di(xt(e,qa))}),oa=Zr(function(t){var n=Zo(t);return qa(n)&&(n=e),di(xt(t,qa),oo(n,2))}),aa=Zr(function(t){var n=Zo(t);return n="function"==typeof n?n:e,di(xt(t,qa),e,n)}),sa=Zr(ta),la=Zr(function(t){var n=t.length,r=n>1?t[n-1]:e;return r="function"==typeof r?(t.pop(),r):e,na(t,r)});function ca(e){var t=Dn(e);return t.__chain__=!0,t}function ua(e,t){return t(e)}var Oa=Ji(function(t){var n=t.length,r=n?t[0]:0,i=this.__wrapped__,o=function(e){return rr(e,t)};return!(n>1||this.__actions__.length)&&i instanceof Mn&&Ao(r)?((i=i.slice(r,+r+(n?1:0))).__actions__.push({func:ua,args:[o],thisArg:e}),new Nn(i,this.__chain__).thru(function(t){return n&&!t.length&&t.push(e),t})):this.thru(o)}),da=Pi(function(e,t,n){Re.call(e,n)?++e[n]:nr(e,n,1)}),ha=Bi(No),fa=Bi(Mo);function pa(e,t){return(Ma(e)?Qt:cr)(e,oo(t,3))}function Aa(e,t){return(Ma(e)?$t:ur)(e,oo(t,3))}var ma=Pi(function(e,t,n){Re.call(e,n)?e[n].push(t):nr(e,n,[t])}),ga=Zr(function(e,t,n){var r=-1,i="function"==typeof t,o=Va(e)?ve(e.length):[];return cr(e,function(e){o[++r]=i?bt(t,e,n):kr(e,t,n)}),o}),va=Pi(function(e,t,n){nr(e,n,t)});function ya(e,t){return(Ma(e)?Tt:Ur)(e,oo(t,3))}var ba=Pi(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),wa=Zr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&mo(e,t[0],t[1])?t=[]:n>2&&mo(t[0],t[1],t[2])&&(t=[t[0]]),Mr(e,fr(t,1),[])}),Qa=ut||function(){return ct.Date.now()};function $a(t,n,r){return n=r?e:n,n=t&&null==n?t.length:n,Yi(t,o,e,e,e,e,n)}function Sa(n,r){var i;if("function"!=typeof r)throw new ke(t);return n=Os(n),function(){return--n>0&&(i=r.apply(this,arguments)),n<=1&&(r=e),i}}var xa=Zr(function(e,t,n){var r=1;if(n.length){var o=on(n,io(xa));r|=i}return Yi(e,r,t,n,o)}),ka=Zr(function(e,t,n){var r=3;if(n.length){var o=on(n,io(ka));r|=i}return Yi(t,r,e,n,o)});function Pa(n,r,i){var o,a,s,l,c,u,O=0,d=!1,h=!1,f=!0;if("function"!=typeof n)throw new ke(t);function p(t){var r=o,i=a;return o=a=e,O=t,l=n.apply(i,r)}function A(t){var n=t-u;return u===e||n>=r||n<0||h&&t-O>=s}function m(){var e=Qa();if(A(e))return g(e);c=Po(m,function(e){var t=r-(e-u);return h?An(t,s-(e-O)):t}(e))}function g(t){return c=e,f&&o?p(t):(o=a=e,l)}function v(){var t=Qa(),n=A(t);if(o=arguments,a=this,u=t,n){if(c===e)return function(e){return O=e,c=Po(m,r),d?p(e):l}(u);if(h)return vi(c),c=Po(m,r),p(u)}return c===e&&(c=Po(m,r)),l}return r=hs(r)||0,Ha(i)&&(d=!!i.leading,s=(h="maxWait"in i)?pn(hs(i.maxWait)||0,r):s,f="trailing"in i?!!i.trailing:f),v.cancel=function(){c!==e&&vi(c),O=0,o=u=a=c=e},v.flush=function(){return c===e?l:g(Qa())},v}var Ta=Zr(function(e,t){return sr(e,1,t)}),_a=Zr(function(e,t,n){return sr(e,hs(t)||0,n)});function Ca(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new ke(t);var r=function(){var t=arguments,i=n?n.apply(this,t):t[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,t);return r.cache=o.set(i,a)||o,a};return r.cache=new(Ca.Cache||qn),r}function Ea(e){if("function"!=typeof e)throw new ke(t);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ca.Cache=qn;var Ra=mi(function(e,t){var n=(t=1==t.length&&Ma(t[0])?Tt(t[0],Zt(oo())):Tt(fr(t,1),Zt(oo()))).length;return Zr(function(r){for(var i=-1,o=An(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return bt(e,this,r)})}),Xa=Zr(function(t,n){var r=on(n,io(Xa));return Yi(t,i,e,n,r)}),Ba=Zr(function(t,n){var r=on(n,io(Ba));return Yi(t,64,e,n,r)}),Ua=Ji(function(t,n){return Yi(t,a,e,e,e,n)});function Da(e,t){return e===t||e!=e&&t!=t}var Ia=Vi(Qr),za=Vi(function(e,t){return e>=t}),Na=Pr(function(){return arguments}())?Pr:function(e){return Ka(e)&&Re.call(e,"callee")&&!We.call(e,"callee")},Ma=ve.isArray,La=pt?Zt(pt):function(e){return Ka(e)&&wr(e)==P};function Va(e){return null!=e&&Ga(e.length)&&!Ya(e)}function qa(e){return Ka(e)&&Va(e)}var Fa=Lt||hl,Wa=At?Zt(At):function(e){return Ka(e)&&wr(e)==p};function Za(e){if(!Ka(e))return!1;var t=wr(e);return t==A||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ts(e)}function Ya(e){if(!Ha(e))return!1;var t=wr(e);return t==m||t==g||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ja(e){return"number"==typeof e&&e==Os(e)}function Ga(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function Ha(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ka(e){return null!=e&&"object"==typeof e}var Ja=mt?Zt(mt):function(e){return Ka(e)&&Oo(e)==v};function es(e){return"number"==typeof e||Ka(e)&&wr(e)==y}function ts(e){if(!Ka(e)||wr(e)!=b)return!1;var t=qe(e);if(null===t)return!0;var n=Re.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ee.call(n)==De}var ns=gt?Zt(gt):function(e){return Ka(e)&&wr(e)==Q},rs=vt?Zt(vt):function(e){return Ka(e)&&Oo(e)==$};function is(e){return"string"==typeof e||!Ma(e)&&Ka(e)&&wr(e)==S}function os(e){return"symbol"==typeof e||Ka(e)&&wr(e)==x}var as=yt?Zt(yt):function(e){return Ka(e)&&Ga(e.length)&&!!nt[wr(e)]},ss=Vi(Br),ls=Vi(function(e,t){return e<=t});function cs(e){if(!e)return[];if(Va(e))return is(e)?ln(e):xi(e);if(Ke&&e[Ke])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ke]());var t=Oo(e);return(t==v?nn:t==$?an:Ds)(e)}function us(e){return e?(e=hs(e))===s||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function Os(e){var t=us(e),n=t%1;return t==t?n?t-n:t:0}function ds(e){return e?ir(Os(e),0,u):0}function hs(e){if("number"==typeof e)return e;if(os(e))return c;if(Ha(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ha(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Wt(e);var n=Oe.test(e);return n||he.test(e)?at(e.slice(2),n?2:8):ue.test(e)?c:+e}function fs(e){return ki(e,Ts(e))}function ps(e){return null==e?"":ai(e)}var As=Ti(function(e,t){if(bo(t)||Va(t))ki(t,Ps(t),e);else for(var n in t)Re.call(t,n)&&Kn(e,n,t[n])}),ms=Ti(function(e,t){ki(t,Ts(t),e)}),gs=Ti(function(e,t,n,r){ki(t,Ts(t),e,r)}),vs=Ti(function(e,t,n,r){ki(t,Ps(t),e,r)}),ys=Ji(rr),bs=Zr(function(t,n){t=$e(t);var r=-1,i=n.length,o=i>2?n[2]:e;for(o&&mo(n[0],n[1],o)&&(i=1);++r<i;)for(var a=n[r],s=Ts(a),l=-1,c=s.length;++l<c;){var u=s[l],O=t[u];(O===e||Da(O,_e[u])&&!Re.call(t,u))&&(t[u]=a[u])}return t}),ws=Zr(function(t){return t.push(e,Gi),bt(Cs,e,t)});function Qs(t,n,r){var i=null==t?e:yr(t,n);return i===e?r:i}function $s(e,t){return null!=e&&ho(e,t,Sr)}var Ss=Ii(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ue.call(t)),e[t]=n},Hs(el)),xs=Ii(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ue.call(t)),Re.call(e,t)?e[t].push(n):e[t]=[n]},oo),ks=Zr(kr);function Ps(e){return Va(e)?Zn(e):Rr(e)}function Ts(e){return Va(e)?Zn(e,!0):Xr(e)}var _s=Ti(function(e,t,n){zr(e,t,n)}),Cs=Ti(function(e,t,n,r){zr(e,t,n,r)}),Es=Ji(function(e,t){var n={};if(null==e)return n;var r=!1;t=Tt(t,function(t){return t=Ai(t,e),r||(r=t.length>1),t}),ki(e,to(e),n),r&&(n=or(n,7,Hi));for(var i=t.length;i--;)li(n,t[i]);return n}),Rs=Ji(function(e,t){return null==e?{}:function(e,t){return Lr(e,t,function(t,n){return $s(e,n)})}(e,t)});function Xs(e,t){if(null==e)return{};var n=Tt(to(e),function(e){return[e]});return t=oo(t),Lr(e,n,function(e,n){return t(e,n[0])})}var Bs=Zi(Ps),Us=Zi(Ts);function Ds(e){return null==e?[]:Yt(e,Ps(e))}var Is=Ri(function(e,t,n){return t=t.toLowerCase(),e+(n?zs(t):t)});function zs(e){return Zs(ps(e).toLowerCase())}function Ns(e){return(e=ps(e))&&e.replace(pe,Kt).replace(je,"")}var Ms=Ri(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Ls=Ri(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Vs=Ei("toLowerCase"),qs=Ri(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Fs=Ri(function(e,t,n){return e+(n?" ":"")+Zs(t)}),Ws=Ri(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Zs=Ei("toUpperCase");function Ys(t,n,r){return t=ps(t),(n=r?e:n)===e?function(e){return Je.test(e)}(t)?function(e){return e.match(He)||[]}(t):function(e){return e.match(oe)||[]}(t):t.match(n)||[]}var js=Zr(function(t,n){try{return bt(t,e,n)}catch(sy){return Za(sy)?sy:new be(sy)}}),Gs=Ji(function(e,t){return Qt(t,function(t){t=Xo(t),nr(e,t,xa(e[t],e))}),e});function Hs(e){return function(){return e}}var Ks=Ui(),Js=Ui(!0);function el(e){return e}function tl(e){return Er("function"==typeof e?e:or(e,1))}var nl=Zr(function(e,t){return function(n){return kr(n,e,t)}}),rl=Zr(function(e,t){return function(n){return kr(e,n,t)}});function il(e,t,n){var r=Ps(t),i=vr(t,r);null!=n||Ha(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=vr(t,Ps(t)));var o=!(Ha(n)&&"chain"in n&&!n.chain),a=Ya(e);return Qt(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=xi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,_t([this.value()],arguments))})}),e}function ol(){}var al=Ni(Tt),sl=Ni(St),ll=Ni(Rt);function cl(e){return go(e)?Mt(Xo(e)):function(e){return function(t){return yr(t,e)}}(e)}var ul=Li(),Ol=Li(!0);function dl(){return[]}function hl(){return!1}var fl,pl=zi(function(e,t){return e+t},0),Al=Fi("ceil"),ml=zi(function(e,t){return e/t},1),gl=Fi("floor"),vl=zi(function(e,t){return e*t},1),yl=Fi("round"),bl=zi(function(e,t){return e-t},0);return Dn.after=function(e,n){if("function"!=typeof n)throw new ke(t);return e=Os(e),function(){if(--e<1)return n.apply(this,arguments)}},Dn.ary=$a,Dn.assign=As,Dn.assignIn=ms,Dn.assignInWith=gs,Dn.assignWith=vs,Dn.at=ys,Dn.before=Sa,Dn.bind=xa,Dn.bindAll=Gs,Dn.bindKey=ka,Dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ma(e)?e:[e]},Dn.chain=ca,Dn.chunk=function(t,n,r){n=(r?mo(t,n,r):n===e)?1:pn(Os(n),0);var i=null==t?0:t.length;if(!i||n<1)return[];for(var o=0,a=0,s=ve(ht(i/n));o<i;)s[a++]=ei(t,o,o+=n);return s},Dn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},Dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ve(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return _t(Ma(n)?xi(n):[n],fr(t,1))},Dn.cond=function(e){var n=null==e?0:e.length,r=oo();return e=n?Tt(e,function(e){if("function"!=typeof e[1])throw new ke(t);return[r(e[0]),e[1]]}):[],Zr(function(t){for(var r=-1;++r<n;){var i=e[r];if(bt(i[0],this,t))return bt(i[1],this,t)}})},Dn.conforms=function(e){return function(e){var t=Ps(e);return function(n){return ar(n,e,t)}}(or(e,1))},Dn.constant=Hs,Dn.countBy=da,Dn.create=function(e,t){var n=In(e);return null==t?n:tr(n,t)},Dn.curry=function t(n,r,i){var o=Yi(n,8,e,e,e,e,e,r=i?e:r);return o.placeholder=t.placeholder,o},Dn.curryRight=function t(n,r,i){var o=Yi(n,16,e,e,e,e,e,r=i?e:r);return o.placeholder=t.placeholder,o},Dn.debounce=Pa,Dn.defaults=bs,Dn.defaultsDeep=ws,Dn.defer=Ta,Dn.delay=_a,Dn.difference=Do,Dn.differenceBy=Io,Dn.differenceWith=zo,Dn.drop=function(t,n,r){var i=null==t?0:t.length;return i?ei(t,(n=r||n===e?1:Os(n))<0?0:n,i):[]},Dn.dropRight=function(t,n,r){var i=null==t?0:t.length;return i?ei(t,0,(n=i-(n=r||n===e?1:Os(n)))<0?0:n):[]},Dn.dropRightWhile=function(e,t){return e&&e.length?ui(e,oo(t,3),!0,!0):[]},Dn.dropWhile=function(e,t){return e&&e.length?ui(e,oo(t,3),!0):[]},Dn.fill=function(t,n,r,i){var o=null==t?0:t.length;return o?(r&&"number"!=typeof r&&mo(t,n,r)&&(r=0,i=o),function(t,n,r,i){var o=t.length;for((r=Os(r))<0&&(r=-r>o?0:o+r),(i=i===e||i>o?o:Os(i))<0&&(i+=o),i=r>i?0:ds(i);r<i;)t[r++]=n;return t}(t,n,r,i)):[]},Dn.filter=function(e,t){return(Ma(e)?xt:hr)(e,oo(t,3))},Dn.flatMap=function(e,t){return fr(ya(e,t),1)},Dn.flatMapDeep=function(e,t){return fr(ya(e,t),s)},Dn.flatMapDepth=function(t,n,r){return r=r===e?1:Os(r),fr(ya(t,n),r)},Dn.flatten=Lo,Dn.flattenDeep=function(e){return null!=e&&e.length?fr(e,s):[]},Dn.flattenDepth=function(t,n){return null!=t&&t.length?fr(t,n=n===e?1:Os(n)):[]},Dn.flip=function(e){return Yi(e,512)},Dn.flow=Ks,Dn.flowRight=Js,Dn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];nr(r,i[0],i[1])}return r},Dn.functions=function(e){return null==e?[]:vr(e,Ps(e))},Dn.functionsIn=function(e){return null==e?[]:vr(e,Ts(e))},Dn.groupBy=ma,Dn.initial=function(e){return null!=e&&e.length?ei(e,0,-1):[]},Dn.intersection=qo,Dn.intersectionBy=Fo,Dn.intersectionWith=Wo,Dn.invert=Ss,Dn.invertBy=xs,Dn.invokeMap=ga,Dn.iteratee=tl,Dn.keyBy=va,Dn.keys=Ps,Dn.keysIn=Ts,Dn.map=ya,Dn.mapKeys=function(e,t){var n={};return t=oo(t,3),mr(e,function(e,r,i){nr(n,t(e,r,i),e)}),n},Dn.mapValues=function(e,t){var n={};return t=oo(t,3),mr(e,function(e,r,i){nr(n,r,t(e,r,i))}),n},Dn.matches=function(e){return Dr(or(e,1))},Dn.matchesProperty=function(e,t){return Ir(e,or(t,1))},Dn.memoize=Ca,Dn.merge=_s,Dn.mergeWith=Cs,Dn.method=nl,Dn.methodOf=rl,Dn.mixin=il,Dn.negate=Ea,Dn.nthArg=function(e){return e=Os(e),Zr(function(t){return Nr(t,e)})},Dn.omit=Es,Dn.omitBy=function(e,t){return Xs(e,Ea(oo(t)))},Dn.once=function(e){return Sa(2,e)},Dn.orderBy=function(t,n,r,i){return null==t?[]:(Ma(n)||(n=null==n?[]:[n]),Ma(r=i?e:r)||(r=null==r?[]:[r]),Mr(t,n,r))},Dn.over=al,Dn.overArgs=Ra,Dn.overEvery=sl,Dn.overSome=ll,Dn.partial=Xa,Dn.partialRight=Ba,Dn.partition=ba,Dn.pick=Rs,Dn.pickBy=Xs,Dn.property=cl,Dn.propertyOf=function(t){return function(n){return null==t?e:yr(t,n)}},Dn.pull=Yo,Dn.pullAll=jo,Dn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Vr(e,t,oo(n,2)):e},Dn.pullAllWith=function(t,n,r){return t&&t.length&&n&&n.length?Vr(t,n,e,r):t},Dn.pullAt=Go,Dn.range=ul,Dn.rangeRight=Ol,Dn.rearg=Ua,Dn.reject=function(e,t){return(Ma(e)?xt:hr)(e,Ea(oo(t,3)))},Dn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=oo(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return qr(e,i),n},Dn.rest=function(n,r){if("function"!=typeof n)throw new ke(t);return Zr(n,r=r===e?r:Os(r))},Dn.reverse=Ho,Dn.sampleSize=function(t,n,r){return n=(r?mo(t,n,r):n===e)?1:Os(n),(Ma(t)?jn:jr)(t,n)},Dn.set=function(e,t,n){return null==e?e:Gr(e,t,n)},Dn.setWith=function(t,n,r,i){return i="function"==typeof i?i:e,null==t?t:Gr(t,n,r,i)},Dn.shuffle=function(e){return(Ma(e)?Gn:Jr)(e)},Dn.slice=function(t,n,r){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&mo(t,n,r)?(n=0,r=i):(n=null==n?0:Os(n),r=r===e?i:Os(r)),ei(t,n,r)):[]},Dn.sortBy=wa,Dn.sortedUniq=function(e){return e&&e.length?ii(e):[]},Dn.sortedUniqBy=function(e,t){return e&&e.length?ii(e,oo(t,2)):[]},Dn.split=function(t,n,r){return r&&"number"!=typeof r&&mo(t,n,r)&&(n=r=e),(r=r===e?u:r>>>0)?(t=ps(t))&&("string"==typeof n||null!=n&&!ns(n))&&!(n=ai(n))&&tn(t)?gi(ln(t),0,r):t.split(n,r):[]},Dn.spread=function(e,n){if("function"!=typeof e)throw new ke(t);return n=null==n?0:pn(Os(n),0),Zr(function(t){var r=t[n],i=gi(t,0,n);return r&&_t(i,r),bt(e,this,i)})},Dn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},Dn.take=function(t,n,r){return t&&t.length?ei(t,0,(n=r||n===e?1:Os(n))<0?0:n):[]},Dn.takeRight=function(t,n,r){var i=null==t?0:t.length;return i?ei(t,(n=i-(n=r||n===e?1:Os(n)))<0?0:n,i):[]},Dn.takeRightWhile=function(e,t){return e&&e.length?ui(e,oo(t,3),!1,!0):[]},Dn.takeWhile=function(e,t){return e&&e.length?ui(e,oo(t,3)):[]},Dn.tap=function(e,t){return t(e),e},Dn.throttle=function(e,n,r){var i=!0,o=!0;if("function"!=typeof e)throw new ke(t);return Ha(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),Pa(e,n,{leading:i,maxWait:n,trailing:o})},Dn.thru=ua,Dn.toArray=cs,Dn.toPairs=Bs,Dn.toPairsIn=Us,Dn.toPath=function(e){return Ma(e)?Tt(e,Xo):os(e)?[e]:xi(Ro(ps(e)))},Dn.toPlainObject=fs,Dn.transform=function(e,t,n){var r=Ma(e),i=r||Fa(e)||as(e);if(t=oo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ha(e)&&Ya(o)?In(qe(e)):{}}return(i?Qt:mr)(e,function(e,r,i){return t(n,e,r,i)}),n},Dn.unary=function(e){return $a(e,1)},Dn.union=Ko,Dn.unionBy=Jo,Dn.unionWith=ea,Dn.uniq=function(e){return e&&e.length?si(e):[]},Dn.uniqBy=function(e,t){return e&&e.length?si(e,oo(t,2)):[]},Dn.uniqWith=function(t,n){return n="function"==typeof n?n:e,t&&t.length?si(t,e,n):[]},Dn.unset=function(e,t){return null==e||li(e,t)},Dn.unzip=ta,Dn.unzipWith=na,Dn.update=function(e,t,n){return null==e?e:ci(e,t,pi(n))},Dn.updateWith=function(t,n,r,i){return i="function"==typeof i?i:e,null==t?t:ci(t,n,pi(r),i)},Dn.values=Ds,Dn.valuesIn=function(e){return null==e?[]:Yt(e,Ts(e))},Dn.without=ra,Dn.words=Ys,Dn.wrap=function(e,t){return Xa(pi(t),e)},Dn.xor=ia,Dn.xorBy=oa,Dn.xorWith=aa,Dn.zip=sa,Dn.zipObject=function(e,t){return hi(e||[],t||[],Kn)},Dn.zipObjectDeep=function(e,t){return hi(e||[],t||[],Gr)},Dn.zipWith=la,Dn.entries=Bs,Dn.entriesIn=Us,Dn.extend=ms,Dn.extendWith=gs,il(Dn,Dn),Dn.add=pl,Dn.attempt=js,Dn.camelCase=Is,Dn.capitalize=zs,Dn.ceil=Al,Dn.clamp=function(t,n,r){return r===e&&(r=n,n=e),r!==e&&(r=(r=hs(r))==r?r:0),n!==e&&(n=(n=hs(n))==n?n:0),ir(hs(t),n,r)},Dn.clone=function(e){return or(e,4)},Dn.cloneDeep=function(e){return or(e,5)},Dn.cloneDeepWith=function(t,n){return or(t,5,n="function"==typeof n?n:e)},Dn.cloneWith=function(t,n){return or(t,4,n="function"==typeof n?n:e)},Dn.conformsTo=function(e,t){return null==t||ar(e,t,Ps(t))},Dn.deburr=Ns,Dn.defaultTo=function(e,t){return null==e||e!=e?t:e},Dn.divide=ml,Dn.endsWith=function(t,n,r){t=ps(t),n=ai(n);var i=t.length,o=r=r===e?i:ir(Os(r),0,i);return(r-=n.length)>=0&&t.slice(r,o)==n},Dn.eq=Da,Dn.escape=function(e){return(e=ps(e))&&F.test(e)?e.replace(V,Jt):e},Dn.escapeRegExp=function(e){return(e=ps(e))&&J.test(e)?e.replace(K,"\\$&"):e},Dn.every=function(t,n,r){var i=Ma(t)?St:Or;return r&&mo(t,n,r)&&(n=e),i(t,oo(n,3))},Dn.find=ha,Dn.findIndex=No,Dn.findKey=function(e,t){return Bt(e,oo(t,3),mr)},Dn.findLast=fa,Dn.findLastIndex=Mo,Dn.findLastKey=function(e,t){return Bt(e,oo(t,3),gr)},Dn.floor=gl,Dn.forEach=pa,Dn.forEachRight=Aa,Dn.forIn=function(e,t){return null==e?e:pr(e,oo(t,3),Ts)},Dn.forInRight=function(e,t){return null==e?e:Ar(e,oo(t,3),Ts)},Dn.forOwn=function(e,t){return e&&mr(e,oo(t,3))},Dn.forOwnRight=function(e,t){return e&&gr(e,oo(t,3))},Dn.get=Qs,Dn.gt=Ia,Dn.gte=za,Dn.has=function(e,t){return null!=e&&ho(e,t,$r)},Dn.hasIn=$s,Dn.head=Vo,Dn.identity=el,Dn.includes=function(e,t,n,r){e=Va(e)?e:Ds(e),n=n&&!r?Os(n):0;var i=e.length;return n<0&&(n=pn(i+n,0)),is(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Dt(e,t,n)>-1},Dn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Os(n);return i<0&&(i=pn(r+i,0)),Dt(e,t,i)},Dn.inRange=function(t,n,r){return n=us(n),r===e?(r=n,n=0):r=us(r),function(e,t,n){return e>=An(t,n)&&e<pn(t,n)}(t=hs(t),n,r)},Dn.invoke=ks,Dn.isArguments=Na,Dn.isArray=Ma,Dn.isArrayBuffer=La,Dn.isArrayLike=Va,Dn.isArrayLikeObject=qa,Dn.isBoolean=function(e){return!0===e||!1===e||Ka(e)&&wr(e)==f},Dn.isBuffer=Fa,Dn.isDate=Wa,Dn.isElement=function(e){return Ka(e)&&1===e.nodeType&&!ts(e)},Dn.isEmpty=function(e){if(null==e)return!0;if(Va(e)&&(Ma(e)||"string"==typeof e||"function"==typeof e.splice||Fa(e)||as(e)||Na(e)))return!e.length;var t=Oo(e);if(t==v||t==$)return!e.size;if(bo(e))return!Rr(e).length;for(var n in e)if(Re.call(e,n))return!1;return!0},Dn.isEqual=function(e,t){return Tr(e,t)},Dn.isEqualWith=function(t,n,r){var i=(r="function"==typeof r?r:e)?r(t,n):e;return i===e?Tr(t,n,e,r):!!i},Dn.isError=Za,Dn.isFinite=function(e){return"number"==typeof e&&dn(e)},Dn.isFunction=Ya,Dn.isInteger=ja,Dn.isLength=Ga,Dn.isMap=Ja,Dn.isMatch=function(e,t){return e===t||_r(e,t,so(t))},Dn.isMatchWith=function(t,n,r){return r="function"==typeof r?r:e,_r(t,n,so(n),r)},Dn.isNaN=function(e){return es(e)&&e!=+e},Dn.isNative=function(e){if(yo(e))throw new be("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cr(e)},Dn.isNil=function(e){return null==e},Dn.isNull=function(e){return null===e},Dn.isNumber=es,Dn.isObject=Ha,Dn.isObjectLike=Ka,Dn.isPlainObject=ts,Dn.isRegExp=ns,Dn.isSafeInteger=function(e){return ja(e)&&e>=-9007199254740991&&e<=l},Dn.isSet=rs,Dn.isString=is,Dn.isSymbol=os,Dn.isTypedArray=as,Dn.isUndefined=function(t){return t===e},Dn.isWeakMap=function(e){return Ka(e)&&Oo(e)==k},Dn.isWeakSet=function(e){return Ka(e)&&"[object WeakSet]"==wr(e)},Dn.join=function(e,t){return null==e?"":hn.call(e,t)},Dn.kebabCase=Ms,Dn.last=Zo,Dn.lastIndexOf=function(t,n,r){var i=null==t?0:t.length;if(!i)return-1;var o=i;return r!==e&&(o=(o=Os(r))<0?pn(i+o,0):An(o,i-1)),n==n?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(t,n,o):Ut(t,zt,o,!0)},Dn.lowerCase=Ls,Dn.lowerFirst=Vs,Dn.lt=ss,Dn.lte=ls,Dn.max=function(t){return t&&t.length?dr(t,el,Qr):e},Dn.maxBy=function(t,n){return t&&t.length?dr(t,oo(n,2),Qr):e},Dn.mean=function(e){return Nt(e,el)},Dn.meanBy=function(e,t){return Nt(e,oo(t,2))},Dn.min=function(t){return t&&t.length?dr(t,el,Br):e},Dn.minBy=function(t,n){return t&&t.length?dr(t,oo(n,2),Br):e},Dn.stubArray=dl,Dn.stubFalse=hl,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=vl,Dn.nth=function(t,n){return t&&t.length?Nr(t,Os(n)):e},Dn.noConflict=function(){return ct._===this&&(ct._=Ie),this},Dn.noop=ol,Dn.now=Qa,Dn.pad=function(e,t,n){e=ps(e);var r=(t=Os(t))?sn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Mi(ft(i),n)+e+Mi(ht(i),n)},Dn.padEnd=function(e,t,n){e=ps(e);var r=(t=Os(t))?sn(e):0;return t&&r<t?e+Mi(t-r,n):e},Dn.padStart=function(e,t,n){e=ps(e);var r=(t=Os(t))?sn(e):0;return t&&r<t?Mi(t-r,n)+e:e},Dn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),gn(ps(e).replace(ee,""),t||0)},Dn.random=function(t,n,r){if(r&&"boolean"!=typeof r&&mo(t,n,r)&&(n=r=e),r===e&&("boolean"==typeof n?(r=n,n=e):"boolean"==typeof t&&(r=t,t=e)),t===e&&n===e?(t=0,n=1):(t=us(t),n===e?(n=t,t=0):n=us(n)),t>n){var i=t;t=n,n=i}if(r||t%1||n%1){var o=vn();return An(t+o*(n-t+ot("1e-"+((o+"").length-1))),n)}return Fr(t,n)},Dn.reduce=function(e,t,n){var r=Ma(e)?Ct:Vt,i=arguments.length<3;return r(e,oo(t,4),n,i,cr)},Dn.reduceRight=function(e,t,n){var r=Ma(e)?Et:Vt,i=arguments.length<3;return r(e,oo(t,4),n,i,ur)},Dn.repeat=function(t,n,r){return n=(r?mo(t,n,r):n===e)?1:Os(n),Wr(ps(t),n)},Dn.replace=function(){var e=arguments,t=ps(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Dn.result=function(t,n,r){var i=-1,o=(n=Ai(n,t)).length;for(o||(o=1,t=e);++i<o;){var a=null==t?e:t[Xo(n[i])];a===e&&(i=o,a=r),t=Ya(a)?a.call(t):a}return t},Dn.round=yl,Dn.runInContext=te,Dn.sample=function(e){return(Ma(e)?Yn:Yr)(e)},Dn.size=function(e){if(null==e)return 0;if(Va(e))return is(e)?sn(e):e.length;var t=Oo(e);return t==v||t==$?e.size:Rr(e).length},Dn.snakeCase=qs,Dn.some=function(t,n,r){var i=Ma(t)?Rt:ti;return r&&mo(t,n,r)&&(n=e),i(t,oo(n,3))},Dn.sortedIndex=function(e,t){return ni(e,t)},Dn.sortedIndexBy=function(e,t,n){return ri(e,t,oo(n,2))},Dn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ni(e,t);if(r<n&&Da(e[r],t))return r}return-1},Dn.sortedLastIndex=function(e,t){return ni(e,t,!0)},Dn.sortedLastIndexBy=function(e,t,n){return ri(e,t,oo(n,2),!0)},Dn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ni(e,t,!0)-1;if(Da(e[n],t))return n}return-1},Dn.startCase=Fs,Dn.startsWith=function(e,t,n){return e=ps(e),n=null==n?0:ir(Os(n),0,e.length),t=ai(t),e.slice(n,n+t.length)==t},Dn.subtract=bl,Dn.sum=function(e){return e&&e.length?qt(e,el):0},Dn.sumBy=function(e,t){return e&&e.length?qt(e,oo(t,2)):0},Dn.template=function(t,n,r){var i=Dn.templateSettings;r&&mo(t,n,r)&&(n=e),t=ps(t),n=vs({},n,i,ji);var o=vs({},n.imports,i.imports,ji),a=Ps(o),s=Yt(o,a);Qt(a,function(e){if(ae.test(e))throw new be("Invalid `imports` option passed into `_.template`")});var l,c,u=0,O=n.interpolate||Ae,d="__p += '",h=Se((n.escape||Ae).source+"|"+O.source+"|"+(O===Y?le:Ae).source+"|"+(n.evaluate||Ae).source+"|$","g"),f="//# sourceURL="+(Re.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tt+"]")+"\n";t.replace(h,function(e,n,r,i,o,a){return r||(r=i),d+=t.slice(u,a).replace(me,en),n&&(l=!0,d+="' +\n__e("+n+") +\n'"),o&&(c=!0,d+="';\n"+o+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=a+e.length,e}),d+="';\n";var p=Re.call(n,"variable")&&n.variable;if(p){if(ae.test(p))throw new be("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(c?d.replace(z,""):d).replace(N,"$1").replace(M,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var A=js(function(){return we(a,f+"return "+d).apply(e,s)});if(A.source=d,Za(A))throw A;return A},Dn.times=function(e,t){if((e=Os(e))<1||e>l)return[];var n=u,r=An(e,u);t=oo(t),e-=u;for(var i=Ft(r,t);++n<e;)t(n);return i},Dn.toFinite=us,Dn.toInteger=Os,Dn.toLength=ds,Dn.toLower=function(e){return ps(e).toLowerCase()},Dn.toNumber=hs,Dn.toSafeInteger=function(e){return e?ir(Os(e),-9007199254740991,l):0===e?e:0},Dn.toString=ps,Dn.toUpper=function(e){return ps(e).toUpperCase()},Dn.trim=function(t,n,r){if((t=ps(t))&&(r||n===e))return Wt(t);if(!t||!(n=ai(n)))return t;var i=ln(t),o=ln(n);return gi(i,Gt(i,o),Ht(i,o)+1).join("")},Dn.trimEnd=function(t,n,r){if((t=ps(t))&&(r||n===e))return t.slice(0,cn(t)+1);if(!t||!(n=ai(n)))return t;var i=ln(t);return gi(i,0,Ht(i,ln(n))+1).join("")},Dn.trimStart=function(t,n,r){if((t=ps(t))&&(r||n===e))return t.replace(ee,"");if(!t||!(n=ai(n)))return t;var i=ln(t);return gi(i,Gt(i,ln(n))).join("")},Dn.truncate=function(t,n){var r=30,i="...";if(Ha(n)){var o="separator"in n?n.separator:o;r="length"in n?Os(n.length):r,i="omission"in n?ai(n.omission):i}var a=(t=ps(t)).length;if(tn(t)){var s=ln(t);a=s.length}if(r>=a)return t;var l=r-sn(i);if(l<1)return i;var c=s?gi(s,0,l).join(""):t.slice(0,l);if(o===e)return c+i;if(s&&(l+=c.length-l),ns(o)){if(t.slice(l).search(o)){var u,O=c;for(o.global||(o=Se(o.source,ps(ce.exec(o))+"g")),o.lastIndex=0;u=o.exec(O);)var d=u.index;c=c.slice(0,d===e?l:d)}}else if(t.indexOf(ai(o),l)!=l){var h=c.lastIndexOf(o);h>-1&&(c=c.slice(0,h))}return c+i},Dn.unescape=function(e){return(e=ps(e))&&q.test(e)?e.replace(L,un):e},Dn.uniqueId=function(e){var t=++Xe;return ps(e)+t},Dn.upperCase=Ws,Dn.upperFirst=Zs,Dn.each=pa,Dn.eachRight=Aa,Dn.first=Vo,il(Dn,(fl={},mr(Dn,function(e,t){Re.call(Dn.prototype,t)||(fl[t]=e)}),fl),{chain:!1}),Dn.VERSION="4.18.1",Qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Dn[e].placeholder=Dn}),Qt(["drop","take"],function(t,n){Mn.prototype[t]=function(r){r=r===e?1:pn(Os(r),0);var i=this.__filtered__&&!n?new Mn(this):this.clone();return i.__filtered__?i.__takeCount__=An(r,i.__takeCount__):i.__views__.push({size:An(r,u),type:t+(i.__dir__<0?"Right":"")}),i},Mn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Qt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;Mn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:oo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Qt(["head","last"],function(e,t){var n="take"+(t?"Right":"");Mn.prototype[e]=function(){return this[n](1).value()[0]}}),Qt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Mn.prototype[e]=function(){return this.__filtered__?new Mn(this):this[n](1)}}),Mn.prototype.compact=function(){return this.filter(el)},Mn.prototype.find=function(e){return this.filter(e).head()},Mn.prototype.findLast=function(e){return this.reverse().find(e)},Mn.prototype.invokeMap=Zr(function(e,t){return"function"==typeof e?new Mn(this):this.map(function(n){return kr(n,e,t)})}),Mn.prototype.reject=function(e){return this.filter(Ea(oo(e)))},Mn.prototype.slice=function(t,n){t=Os(t);var r=this;return r.__filtered__&&(t>0||n<0)?new Mn(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),n!==e&&(r=(n=Os(n))<0?r.dropRight(-n):r.take(n-t)),r)},Mn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Mn.prototype.toArray=function(){return this.take(u)},mr(Mn.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=Dn[i?"take"+("last"==n?"Right":""):n],a=i||/^find/.test(n);o&&(Dn.prototype[n]=function(){var n=this.__wrapped__,s=i?[1]:arguments,l=n instanceof Mn,c=s[0],u=l||Ma(n),O=function(e){var t=o.apply(Dn,_t([e],s));return i&&d?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,h=!!this.__actions__.length,f=a&&!d,p=l&&!h;if(!a&&u){n=p?n:new Mn(this);var A=t.apply(n,s);return A.__actions__.push({func:ua,args:[O],thisArg:e}),new Nn(A,d)}return f&&p?t.apply(this,s):(A=this.thru(O),f?i?A.value()[0]:A.value():A)})}),Qt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Dn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ma(i)?i:[],e)}return this[n](function(n){return t.apply(Ma(n)?n:[],e)})}}),mr(Mn.prototype,function(e,t){var n=Dn[t];if(n){var r=n.name+"";Re.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}}),Pn[Di(e,2).name]=[{name:"wrapper",func:e}],Mn.prototype.clone=function(){var e=new Mn(this.__wrapped__);return e.__actions__=xi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=xi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=xi(this.__views__),e},Mn.prototype.reverse=function(){if(this.__filtered__){var e=new Mn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Mn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ma(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=An(t,e+a);break;case"takeRight":e=pn(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,O=u.length,d=0,h=An(l,this.__takeCount__);if(!n||!r&&i==l&&h==l)return Oi(e,this.__actions__);var f=[];e:for(;l--&&d<h;){for(var p=-1,A=e[c+=t];++p<O;){var m=u[p],g=m.iteratee,v=m.type,y=g(A);if(2==v)A=y;else if(!y){if(1==v)continue e;break e}}f[d++]=A}return f},Dn.prototype.at=Oa,Dn.prototype.chain=function(){return ca(this)},Dn.prototype.commit=function(){return new Nn(this.value(),this.__chain__)},Dn.prototype.next=function(){this.__values__===e&&(this.__values__=cs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?e:this.__values__[this.__index__++]}},Dn.prototype.plant=function(t){for(var n,r=this;r instanceof zn;){var i=Uo(r);i.__index__=0,i.__values__=e,n?o.__wrapped__=i:n=i;var o=i;r=r.__wrapped__}return o.__wrapped__=t,n},Dn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Mn){var n=t;return this.__actions__.length&&(n=new Mn(this)),(n=n.reverse()).__actions__.push({func:ua,args:[Ho],thisArg:e}),new Nn(n,this.__chain__)}return this.thru(Ho)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return Oi(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,Ke&&(Dn.prototype[Ke]=function(){return this}),Dn}();Ot?((Ot.exports=On)._=On,ut._=On):ct._=On}.call(ow.exports)),ow.exports),uw={exports:{}};var Ow=(lw||(lw=1,uw.exports=function(e,t,n){e=e||{};var r=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,o,a,s){for(var l,c,u,O=o.$locale().relativeTime||i,d=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=d.length,f=0;f<h;f+=1){var p=d[f];p.d&&(l=a?n(t).diff(o,p.d,!0):o.diff(t,p.d,!0));var A=(e.rounding||Math.round)(Math.abs(l));if(u=l>0,A<=p.r||!p.r){A<=1&&f>0&&(p=d[f-1]);var m=O[p.l];s&&(A=s(""+A)),c="string"==typeof m?m.replace("%d",A):m(A,r,p.l,u);break}}if(r)return c;var g=u?O.future:O.past;return"function"==typeof g?g(c):g.replace("%s",c)},r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}),uw.exports);const dw=mv(Ow);var hw,fw={exports:{}};var pw=(hw||(hw=1,fw.exports=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){return new i({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r)))return this;var a=Math.abs(r)<=16?60*r:r;if(0===a)return this.utc(i);var s=this.clone();if(i)return s.$offset=a,s.$u=!1,s;var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l,s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var O=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():O.call(this)};var d=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),i=o(e).local();return d.call(r,i,t,n)}}}()),fw.exports);const Aw=mv(pw);var mw,gw={exports:{}};var vw=(mw||(mw=1,gw.exports=function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var o,a=function(e,n,r){void 0===r&&(r={});var i=new Date(e);return function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",i=e+"|"+r,o=t[i];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[i]=o),o}(n,r).formatToParts(i)},s=function(t,n){for(var r=a(t,n),o=[],s=0;s<r.length;s+=1){var l=r[s],c=l.type,u=l.value,O=e[c];O>=0&&(o[O]=parseInt(u,10))}var d=o[3],h=24===d?0:d,f=o[0]+"-"+o[1]+"-"+o[2]+" "+h+":"+o[4]+":"+o[5]+":000",p=+t;return(i.utc(f).valueOf()-(p-=p%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-l;if(Number(c)){if(n=i(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var u=n.utcOffset();n=n.add(r-u,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,l=s(+i(),a);if("string"!=typeof e)return i(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var o=s(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),l,a),u=c[0],O=c[1],d=i(u).utcOffset(O);return d.$x.$timezone=a,d},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}}()),gw.exports);const yw=mv(vw);var bw,ww={exports:{}};var Qw=(bw||(bw=1,ww.exports=function(e,t,n){t.prototype.isBetween=function(e,t,r,i){var o=n(e),a=n(t),s="("===(i=i||"()")[0],l=")"===i[1];return(s?this.isAfter(o,r):!this.isBefore(o,r))&&(l?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(o,r):!this.isAfter(o,r))&&(l?this.isAfter(a,r):!this.isBefore(a,r))}}),ww.exports);const $w=mv(Qw);var Sw={exports:{}},xw={exports:{}},kw={};const Pw=Symbol(""),Tw=Symbol(""),_w=Symbol(""),Cw=Symbol(""),Ew=Symbol(""),Rw=Symbol(""),Xw=Symbol(""),Bw=Symbol(""),Uw=Symbol(""),Dw=Symbol(""),Iw=Symbol(""),zw=Symbol(""),Nw=Symbol(""),Mw=Symbol(""),Lw=Symbol(""),Vw=Symbol(""),qw=Symbol(""),Fw=Symbol(""),Ww=Symbol(""),Zw=Symbol(""),Yw=Symbol(""),jw=Symbol(""),Gw=Symbol(""),Hw=Symbol(""),Kw=Symbol(""),Jw=Symbol(""),eQ=Symbol(""),tQ=Symbol(""),nQ=Symbol(""),rQ=Symbol(""),iQ=Symbol(""),oQ=Symbol(""),aQ=Symbol(""),sQ=Symbol(""),lQ=Symbol(""),cQ=Symbol(""),uQ=Symbol(""),OQ=Symbol(""),dQ=Symbol(""),hQ={[Pw]:"Fragment",[Tw]:"Teleport",[_w]:"Suspense",[Cw]:"KeepAlive",[Ew]:"BaseTransition",[Rw]:"openBlock",[Xw]:"createBlock",[Bw]:"createElementBlock",[Uw]:"createVNode",[Dw]:"createElementVNode",[Iw]:"createCommentVNode",[zw]:"createTextVNode",[Nw]:"createStaticVNode",[Mw]:"resolveComponent",[Lw]:"resolveDynamicComponent",[Vw]:"resolveDirective",[qw]:"resolveFilter",[Fw]:"withDirectives",[Ww]:"renderList",[Zw]:"renderSlot",[Yw]:"createSlots",[jw]:"toDisplayString",[Gw]:"mergeProps",[Hw]:"normalizeClass",[Kw]:"normalizeStyle",[Jw]:"normalizeProps",[eQ]:"guardReactiveProps",[tQ]:"toHandlers",[nQ]:"camelize",[rQ]:"capitalize",[iQ]:"toHandlerKey",[oQ]:"setBlockTracking",[aQ]:"pushScopeId",[sQ]:"popScopeId",[lQ]:"withCtx",[cQ]:"unref",[uQ]:"isRef",[OQ]:"withMemo",[dQ]:"isMemoSame"};function fQ(e){Object.getOwnPropertySymbols(e).forEach(t=>{hQ[t]=e[t]})}const pQ={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function AQ(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:pQ}}function mQ(e,t,n,r,i,o,a,s=!1,l=!1,c=!1,u=pQ){return e&&(s?(e.helper(Rw),e.helper(TQ(e.inSSR,c))):e.helper(PQ(e.inSSR,c)),a&&e.helper(Fw)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:a,isBlock:s,disableTracking:l,isComponent:c,loc:u}}function gQ(e,t=pQ){return{type:17,loc:t,elements:e}}function vQ(e,t=pQ){return{type:15,loc:t,properties:e}}function yQ(e,t){return{type:16,loc:pQ,key:x(e)?bQ(e,!0):e,value:t}}function bQ(e,t=!1,n=pQ,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function wQ(e,t=pQ){return{type:8,loc:t,children:e}}function QQ(e,t=[],n=pQ){return{type:14,loc:n,callee:e,arguments:t}}function $Q(e,t=void 0,n=!1,r=!1,i=pQ){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function SQ(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:pQ}}function xQ(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:pQ}}function kQ(e){return{type:21,body:e,loc:pQ}}function PQ(e,t){return e||t?Uw:Dw}function TQ(e,t){return e||t?Xw:Bw}function _Q(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(PQ(r,e.isComponent)),t(Rw),t(TQ(r,e.isComponent)))}const CQ=new Uint8Array([123,123]),EQ=new Uint8Array([125,125]);function RQ(e){return e>=97&&e<=122||e>=65&&e<=90}function XQ(e){return 32===e||10===e||9===e||12===e||13===e}function BQ(e){return 47===e||62===e||XQ(e)}function UQ(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const DQ={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};const IQ={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function zQ(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function NQ(e,t){const n=zQ("MODE",t),r=zQ(e,t);return 3===n?!0===r:!1!==r}function MQ(e,t,n,...r){return NQ(e,t)}function LQ(e){throw e}function VQ(e){}function qQ(e,t,n,r){const i=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return i.code=e,i.loc=t,i}const FQ={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function WQ(e,t){const n="SwitchCase"===e.type?e.consequent:e.body;for(const r of n)if("VariableDeclaration"===r.type){if(r.declare)continue;for(const e of r.declarations)for(const n of GQ(e.id))t(n)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;t(r.id)}else ZQ(r)?YQ(r,!0,t):"SwitchStatement"===r.type&&jQ(r,!0,t)}function ZQ(e){return"ForOfStatement"===e.type||"ForInStatement"===e.type||"ForStatement"===e.type}function YQ(e,t,n){const r="ForStatement"===e.type?e.init:e.left;if(r&&"VariableDeclaration"===r.type&&("var"===r.kind?t:!t))for(const i of r.declarations)for(const e of GQ(i.id))n(e)}function jQ(e,t,n){for(const r of e.cases){for(const e of r.consequent)if("VariableDeclaration"===e.type&&("var"===e.kind?t:!t))for(const t of e.declarations)for(const e of GQ(t.id))n(e);WQ(r,n)}}function GQ(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?GQ(r.argument,t):GQ(r.value,t);break;case"ArrayPattern":e.elements.forEach(e=>{e&&GQ(e,t)});break;case"RestElement":GQ(e.argument,t);break;case"AssignmentPattern":GQ(e.left,t)}return t}const HQ=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,KQ=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];const JQ=e=>4===e.type&&e.isStatic;function e$(e){switch(e){case"Teleport":case"teleport":return Tw;case"Suspense":case"suspense":return _w;case"KeepAlive":case"keep-alive":return Cw;case"BaseTransition":case"base-transition":return Ew}}const t$=/^$|^\d|[^\$\w\xA0-\uFFFF]/,n$=e=>!t$.test(e),r$=/[A-Za-z_$\xA0-\uFFFF]/,i$=/[\.\?\w$\xA0-\uFFFF]/,o$=/\s+[.[]\s*|\s*[.[]\s+/g,a$=e=>4===e.type?e.content:e.loc.source,s$=e=>{const t=a$(e).trim().replace(o$,e=>e.trim());let n=0,r=[],i=0,o=0,a=null;for(let s=0;s<t.length;s++){const e=t.charAt(s);switch(n){case 0:if("["===e)r.push(n),n=1,i++;else if("("===e)r.push(n),n=2,o++;else if(!(0===s?r$:i$).test(e))return!1;break;case 1:"'"===e||'"'===e||"`"===e?(r.push(n),n=3,a=e):"["===e?i++:"]"===e&&(--i||(n=r.pop()));break;case 2:if("'"===e||'"'===e||"`"===e)r.push(n),n=3,a=e;else if("("===e)o++;else if(")"===e){if(s===t.length-1)return!1;--o||(n=r.pop())}break;case 3:e===a&&(n=r.pop(),a=null)}}return!i&&!o},l$=d,c$=s$,u$=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,O$=e=>u$.test(a$(e)),d$=d,h$=O$;function f$(e,t,n=t.length){let r=0,i=-1;for(let o=0;o<n;o++)10===t.charCodeAt(o)&&(r++,i=o);return e.offset+=n,e.line+=r,e.column=-1===i?e.column+n:n-i,e}function p$(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&(n||i.exp)&&(x(t)?i.name===t:t.test(i.name)))return i}}function A$(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(6===o.type){if(n)continue;if(o.name===t&&(o.value||r))return o}else if("bind"===o.name&&(o.exp||r)&&m$(o.arg,t))return o}}function m$(e,t){return!(!e||!JQ(e)||e.content!==t)}function g$(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function v$(e){return 5===e.type||2===e.type}function y$(e){return 7===e.type&&"pre"===e.name}function b$(e){return 7===e.type&&"slot"===e.name}function w$(e){return 1===e.type&&3===e.tagType}function Q$(e){return 1===e.type&&2===e.tagType}const $$=new Set([Jw,eQ]);function S$(e,t=[]){if(e&&!x(e)&&14===e.type){const n=e.callee;if(!x(n)&&$$.has(n))return S$(e.arguments[0],t.concat(e))}return[e,t]}function x$(e,t,n){let r,i,o=13===e.type?e.props:e.arguments[2],a=[];if(o&&!x(o)&&14===o.type){const e=S$(o);o=e[0],a=e[1],i=a[a.length-1]}if(null==o||x(o))r=vQ([t]);else if(14===o.type){const e=o.arguments[0];x(e)||15!==e.type?o.callee===tQ?r=QQ(n.helper(Gw),[vQ([t]),o]):o.arguments.unshift(vQ([t])):k$(t,e)||e.properties.unshift(t),!r&&(r=o)}else 15===o.type?(k$(t,o)||o.properties.unshift(t),r=o):(r=QQ(n.helper(Gw),[vQ([t]),o]),i&&i.callee===eQ&&(i=a[a.length-2]));13===e.type?i?i.arguments[0]=r:e.props=r:i?i.arguments[0]=r:e.arguments[2]=r}function k$(e,t){let n=!1;if(4===e.key.type){const r=e.key.content;n=t.properties.some(e=>4===e.key.type&&e.key.content===r)}return n}function P$(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>"-"===t?"_":e.charCodeAt(n).toString())}`}function T$(e){return 14===e.type&&e.callee===OQ?e.arguments[1].returns:e}const _$=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function C$(e){for(let t=0;t<e.length;t++)if(!XQ(e.charCodeAt(t)))return!1;return!0}function E$(e){return 2===e.type&&C$(e.content)||12===e.type&&E$(e.content)}function R$(e){return 3===e.type||E$(e)}const X$={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:h,isPreTag:h,isIgnoreNewlineTag:h,isCustomElement:h,onError:LQ,onWarn:VQ,comments:!1,prefixIdentifiers:!1};let B$=X$,U$=null,D$="",I$=null,z$=null,N$="",M$=-1,L$=-1,V$=0,q$=!1,F$=null;const W$=[],Z$=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=CQ,this.delimiterClose=EQ,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=CQ,this.delimiterClose=EQ}getPos(e){let t=1,n=e+1;const r=this.newlines.length;let i=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){const r=t+n>>>1;this.newlines[r]<e?t=r:n=r}i=t}else for(let o=r-1;o>=0;o--)if(e>this.newlines[o]){i=o;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?BQ(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||XQ(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===DQ.TitleEnd||this.currentSequence===DQ.TextareaEnd&&!this.inSFCRoot?this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===DQ.Cdata[this.sequenceIndex]?++this.sequenceIndex===DQ.Cdata.length&&(this.state=28,this.currentSequence=DQ.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===DQ.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):RQ(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){BQ(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(BQ(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(UQ("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){XQ(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=RQ(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||XQ(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):XQ(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):XQ(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||BQ(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||BQ(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||BQ(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||BQ(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||BQ(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):XQ(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):XQ(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){XQ(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=DQ.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===DQ.ScriptEnd[3]?this.startSpecial(DQ.ScriptEnd,4):e===DQ.StyleEnd[3]?this.startSpecial(DQ.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===DQ.TitleEnd[3]?this.startSpecial(DQ.TitleEnd,4):e===DQ.TextareaEnd[3]?this.startSpecial(DQ.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&33!==this.state&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===DQ.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(W$,{onerr:dS,ontext(e,t){K$(G$(e,t),e,t)},ontextentity(e,t,n){K$(e,t,n)},oninterpolation(e,t){if(q$)return K$(G$(e,t),e,t);let n=e+Z$.delimiterOpen.length,r=t-Z$.delimiterClose.length;for(;XQ(D$.charCodeAt(n));)n++;for(;XQ(D$.charCodeAt(r-1));)r--;let i=G$(n,r);i.includes("&")&&(i=B$.decodeEntities(i,!1)),sS({type:5,content:OS(i,!1,lS(n,r)),loc:lS(e,t)})},onopentagname(e,t){const n=G$(e,t);I$={type:1,tag:n,ns:B$.getNamespace(n,W$[0],B$.ns),tagType:0,props:[],children:[],loc:lS(e-1,t),codegenNode:void 0}},onopentagend(e){H$(e)},onclosetag(e,t){const n=G$(e,t);if(!B$.isVoidTag(n)){let r=!1;for(let e=0;e<W$.length;e++){if(W$[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&dS(24,W$[0].loc.start.offset);for(let n=0;n<=e;n++){J$(W$.shift(),t,n<e)}break}}r||dS(23,eS(e,60))}},onselfclosingtag(e){const t=I$.tag;I$.isSelfClosing=!0,H$(e),W$[0]&&W$[0].tag===t&&J$(W$.shift(),e)},onattribname(e,t){z$={type:6,name:G$(e,t),nameLoc:lS(e,t),value:void 0,loc:lS(e)}},ondirname(e,t){const n=G$(e,t),r="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(q$||""!==r||dS(26,e),q$||""===r)z$={type:6,name:n,nameLoc:lS(e,t),value:void 0,loc:lS(e)};else if(z$={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[bQ("prop")]:[],loc:lS(e)},"pre"===r){q$=Z$.inVPre=!0,F$=I$;const e=I$.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=uS(e[t]))}},ondirarg(e,t){if(e===t)return;const n=G$(e,t);if(q$&&!y$(z$))z$.name+=n,cS(z$.nameLoc,t);else{const r="["!==n[0];z$.arg=OS(r?n:n.slice(1,-1),r,lS(e,t),r?3:0)}},ondirmodifier(e,t){const n=G$(e,t);if(q$&&!y$(z$))z$.name+="."+n,cS(z$.nameLoc,t);else if("slot"===z$.name){const e=z$.arg;e&&(e.content+="."+n,cS(e.loc,t))}else{const r=bQ(n,!0,lS(e,t));z$.modifiers.push(r)}},onattribdata(e,t){N$+=G$(e,t),M$<0&&(M$=e),L$=t},onattribentity(e,t,n){N$+=e,M$<0&&(M$=t),L$=n},onattribnameend(e){const t=z$.loc.start.offset,n=G$(t,e);7===z$.type&&(z$.rawName=n),I$.props.some(e=>(7===e.type?e.rawName:e.name)===n)&&dS(2,t)},onattribend(e,t){if(I$&&z$){if(cS(z$.loc,t),0!==e)if(N$.includes("&")&&(N$=B$.decodeEntities(N$,!0)),6===z$.type)"class"===z$.name&&(N$=aS(N$).trim()),1!==e||N$||dS(13,t),z$.value={type:2,content:N$,loc:1===e?lS(M$,L$):lS(M$-1,L$+1)},Z$.inSFCRoot&&"template"===I$.tag&&"lang"===z$.name&&N$&&"html"!==N$&&Z$.enterRCDATA(UQ("</template"),0);else{let e=0;z$.exp=OS(N$,!1,lS(M$,L$),0,e),"for"===z$.name&&(z$.forParseResult=function(e){const t=e.loc,n=e.content,r=n.match(_$);if(!r)return;const[,i,o]=r,a=(e,n,r=!1)=>{const i=t.start.offset+n;return OS(e,!1,lS(i,i+e.length),0,r?1:0)},s={source:a(o.trim(),n.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=i.trim().replace(j$,"").trim();const c=i.indexOf(l),u=l.match(Y$);if(u){l=l.replace(Y$,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,c+l.length),s.key=a(e,t,!0)),u[2]){const r=u[2].trim();r&&(s.index=a(r,n.indexOf(r,s.key?t+e.length:c+l.length),!0))}}l&&(s.value=a(l,c,!0));return s}(z$.exp));let t=-1;"bind"===z$.name&&(t=z$.modifiers.findIndex(e=>"sync"===e.content))>-1&&MQ("COMPILER_V_BIND_SYNC",B$,z$.loc,z$.arg.loc.source)&&(z$.name="model",z$.modifiers.splice(t,1))}7===z$.type&&"pre"===z$.name||I$.props.push(z$)}N$="",M$=L$=-1},oncomment(e,t){B$.comments&&sS({type:3,content:G$(e,t),loc:lS(e-4,t+3)})},onend(){const e=D$.length;for(let t=0;t<W$.length;t++)J$(W$[t],e-1),dS(24,W$[t].loc.start.offset)},oncdata(e,t){0!==W$[0].ns?K$(G$(e,t),e,t):dS(1,e-9)},onprocessinginstruction(e){0===(W$[0]?W$[0].ns:B$.ns)&&dS(21,e-1)}}),Y$=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,j$=/^\(|\)$/g;function G$(e,t){return D$.slice(e,t)}function H$(e){Z$.inSFCRoot&&(I$.innerLoc=lS(e+1,e+1)),sS(I$);const{tag:t,ns:n}=I$;0===n&&B$.isPreTag(t)&&V$++,B$.isVoidTag(t)?J$(I$,e):(W$.unshift(I$),1!==n&&2!==n||(Z$.inXML=!0)),I$=null}function K$(e,t,n){{const t=W$[0]&&W$[0].tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=B$.decodeEntities(e,!1))}const r=W$[0]||U$,i=r.children[r.children.length-1];i&&2===i.type?(i.content+=e,cS(i.loc,n)):r.children.push({type:2,content:e,loc:lS(t,n)})}function J$(e,t,n=!1){cS(e.loc,n?eS(t,60):function(e,t){let n=e;for(;D$.charCodeAt(n)!==t&&n<D$.length-1;)n++;return n}(t,62)+1),Z$.inSFCRoot&&(e.children.length?e.innerLoc.end=A({},e.children[e.children.length-1].loc.end):e.innerLoc.end=A({},e.innerLoc.start),e.innerLoc.source=G$(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:i,children:o}=e;if(q$||("slot"===r?e.tagType=2:nS(e)?e.tagType=3:function({tag:e,props:t}){if(B$.isCustomElement(e))return!1;if("component"===e||(n=e.charCodeAt(0),n>64&&n<91)||e$(e)||B$.isBuiltInComponent&&B$.isBuiltInComponent(e)||B$.isNativeTag&&!B$.isNativeTag(e))return!0;var n;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(MQ("COMPILER_IS_ON_ELEMENT",B$,e.loc))return!0}}else if("bind"===e.name&&m$(e.arg,"is")&&MQ("COMPILER_IS_ON_ELEMENT",B$,e.loc))return!0}return!1}(e)&&(e.tagType=1)),Z$.inRCDATA||(e.children=iS(o)),0===i&&B$.isIgnoreNewlineTag(r)){const e=o[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===i&&B$.isPreTag(r)&&V$--,F$===e&&(q$=Z$.inVPre=!1,F$=null),Z$.inXML&&0===(W$[0]?W$[0].ns:B$.ns)&&(Z$.inXML=!1);{const t=e.props;if(!Z$.inSFCRoot&&NQ("COMPILER_NATIVE_TEMPLATE",B$)&&"template"===e.tag&&!nS(e)){const t=W$[0]||U$,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find(e=>6===e.type&&"inline-template"===e.name);n&&MQ("COMPILER_INLINE_TEMPLATE",B$,n.loc)&&e.children.length&&(n.value={type:2,content:G$(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function eS(e,t){let n=e;for(;D$.charCodeAt(n)!==t&&n>=0;)n--;return n}const tS=new Set(["if","else","else-if","for","slot"]);function nS({tag:e,props:t}){if("template"===e)for(let n=0;n<t.length;n++)if(7===t[n].type&&tS.has(t[n].name))return!0;return!1}const rS=/\r\n/g;function iS(e){const t="preserve"!==B$.whitespace;let n=!1;for(let r=0;r<e.length;r++){const i=e[r];if(2===i.type)if(V$)i.content=i.content.replace(rS,"\n");else if(C$(i.content)){const o=e[r-1]&&e[r-1].type,a=e[r+1]&&e[r+1].type;!o||!a||t&&(3===o&&(3===a||1===a)||1===o&&(3===a||1===a&&oS(i.content)))?(n=!0,e[r]=null):i.content=" "}else t&&(i.content=aS(i.content))}return n?e.filter(Boolean):e}function oS(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function aS(e){let t="",n=!1;for(let r=0;r<e.length;r++)XQ(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function sS(e){(W$[0]||U$).children.push(e)}function lS(e,t){return{start:Z$.getPos(e),end:null==t?t:Z$.getPos(t),source:null==t?t:G$(e,t)}}function cS(e,t){e.end=Z$.getPos(t),e.source=G$(e.start.offset,t)}function uS(e){const t={type:6,name:e.rawName,nameLoc:lS(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function OS(e,t=!1,n,r=0,i=0){return bQ(e,t,n,r)}function dS(e,t,n){B$.onError(qQ(e,lS(t,t)))}function hS(e,t){if(Z$.reset(),I$=null,z$=null,N$="",M$=-1,L$=-1,W$.length=0,D$=e,B$=A({},X$),t){let e;for(e in t)null!=t[e]&&(B$[e]=t[e])}Z$.mode="html"===B$.parseMode?1:"sfc"===B$.parseMode?2:0,Z$.inXML=1===B$.ns||2===B$.ns;const n=t&&t.delimiters;n&&(Z$.delimiterOpen=UQ(n[0]),Z$.delimiterClose=UQ(n[1]));const r=U$=AQ([],e);return Z$.parse(D$),r.loc=lS(0,e.length),r.children=iS(r.children),U$=null,r}function fS(e,t){AS(e,void 0,t,!!pS(e))}function pS(e){const t=e.children.filter(e=>3!==e.type);return 1!==t.length||1!==t[0].type||Q$(t[0])?null:t[0]}function AS(e,t,n,r=!1,i=!1){const{children:o}=e,a=[];for(let u=0;u<o.length;u++){const t=o[u];if(1===t.type&&0===t.tagType){const e=r?0:mS(t,n);if(e>0){if(e>=2){t.codegenNode.patchFlag=-1,a.push(t);continue}}else{const e=t.codegenNode;if(13===e.type){const r=e.patchFlag;if((void 0===r||512===r||1===r)&&yS(t,n)>=2){const r=bS(t);r&&(e.props=n.hoist(r))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===t.type){if((r?0:mS(t,n))>=2){14===t.codegenNode.type&&t.codegenNode.arguments.length>0&&t.codegenNode.arguments.push("-1"),a.push(t);continue}}if(1===t.type){const r=1===t.tagType;r&&n.scopes.vSlot++,AS(t,e,n,!1,i),r&&n.scopes.vSlot--}else if(11===t.type)AS(t,e,n,1===t.children.length,!0);else if(9===t.type)for(let r=0;r<t.branches.length;r++)AS(t.branches[r],e,n,1===t.branches[r].children.length,i)}let s=!1;if(a.length===o.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&y(e.codegenNode.children))e.codegenNode.children=l(gQ(e.codegenNode.children)),s=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!y(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=c(e.codegenNode,"default");t&&(t.returns=l(gQ(t.returns)),s=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!y(t.codegenNode.children)&&15===t.codegenNode.children.type){const n=p$(e,"slot",!0),r=n&&n.arg&&c(t.codegenNode,n.arg);r&&(r.returns=l(gQ(r.returns)),s=!0)}if(!s)for(const u of a)u.codegenNode=n.cache(u.codegenNode);function l(e){const t=n.cache(e);return t.needArraySpread=!0,t}function c(e,t){if(e.children&&!y(e.children)&&15===e.children.type){const n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}a.length&&n.transformHoist&&n.transformHoist(o,n,e)}function mS(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const i=e.codegenNode;if(13!==i.type)return 0;if(i.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===i.patchFlag){let r=3;const o=yS(e,t);if(0===o)return n.set(e,0),0;o<r&&(r=o);for(let i=0;i<e.children.length;i++){const o=mS(e.children[i],t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}if(r>1)for(let i=0;i<e.props.length;i++){const o=e.props[i];if(7===o.type&&"bind"===o.name&&o.exp){const i=mS(o.exp,t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(Rw),t.removeHelper(TQ(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(PQ(t.inSSR,i.isComponent))}return n.set(e,r),r}return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return mS(e.content,t);case 4:return e.constType;case 8:let o=3;for(let n=0;n<e.children.length;n++){const r=e.children[n];if(x(r)||k(r))continue;const i=mS(r,t);if(0===i)return 0;i<o&&(o=i)}return o;case 20:return 2}}const gS=new Set([Hw,Kw,Jw,eQ]);function vS(e,t){if(14===e.type&&!x(e.callee)&&gS.has(e.callee)){const n=e.arguments[0];if(4===n.type)return mS(n,t);if(14===n.type)return vS(n,t)}return 0}function yS(e,t){let n=3;const r=bS(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:i,value:o}=e[r],a=mS(i,t);if(0===a)return a;let s;if(a<n&&(n=a),s=4===o.type?mS(o,t):14===o.type?vS(o,t):0,0===s)return s;s<n&&(n=s)}}return n}function bS(e){const t=e.codegenNode;if(13===t.type)return t.props}function wS(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:o=!1,nodeTransforms:a=[],directiveTransforms:s={},transformHoist:l=null,isBuiltInComponent:c=d,isCustomElement:O=d,expressionPlugins:h=[],scopeId:f=null,slotted:p=!0,ssr:A=!1,inSSR:m=!1,ssrCssVars:g="",bindingMetadata:v=u,inline:y=!1,isTS:b=!1,onError:w=LQ,onWarn:Q=VQ,compatConfig:$}){const S=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),k={filename:t,selfName:S&&L(z(S[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:o,nodeTransforms:a,directiveTransforms:s,transformHoist:l,isBuiltInComponent:c,isCustomElement:O,expressionPlugins:h,scopeId:f,slotted:p,ssr:A,inSSR:m,ssrCssVars:g,bindingMetadata:v,inline:y,isTS:b,onError:w,onWarn:Q,compatConfig:$,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=k.helpers.get(e)||0;return k.helpers.set(e,t+1),e},removeHelper(e){const t=k.helpers.get(e);if(t){const n=t-1;n?k.helpers.set(e,n):k.helpers.delete(e)}},helperString:e=>`_${hQ[k.helper(e)]}`,replaceNode(e){k.parent.children[k.childIndex]=k.currentNode=e},removeNode(e){const t=k.parent.children,n=e?t.indexOf(e):k.currentNode?k.childIndex:-1;e&&e!==k.currentNode?k.childIndex>n&&(k.childIndex--,k.onNodeRemoved()):(k.currentNode=null,k.onNodeRemoved()),k.parent.children.splice(n,1)},onNodeRemoved:d,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){x(e)&&(e=bQ(e)),k.hoists.push(e);const t=bQ(`_hoisted_${k.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const r=xQ(k.cached.length,e,t,n);return k.cached.push(r),r}};return k.filters=new Set,k}function QS(e,t){const n=wS(e,t);$S(e,n),t.hoistStatic&&fS(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=pS(e);if(n&&n.codegenNode){const r=n.codegenNode;13===r.type&&_Q(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let r=64;e.codegenNode=mQ(t,n(Pw),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function $S(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let o=0;o<n.length;o++){const i=n[o](e,t);if(i&&(y(i)?r.push(...i):r.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Iw);break;case 5:t.ssr||t.helper(jw);break;case 9:for(let n=0;n<e.branches.length;n++)$S(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];x(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,$S(i,t))}}(e,t)}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function SS(e,t){const n=x(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:i}=e;if(3===e.tagType&&i.some(b$))return;const o=[];for(let a=0;a<i.length;a++){const s=i[a];if(7===s.type&&n(s.name)){i.splice(a,1),a--;const n=t(e,s,r);n&&o.push(n)}}return o}}}const xS="/*@__PURE__*/",kS=e=>`${hQ[e]}: _${hQ[e]}`;function PS(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:a=!1,runtimeGlobalName:s="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:O=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:o,optimizeImports:a,runtimeGlobalName:s,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:O,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${hQ[e]}`,push(e,t=-2,n){h.code+=e},indent(){f(++h.indentLevel)},deindent(e=!1){e?--h.indentLevel:f(--h.indentLevel)},newline(){f(h.indentLevel)}};function f(e){h.push("\n"+" ".repeat(e),0)}return h}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:i,prefixIdentifiers:o,indent:a,deindent:s,newline:l,scopeId:c,ssr:u}=n,O=Array.from(e.helpers),d=O.length>0,h=!o&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:i,newline:o,runtimeModuleName:a,runtimeGlobalName:s,ssrRuntimeModuleName:l}=t,c=s,u=Array.from(e.helpers);if(u.length>0&&(i(`const _Vue = ${c}\n`,-1),e.hoists.length)){i(`const { ${[Uw,Dw,Iw,zw,Nw].filter(e=>u.includes(e)).map(kS).join(", ")} } = _Vue\n`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){const o=e[i];o&&(n(`const _hoisted_${i+1} = `),ES(o,t),r())}t.pure=!1})(e.hoists,t),o(),i("return ")}(e,n);if(i(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),a(),h&&(i("with (_ctx) {"),a(),d&&(i(`const { ${O.map(kS).join(", ")} } = _Vue\n`,-1),l())),e.components.length&&(TS(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(TS(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),TS(e.filters,"filter",n),l()),e.temps>0){i("let ");for(let t=0;t<e.temps;t++)i(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i("\n",0),l()),u||i("return "),e.codegenNode?ES(e.codegenNode,n):i("null"),h&&(s(),i("}")),s(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function TS(e,t,{helper:n,push:r,newline:i,isTS:o}){const a=n("filter"===t?qw:"component"===t?Mw:Vw);for(let s=0;s<e.length;s++){let n=e[s];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),r(`const ${P$(n,t)} = ${a}(${JSON.stringify(n)}${l?", true":""})${o?"!":""}`),s<e.length-1&&i()}}function _S(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),CS(e,t,n),n&&t.deindent(),t.push("]")}function CS(e,t,n=!1,r=!0){const{push:i,newline:o}=t;for(let a=0;a<e.length;a++){const s=e[a];x(s)?i(s,-3):y(s)?_S(s,t):ES(s,t),a<e.length-1&&(n?(r&&i(","),o()):r&&i(", "))}}function ES(e,t){if(x(e))t.push(e,-3);else if(k(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:ES(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:RS(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:i}=t;i&&n(xS);n(`${r(jw)}(`),ES(e.content,t),n(")")}(e,t);break;case 8:XS(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:i}=t;i&&n(xS);n(`${r(Iw)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:i}=t,{tag:o,props:a,children:s,patchFlag:l,dynamicProps:c,directives:u,isBlock:O,disableTracking:d,isComponent:h}=e;let f;l&&(f=String(l));u&&n(r(Fw)+"(");O&&n(`(${r(Rw)}(${d?"true":""}), `);i&&n(xS);const p=O?TQ(t.inSSR,h):PQ(t.inSSR,h);n(r(p)+"(",-2,e),CS(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([o,a,s,f,c]),t),n(")"),O&&n(")");u&&(n(", "),ES(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:i}=t,o=x(e.callee)?e.callee:r(e.callee);i&&n(xS);n(o+"(",-2,e),CS(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:i,newline:o}=t,{properties:a}=e;if(!a.length)return void n("{}",-2,e);const s=a.length>1||!1;n(s?"{":"{ "),s&&r();for(let l=0;l<a.length;l++){const{key:e,value:r}=a[l];BS(e,t),n(": "),ES(r,t),l<a.length-1&&(n(","),o())}s&&i(),n(s?"}":" }")}(e,t);break;case 17:!function(e,t){_S(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:r,deindent:i}=t,{params:o,returns:a,body:s,newline:l,isSlot:c}=e;c&&n(`_${hQ[lQ]}(`);n("(",-2,e),y(o)?CS(o,t):o&&ES(o,t);n(") => "),(l||s)&&(n("{"),r());a?(l&&n("return "),y(a)?_S(a,t):ES(a,t)):s&&ES(s,t);(l||s)&&(i(),n("}"));c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:i,newline:o}=e,{push:a,indent:s,deindent:l,newline:c}=t;if(4===n.type){const e=!n$(n.content);e&&a("("),RS(n,t),e&&a(")")}else a("("),ES(n,t),a(")");o&&s(),t.indentLevel++,o||a(" "),a("? "),ES(r,t),t.indentLevel--,o&&c(),o||a(" "),a(": ");const u=19===i.type;u||t.indentLevel++;ES(i,t),u||t.indentLevel--;o&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:i,deindent:o,newline:a}=t,{needPauseTracking:s,needArraySpread:l}=e;l&&n("[...(");n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(oQ)}(-1`),e.inVOnce&&n(", true"),n("),"),a(),n("("));n(`_cache[${e.index}] = `),ES(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),a(),n(`${r(oQ)}(1),`),a(),n(`_cache[${e.index}]`),o());n(")"),l&&n(")]")}(e,t);break;case 21:CS(e.body,t,!0,!1)}}function RS(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function XS(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];x(r)?t.push(r,-3):ES(r,t)}}function BS(e,t){const{push:n}=t;if(8===e.type)n("["),XS(e,t),n("]");else if(e.isStatic){n(n$(e.content)?e.content:JSON.stringify(e.content),-2,e)}else n(`[${e.content}]`,-3,e)}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");function US(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){return e}const DS=SS(/^(?:if|else|else-if)$/,(e,t,n)=>IS(e,t,n,(e,t,r)=>{const i=n.parent.children;let o=i.indexOf(e),a=0;for(;o-- >=0;){const e=i[o];e&&9===e.type&&(a+=e.branches.length)}return()=>{if(r)e.codegenNode=NS(t,a,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=NS(t,a+e.branches.length-1,n)}}}));function IS(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(qQ(28,t.loc)),t.exp=bQ("true",!1,r)}if("if"===t.name){const o=zS(e,t),a={type:9,loc:(i=e.loc,lS(i.start.offset,i.end.offset)),branches:[o]};if(n.replaceNode(a),r)return r(a,o,!0)}else{const i=n.parent.children;let o=i.indexOf(e);for(;o-- >=-1;){const a=i[o];if(!a||!R$(a)){if(a&&9===a.type){"else-if"!==t.name&&"else"!==t.name||void 0!==a.branches[a.branches.length-1].condition||n.onError(qQ(30,e.loc)),n.removeNode();const i=zS(e,t);a.branches.push(i);const o=r&&r(a,i,!1);$S(i,n),o&&o(),n.currentNode=null}else n.onError(qQ(30,e.loc));break}n.removeNode(a)}}var i}function zS(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!p$(e,"for")?e.children:[e],userKey:A$(e,"key"),isTemplateIf:n}}function NS(e,t,n){return e.condition?SQ(e.condition,MS(e,t,n),QQ(n.helper(Iw),['""',"true"])):MS(e,t,n)}function MS(e,t,n){const{helper:r}=n,i=yQ("key",bQ(`${t}`,!1,pQ,2)),{children:o}=e,a=o[0];if(1!==o.length||1!==a.type){if(1===o.length&&11===a.type){const e=a.codegenNode;return x$(e,i,n),e}{let t=64;return mQ(n,r(Pw),vQ([i]),o,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=T$(e);return 13===t.type&&_Q(t,n),x$(t,i,n),e}}const LS=SS("for",(e,t,n)=>{const{helper:r,removeHelper:i}=n;return VS(e,t,n,t=>{const o=QQ(r(Ww),[t.source]),a=w$(e),s=p$(e,"memo"),l=A$(e,"key",!1,!0);l&&l.type;let c=l&&(6===l.type?l.value?bQ(l.value.content,!0):void 0:l.exp);const u=l&&c?yQ("key",c):null,O=4===t.source.type&&t.source.constType>0,d=O?64:l?128:256;return t.codegenNode=mQ(n,r(Pw),void 0,o,d,void 0,void 0,!0,!O,!1,e.loc),()=>{let l;const{children:d}=t,h=1!==d.length||1!==d[0].type,f=Q$(e)?e:a&&1===e.children.length&&Q$(e.children[0])?e.children[0]:null;if(f?(l=f.codegenNode,a&&u&&x$(l,u,n)):h?l=mQ(n,r(Pw),u?vQ([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,a&&u&&x$(l,u,n),l.isBlock!==!O&&(l.isBlock?(i(Rw),i(TQ(n.inSSR,l.isComponent))):i(PQ(n.inSSR,l.isComponent))),l.isBlock=!O,l.isBlock?(r(Rw),r(TQ(n.inSSR,l.isComponent))):r(PQ(n.inSSR,l.isComponent))),s){const e=$Q(FS(t.parseResult,[bQ("_cached")]));e.body=kQ([wQ(["const _memo = (",s.exp,")"]),wQ(["if (_cached && _cached.el",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(dQ)}(_cached, _memo)) return _cached`]),wQ(["const _item = ",l]),bQ("_item.memo = _memo"),bQ("return _item")]),o.arguments.push(e,bQ("_cache"),bQ(String(n.cached.length))),n.cached.push(null)}else o.arguments.push($Q(FS(t.parseResult),l,!0))}})});function VS(e,t,n,r){if(!t.exp)return void n.onError(qQ(31,t.loc));const i=t.forParseResult;if(!i)return void n.onError(qQ(32,t.loc));qS(i);const{addIdentifiers:o,removeIdentifiers:a,scopes:s}=n,{source:l,value:c,key:u,index:O}=i,d={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:O,parseResult:i,children:w$(e)?e.children:[e]};n.replaceNode(d),s.vFor++;const h=r&&r(d);return()=>{s.vFor--,h&&h()}}function qS(e,t){e.finalized||(e.finalized=!0)}function FS({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||bQ("_".repeat(t+1),!1))}([e,t,n,...r])}const WS=bQ("undefined",!1),ZS=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=p$(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},YS=(e,t,n,r)=>$Q(e,n,!1,!0,n.length?n[0].loc:r);function jS(e,t,n=YS){t.helper(lQ);const{children:r,loc:i}=e,o=[],a=[];let s=t.scopes.vSlot>0||t.scopes.vFor>0;const l=p$(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!JQ(e)&&(s=!0),o.push(yQ(e||bQ("default",!0),n(t,void 0,r,i)))}let c=!1,u=!1;const O=[],d=new Set;let h=0;for(let A=0;A<r.length;A++){const e=r[A];let i;if(!w$(e)||!(i=p$(e,"slot",!0))){3!==e.type&&O.push(e);continue}if(l){t.onError(qQ(37,i.loc));break}c=!0;const{children:f,loc:p}=e,{arg:m=bQ("default",!0),exp:g,loc:v}=i;let y;JQ(m)?y=m?m.content:"default":s=!0;const b=p$(e,"for"),w=n(g,b,f,p);let Q,$;if(Q=p$(e,"if"))s=!0,a.push(SQ(Q.exp,GS(m,w,h++),WS));else if($=p$(e,/^else(?:-if)?$/,!0)){let e,n=A;for(;n--&&(e=r[n],R$(e)););if(e&&w$(e)&&p$(e,/^(?:else-)?if$/)){let e=a[a.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=$.exp?SQ($.exp,GS(m,w,h++),WS):GS(m,w,h++)}else t.onError(qQ(30,$.loc))}else if(b){s=!0;const e=b.forParseResult;e?(qS(e),a.push(QQ(t.helper(Ww),[e.source,$Q(FS(e),GS(m,w),!0)]))):t.onError(qQ(32,b.loc))}else{if(y){if(d.has(y)){t.onError(qQ(38,v));continue}d.add(y),"default"===y&&(u=!0)}o.push(yQ(m,w))}}if(!l){const e=(e,r)=>{const o=n(e,void 0,r,i);return t.compatConfig&&(o.isNonScopedSlot=!0),yQ("default",o)};c?O.length&&!O.every(E$)&&(u?t.onError(qQ(39,O[0].loc)):o.push(e(void 0,O))):o.push(e(void 0,r))}const f=s?2:HS(e.children)?3:1;let p=vQ(o.concat(yQ("_",bQ(f+"",!1))),i);return a.length&&(p=QQ(t.helper(Yw),[p,gQ(a)])),{slots:p,hasDynamicSlots:s}}function GS(e,t,n){const r=[yQ("name",e),yQ("fn",t)];return null!=n&&r.push(yQ("key",bQ(String(n),!0))),vQ(r)}function HS(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||HS(n.children))return!0;break;case 9:if(HS(n.branches))return!0;break;case 10:case 11:if(HS(n.children))return!0}}return!1}const KS=new WeakMap,JS=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,i=1===e.tagType;let o=i?ex(e,t):`"${n}"`;const a=P(o)&&o.callee===Lw;let s,l,c,u,O,d=0,h=a||o===Tw||o===_w||!i&&("svg"===n||"foreignObject"===n||"math"===n);if(r.length>0){const n=tx(e,t,void 0,i,a);s=n.props,d=n.patchFlag,u=n.dynamicPropNames;const r=n.directives;O=r&&r.length?gQ(r.map(e=>ix(e,t))):void 0,n.shouldUseBlock&&(h=!0)}if(e.children.length>0){o===Cw&&(h=!0,d|=1024);if(i&&o!==Tw&&o!==Cw){const{slots:n,hasDynamicSlots:r}=jS(e,t);l=n,r&&(d|=1024)}else if(1===e.children.length&&o!==Tw){const n=e.children[0],r=n.type,i=5===r||8===r;i&&0===mS(n,t)&&(d|=1),l=i||2===r?n:e.children}else l=e.children}u&&u.length&&(c=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(u)),e.codegenNode=mQ(t,o,s,l,0===d?void 0:d,c,O,!!h,!1,i,e.loc)};function ex(e,t,n=!1){let{tag:r}=e;const i=ox(r),o=A$(e,"is",!1,!0);if(o)if(i||NQ("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===o.type?e=o.value&&bQ(o.value.content,!0):(e=o.exp,e||(e=bQ("is",!1,o.arg.loc))),e)return QQ(t.helper(Lw),[e])}else 6===o.type&&o.value.content.startsWith("vue:")&&(r=o.value.content.slice(4));const a=e$(r)||t.isBuiltInComponent(r);return a?(n||t.helper(a),a):(t.helper(Mw),t.components.add(r),P$(r,"component"))}function tx(e,t,n=e.props,r,i,o=!1){const{tag:a,loc:s,children:l}=e;let c=[];const u=[],O=[],d=l.length>0;let h=!1,p=0,A=!1,m=!1,g=!1,v=!1,y=!1,b=!1;const w=[],Q=e=>{c.length&&(u.push(vQ(nx(c),s)),c=[]),e&&u.push(e)},$=()=>{t.scopes.vFor>0&&c.push(yQ(bQ("ref_for",!0),bQ("true")))},S=({key:e,value:n})=>{if(JQ(e)){const o=e.content,a=f(o);if(!a||r&&!i||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||B(o)||(v=!0),a&&B(o)&&(b=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&mS(n,t)>0)return;"ref"===o?A=!0:"class"===o?m=!0:"style"===o?g=!0:"key"===o||w.includes(o)||w.push(o),!r||"class"!==o&&"style"!==o||w.includes(o)||w.push(o)}else y=!0};for(let f=0;f<n.length;f++){const i=n[f];if(6===i.type){const{loc:e,name:n,nameLoc:r,value:o}=i;let s=!0;if("ref"===n&&(A=!0,$()),"is"===n&&(ox(a)||o&&o.content.startsWith("vue:")||NQ("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(yQ(bQ(n,!0,r),bQ(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:l,exp:f,loc:A,modifiers:m}=i,g="bind"===n,v="on"===n;if("slot"===n){r||t.onError(qQ(40,A));continue}if("once"===n||"memo"===n)continue;if("is"===n||g&&m$(l,"is")&&(ox(a)||NQ("COMPILER_IS_ON_ELEMENT",t)))continue;if(v&&o)continue;if((g&&m$(l,"key")||v&&d&&m$(l,"vue:before-update"))&&(h=!0),g&&m$(l,"ref")&&$(),!l&&(g||v)){if(y=!0,f)if(g){if(Q(),NQ("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(f);continue}$(),Q(),u.push(f)}else Q({type:14,loc:A,callee:t.helper(tQ),arguments:r?[f]:[f,"true"]});else t.onError(qQ(g?34:35,A));continue}g&&m.some(e=>"prop"===e.content)&&(p|=32);const b=t.directiveTransforms[n];if(b){const{props:n,needRuntime:r}=b(i,e,t);!o&&n.forEach(S),v&&l&&!JQ(l)?Q(vQ(n,s)):c.push(...n),r&&(O.push(i),k(r)&&KS.set(i,r))}else U(n)||(O.push(i),d&&(h=!0))}}let x;if(u.length?(Q(),x=u.length>1?QQ(t.helper(Gw),u,s):u[0]):c.length&&(x=vQ(nx(c),s)),y?p|=16:(m&&!r&&(p|=2),g&&!r&&(p|=4),w.length&&(p|=8),v&&(p|=32)),h||0!==p&&32!==p||!(A||b||O.length>0)||(p|=512),!t.inSSR&&x)switch(x.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<x.properties.length;t++){const i=x.properties[t].key;JQ(i)?"class"===i.content?e=t:"style"===i.content&&(n=t):i.isHandlerKey||(r=!0)}const i=x.properties[e],o=x.properties[n];r?x=QQ(t.helper(Jw),[x]):(i&&!JQ(i.value)&&(i.value=QQ(t.helper(Hw),[i.value])),o&&(g||4===o.value.type&&"["===o.value.content.trim()[0]||17===o.value.type)&&(o.value=QQ(t.helper(Kw),[o.value])));break;case 14:break;default:x=QQ(t.helper(Jw),[QQ(t.helper(eQ),[x])])}return{props:x,directives:O,patchFlag:p,dynamicPropNames:w,shouldUseBlock:h}}function nx(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const i=e[r];if(8===i.key.type||!i.key.isStatic){n.push(i);continue}const o=i.key.content,a=t.get(o);a?("style"===o||"class"===o||f(o))&&rx(a,i):(t.set(o,i),n.push(i))}return n}function rx(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=gQ([e.value,t.value],e.loc)}function ix(e,t){const n=[],r=KS.get(e);r?n.push(t.helperString(r)):(t.helper(Vw),t.directives.add(e.name),n.push(P$(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=bQ("true",!1,i);n.push(vQ(e.modifiers.map(e=>yQ(e,t)),i))}return gQ(n,e.loc)}function ox(e){return"component"===e||"Component"===e}const ax=(e,t)=>{if(Q$(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:o}=sx(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let s=2;o&&(a[2]=o,s=3),n.length&&(a[3]=$Q([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),a.splice(s),e.codegenNode=QQ(t.helper(Zw),a,r)}};function sx(e,t){let n,r='"default"';const i=[];for(let o=0;o<e.props.length;o++){const t=e.props[o];if(6===t.type)t.value&&("name"===t.name?r=JSON.stringify(t.value.content):(t.name=z(t.name),i.push(t)));else if("bind"===t.name&&m$(t.arg,"name")){if(t.exp)r=t.exp;else if(t.arg&&4===t.arg.type){const e=z(t.arg.content);r=t.exp=bQ(e,!1,t.arg.loc)}}else"bind"===t.name&&t.arg&&JQ(t.arg)&&(t.arg.content=z(t.arg.content)),i.push(t)}if(i.length>0){const{props:r,directives:o}=tx(e,t,i,!1,!1);n=r,o.length&&t.onError(qQ(36,o[0].loc))}return{slotName:r,slotProps:n}}const lx=(e,t,n,r)=>{const{loc:i,modifiers:o,arg:a}=e;let s;if(e.exp||o.length||n.onError(qQ(35,i)),4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);s=bQ(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?V(z(e)):`on:${e}`,!0,a.loc)}else s=wQ([`${n.helperString(iQ)}(`,a,")"]);else s=a,s.children.unshift(`${n.helperString(iQ)}(`),s.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=c$(l),t=!(e||h$(l)),n=l.content.includes(";");(t||c&&e)&&(l=wQ([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[yQ(s,l||bQ("() => {}",!1,i))]};return r&&(u=r(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},cx=(e,t,n)=>{const{modifiers:r,loc:i}=e,o=e.arg;let{exp:a}=e;return a&&4===a.type&&!a.content.trim()&&(a=void 0),4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=o.content?`${o.content} || ""`:'""'),r.some(e=>"camel"===e.content)&&(4===o.type?o.isStatic?o.content=z(o.content):o.content=`${n.helperString(nQ)}(${o.content})`:(o.children.unshift(`${n.helperString(nQ)}(`),o.children.push(")"))),n.inSSR||(r.some(e=>"prop"===e.content)&&ux(o,"."),r.some(e=>"attr"===e.content)&&ux(o,"^")),{props:[yQ(o,a)]}},ux=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Ox=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,i=!1;for(let e=0;e<n.length;e++){const t=n[e];if(v$(t)){i=!0;for(let i=e+1;i<n.length;i++){const o=n[i];if(!v$(o)){r=void 0;break}r||(r=n[e]=wQ([t],t.loc)),r.children.push(" + ",o),n.splice(i,1),i--}}}if(i&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<n.length;e++){const r=n[e];if(v$(r)||8===r.type){const i=[];2===r.type&&" "===r.content||i.push(r),t.ssr||0!==mS(r,t)||i.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:QQ(t.helper(zw),i)}}}}},dx=new WeakSet,hx=(e,t)=>{if(1===e.type&&p$(e,"once",!0)){if(dx.has(e)||t.inVOnce||t.inSSR)return;return dx.add(e),t.inVOnce=!0,t.helper(oQ),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},fx=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(qQ(41,e.loc)),px();const o=r.loc.source.trim(),a=4===r.type?r.content:o,s=n.bindingMetadata[o];if("props"===s||"props-aliased"===s)return n.onError(qQ(44,r.loc)),px();if("literal-const"===s||"setup-const"===s)return n.onError(qQ(45,r.loc)),px();if(!a.trim()||!c$(r))return n.onError(qQ(42,r.loc)),px();const l=i||bQ("modelValue",!0),c=i?JQ(i)?`onUpdate:${z(i.content)}`:wQ(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;u=wQ([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const O=[yQ(l,e.exp),yQ(c,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>e.content).map(e=>(n$(e)?e:JSON.stringify(e))+": true").join(", "),n=i?JQ(i)?`${i.content}Modifiers`:wQ([i,' + "Modifiers"']):"modelModifiers";O.push(yQ(n,bQ(`{ ${t} }`,!1,e.loc,2)))}return px(O)};function px(e=[]){return{props:e}}const Ax=/[\w).+\-_$\]]/,mx=(e,t)=>{NQ("COMPILER_FILTERS",t)&&(5===e.type?gx(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&gx(e.exp,t)}))};function gx(e,t){if(4===e.type)vx(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];"object"==typeof r&&(4===r.type?vx(r,t):8===r.type?gx(e,t):5===r.type&&gx(r.content,t))}}function vx(e,t){const n=e.content;let r,i,o,a,s=!1,l=!1,c=!1,u=!1,O=0,d=0,h=0,f=0,p=[];for(o=0;o<n.length;o++)if(i=r,r=n.charCodeAt(o),s)39===r&&92!==i&&(s=!1);else if(l)34===r&&92!==i&&(l=!1);else if(c)96===r&&92!==i&&(c=!1);else if(u)47===r&&92!==i&&(u=!1);else if(124!==r||124===n.charCodeAt(o+1)||124===n.charCodeAt(o-1)||O||d||h){switch(r){case 34:l=!0;break;case 39:s=!0;break;case 96:c=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:O++;break;case 125:O--}if(47===r){let e,t=o-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Ax.test(e)||(u=!0)}}else void 0===a?(f=o+1,a=n.slice(0,o).trim()):A();function A(){p.push(n.slice(f,o).trim()),f=o+1}if(void 0===a?a=n.slice(0,o).trim():0!==f&&A(),p.length){for(o=0;o<p.length;o++)a=yx(a,p[o],t);e.content=a,e.ast=void 0}}function yx(e,t,n){n.helper(qw);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${P$(t,"filter")}(${e})`;{const i=t.slice(0,r),o=t.slice(r+1);return n.filters.add(i),`${P$(i,"filter")}(${e}${")"!==o?","+o:o}`}}const bx=new WeakSet,wx=(e,t)=>{if(1===e.type){const n=p$(e,"memo");if(!n||bx.has(e)||t.inSSR)return;return bx.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&_Q(r,t),e.codegenNode=QQ(t.helper(OQ),[n.exp,$Q(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}},Qx=(e,t)=>{if(1===e.type)for(const n of e.props)if(7===n.type&&"bind"===n.name&&(!n.exp||4===n.exp.type&&!n.exp.content.trim())&&n.arg){const e=n.arg;if(4===e.type&&e.isStatic){const t=z(e.content);(r$.test(t[0])||"-"===t[0])&&(n.exp=bQ(t,!1,e.loc))}else t.onError(qQ(53,e.loc)),n.exp=bQ("",!0,e.loc)}};function $x(e){return[[Qx,hx,DS,wx,LS,mx,ax,JS,ZS,Ox],{on:lx,bind:cx,model:fx}]}function Sx(e,t={}){const n=t.onError||LQ,r="module"===t.mode;!0===t.prefixIdentifiers?n(qQ(48)):r&&n(qQ(49));t.cacheHandlers&&n(qQ(50)),t.scopeId&&!r&&n(qQ(51));const i=A({},t,{prefixIdentifiers:!1}),o=x(e)?hS(e,i):e,[a,s]=$x();return QS(o,A({},i,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:A({},s,t.directiveTransforms||{})})),PS(o,i)}const xx=()=>({props:[]}),kx=Symbol(""),Px=Symbol(""),Tx=Symbol(""),_x=Symbol(""),Cx=Symbol(""),Ex=Symbol(""),Rx=Symbol(""),Xx=Symbol(""),Bx=Symbol(""),Ux=Symbol("");let Dx;fQ({[kx]:"vModelRadio",[Px]:"vModelCheckbox",[Tx]:"vModelText",[_x]:"vModelSelect",[Cx]:"vModelDynamic",[Ex]:"withModifiers",[Rx]:"withKeys",[Xx]:"vShow",[Bx]:"Transition",[Ux]:"TransitionGroup"});const Ix={parseMode:"html",isVoidTag:he,isNativeTag:e=>ue(e)||Oe(e)||de(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return Dx||(Dx=document.createElement("div")),t?(Dx.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Dx.children[0].getAttribute("foo")):(Dx.innerHTML=e,Dx.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Bx:"TransitionGroup"===e||"transition-group"===e?Ux:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},zx=e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:bQ("style",!0,t.loc),exp:Nx(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Nx=(e,t)=>{const n=se(e);return bQ(JSON.stringify(n),!1,t,3)};function Mx(e,t){return qQ(e,t)}const Lx={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Vx=c("passive,once,capture"),qx=c("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Fx=c("left,right"),Wx=c("onkeyup,onkeydown,onkeypress"),Zx=(e,t)=>JQ(e)&&"onclick"===e.content.toLowerCase()?bQ(t,!0):4!==e.type?wQ(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Yx=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},jx=[zx],Gx={cloak:xx,html:(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Mx(54,i)),t.children.length&&(n.onError(Mx(55,i)),t.children.length=0),{props:[yQ(bQ("innerHTML",!0,i),r||bQ("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Mx(56,i)),t.children.length&&(n.onError(Mx(57,i)),t.children.length=0),{props:[yQ(bQ("textContent",!0),r?mS(r,n)>0?r:QQ(n.helperString(jw),[r],i):bQ("",!0))]}},model:(e,t,n)=>{const r=fx(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(Mx(59,e.arg.loc));const{tag:i}=t,o=n.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let a=Tx,s=!1;if("input"===i||o){const r=A$(t,"type");if(r){if(7===r.type)a=Cx;else if(r.value)switch(r.value.content){case"radio":a=kx;break;case"checkbox":a=Px;break;case"file":s=!0,n.onError(Mx(60,e.loc))}}else g$(t)&&(a=Cx)}else"select"===i&&(a=_x);s||(r.needRuntime=n.helper(a))}else n.onError(Mx(58,e.loc));return r.props=r.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),r},on:(e,t,n)=>lx(e,t,n,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:i,value:o}=t.props[0];const{keyModifiers:a,nonKeyModifiers:s,eventOptionModifiers:l}=((e,t,n)=>{const r=[],i=[],o=[];for(let a=0;a<t.length;a++){const s=t[a].content;"native"===s&&MQ("COMPILER_V_ON_NATIVE",n)||Vx(s)?o.push(s):Fx(s)?JQ(e)?Wx(e.content.toLowerCase())?r.push(s):i.push(s):(r.push(s),i.push(s)):qx(s)?i.push(s):r.push(s)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:o}})(i,r,n,e.loc);if(s.includes("right")&&(i=Zx(i,"onContextmenu")),s.includes("middle")&&(i=Zx(i,"onMouseup")),s.length&&(o=QQ(n.helper(Ex),[o,JSON.stringify(s)])),!a.length||JQ(i)&&!Wx(i.content.toLowerCase())||(o=QQ(n.helper(Rx),[o,JSON.stringify(a)])),l.length){const e=l.map(L).join("");i=JQ(i)?bQ(`${i.content}${e}`,!0):wQ(["(",i,`) + "${e}"`])}return{props:[yQ(i,o)]}}),show:(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Mx(62,i)),{props:[],needRuntime:n.helper(Xx)}}};const Hx=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Ew,BindingTypes:{DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},CAMELIZE:nQ,CAPITALIZE:rQ,CREATE_BLOCK:Xw,CREATE_COMMENT:Iw,CREATE_ELEMENT_BLOCK:Bw,CREATE_ELEMENT_VNODE:Dw,CREATE_SLOTS:Yw,CREATE_STATIC:Nw,CREATE_TEXT:zw,CREATE_VNODE:Uw,CompilerDeprecationTypes:{COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},ConstantTypes:{NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},DOMDirectiveTransforms:Gx,DOMErrorCodes:{X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},DOMErrorMessages:Lx,DOMNodeTransforms:jx,ElementTypes:{ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ErrorCodes:{ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},FRAGMENT:Pw,GUARD_REACTIVE_PROPS:eQ,IS_MEMO_SAME:dQ,IS_REF:uQ,KEEP_ALIVE:Cw,MERGE_PROPS:Gw,NORMALIZE_CLASS:Hw,NORMALIZE_PROPS:Jw,NORMALIZE_STYLE:Kw,Namespaces:{HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},NodeTypes:{ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},OPEN_BLOCK:Rw,POP_SCOPE_ID:sQ,PUSH_SCOPE_ID:aQ,RENDER_LIST:Ww,RENDER_SLOT:Zw,RESOLVE_COMPONENT:Mw,RESOLVE_DIRECTIVE:Vw,RESOLVE_DYNAMIC_COMPONENT:Lw,RESOLVE_FILTER:qw,SET_BLOCK_TRACKING:oQ,SUSPENSE:_w,TELEPORT:Tw,TO_DISPLAY_STRING:jw,TO_HANDLERS:tQ,TO_HANDLER_KEY:iQ,TRANSITION:Bx,TRANSITION_GROUP:Ux,TS_NODE_TYPES:KQ,UNREF:cQ,V_MODEL_CHECKBOX:Px,V_MODEL_DYNAMIC:Cx,V_MODEL_RADIO:kx,V_MODEL_SELECT:_x,V_MODEL_TEXT:Tx,V_ON_WITH_KEYS:Rx,V_ON_WITH_MODIFIERS:Ex,V_SHOW:Xx,WITH_CTX:lQ,WITH_DIRECTIVES:Fw,WITH_MEMO:OQ,advancePositionWithClone:function(e,t,n=t.length){return f$({offset:e.offset,line:e.line,column:e.column},t,n)},advancePositionWithMutation:f$,assert:function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},baseCompile:Sx,baseParse:hS,buildDirectiveArgs:ix,buildProps:tx,buildSlots:jS,checkCompatEnabled:MQ,compile:function(e,t={}){return Sx(e,A({},Ix,t,{nodeTransforms:[Yx,...jx,...t.nodeTransforms||[]],directiveTransforms:A({},Gx,t.directiveTransforms||{}),transformHoist:null}))},convertToBlock:_Q,createArrayExpression:gQ,createAssignmentExpression:function(e,t){return{type:24,left:e,right:t,loc:pQ}},createBlockStatement:kQ,createCacheExpression:xQ,createCallExpression:QQ,createCompilerError:qQ,createCompoundExpression:wQ,createConditionalExpression:SQ,createDOMCompilerError:Mx,createForLoopParams:FS,createFunctionExpression:$Q,createIfStatement:function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:pQ}},createInterpolation:function(e,t){return{type:5,loc:t,content:x(e)?bQ(e,!1,t):e}},createObjectExpression:vQ,createObjectProperty:yQ,createReturnStatement:function(e){return{type:26,returns:e,loc:pQ}},createRoot:AQ,createSequenceExpression:function(e){return{type:25,expressions:e,loc:pQ}},createSimpleExpression:bQ,createStructuralDirectiveTransform:SS,createTemplateLiteral:function(e){return{type:22,elements:e,loc:pQ}},createTransformContext:wS,createVNodeCall:mQ,errorMessages:FQ,extractIdentifiers:GQ,findDir:p$,findProp:A$,forAliasRE:_$,generate:PS,generateCodeFrame:ne,getBaseTransformPreset:$x,getConstantType:mS,getMemoedVNodeCall:T$,getVNodeBlockHelper:TQ,getVNodeHelper:PQ,hasDynamicKeyVBind:g$,hasScopeRef:function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let r=0;r<t.props.length;r++){const i=t.props[r];if(7===i.type&&(e(i.arg,n)||e(i.exp,n)))return!0}return t.children.some(t=>e(t,n));case 11:return!!e(t.source,n)||t.children.some(t=>e(t,n));case 9:return t.branches.some(t=>e(t,n));case 10:return!!e(t.condition,n)||t.children.some(t=>e(t,n));case 4:return!t.isStatic&&n$(t.content)&&!!n[t.content];case 8:return t.children.some(t=>P(t)&&e(t,n));case 5:case 12:return e(t.content,n);default:return!1}},helperNameMap:hQ,injectProp:x$,isAllWhitespace:C$,isCommentOrWhitespace:R$,isCoreComponent:e$,isFnExpression:h$,isFnExpressionBrowser:O$,isFnExpressionNode:d$,isFunctionType:e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),isInDestructureAssignment:function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},isInNewExpression:function(e){let t=e.length;for(;t--;){const n=e[t];if("NewExpression"===n.type)return!0;if("MemberExpression"!==n.type)break}return!1},isMemberExpression:c$,isMemberExpressionBrowser:s$,isMemberExpressionNode:l$,isReferencedIdentifier:function(e,t,n){return!1},isSimpleIdentifier:n$,isSlotOutlet:Q$,isStaticArgOf:m$,isStaticExp:JQ,isStaticProperty:HQ,isStaticPropertyKey:(e,t)=>HQ(t)&&t.key===e,isTemplateNode:w$,isText:v$,isVPre:y$,isVSlot:b$,isWhitespaceText:E$,locStub:pQ,noopDirectiveTransform:xx,parse:function(e,t={}){return hS(e,A({},Ix,t))},parserOptions:Ix,processExpression:US,processFor:VS,processIf:IS,processSlotOutlet:sx,registerRuntimeHelpers:fQ,resolveComponentType:ex,stringifyExpression:function e(t){return x(t)?t:4===t.type?t.content:t.children.map(e).join("")},toValidAssetId:P$,trackSlotScopes:ZS,trackVForSlotScopes:(e,t)=>{let n;if(w$(e)&&e.props.some(b$)&&(n=p$(e,"for"))){const e=n.forParseResult;if(e){qS(e);const{value:n,key:r,index:i}=e,{addIdentifiers:o,removeIdentifiers:a}=t;return n&&o(n),r&&o(r),i&&o(i),()=>{n&&a(n),r&&a(r),i&&a(i)}}}},transform:QS,transformBind:cx,transformElement:JS,transformExpression:(e,t)=>{if(5===e.type)e.content=US(e.content,t);else if(1===e.type){const n=p$(e,"memo");for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&"for"!==i.name){const e=i.exp,r=i.arg;!e||4!==e.type||"on"===i.name&&r||n&&r&&4===r.type&&"key"===r.content||(i.exp=US(e,t,"slot"===i.name)),r&&4===r.type&&!r.isStatic&&(i.arg=US(r,t))}}}},transformModel:fx,transformOn:lx,transformStyle:zx,transformVBindShorthand:Qx,traverseNode:$S,unwrapTSNode:function e(t){return KQ.includes(t.type)?e(t.expression):t},validFirstIdentCharRE:r$,walkBlockDeclarations:WQ,walkFunctionParams:function(e,t){for(const n of e.params)for(const e of GQ(n))t(e)},walkIdentifiers:function(e,t,n=!1,r=[],i=Object.create(null)){},warnDeprecation:function(e,t,n,...r){if("suppress-warning"===zQ(e,t))return;const{message:i,link:o}=IQ[e],a=`(deprecation ${e}) ${"function"==typeof i?i(...r):i}${o?`\n Details: ${o}`:""}`,s=new SyntaxError(a);s.code=e,n&&(s.loc=n),t.onWarn(s)}},Symbol.toStringTag,{value:"Module"})),Kx=gv(Hx),Jx=gv(Hl),ek=gv(Re);var tk,nk;function rk(){return nk||(nk=1,xw.exports=(tk||(tk=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Kx,n=Jx,r=ek;function i(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var o=i(n);const a=Object.create(null);function s(e,n){if(!r.isString(e)){if(!e.nodeType)return r.NOOP;e=e.innerHTML}const i=r.genCacheKey(e,n),s=a[i];if(s)return s;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const l=r.extend({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},n);l.isCustomElement||"undefined"==typeof customElements||(l.isCustomElement=e=>!!customElements.get(e));const{code:c}=t.compile(e,l),u=new Function("Vue",c)(o);return u._rc=!0,a[i]=u}n.registerRuntimeCompiler(s),e.compile=s,Object.keys(n).forEach(function(t){"default"===t||Object.prototype.hasOwnProperty.call(e,t)||(e[t]=n[t])})}(kw)),kw)),xw.exports}function ik(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ok(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ik(Object(n),!0).forEach(function(t){sk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ik(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ak(e){return(ak="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lk(){return lk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lk.apply(this,arguments)}function ck(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function uk(e){return function(e){if(Array.isArray(e))return Ok(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ok(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ok(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ok(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dk(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var hk=dk(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),fk=dk(/Edge/i),pk=dk(/firefox/i),Ak=dk(/safari/i)&&!dk(/chrome/i)&&!dk(/android/i),mk=dk(/iP(ad|od|hone)/i),gk=dk(/chrome/i)&&dk(/android/i),vk={capture:!1,passive:!1};function yk(e,t,n){e.addEventListener(t,n,!hk&&vk)}function bk(e,t,n){e.removeEventListener(t,n,!hk&&vk)}function wk(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function Qk(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function $k(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&wk(e,t):wk(e,t))||r&&e===n)return e;if(e===n)break}while(e=Qk(e))}return null}var Sk,xk=/\s+/g;function kk(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(xk," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(xk," ")}}function Pk(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function Tk(e,t){var n="";if("string"==typeof e)n=e;else do{var r=Pk(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function _k(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function Ck(){var e=document.scrollingElement;return e||document.documentElement}function Ek(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,u,O;if(e!==window&&e.parentNode&&e!==Ck()?(a=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,u=o.height,O=o.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,O=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!hk))do{if(i&&i.getBoundingClientRect&&("none"!==Pk(i,"transform")||n&&"static"!==Pk(i,"position"))){var d=i.getBoundingClientRect();a-=d.top+parseInt(Pk(i,"border-top-width")),s-=d.left+parseInt(Pk(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=Tk(i||e),f=h&&h.a,p=h&&h.d;h&&(l=(a/=p)+(u/=p),c=(s/=f)+(O/=f))}return{top:a,left:s,bottom:l,right:c,width:O,height:u}}}function Rk(e,t,n){for(var r=Ik(e,!0),i=Ek(e)[t];r;){if(!(i>=Ek(r)[n]))return r;if(r===Ck())break;r=Ik(r,!1)}return!1}function Xk(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==qP.ghost&&(r||a[o]!==qP.dragged)&&$k(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function Bk(e,t){for(var n=e.lastElementChild;n&&(n===qP.ghost||"none"===Pk(n,"display")||t&&!wk(n,t));)n=n.previousElementSibling;return n||null}function Uk(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===qP.clone||t&&!wk(e,t)||n++;return n}function Dk(e){var t=0,n=0,r=Ck();if(e)do{var i=Tk(e),o=i.a,a=i.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function Ik(e,t){if(!e||!e.getBoundingClientRect)return Ck();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Pk(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return Ck();if(r||t)return n;r=!0}}}while(n=n.parentNode);return Ck()}function zk(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function Nk(e,t){return function(){if(!Sk){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),Sk=setTimeout(function(){Sk=void 0},t)}}}function Mk(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Lk(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Vk(e,t){Pk(e,"position","absolute"),Pk(e,"top",t.top),Pk(e,"left",t.left),Pk(e,"width",t.width),Pk(e,"height",t.height)}function qk(e){Pk(e,"position",""),Pk(e,"top",""),Pk(e,"left",""),Pk(e,"width",""),Pk(e,"height","")}var Fk="Sortable"+(new Date).getTime();function Wk(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach(function(e){if("none"!==Pk(e,"display")&&e!==qP.ghost){t.push({target:e,rect:Ek(e)});var n=ok({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=Tk(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}})},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,o=0;t.forEach(function(e){var t=0,n=e.target,a=n.fromRect,s=Ek(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,O=Tk(n,!0);O&&(s.top-=O.f,s.left-=O.e),n.toRect=s,n.thisAnimationDuration&&zk(l,s)&&!zk(a,s)&&(u.top-s.top)/(u.left-s.left)===(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,r.options)),zk(s,a)||(n.prevFromRect=a,n.prevToRect=s,t||(t=r.options.animation),r.animate(n,u,s,t)),t&&(i=!0,o=Math.max(o,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout(function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null},t),n.thisAnimationDuration=t)}),clearTimeout(e),i?e=setTimeout(function(){"function"==typeof n&&n()},o):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){Pk(e,"transition",""),Pk(e,"transform","");var i=Tk(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,Pk(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),Pk(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),Pk(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout(function(){Pk(e,"transition",""),Pk(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1},r)}}}}var Zk=[],Yk={initializeByDefault:!0},jk={mount:function(e){for(var t in Yk)Yk.hasOwnProperty(t)&&!(t in e)&&(e[t]=Yk[t]);Zk.forEach(function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Zk.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Zk.forEach(function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](ok({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](ok({sortable:t},n)))})},initializePlugins:function(e,t,n,r){for(var i in Zk.forEach(function(r){var i=r.pluginName;if(e.options[i]||r.initializeByDefault){var o=new r(e,t,e.options);o.sortable=e,o.options=e.options,e[i]=o,lk(n,o.defaults)}}),e.options)if(e.options.hasOwnProperty(i)){var o=this.modifyOption(e,i,e.options[i]);void 0!==o&&(e.options[i]=o)}},getEventProperties:function(e,t){var n={};return Zk.forEach(function(r){"function"==typeof r.eventProperties&&lk(n,r.eventProperties.call(t[r.pluginName],e))}),n},modifyOption:function(e,t,n){var r;return Zk.forEach(function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))}),r}};function Gk(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,O=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,f=e.extraEventProperties;if(t=t||n&&n[Fk]){var p,A=t.options,m="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||hk||fk?(p=document.createEvent("Event")).initEvent(r,!0,!0):p=new CustomEvent(r,{bubbles:!0,cancelable:!0}),p.to=a||n,p.from=s||n,p.item=i||n,p.clone=o,p.oldIndex=l,p.newIndex=c,p.oldDraggableIndex=u,p.newDraggableIndex=O,p.originalEvent=d,p.pullMode=h?h.lastPutMode:void 0;var g=ok(ok({},f),jk.getEventProperties(r,t));for(var v in g)p[v]=g[v];n&&n.dispatchEvent(p),A[m]&&A[m].call(t,p)}}var Hk=["evt"],Kk=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=ck(n,Hk);jk.pluginEvent.bind(qP)(e,t,ok({dragEl:eP,parentEl:tP,ghostEl:nP,rootEl:rP,nextEl:iP,lastDownEl:oP,cloneEl:aP,cloneHidden:sP,dragStarted:yP,putSortable:hP,activeSortable:qP.active,originalEvent:r,oldIndex:lP,oldDraggableIndex:uP,newIndex:cP,newDraggableIndex:OP,hideGhostForTarget:NP,unhideGhostForTarget:MP,cloneNowHidden:function(){sP=!0},cloneNowShown:function(){sP=!1},dispatchSortableEvent:function(e){Jk({sortable:t,name:e,originalEvent:r})}},i))};function Jk(e){Gk(ok({putSortable:hP,cloneEl:aP,targetEl:eP,rootEl:rP,oldIndex:lP,oldDraggableIndex:uP,newIndex:cP,newDraggableIndex:OP},e))}var eP,tP,nP,rP,iP,oP,aP,sP,lP,cP,uP,OP,dP,hP,fP,pP,AP,mP,gP,vP,yP,bP,wP,QP,$P,SP=!1,xP=!1,kP=[],PP=!1,TP=!1,_P=[],CP=!1,EP=[],RP="undefined"!=typeof document,XP=mk,BP=fk||hk?"cssFloat":"float",UP=RP&&!gk&&!mk&&"draggable"in document.createElement("div"),DP=function(){if(RP){if(hk)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),IP=function(e,t){var n=Pk(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=Xk(e,0,t),o=Xk(e,1,t),a=i&&Pk(i),s=o&&Pk(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Ek(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Ek(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[BP]||o&&"none"===n[BP]&&l+c>r)?"vertical":"horizontal"},zP=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==ak(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},NP=function(){!DP&&nP&&Pk(nP,"display","none")},MP=function(){!DP&&nP&&Pk(nP,"display","")};RP&&document.addEventListener("click",function(e){if(xP)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xP=!1,!1},!0);var LP=function(e){if(eP){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,o=e.clientY,kP.some(function(e){var t=e[Fk].options.emptyInsertThreshold;if(t&&!Bk(e)){var n=Ek(e),r=i>=n.left-t&&i<=n.right+t,s=o>=n.top-t&&o<=n.bottom+t;return r&&s?a=e:void 0}}),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Fk]._onDragOver(n)}}var i,o,a},VP=function(e){eP&&eP.parentNode[Fk]._isOutsideThisEl(e.target)};function qP(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=lk({},t),e[Fk]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return IP(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==qP.supportPointer&&"PointerEvent"in window&&!Ak,emptyInsertThreshold:5};for(var r in jk.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in zP(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&UP,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?yk(e,"pointerdown",this._onTapStart):(yk(e,"mousedown",this._onTapStart),yk(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(yk(e,"dragover",this),yk(e,"dragenter",this)),kP.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),lk(this,Wk())}function FP(e,t,n,r,i,o,a,s){var l,c,u=e[Fk],O=u.options.onMove;return!window.CustomEvent||hk||fk?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||Ek(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),O&&(c=O.call(u,l,a)),c}function WP(e){e.draggable=!1}function ZP(){CP=!1}function YP(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function jP(e){return setTimeout(e,0)}function GP(e){return clearTimeout(e)}qP.prototype={constructor:qP,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(bP=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,eP):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){EP.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&EP.push(r)}}(n),!eP&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Ak||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=$k(s,r.draggable,n,!1))&&s.animated||oP===s)){if(lP=Uk(s),uP=Uk(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Jk({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Kk("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some(function(r){if(r=$k(l,r.trim(),n,!1))return Jk({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Kk("filter",t,{evt:e}),!0})))return void(i&&e.cancelable&&e.preventDefault());r.handle&&!$k(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!eP&&n.parentNode===o){var l=Ek(n);if(rP=o,tP=(eP=n).parentNode,iP=eP.nextSibling,oP=n,dP=a.group,qP.dragged=eP,fP={target:eP,clientX:(t||e).clientX,clientY:(t||e).clientY},gP=fP.clientX-l.left,vP=fP.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,eP.style["will-change"]="all",r=function(){Kk("delayEnded",i,{evt:e}),qP.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!pk&&i.nativeDraggable&&(eP.draggable=!0),i._triggerDragStart(e,t),Jk({sortable:i,name:"choose",originalEvent:e}),kk(eP,a.chosenClass,!0))},a.ignore.split(",").forEach(function(e){_k(eP,e.trim(),WP)}),yk(s,"dragover",LP),yk(s,"mousemove",LP),yk(s,"touchmove",LP),yk(s,"mouseup",i._onDrop),yk(s,"touchend",i._onDrop),yk(s,"touchcancel",i._onDrop),pk&&this.nativeDraggable&&(this.options.touchStartThreshold=4,eP.draggable=!0),Kk("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(fk||hk))r();else{if(qP.eventCanceled)return void this._onDrop();yk(s,"mouseup",i._disableDelayedDrag),yk(s,"touchend",i._disableDelayedDrag),yk(s,"touchcancel",i._disableDelayedDrag),yk(s,"mousemove",i._delayedDragTouchMoveHandler),yk(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&yk(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){eP&&WP(eP),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;bk(e,"mouseup",this._disableDelayedDrag),bk(e,"touchend",this._disableDelayedDrag),bk(e,"touchcancel",this._disableDelayedDrag),bk(e,"mousemove",this._delayedDragTouchMoveHandler),bk(e,"touchmove",this._delayedDragTouchMoveHandler),bk(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?yk(document,"pointermove",this._onTouchMove):yk(document,t?"touchmove":"mousemove",this._onTouchMove):(yk(eP,"dragend",this),yk(rP,"dragstart",this._onDragStart));try{document.selection?jP(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(SP=!1,rP&&eP){Kk("dragStarted",this,{evt:t}),this.nativeDraggable&&yk(document,"dragover",VP);var n=this.options;!e&&kk(eP,n.dragClass,!1),kk(eP,n.ghostClass,!0),qP.active=this,e&&this._appendGhost(),Jk({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(pP){this._lastX=pP.clientX,this._lastY=pP.clientY,NP();for(var e=document.elementFromPoint(pP.clientX,pP.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(pP.clientX,pP.clientY))!==t;)t=e;if(eP.parentNode[Fk]._isOutsideThisEl(e),t)do{if(t[Fk]){if(t[Fk]._onDragOver({clientX:pP.clientX,clientY:pP.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);MP()}},_onTouchMove:function(e){if(fP){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=nP&&Tk(nP,!0),a=nP&&o&&o.a,s=nP&&o&&o.d,l=XP&&$P&&Dk($P),c=(i.clientX-fP.clientX+r.x)/(a||1)+(l?l[0]-_P[0]:0)/(a||1),u=(i.clientY-fP.clientY+r.y)/(s||1)+(l?l[1]-_P[1]:0)/(s||1);if(!qP.active&&!SP){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(nP){o?(o.e+=c-(AP||0),o.f+=u-(mP||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var O="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Pk(nP,"webkitTransform",O),Pk(nP,"mozTransform",O),Pk(nP,"msTransform",O),Pk(nP,"transform",O),AP=c,mP=u,pP=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!nP){var e=this.options.fallbackOnBody?document.body:rP,t=Ek(eP,!0,XP,!0,e),n=this.options;if(XP){for($P=e;"static"===Pk($P,"position")&&"none"===Pk($P,"transform")&&$P!==document;)$P=$P.parentNode;$P!==document.body&&$P!==document.documentElement?($P===document&&($P=Ck()),t.top+=$P.scrollTop,t.left+=$P.scrollLeft):$P=Ck(),_P=Dk($P)}kk(nP=eP.cloneNode(!0),n.ghostClass,!1),kk(nP,n.fallbackClass,!0),kk(nP,n.dragClass,!0),Pk(nP,"transition",""),Pk(nP,"transform",""),Pk(nP,"box-sizing","border-box"),Pk(nP,"margin",0),Pk(nP,"top",t.top),Pk(nP,"left",t.left),Pk(nP,"width",t.width),Pk(nP,"height",t.height),Pk(nP,"opacity","0.8"),Pk(nP,"position",XP?"absolute":"fixed"),Pk(nP,"zIndex","100000"),Pk(nP,"pointerEvents","none"),qP.ghost=nP,e.appendChild(nP),Pk(nP,"transform-origin",gP/parseInt(nP.style.width)*100+"% "+vP/parseInt(nP.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;Kk("dragStart",this,{evt:e}),qP.eventCanceled?this._onDrop():(Kk("setupClone",this),qP.eventCanceled||((aP=Lk(eP)).draggable=!1,aP.style["will-change"]="",this._hideClone(),kk(aP,this.options.chosenClass,!1),qP.clone=aP),n.cloneId=jP(function(){Kk("clone",n),qP.eventCanceled||(n.options.removeCloneOnHide||rP.insertBefore(aP,eP),n._hideClone(),Jk({sortable:n,name:"clone"}))}),!t&&kk(eP,i.dragClass,!0),t?(xP=!0,n._loopId=setInterval(n._emulateDragOver,50)):(bk(document,"mouseup",n._onDrop),bk(document,"touchend",n._onDrop),bk(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,eP)),yk(document,"drop",n),Pk(eP,"transform","translateZ(0)")),SP=!0,n._dragStartId=jP(n._dragStarted.bind(n,t,e)),yk(document,"selectstart",n),yP=!0,Ak&&Pk(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,a=e.target,s=this.options,l=s.group,c=qP.active,u=dP===l,O=s.sort,d=hP||c,h=this,f=!1;if(!CP){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=$k(a,s.draggable,o,!0),T("dragOver"),qP.eventCanceled)return f;if(eP.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return C(!1);if(xP=!1,c&&!s.disabled&&(u?O||(r=tP!==rP):hP===this||(this.lastPutMode=dP.checkPull(this,c,eP,e))&&l.checkPut(this,c,eP,e))){if(i="vertical"===this._getDirection(e,a),t=Ek(eP),T("dragOverValid"),qP.eventCanceled)return f;if(r)return tP=rP,_(),this._hideClone(),T("revert"),qP.eventCanceled||(iP?rP.insertBefore(eP,iP):rP.appendChild(eP)),C(!0);var p=Bk(o,s.draggable);if(!p||function(e,t,n){var r=Ek(Bk(n.el,n.options.draggable)),i=10;return t?e.clientX>r.right+i||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+i}(e,i,this)&&!p.animated){if(p===eP)return C(!1);if(p&&o===e.target&&(a=p),a&&(n=Ek(a)),!1!==FP(rP,o,eP,t,a,n,e,!!a))return _(),o.appendChild(eP),tP=o,E(),C(!0)}else if(p&&function(e,t,n){var r=Ek(Xk(n.el,0,n.options,!0)),i=10;return t?e.clientX<r.left-i||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-i||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var A=Xk(o,0,s,!0);if(A===eP)return C(!1);if(n=Ek(a=A),!1!==FP(rP,o,eP,t,a,n,e,!1))return _(),o.insertBefore(eP,A),tP=o,E(),C(!0)}else if(a.parentNode===o){n=Ek(a);var m,g,v,y=eP.parentNode!==o,b=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}(eP.animated&&eP.toRect||t,a.animated&&a.toRect||n,i),w=i?"top":"left",Q=Rk(a,"top","top")||Rk(eP,"top","top"),$=Q?Q.scrollTop:void 0;if(bP!==a&&(g=n[w],PP=!1,TP=!b&&s.invertSwap||y),m=function(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,O=r?n.bottom:n.right,d=!1;if(!a)if(s&&QP<c*i){if(!PP&&(1===wP?l>u+c*o/2:l<O-c*o/2)&&(PP=!0),PP)d=!0;else if(1===wP?l<u+QP:l>O-QP)return-wP}else if(l>u+c*(1-i)/2&&l<O-c*(1-i)/2)return function(e){return Uk(eP)<Uk(e)?1:-1}(t);if((d=d||a)&&(l<u+c*o/2||l>O-c*o/2))return l>u+c/2?1:-1;return 0}(e,a,n,i,b?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,TP,bP===a),0!==m){var S=Uk(eP);do{S-=m,v=tP.children[S]}while(v&&("none"===Pk(v,"display")||v===nP))}if(0===m||v===a)return C(!1);bP=a,wP=m;var x=a.nextElementSibling,k=!1,P=FP(rP,o,eP,t,a,n,e,k=1===m);if(!1!==P)return 1!==P&&-1!==P||(k=1===P),CP=!0,setTimeout(ZP,30),_(),k&&!x?o.appendChild(eP):a.parentNode.insertBefore(eP,k?x:a),Q&&Mk(Q,0,$-Q.scrollTop),tP=eP.parentNode,void 0===g||TP||(QP=Math.abs(g-Ek(a)[w])),E(),C(!0)}if(o.contains(eP))return C(!1)}return!1}function T(s,l){Kk(s,h,ok({evt:e,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:O,fromSortable:d,target:a,completed:C,onMove:function(n,r){return FP(rP,o,eP,t,n,Ek(n),e,r)},changed:E},l))}function _(){T("dragOverAnimationCapture"),h.captureAnimationState(),h!==d&&d.captureAnimationState()}function C(t){return T("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==d&&(kk(eP,hP?hP.options.ghostClass:c.options.ghostClass,!1),kk(eP,s.ghostClass,!0)),hP!==h&&h!==qP.active?hP=h:h===qP.active&&hP&&(hP=null),d===h&&(h._ignoreWhileAnimating=a),h.animateAll(function(){T("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===eP&&!eP.animated||a===o&&!a.animated)&&(bP=null),s.dragoverBubble||e.rootEl||a===document||(eP.parentNode[Fk]._isOutsideThisEl(e.target),!t&&LP(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),f=!0}function E(){cP=Uk(eP),OP=Uk(eP,s.draggable),Jk({sortable:h,name:"change",toEl:o,newIndex:cP,newDraggableIndex:OP,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){bk(document,"mousemove",this._onTouchMove),bk(document,"touchmove",this._onTouchMove),bk(document,"pointermove",this._onTouchMove),bk(document,"dragover",LP),bk(document,"mousemove",LP),bk(document,"touchmove",LP)},_offUpEvents:function(){var e=this.el.ownerDocument;bk(e,"mouseup",this._onDrop),bk(e,"touchend",this._onDrop),bk(e,"pointerup",this._onDrop),bk(e,"touchcancel",this._onDrop),bk(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;cP=Uk(eP),OP=Uk(eP,n.draggable),Kk("drop",this,{evt:e}),tP=eP&&eP.parentNode,cP=Uk(eP),OP=Uk(eP,n.draggable),qP.eventCanceled||(SP=!1,TP=!1,PP=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),GP(this.cloneId),GP(this._dragStartId),this.nativeDraggable&&(bk(document,"drop",this),bk(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ak&&Pk(document.body,"user-select",""),Pk(eP,"transform",""),e&&(yP&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),nP&&nP.parentNode&&nP.parentNode.removeChild(nP),(rP===tP||hP&&"clone"!==hP.lastPutMode)&&aP&&aP.parentNode&&aP.parentNode.removeChild(aP),eP&&(this.nativeDraggable&&bk(eP,"dragend",this),WP(eP),eP.style["will-change"]="",yP&&!SP&&kk(eP,hP?hP.options.ghostClass:this.options.ghostClass,!1),kk(eP,this.options.chosenClass,!1),Jk({sortable:this,name:"unchoose",toEl:tP,newIndex:null,newDraggableIndex:null,originalEvent:e}),rP!==tP?(cP>=0&&(Jk({rootEl:tP,name:"add",toEl:tP,fromEl:rP,originalEvent:e}),Jk({sortable:this,name:"remove",toEl:tP,originalEvent:e}),Jk({rootEl:tP,name:"sort",toEl:tP,fromEl:rP,originalEvent:e}),Jk({sortable:this,name:"sort",toEl:tP,originalEvent:e})),hP&&hP.save()):cP!==lP&&cP>=0&&(Jk({sortable:this,name:"update",toEl:tP,originalEvent:e}),Jk({sortable:this,name:"sort",toEl:tP,originalEvent:e})),qP.active&&(null!=cP&&-1!==cP||(cP=lP,OP=uP),Jk({sortable:this,name:"end",toEl:tP,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Kk("nulling",this),rP=eP=tP=nP=iP=aP=oP=sP=fP=pP=yP=cP=OP=lP=uP=bP=wP=hP=dP=qP.dragged=qP.ghost=qP.clone=qP.active=null,EP.forEach(function(e){e.checked=!0}),EP.length=AP=mP=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":eP&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,o=this.options;r<i;r++)$k(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||YP(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach(function(e,t){var i=r.children[t];$k(i,this.options.draggable,r,!1)&&(n[e]=i)},this),t&&this.captureAnimationState(),e.forEach(function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return $k(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=jk.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&zP(n)},destroy:function(){Kk("destroy",this);var e=this.el;e[Fk]=null,bk(e,"mousedown",this._onTapStart),bk(e,"touchstart",this._onTapStart),bk(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(bk(e,"dragover",this),bk(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),kP.splice(kP.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!sP){if(Kk("hideClone",this),qP.eventCanceled)return;Pk(aP,"display","none"),this.options.removeCloneOnHide&&aP.parentNode&&aP.parentNode.removeChild(aP),sP=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(sP){if(Kk("showClone",this),qP.eventCanceled)return;eP.parentNode!=rP||this.options.group.revertClone?iP?rP.insertBefore(aP,iP):rP.appendChild(aP):rP.insertBefore(aP,eP),this.options.group.revertClone&&this.animate(eP,aP),Pk(aP,"display",""),sP=!1}}else this._hideClone()}},RP&&yk(document,"touchmove",function(e){(qP.active||SP)&&e.cancelable&&e.preventDefault()}),qP.utils={on:yk,off:bk,css:Pk,find:_k,is:function(e,t){return!!$k(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:Nk,closest:$k,toggleClass:kk,clone:Lk,index:Uk,nextTick:jP,cancelNextTick:GP,detectDirection:IP,getChild:Xk},qP.get=function(e){return e[Fk]},qP.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(qP.utils=ok(ok({},qP.utils),e.utils)),jk.mount(e)})},qP.create=function(e,t){return new qP(e,t)},qP.version="1.14.0";var HP,KP,JP,eT,tT,nT,rT=[],iT=!1;function oT(){rT.forEach(function(e){clearInterval(e.pid)}),rT=[]}function aT(){clearInterval(nT)}var sT,lT=Nk(function(e,t,n,r){if(t.scroll){var i,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=Ck(),u=!1;KP!==n&&(KP=n,oT(),HP=t.scroll,i=t.scrollFn,!0===HP&&(HP=Ik(n,!0)));var O=0,d=HP;do{var h=d,f=Ek(h),p=f.top,A=f.bottom,m=f.left,g=f.right,v=f.width,y=f.height,b=void 0,w=void 0,Q=h.scrollWidth,$=h.scrollHeight,S=Pk(h),x=h.scrollLeft,k=h.scrollTop;h===c?(b=v<Q&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),w=y<$&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(b=v<Q&&("auto"===S.overflowX||"scroll"===S.overflowX),w=y<$&&("auto"===S.overflowY||"scroll"===S.overflowY));var P=b&&(Math.abs(g-o)<=s&&x+v<Q)-(Math.abs(m-o)<=s&&!!x),T=w&&(Math.abs(A-a)<=s&&k+y<$)-(Math.abs(p-a)<=s&&!!k);if(!rT[O])for(var _=0;_<=O;_++)rT[_]||(rT[_]={});rT[O].vx==P&&rT[O].vy==T&&rT[O].el===h||(rT[O].el=h,rT[O].vx=P,rT[O].vy=T,clearInterval(rT[O].pid),0==P&&0==T||(u=!0,rT[O].pid=setInterval(function(){r&&0===this.layer&&qP.active._onTouchMove(tT);var t=rT[this.layer].vy?rT[this.layer].vy*l:0,n=rT[this.layer].vx?rT[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(qP.dragged.parentNode[Fk],n,t,e,tT,rT[this.layer].el)||Mk(rT[this.layer].el,n,t)}.bind({layer:O}),24))),O++}while(t.bubbleScroll&&d!==c&&(d=Ik(d,!1)));iT=u}},30),cT=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function uT(){}function OT(){}uT.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=Xk(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:cT},lk(uT,{pluginName:"revertOnSpill"}),OT.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:cT},lk(OT,{pluginName:"removeOnSpill"});var dT,hT,fT,pT,AT,mT=[],gT=[],vT=!1,yT=!1,bT=!1;function wT(e,t){gT.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function QT(){mT.forEach(function(e){e!==fT&&e.parentNode&&e.parentNode.removeChild(e)})}qP.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?yk(document,"dragover",this._handleAutoScroll):this.options.supportPointer?yk(document,"pointermove",this._handleFallbackAutoScroll):t.touches?yk(document,"touchmove",this._handleFallbackAutoScroll):yk(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?bk(document,"dragover",this._handleAutoScroll):(bk(document,"pointermove",this._handleFallbackAutoScroll),bk(document,"touchmove",this._handleFallbackAutoScroll),bk(document,"mousemove",this._handleFallbackAutoScroll)),aT(),oT(),clearTimeout(Sk),Sk=void 0},nulling:function(){tT=KP=HP=iT=nT=JP=eT=null,rT.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(r,i);if(tT=e,t||this.options.forceAutoScrollFallback||fk||hk||Ak){lT(e,this.options,o,t);var a=Ik(o,!0);!iT||nT&&r===JP&&i===eT||(nT&&aT(),nT=setInterval(function(){var o=Ik(document.elementFromPoint(r,i),!0);o!==a&&(a=o,oT()),lT(e,n.options,o,t)},10),JP=r,eT=i)}else{if(!this.options.bubbleScroll||Ik(o,!0)===Ck())return void oT();lT(e,this.options,Ik(o,!1),!1)}}},lk(e,{pluginName:"scroll",initializeByDefault:!0})}),qP.mount(OT,uT);const $T=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:function(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?yk(document,"pointerup",this._deselectMultiDrag):(yk(document,"mouseup",this._deselectMultiDrag),yk(document,"touchend",this._deselectMultiDrag)),yk(document,"keydown",this._checkKeyDown),yk(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";mT.length&&hT===e?mT.forEach(function(e,t){r+=(t?", ":"")+e.textContent}):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;fT=t},delayEnded:function(){this.isMultiDrag=~mT.indexOf(fT)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<mT.length;r++)gT.push(Lk(mT[r])),gT[r].sortableIndex=mT[r].sortableIndex,gT[r].draggable=!1,gT[r].style["will-change"]="",kk(gT[r],this.options.selectedClass,!1),mT[r]===fT&&kk(gT[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,i=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||mT.length&&hT===t&&(wT(!0,n),r("clone"),i()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(wT(!1,n),gT.forEach(function(e){Pk(e,"display","")}),t(),AT=!1,r())},hideClone:function(e){var t=this;e.sortable;var n=e.cloneNowHidden,r=e.cancel;this.isMultiDrag&&(gT.forEach(function(e){Pk(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)}),n(),AT=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&hT&&hT.multiDrag._deselectMultiDrag(),mT.forEach(function(e){e.sortableIndex=Uk(e)}),mT=mT.sort(function(e,t){return e.sortableIndex-t.sortableIndex}),bT=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){mT.forEach(function(e){e!==fT&&Pk(e,"position","absolute")});var r=Ek(fT,!1,!0,!0);mT.forEach(function(e){e!==fT&&Vk(e,r)}),yT=!0,vT=!0}n.animateAll(function(){yT=!1,vT=!1,t.options.animation&&mT.forEach(function(e){qk(e)}),t.options.sort&&QT()})}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;yT&&~mT.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,i=e.dragRect;mT.length>1&&(mT.forEach(function(e){r.addAnimationState({target:e,rect:yT?Ek(e):i}),qk(e),e.fromRect=i,t.removeAnimationState(e)}),yT=!1,function(e,t){mT.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,i=e.activeSortable,o=e.parentEl,a=e.putSortable,s=this.options;if(r){if(n&&i._hideClone(),vT=!1,s.animation&&mT.length>1&&(yT||!n&&!i.options.sort&&!a)){var l=Ek(fT,!1,!0,!0);mT.forEach(function(e){e!==fT&&(Vk(e,l),o.appendChild(e))}),yT=!0}if(!n)if(yT||QT(),mT.length>1){var c=AT;i._showClone(t),i.options.animation&&!AT&&c&&gT.forEach(function(e){i.addAnimationState({target:e,rect:pT}),e.fromRect=pT,e.thisAnimationDuration=null})}else i._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(mT.forEach(function(e){e.thisAnimationDuration=null}),r.options.animation&&!n&&r.multiDrag.isMultiDrag){pT=lk({},t);var i=Tk(fT,!0);pT.top-=i.f,pT.left-=i.e}},dragOverAnimationComplete:function(){yT&&(yT=!1,QT())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,i=e.sortable,o=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=r.children;if(!bT)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),kk(fT,c.selectedClass,!~mT.indexOf(fT)),~mT.indexOf(fT))mT.splice(mT.indexOf(fT),1),dT=null,Gk({sortable:i,rootEl:n,name:"deselect",targetEl:fT});else{if(mT.push(fT),Gk({sortable:i,rootEl:n,name:"select",targetEl:fT}),t.shiftKey&&dT&&i.el.contains(dT)){var O,d,h=Uk(dT),f=Uk(fT);if(~h&&~f&&h!==f)for(f>h?(d=h,O=f):(d=f,O=h+1);d<O;d++)~mT.indexOf(u[d])||(kk(u[d],c.selectedClass,!0),mT.push(u[d]),Gk({sortable:i,rootEl:n,name:"select",targetEl:u[d]}))}else dT=fT;hT=l}if(bT&&this.isMultiDrag){if(yT=!1,(r[Fk].options.sort||r!==n)&&mT.length>1){var p=Ek(fT),A=Uk(fT,":not(."+this.options.selectedClass+")");if(!vT&&c.animation&&(fT.thisAnimationDuration=null),l.captureAnimationState(),!vT&&(c.animation&&(fT.fromRect=p,mT.forEach(function(e){if(e.thisAnimationDuration=null,e!==fT){var t=yT?Ek(e):p;e.fromRect=t,l.addAnimationState({target:e,rect:t})}})),QT(),mT.forEach(function(e){u[A]?r.insertBefore(e,u[A]):r.appendChild(e),A++}),a===Uk(fT))){var m=!1;mT.forEach(function(e){e.sortableIndex===Uk(e)||(m=!0)}),m&&o("update")}mT.forEach(function(e){qk(e)}),l.animateAll()}hT=l}(n===r||s&&"clone"!==s.lastPutMode)&&gT.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})}},nullingGlobal:function(){this.isMultiDrag=bT=!1,gT.length=0},destroyGlobal:function(){this._deselectMultiDrag(),bk(document,"pointerup",this._deselectMultiDrag),bk(document,"mouseup",this._deselectMultiDrag),bk(document,"touchend",this._deselectMultiDrag),bk(document,"keydown",this._checkKeyDown),bk(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==bT&&bT||hT!==this.sortable||e&&$k(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;mT.length;){var t=mT[0];kk(t,this.options.selectedClass,!1),mT.shift(),Gk({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},lk(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[Fk];t&&t.options.multiDrag&&!~mT.indexOf(e)&&(hT&&hT!==t&&(hT.multiDrag._deselectMultiDrag(),hT=t),kk(e,t.options.selectedClass,!0),mT.push(e))},deselect:function(e){var t=e.parentNode[Fk],n=mT.indexOf(e);t&&t.options.multiDrag&&~n&&(kk(e,t.options.selectedClass,!1),mT.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return mT.forEach(function(r){var i;t.push({multiDragElement:r,index:r.sortableIndex}),i=yT&&r!==fT?-1:yT?Uk(r,":not(."+e.options.selectedClass+")"):Uk(r),n.push({multiDragElement:r,index:i})}),{items:uk(mT),clones:[].concat(gT),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})},Sortable:qP,Swap:function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;sT=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,o=e.changed,a=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=sT;!1!==r(n)?(kk(n,l.swapClass,!0),sT=n):sT=null,c&&c!==sT&&kk(c,l.swapClass,!1)}o(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,i=n||this.sortable,o=this.options;sT&&kk(sT,o.swapClass,!1),sT&&(o.swap||n&&n.options.swap)&&r!==sT&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,r,i=e.parentNode,o=t.parentNode;if(!i||!o||i.isEqualNode(t)||o.isEqualNode(e))return;n=Uk(e),r=Uk(t),i.isEqualNode(o)&&n<r&&r++;i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r])}(r,sT),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){sT=null}},lk(e,{pluginName:"swap",eventProperties:function(){return{swapItem:sT}}})},default:qP},Symbol.toStringTag,{value:"Module"})),ST=gv($T);var xT;var kT,PT=xT?Sw.exports:(xT=1,"undefined"!=typeof self&&self,kT=function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00ee":function(e,t,n){var r={};r[n("b622")("toStringTag")]="z",e.exports="[object z]"===String(r)},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(t){return a.slice()}}(e):i(r(e))}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(n){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},"13d5":function(e,t,n){var r=n("23e7"),i=n("d58f").left,o=n("a640"),a=n("ae40"),s=o("reduce"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(e,t,n){var r=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in i){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(u){c.forEach=o}}},"17c2":function(e,t,n){var r=n("b727").forEach,i=n("a640"),o=n("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(s){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(s){}return n}},"1d80":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");e.exports=function(e){return o>=51||!r(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,O,d,h,f=e.target,p=e.global,A=e.stat;if(n=p?r:A?r[f]||s(f,{}):(r[f]||{}).prototype)for(u in t){if(d=t[u],O=e.noTargetGet?(h=i(n,u))&&h.value:n[u],!c(p?u:f+(A?".":"#")+u,e.forced)&&void 0!==O){if(typeof d==typeof O)continue;l(d,O)}(e.sham||O&&O.sham)&&o(d,"sham",!0),a(n,u,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"25f0":function(e,t,n){var r=n("6eeb"),i=n("825a"),o=n("d039"),a=n("ad6d"),s="toString",l=RegExp.prototype,c=l[s],u=o(function(){return"/a/b"!=c.call({source:"a",flags:"b"})}),O=c.name!=s;(u||O)&&r(RegExp.prototype,s,function(){var e=i(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in l)?a.call(e):n)},{unsafe:!0})},"2ca0":function(e,t,n){var r,i=n("23e7"),o=n("06cf").f,a=n("50c4"),s=n("5a34"),l=n("1d80"),c=n("ab13"),u=n("c430"),O="".startsWith,d=Math.min,h=c("startsWith");i({target:"String",proto:!0,forced:!(!u&&!h&&(r=o(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(e){var t=String(l(this));s(e);var n=a(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return O?O.call(t,r,n):t.slice(n,n+r.length)===r}})},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=s&&s.versions,c=l&&l.v8;c?i=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),o=n("b622")("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3ca3":function(e,t,n){var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",function(e){s(this,{type:a,string:String(e),index:0})},function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})})},"3f8c":function(e,t){e.exports={}},4160:function(e,t,n){var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},4930:function(e,t,n){var r=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(e,t,n){var r=n("23e7"),i=n("b727").filter,o=n("1dde"),a=n("ae40"),s=o("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){var r=n("0366"),i=n("7b0b"),o=n("9bdd"),a=n("e95a"),s=n("50c4"),l=n("8418"),c=n("35a1");e.exports=function(e){var t,n,u,O,d,h,f=i(e),p="function"==typeof this?this:Array,A=arguments.length,m=A>1?arguments[1]:void 0,g=void 0!==m,v=c(f),y=0;if(g&&(m=r(m,A>2?arguments[2]:void 0,2)),null==v||p==Array&&a(v))for(n=new p(t=s(f.length));t>y;y++)h=g?m(f[y],y):f[y],l(n,y,h);else for(d=(O=v.call(f)).next,n=new p;!(u=d.call(O)).done;y++)h=g?o(O,m,[u.value,y],!0):u.value,l(n,y,h);return n.length=y,n}},"4fad":function(e,t,n){var r=n("23e7"),i=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5319:function(e,t,n){var r=n("d784"),i=n("825a"),o=n("7b0b"),a=n("50c4"),s=n("a691"),l=n("1d80"),c=n("8aa5"),u=n("14c3"),O=Math.max,d=Math.min,h=Math.floor,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,p=/\$([$&'`]|\d\d?)/g,A=function(e){return void 0===e?e:String(e)};r("replace",2,function(e,t,n,r){var m=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=r.REPLACE_KEEPS_$0,v=m?"$":"$0";return[function(n,r){var i=l(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!m&&g||"string"==typeof r&&-1===r.indexOf(v)){var o=n(t,e,this,r);if(o.done)return o.value}var l=i(e),h=String(this),f="function"==typeof r;f||(r=String(r));var p=l.global;if(p){var b=l.unicode;l.lastIndex=0}for(var w=[];;){var Q=u(l,h);if(null===Q)break;if(w.push(Q),!p)break;""===String(Q[0])&&(l.lastIndex=c(h,a(l.lastIndex),b))}for(var $="",S=0,x=0;x<w.length;x++){Q=w[x];for(var k=String(Q[0]),P=O(d(s(Q.index),h.length),0),T=[],_=1;_<Q.length;_++)T.push(A(Q[_]));var C=Q.groups;if(f){var E=[k].concat(T,P,h);void 0!==C&&E.push(C);var R=String(r.apply(void 0,E))}else R=y(k,h,P,T,C,r);P>=S&&($+=h.slice(S,P)+R,S=P+k.length)}return $+h.slice(S)}];function y(e,n,r,i,a,s){var l=r+e.length,c=i.length,u=p;return void 0!==a&&(a=o(a),u=f),t.call(s,u,function(t,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return t;if(u>c){var O=h(u/10);return 0===O?t:O<=c?void 0===i[O-1]?o.charAt(1):i[O-1]+o.charAt(1):t}s=i[u-1]}return void 0===s?"":s})}})},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},"5a34":function(e,t,n){var r=n("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5db7":function(e,t,n){var r=n("23e7"),i=n("a2bf"),o=n("7b0b"),a=n("50c4"),s=n("1c0b"),l=n("65f0");r({target:"Array",proto:!0},{flatMap:function(e){var t,n=o(this),r=a(n.length);return s(e),(t=l(n,0)).length=i(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},6547:function(e,t,n){var r=n("a691"),i=n("1d80"),o=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(e,t,n){var r=n("861d"),i=n("e8b5"),o=n("b622")("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),O=n("f772"),d=n("d012"),h=s.WeakMap;if(a){var f=new h,p=f.get,A=f.has,m=f.set;r=function(e,t){return m.call(f,e,t),t},i=function(e){return p.call(f,e)||{}},o=function(e){return A.call(f,e)}}else{var g=O("state");d[g]=!0,r=function(e,t){return c(e,g,t),t},i=function(e){return u(e,g)?e[g]:{}},o=function(e){return u(e,g)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,O=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),u(n).source=O.join("string"==typeof t?t:"")),e!==r?(l?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||s(this)})},"6f53":function(e,t,n){var r=n("83ab"),i=n("df75"),o=n("fc6a"),a=n("d1e7").f,s=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,O=[];c>u;)n=l[u++],r&&!a.call(s,n)||O.push(e?[n,s[n]]:s[n]);return O}};e.exports={entries:s(!0),values:s(!1)}},"73d9":function(e,t,n){n("44d2")("flatMap")},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),i=n("5135"),o=n("e538"),a=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),O="prototype",d="script",h=u("IE_PROTO"),f=function(){},p=function(e){return"<"+d+">"+e+"</"+d+">"},A=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var e,t,n;A=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):(t=c("iframe"),n="java"+d+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var i=a.length;i--;)delete A[O][a[i]];return A()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[O]=i(e),n=new f,f[O]=null,n[h]=e):n=A(),void 0===t?n:o(n,t)}},"7dd0":function(e,t,n){var r=n("23e7"),i=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),O=n("c430"),d=n("3f8c"),h=n("ae93"),f=h.IteratorPrototype,p=h.BUGGY_SAFARI_ITERATORS,A=u("iterator"),m="keys",g="values",v="entries",y=function(){return this};e.exports=function(e,t,n,u,h,b,w){i(n,t,u);var Q,$,S,x=function(e){if(e===h&&C)return C;if(!p&&e in T)return T[e];switch(e){case m:case g:case v:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",P=!1,T=e.prototype,_=T[A]||T["@@iterator"]||h&&T[h],C=!p&&_||x(h),E="Array"==t&&T.entries||_;if(E&&(Q=o(E.call(new e)),f!==Object.prototype&&Q.next&&(O||o(Q)===f||(a?a(Q,f):"function"!=typeof Q[A]&&l(Q,A,y)),s(Q,k,!0,!0),O&&(d[k]=y))),h==g&&_&&_.name!==g&&(P=!0,C=function(){return _.call(this)}),O&&!w||T[A]===C||l(T,A,C),d[t]=C,h)if($={values:x(g),keys:b?C:x(m),entries:x(v)},w)for(S in $)(p||P||!(S in T))&&c(T,S,$[S]);else r({target:t,proto:!0,forced:p||P},$);return $}},"7f9a":function(e,t,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},8418:function(e,t,n){var r=n("c04e"),i=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},8875:function(e,t,n){var r,i,o;"undefined"!=typeof self&&self,i=[],r=function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/@([^@]*):(\d+):(\d+)\s*$/gi,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(d.stack)||o.exec(d.stack),s=a&&a[1]||!1,l=a&&a[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");s===c&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var O=0;O<u.length;O++){if("interactive"===u[O].readyState)return u[O];if(u[O].src===s)return u[O];if(s===c&&u[O].innerHTML&&u[O].innerHTML.trim()===i)return u[O]}return null}}return e},void 0===(o="function"==typeof r?r.apply(t,i):r)||(e.exports=o)},8925:function(e,t,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},"8aa5":function(e,t,n){var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8bbf":function(t,n){t.exports=e},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){var r,i,o=n("ad6d"),a=n("9f7f"),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(r=/a/,i=/b*/g,s.call(r,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),O=a.UNSUPPORTED_Y||a.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(u||d||O)&&(c=function(e){var t,n,r,i,a=this,c=O&&a.sticky,h=o.call(a),f=a.source,p=0,A=e;return c&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),A=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(f="(?: "+f+")",A=" "+A,p++),n=new RegExp("^(?:"+f+")",h)),d&&(n=new RegExp("^"+f+"$(?!\\s)",h)),u&&(t=a.lastIndex),r=s.call(c?n:a,A),c?r?(r.input=r.input.slice(p),r[0]=r[0].slice(p),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),d&&r&&r.length>1&&l.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),e.exports=c},"94ca":function(e,t,n){var r=n("d039"),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},"99af":function(e,t,n){var r=n("23e7"),i=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),l=n("50c4"),c=n("8418"),u=n("65f0"),O=n("1dde"),d=n("b622"),h=n("2d00"),f=d("isConcatSpreadable"),p=9007199254740991,A="Maximum allowed index exceeded",m=h>=51||!i(function(){var e=[];return e[f]=!1,e.concat()[0]!==e}),g=O("concat"),v=function(e){if(!a(e))return!1;var t=e[f];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,i,o,a=s(this),O=u(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(v(o=-1===t?a:arguments[t])){if(d+(i=l(o.length))>p)throw TypeError(A);for(n=0;n<i;n++,d++)n in o&&c(O,d,o[n])}else{if(d>=p)throw TypeError(A);c(O,d++,o)}return O.length=d,O}})},"9bdd":function(e,t,n){var r=n("825a");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e.return;throw void 0!==o&&r(o.call(e)),a}}},"9bf2":function(e,t,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=l,e}},"9f7f":function(e,t,n){var r=n("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r(function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),t.BROKEN_CARET=r(function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},a2bf:function(e,t,n){var r=n("e8b5"),i=n("50c4"),o=n("0366"),a=function(e,t,n,s,l,c,u,O){for(var d,h=l,f=0,p=!!u&&o(u,O,3);f<s;){if(f in n){if(d=p?p(n[f],f,t):n[f],c>0&&r(d))h=a(e,t,d,i(d.length),h,c-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=d}h++}f++}return h};e.exports=a},a352:function(e,n){e.exports=t},a434:function(e,t,n){var r=n("23e7"),i=n("23cb"),o=n("a691"),a=n("50c4"),s=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde"),O=n("ae40"),d=u("splice"),h=O("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!d||!h},{splice:function(e,t){var n,r,u,O,d,h,A=s(this),m=a(A.length),g=i(e,m),v=arguments.length;if(0===v?n=r=0:1===v?(n=0,r=m-g):(n=v-2,r=p(f(o(t),0),m-g)),m+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(A,r),O=0;O<r;O++)(d=g+O)in A&&c(u,O,A[d]);if(u.length=r,n<r){for(O=g;O<m-r;O++)h=O+n,(d=O+r)in A?A[h]=A[d]:delete A[h];for(O=m;O>m-r+n;O--)delete A[O-1]}else if(n>r)for(O=m-r;O>g;O--)h=O+n-1,(d=O+r-1)in A?A[h]=A[d]:delete A[h];for(O=0;O<n;O++)A[O+g]=arguments[O+2];return A.length=m-r+n,u}})},a4d3:function(e,t,n){var r=n("23e7"),i=n("da84"),o=n("d066"),a=n("c430"),s=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),O=n("5135"),d=n("e8b5"),h=n("861d"),f=n("825a"),p=n("7b0b"),A=n("fc6a"),m=n("c04e"),g=n("5c6c"),v=n("7c73"),y=n("df75"),b=n("241c"),w=n("057f"),Q=n("7418"),$=n("06cf"),S=n("9bf2"),x=n("d1e7"),k=n("9112"),P=n("6eeb"),T=n("5692"),_=n("f772"),C=n("d012"),E=n("90e3"),R=n("b622"),X=n("e538"),B=n("746f"),U=n("d44e"),D=n("69f3"),I=n("b727").forEach,z=_("hidden"),N="Symbol",M="prototype",L=R("toPrimitive"),V=D.set,q=D.getterFor(N),F=Object[M],W=i.Symbol,Z=o("JSON","stringify"),Y=$.f,j=S.f,G=w.f,H=x.f,K=T("symbols"),J=T("op-symbols"),ee=T("string-to-symbol-registry"),te=T("symbol-to-string-registry"),ne=T("wks"),re=i.QObject,ie=!re||!re[M]||!re[M].findChild,oe=s&&u(function(){return 7!=v(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Y(F,t);r&&delete F[t],j(e,t,n),r&&e!==F&&j(F,t,r)}:j,ae=function(e,t){var n=K[e]=v(W[M]);return V(n,{type:N,tag:e,description:t}),s||(n.description=t),n},se=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},le=function(e,t,n){e===F&&le(J,t,n),f(e);var r=m(t,!0);return f(n),O(K,r)?(n.enumerable?(O(e,z)&&e[z][r]&&(e[z][r]=!1),n=v(n,{enumerable:g(0,!1)})):(O(e,z)||j(e,z,g(1,{})),e[z][r]=!0),oe(e,r,n)):j(e,r,n)},ce=function(e,t){f(e);var n=A(t),r=y(n).concat(he(n));return I(r,function(t){s&&!ue.call(n,t)||le(e,t,n[t])}),e},ue=function(e){var t=m(e,!0),n=H.call(this,t);return!(this===F&&O(K,t)&&!O(J,t))&&(!(n||!O(this,t)||!O(K,t)||O(this,z)&&this[z][t])||n)},Oe=function(e,t){var n=A(e),r=m(t,!0);if(n!==F||!O(K,r)||O(J,r)){var i=Y(n,r);return!i||!O(K,r)||O(n,z)&&n[z][r]||(i.enumerable=!0),i}},de=function(e){var t=G(A(e)),n=[];return I(t,function(e){O(K,e)||O(C,e)||n.push(e)}),n},he=function(e){var t=e===F,n=G(t?J:A(e)),r=[];return I(n,function(e){!O(K,e)||t&&!O(F,e)||r.push(K[e])}),r};l||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=E(e),n=function(e){this===F&&n.call(J,e),O(this,z)&&O(this[z],t)&&(this[z][t]=!1),oe(this,t,g(1,e))};return s&&ie&&oe(F,t,{configurable:!0,set:n}),ae(t,e)},P(W[M],"toString",function(){return q(this).tag}),P(W,"withoutSetter",function(e){return ae(E(e),e)}),x.f=ue,S.f=le,$.f=Oe,b.f=w.f=de,Q.f=he,X.f=function(e){return ae(R(e),e)},s&&(j(W[M],"description",{configurable:!0,get:function(){return q(this).description}}),a||P(F,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),I(y(ne),function(e){B(e)}),r({target:N,stat:!0,forced:!l},{for:function(e){var t=String(e);if(O(ee,t))return ee[t];var n=W(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(O(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?v(e):ce(v(e),t)},defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:Oe}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:u(function(){Q.f(1)})},{getOwnPropertySymbols:function(e){return Q.f(p(e))}}),Z&&r({target:"JSON",stat:!0,forced:!l||u(function(){var e=W();return"[null]"!=Z([e])||"{}"!=Z({a:e})||"{}"!=Z(Object(e))})},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(h(t)||void 0!==e)&&!se(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!se(t))return t}),i[1]=t,Z.apply(null,i)}}),W[M][L]||k(W[M],L,W[M].valueOf),U(W,N),C[z]=!0},a630:function(e,t,n){var r=n("23e7"),i=n("4df4");r({target:"Array",stat:!0,forced:!n("1c7e")(function(e){Array.from(e)})},{from:i})},a640:function(e,t,n){var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},ab13:function(e,t,n){var r=n("b622")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(sy){try{return t[r]=!1,"/./"[e](t)}catch(n){}}return!1}},ac1f:function(e,t,n){var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(e,t,n){var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae40:function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("5135"),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],c=!!o(t,"ACCESSORS")&&t.ACCESSORS,u=o(t,0)?t[0]:l,O=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i(function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,O)})}},ae93:function(e,t,n){var r,i,o,a=n("e163"),s=n("9112"),l=n("5135"),c=n("b622"),u=n("c430"),O=c("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),u||l(r,O)||s(r,O,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},b041:function(e,t,n){var r=n("00ee"),i=n("f5df");e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),i=n("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},b622:function(e,t,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),c=i("wks"),u=r.Symbol,O=l?u:u&&u.withoutSetter||a;e.exports=function(e){return o(c,e)||(s&&o(u,e)?c[e]=u[e]:c[e]=O("Symbol."+e)),c[e]}},b64b:function(e,t,n){var r=n("23e7"),i=n("7b0b"),o=n("df75");r({target:"Object",stat:!0,forced:n("d039")(function(){o(1)})},{keys:function(e){return o(i(e))}})},b727:function(e,t,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,O=6==e,d=5==e||O;return function(h,f,p,A){for(var m,g,v=o(h),y=i(v),b=r(f,p,3),w=a(y.length),Q=0,$=A||s,S=t?$(h,w):n?$(h,0):void 0;w>Q;Q++)if((d||Q in y)&&(g=b(m=y[Q],Q,v),e))if(t)S[Q]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return Q;case 2:l.call(S,m)}else if(u)return!1;return O?-1:c||u?u:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},c04e:function(e,t,n){var r=n("861d");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},c740:function(e,t,n){var r=n("23e7"),i=n("b727").findIndex,o=n("44d2"),a=n("ae40"),s="findIndex",l=!0,c=a(s);s in[]&&Array(1)[s](function(){l=!1}),r({target:"Array",proto:!0,forced:l||!c},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(sy){"object"==typeof window&&(n=window)}e.exports=n},c975:function(e,t,n){var r=n("23e7"),i=n("4d64").indexOf,o=n("a640"),a=n("ae40"),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=o("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},caad:function(e,t,n){var r=n("23e7"),i=n("4d64").includes,o=n("44d2");r({target:"Array",proto:!0,forced:!n("ae40")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cc12:function(e,t,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},ce4e:function(e,t,n){var r=n("da84"),i=n("9112");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("428f"),i=n("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},d1e7:function(e,t,n){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){n("746f")("iterator")},d2bb:function(e,t,n){var r=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,i=n("5135"),o=n("b622")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},d58f:function(e,t,n){var r=n("1c0b"),i=n("7b0b"),o=n("44ad"),a=n("50c4"),s=function(e){return function(t,n,s,l){r(n);var c=i(t),u=o(c),O=a(c.length),d=e?O-1:0,h=e?-1:1;if(s<2)for(;;){if(d in u){l=u[d],d+=h;break}if(d+=h,e?d<0:O<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:O>d;d+=h)d in u&&(l=n(l,u[d],d,c));return l}};e.exports={left:s(!1),right:s(!0)}},d784:function(e,t,n){n("ac1f");var r=n("6eeb"),i=n("d039"),o=n("b622"),a=n("9263"),s=n("9112"),l=o("species"),c=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),u="$0"==="a".replace(/./,"$0"),O=o("replace"),d=!!/./[O]&&""===/./[O]("a","$0"),h=!i(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});e.exports=function(e,t,n,O){var f=o(e),p=!i(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),A=p&&!i(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t});if(!p||!A||"replace"===e&&(!c||!u||d)||"split"===e&&!h){var m=/./[f],g=n(f,""[e],function(e,t,n,r,i){return t.exec===a?p&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),v=g[0],y=g[1];r(String.prototype,e,v),r(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}O&&s(RegExp.prototype[f],"sham",!0)}},d81d:function(e,t,n){var r=n("23e7"),i=n("b727").map,o=n("1dde"),a=n("ae40"),s=o("map"),l=a("map");r({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(e,t,n){var r=n("23e7"),i=n("83ab"),o=n("56ef"),a=n("fc6a"),s=n("06cf"),l=n("8418");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,c=o(r),u={},O=0;c.length>O;)void 0!==(n=i(r,t=c[O++]))&&l(u,t,n);return u}})},dbf1:function(e,t,n){(function(e){n.d(t,"a",function(){return r});var r="undefined"!=typeof window?window.console:e.console}).call(this,n("c8ba"))},ddb0:function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),l=s("iterator"),c=s("toStringTag"),u=o.values;for(var O in i){var d=r[O],h=d&&d.prototype;if(h){if(h[l]!==u)try{a(h,l,u)}catch(p){h[l]=u}if(h[c]||a(h,c,O),i[O])for(var f in o)if(h[f]!==o[f])try{a(h,f,o[f])}catch(p){h[f]=o[f]}}}},df75:function(e,t,n){var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},e01a:function(e,t,n){var r=n("23e7"),i=n("83ab"),o=n("da84"),a=n("5135"),s=n("861d"),l=n("9bf2").f,c=n("e893"),u=o.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var O={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new u(e):void 0===e?u():u(e);return""===e&&(O[t]=!0),t};c(d,u);var h=d.prototype=u.prototype;h.constructor=d;var f=h.toString,p="Symbol(test)"==String(u("test")),A=/^Symbol\((.*)\)[^)]+$/;l(h,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=f.call(e);if(a(O,e))return"";var n=p?t.slice(7,-1):t.replace(A,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},e163:function(e,t,n){var r=n("5135"),i=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},e177:function(e,t,n){var r=n("d039");e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},e260:function(e,t,n){var r=n("fc6a"),i=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("7dd0"),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})},function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e439:function(e,t,n){var r=n("23e7"),i=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),l=i(function(){a(1)});r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e893:function(e,t,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e95a:function(e,t,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},f5df:function(e,t,n){var r=n("00ee"),i=n("c6b6"),o=n("b622")("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),i=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},fb15:function(e,t,n){if(n.r(t),"undefined"!=typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n("99af"),n("4de4"),n("4160"),n("c975"),n("d81d"),n("a434"),n("159b"),n("a4d3"),n("e439"),n("dbb4"),n("b64b"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0"),n("a630"),n("fb6a"),n("b0c0"),n("25f0");var h=n("a352"),f=n.n(h);function p(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function A(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}var m=n("dbf1");n("13d5"),n("4fad"),n("ac1f"),n("5319");var g,v,y=/-(\w)/g,b=(g=function(e){return e.replace(y,function(e,t){return t.toUpperCase()})},v=Object.create(null),function(e){return v[e]||(v[e]=g(e))});n("5db7"),n("73d9");var w=["Start","Add","Remove","Update","End"],Q=["Choose","Unchoose","Sort","Filter","Clone"],$=["Move"],S=[$,w,Q].flatMap(function(e){return e}).map(function(e){return"on".concat(e)}),x={manage:$,manageAndEmit:w,emit:Q};n("caad"),n("2ca0");var k=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function P(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function T(e){return e.reduce(function(e,t){var n=O(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}function _(e){return Object.entries(e).filter(function(e){var t=O(e,2),n=t[0];return t[1],!P(n)}).map(function(e){var t=O(e,2),n=t[0],r=t[1];return[b(n),r]}).filter(function(e){var t,n=O(e,2),r=n[0];return n[1],t=r,!(-1!==S.indexOf(t))})}function C(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}n("c740");var E=function(e){return e.el},R=function(e){return e.__draggable_context},X=function(){function e(t){var n=t.nodes,r=n.header,i=n.default,o=n.footer,a=t.root,s=t.realList;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultNodes=i,this.children=[].concat(d(r),d(i),d(o)),this.externalComponent=a.externalComponent,this.rootTransition=a.transition,this.tag=a.tag,this.realList=s}return C(e,[{key:"render",value:function(e,t){var n=this.tag,r=this.children;return e(n,t,this._isRootComponent?{default:function(){return r}}:r)}},{key:"updated",value:function(){var e=this.defaultNodes,t=this.realList;e.forEach(function(e,n){var r,i;r=E(e),i={element:t[n],index:n},r.__draggable_context=i})}},{key:"getUnderlyingVm",value:function(e){return R(e)}},{key:"getVmIndexFromDomIndex",value:function(e,t){var n=this.defaultNodes,r=n.length,i=t.children,o=i.item(e);if(null===o)return r;var a=R(o);if(a)return a.index;if(0===r)return 0;var s=E(n[0]);return e<d(i).findIndex(function(e){return e===s})?0:r}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),e}(),B=n("8bbf");function U(e){var t=["transition-group","TransitionGroup"].includes(e),n=!function(e){return k.includes(e)}(e)&&!t;return{transition:t,externalComponent:n,tag:n?Object(B.resolveComponent)(e):t?B.TransitionGroup:e}}function D(e){var t=e.$slots,n=e.tag,r=e.realList,i=function(e){var t=e.$slots,n=e.realList,r=e.getKey,i=n||[],o=O(["header","footer"].map(function(e){return(n=t[e])?n():[];var n}),2),a=o[0],s=o[1],c=t.item;if(!c)throw new Error("draggable element must have an item slot");var u=i.flatMap(function(e,t){return c({element:e,index:t}).map(function(t){return t.key=r(e),t.props=l(l({},t.props||{}),{},{"data-draggable":!0}),t})});if(u.length!==i.length)throw new Error("Item slot must have only one child");return{header:a,footer:s,default:u}}({$slots:t,realList:r,getKey:e.getKey}),o=U(n);return new X({nodes:i,root:o,realList:r})}function I(e,t){var n=this;Object(B.nextTick)(function(){return n.$emit(e.toLowerCase(),t)})}function z(e){var t=this;return function(n,r){if(null!==t.realList)return t["onDrag".concat(e)](n,r)}}function N(e){var t=this,n=z.call(this,e);return function(r,i){n.call(t,r,i),I.call(t,e,r)}}var M=null,L={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(e){return e}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},V=["update:modelValue","change"].concat(d([].concat(d(x.manageAndEmit),d(x.emit)).map(function(e){return e.toLowerCase()}))),q=Object(B.defineComponent)({name:"draggable",inheritAttrs:!1,props:L,emits:V,data:function(){return{error:!1}},render:function(){try{this.error=!1;var e=this.$slots,t=this.$attrs,n=this.tag,r=this.componentData,i=D({$slots:e,tag:n,realList:this.realList,getKey:this.getKey});this.componentStructure=i;var o=function(e){var t=e.$attrs,n=e.componentData,r=void 0===n?{}:n;return l(l({},T(Object.entries(t).filter(function(e){var t=O(e,2),n=t[0];return t[1],P(n)}))),r)}({$attrs:t,componentData:r});return i.render(B.h,o)}catch(a){return this.error=!0,Object(B.h)("pre",{style:{color:"red"}},a.stack)}},created:function(){null!==this.list&&null!==this.modelValue&&m.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var e=this;if(!this.error){var t=this.$attrs,n=this.$el;this.componentStructure.updated();var r=function(e){var t=e.$attrs,n=e.callBackBuilder,r=T(_(t));Object.entries(n).forEach(function(e){var t=O(e,2),n=t[0],i=t[1];x[n].forEach(function(e){r["on".concat(e)]=i(e)})});var i="[data-draggable]".concat(r.draggable||"");return l(l({},r),{},{draggable:i})}({$attrs:t,callBackBuilder:{manageAndEmit:function(t){return N.call(e,t)},emit:function(t){return I.bind(e,t)},manage:function(t){return z.call(e,t)}}}),i=1===n.nodeType?n:n.parentElement;this._sortable=new f.a(i,r),this.targetDomElement=i,i.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{realList:function(){var e=this.list;return e||this.modelValue},getKey:function(){var e=this.itemKey;return"function"==typeof e?e:function(t){return t[e]}}},watch:{$attrs:{handler:function(e){var t=this._sortable;t&&_(e).forEach(function(e){var n=O(e,2),r=n[0],i=n[1];t.option(r,i)})},deep:!0}},methods:{getUnderlyingVm:function(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent:function(e){return e.__draggable_component__},emitChanges:function(e){var t=this;Object(B.nextTick)(function(){return t.$emit("change",e)})},alterList:function(e){if(this.list)e(this.list);else{var t=d(this.modelValue);e(t),this.$emit("update:modelValue",t)}},spliceList:function(){var e=arguments;this.alterList(function(t){return t.splice.apply(t,d(e))})},updatePosition:function(e,t){this.alterList(function(n){return n.splice(t,0,n.splice(e,1)[0])})},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var i=r.realList,o={list:i,component:r};return t!==n&&i?l(l({},r.getUnderlyingVm(n)||{}),o):o},getVmIndexFromDomIndex:function(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),M=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){p(e.item);var n=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(n,0,t);var r={element:t,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(e){if(A(this.$el,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context,n=t.index,r=t.element;this.spliceList(n,1);var i={element:r,oldIndex:n};this.emitChanges({removed:i})}else p(e.clone)},onDragUpdate:function(e){p(e.item),A(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(t,n);var r={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:r})},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=d(t.to.children).filter(function(e){return"none"!==e.style.display}),r=n.indexOf(t.related),i=e.component.getVmIndexFromDomIndex(r);return-1===n.indexOf(M)&&t.willInsertAfter?i+1:i},onDragMove:function(e,t){var n=this.move,r=this.realList;if(!n||!r)return!0;var i=this.getRelatedContextFromMoveEvent(e),o=this.computeFutureIndex(i,e),a=l(l({},this.context),{},{futureIndex:o});return n(l(l({},e),{},{relatedContext:i,draggedContext:a}),t)},onDragEnd:function(){M=null}}}),F=q;t.default=F},fb6a:function(e,t,n){var r=n("23e7"),i=n("861d"),o=n("e8b5"),a=n("23cb"),s=n("50c4"),l=n("fc6a"),c=n("8418"),u=n("b622"),O=n("1dde"),d=n("ae40"),h=O("slice"),f=d("slice",{ACCESSORS:!0,0:0,1:2}),p=u("species"),A=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!h||!f},{slice:function(e,t){var n,r,u,O=l(this),d=s(O.length),h=a(e,d),f=a(void 0===t?d:t,d);if(o(O)&&("function"!=typeof(n=O.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return A.call(O,h,f);for(r=new(void 0===n?Array:n)(m(f-h,0)),u=0;h<f;h++,u++)h in O&&c(r,u,O[h]);return r.length=u,r}})},fc6a:function(e,t,n){var r=n("44ad"),i=n("1d80");e.exports=function(e){return r(i(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}}).default},Sw.exports=kT(rk(),ST));const TT=mv(PT);function _T(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let CT={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function ET(e){CT=e}const RT=/[&<>"']/,XT=new RegExp(RT.source,"g"),BT=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,UT=new RegExp(BT.source,"g"),DT={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},IT=e=>DT[e];function zT(e,t){if(t){if(RT.test(e))return e.replace(XT,IT)}else if(BT.test(e))return e.replace(UT,IT);return e}const NT=/(^|[^\[])\^/g;function MT(e,t){let n="string"==typeof e?e:e.source;t=t||"";const r={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(NT,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}function LT(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const VT={exec:()=>null};function qT(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function FT(e,t,n){const r=e.length;if(0===r)return"";let i=0;for(;i<r;){if(e.charAt(r-i-1)!==t)break;i++}return e.slice(0,r-i)}function WT(e,t,n,r){const i=t.href,o=t.title?zT(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:o,text:zT(a)}}class ZT{constructor(e){i(this,"options"),i(this,"rules"),i(this,"lexer"),this.options=e||CT}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:FT(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map(e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=FT(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:FT(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=FT(t[0],"\n").split("\n"),n="",r="";const i=[];for(;e.length>0;){let t=!1;const o=[];let a;for(a=0;a<e.length;a++)if(/^ {0,3}>/.test(e[a]))o.push(e[a]),t=!0;else{if(t)break;o.push(e[a])}e=e.slice(a);const s=o.join("\n"),l=s.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${s}`:s,r=r?`${r}\n${l}`:l;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=c,0===e.length)break;const u=i[i.length-1];if("code"===(null==u?void 0:u.type))break;if("blockquote"===(null==u?void 0:u.type)){const t=u,o=t.raw+"\n"+e.join("\n"),a=this.blockquote(o);i[i.length-1]=a,n=n.substring(0,n.length-t.raw.length)+a.raw,r=r.substring(0,r.length-t.text.length)+a.text;break}if("list"===(null==u?void 0:u.type)){const t=u,o=t.raw+"\n"+e.join("\n"),a=this.list(o);i[i.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,r=r.substring(0,r.length-t.raw.length)+a.raw,e=o.substring(i[i.length-1].raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let a=!1;for(;e;){let n=!1,r="",s="";if(!(t=o.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],u=!l.trim(),O=0;if(this.options.pedantic?(O=2,s=l.trimStart()):u?O=t[1].length+1:(O=t[2].search(/[^ ]/),O=O>4?1:O,s=l.slice(O),O+=t[1].length),u&&/^[ \t]*$/.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,O-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,O-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=new RegExp(`^ {0,${Math.min(3,O-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,O-1)}}#`),a=new RegExp(`^ {0,${Math.min(3,O-1)}}<(?:[a-z].*>|!--)`,"i");for(;e;){const d=e.split("\n",1)[0];let h;if(c=d,this.options.pedantic?(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),h=c):h=c.replace(/\t/g," "),i.test(c))break;if(o.test(c))break;if(a.test(c))break;if(t.test(c))break;if(n.test(c))break;if(h.search(/[^ ]/)>=O||!c.trim())s+="\n"+h.slice(O);else{if(u)break;if(l.replace(/\t/g," ").search(/[^ ]/)>=4)break;if(i.test(l))break;if(o.test(l))break;if(n.test(l))break;s+="\n"+c}u||c.trim()||(u=!0),r+=d+"\n",e=e.substring(d.length+1),l=h.slice(O)}}i.loose||(a?i.loose=!0:/\n[ \t]*\n[ \t]*$/.test(r)&&(a=!0));let d,h=null;this.options.gfm&&(h=/^\[[ xX]\] /.exec(s),h&&(d="[ ] "!==h[0],s=s.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:r,task:!!h,checked:d,loose:!1,text:s,tokens:[]}),i.raw+=r}i.items[i.items.length-1].raw=i.items[i.items.length-1].raw.trimEnd(),i.items[i.items.length-1].text=i.items[i.items.length-1].text.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){const t=i.items[e].tokens.filter(e=>"space"===e.type),n=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw));i.loose=n}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=qT(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)/^ *-+: *$/.test(e)?o.align.push("right"):/^ *:-+: *$/.test(e)?o.align.push("center"):/^ *:-+ *$/.test(e)?o.align.push("left"):o.align.push(null);for(let e=0;e<n.length;e++)o.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:o.align[e]});for(const e of i)o.rows.push(qT(e,o.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:o.align[t]})));return o}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:zT(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=FT(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),WT(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return WT(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let i,o,a=n,s=0;const l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(o=[...i].length,r[3]||r[4]){a+=o;continue}if((r[5]||r[6])&&n%3&&!((n+o)%3)){s+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+s);const t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+o);if(Math.min(n,o)%2){const e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}const c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=zT(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=zT(t[1]),n="mailto:"+e):(e=zT(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){var t;let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=zT(n[0]),r="mailto:"+e;else{let i;do{i=n[0],n[0]=(null==(t=this.rules.inline._backpedal.exec(n[0]))?void 0:t[0])??""}while(i!==n[0]);e=zT(n[0]),r="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:zT(t[0]),{type:"text",raw:t[0],text:e}}}}const YT=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,jT=/(?:[*+-]|\d{1,9}[.)])/,GT=MT(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,jT).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),HT=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,KT=/(?!\s*\])(?:\\.|[^\[\]\\])+/,JT=MT(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",KT).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),e_=MT(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,jT).getRegex(),t_="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n_=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,r_=MT("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",n_).replace("tag",t_).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),i_=MT(HT).replace("hr",YT).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t_).getRegex(),o_={blockquote:MT(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",i_).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:JT,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:YT,html:r_,lheading:GT,list:e_,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:i_,table:VT,text:/^[^\n]+/},a_=MT("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",YT).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t_).getRegex(),s_={...o_,table:a_,paragraph:MT(HT).replace("hr",YT).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",a_).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t_).getRegex()},l_={...o_,html:MT("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n_).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:VT,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:MT(HT).replace("hr",YT).replace("heading"," *#{1,6} *[^\n]").replace("lheading",GT).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},c_=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,u_=/^( {2,}|\\)\n(?!\s*$)/,O_="\\p{P}\\p{S}",d_=MT(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,O_).getRegex(),h_=MT(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,O_).getRegex(),f_=MT("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,O_).getRegex(),p_=MT("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,O_).getRegex(),A_=MT(/\\([punct])/,"gu").replace(/punct/g,O_).getRegex(),m_=MT(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),g_=MT(n_).replace("(?:--\x3e|$)","--\x3e").getRegex(),v_=MT("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",g_).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),y_=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,b_=MT(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",y_).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),w_=MT(/^!?\[(label)\]\[(ref)\]/).replace("label",y_).replace("ref",KT).getRegex(),Q_=MT(/^!?\[(ref)\](?:\[\])?/).replace("ref",KT).getRegex(),$_={_backpedal:VT,anyPunctuation:A_,autolink:m_,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:u_,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:VT,emStrongLDelim:h_,emStrongRDelimAst:f_,emStrongRDelimUnd:p_,escape:c_,link:b_,nolink:Q_,punctuation:d_,reflink:w_,reflinkSearch:MT("reflink|nolink(?!\\()","g").replace("reflink",w_).replace("nolink",Q_).getRegex(),tag:v_,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:VT},S_={...$_,link:MT(/^!?\[(label)\]\((.*?)\)/).replace("label",y_).getRegex(),reflink:MT(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",y_).getRegex()},x_={...$_,escape:MT(c_).replace("])","~|])").getRegex(),url:MT(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},k_={...x_,br:MT(u_).replace("{2,}","*").getRegex(),text:MT(x_.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},P_={normal:o_,gfm:s_,pedantic:l_},T_={normal:$_,gfm:x_,breaks:k_,pedantic:S_};class __{constructor(e){i(this,"tokens"),i(this,"options"),i(this,"state"),i(this,"tokenizer"),i(this,"inlineQueue"),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||CT,this.options.tokenizer=this.options.tokenizer||new ZT,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:P_.normal,inline:T_.normal};this.options.pedantic?(t.block=P_.pedantic,t.inline=T_.pedantic):this.options.gfm&&(t.block=P_.gfm,this.options.breaks?t.inline=T_.breaks:t.inline=T_.gfm),this.tokenizer.rules=t}static get rules(){return{block:P_,inline:T_}}static lex(e,t){return new __(t).lex(e)}static lexInline(e,t){return new __(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){let r,i,o;for(this.options.pedantic&&(e=e.replace(/\t/g," ").replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?t.push(r):(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.list(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.def(e))e=e.substring(r.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(i.raw+="\n"+r.raw,i.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else{if(o=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o)))i=t[t.length-1],n&&"paragraph"===(null==i?void 0:i.type)?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r),n=o.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),i=t[t.length-1],i&&"text"===i.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,i,o,a,s,l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,l,s))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(i=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent)break;throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class C_{constructor(e){i(this,"options"),i(this,"parser"),this.options=e||CT}space(e){return""}code({text:e,lang:t,escaped:n}){var r;const i=null==(r=(t||"").match(/^\S*/))?void 0:r[0],o=e.replace(/\n$/,"")+"\n";return i?'<pre><code class="language-'+zT(i)+'">'+(n?o:zT(o,!0))+"</code></pre>\n":"<pre><code>"+(n?o:zT(o,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let o=0;o<e.items.length;o++){const t=e.items[o];r+=this.listitem(t)}const i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+i+">\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens.length>0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let i=0;i<e.header.length;i++)n+=this.tablecell(e.header[i]);t+=this.tablerow({text:n});let r="";for(let i=0;i<e.rows.length;i++){const t=e.rows[i];n="";for(let e=0;e<t.length;e++)n+=this.tablecell(t[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${e}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){const r=this.parser.parseInline(n),i=LT(e);if(null===i)return r;let o='<a href="'+(e=i)+'"';return t&&(o+=' title="'+t+'"'),o+=">"+r+"</a>",o}image({href:e,title:t,text:n}){const r=LT(e);if(null===r)return n;let i=`<img src="${e=r}" alt="${n}"`;return t&&(i+=` title="${t}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):e.text}}class E_{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class R_{constructor(e){i(this,"options"),i(this,"renderer"),i(this,"textRenderer"),this.options=e||CT,this.options.renderer=this.options.renderer||new C_,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new E_}static parse(e,t){return new R_(t).parse(e)}static parseInline(e,t){return new R_(t).parseInline(e)}parse(e,t=!0){let n="";for(let r=0;r<e.length;r++){const i=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const o=i;switch(o.type){case"space":n+=this.renderer.space(o);continue;case"hr":n+=this.renderer.hr(o);continue;case"heading":n+=this.renderer.heading(o);continue;case"code":n+=this.renderer.code(o);continue;case"table":n+=this.renderer.table(o);continue;case"blockquote":n+=this.renderer.blockquote(o);continue;case"list":n+=this.renderer.list(o);continue;case"html":n+=this.renderer.html(o);continue;case"paragraph":n+=this.renderer.paragraph(o);continue;case"text":{let i=o,a=this.renderer.text(i);for(;r+1<e.length&&"text"===e[r+1].type;)i=e[++r],a+="\n"+this.renderer.text(i);n+=t?this.renderer.paragraph({type:"paragraph",raw:a,text:a,tokens:[{type:"text",raw:a,text:a}]}):a;continue}default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const i=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}const o=i;switch(o.type){case"escape":case"text":n+=t.text(o);break;case"html":n+=t.html(o);break;case"link":n+=t.link(o);break;case"image":n+=t.image(o);break;case"strong":n+=t.strong(o);break;case"em":n+=t.em(o);break;case"codespan":n+=t.codespan(o);break;case"br":n+=t.br(o);break;case"del":n+=t.del(o);break;default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return"";throw new Error(e)}}}return n}}class X_{constructor(e){i(this,"options"),i(this,"block"),this.options=e||CT}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?__.lex:__.lexInline}provideParser(){return this.block?R_.parse:R_.parseInline}}i(X_,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));const B_=new class{constructor(...e){i(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),i(this,"options",this.setOptions),i(this,"parse",this.parseMarkdown(!0)),i(this,"parseInline",this.parseMarkdown(!1)),i(this,"Parser",R_),i(this,"Renderer",C_),i(this,"TextRenderer",E_),i(this,"Lexer",__),i(this,"Tokenizer",ZT),i(this,"Hooks",X_),this.use(...e)}walkTokens(e,t){var n,r;let i=[];for(const o of e)switch(i=i.concat(t.call(this,o)),o.type){case"table":{const e=o;for(const n of e.header)i=i.concat(this.walkTokens(n.tokens,t));for(const n of e.rows)for(const e of n)i=i.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=o;i=i.concat(this.walkTokens(e.items,t));break}default:{const e=o;(null==(r=null==(n=this.defaults.extensions)?void 0:n.childTokens)?void 0:r[e.type])?this.defaults.extensions.childTokens[e.type].forEach(n=>{const r=e[n].flat(1/0);i=i.concat(this.walkTokens(r,t))}):e.tokens&&(i=i.concat(this.walkTokens(e.tokens,t)))}}return i}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){const t=this.defaults.renderer||new C_(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const r=n,i=e.renderer[r],o=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new ZT(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const r=n,i=e.tokenizer[r],o=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new X_;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;const r=n,i=e.hooks[r],o=t[r];X_.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>o.call(t,e));const n=i.call(t,e);return o.call(t,n)}:t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return __.lex(e,t??this.defaults)}parser(e,t){return R_.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{const r={...n},i={...this.defaults,...r},o=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===r.async)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(null==t)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=e);const a=i.hooks?i.hooks.provideLexer():e?__.lex:__.lexInline,s=i.hooks?i.hooks.provideParser():e?R_.parse:R_.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(e=>a(e,i)).then(e=>i.hooks?i.hooks.processAllTokens(e):e).then(e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then(()=>e):e).then(e=>s(e,i)).then(e=>i.hooks?i.hooks.postprocess(e):e).catch(o);try{i.hooks&&(t=i.hooks.preprocess(t));let e=a(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let n=s(e,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(sy){return o(sy)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+zT(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function U_(e,t){return B_.parse(e,t)}function D_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function I_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return D_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}U_.options=U_.setOptions=function(e){return B_.setOptions(e),U_.defaults=B_.defaults,ET(U_.defaults),U_},U_.getDefaults=_T,U_.defaults=CT,U_.use=function(...e){return B_.use(...e),U_.defaults=B_.defaults,ET(U_.defaults),U_},U_.walkTokens=function(e,t){return B_.walkTokens(e,t)},U_.parseInline=B_.parseInline,U_.Parser=R_,U_.parser=R_.parse,U_.Renderer=C_,U_.TextRenderer=E_,U_.Lexer=__,U_.lexer=__.lex,U_.Tokenizer=ZT,U_.Hooks=X_,U_.parse=U_,U_.options,U_.setOptions,U_.use,U_.walkTokens,U_.parseInline,R_.parse,__.lex;const z_=Object.entries,N_=Object.setPrototypeOf,M_=Object.isFrozen,L_=Object.getPrototypeOf,V_=Object.getOwnPropertyDescriptor;let q_=Object.freeze,F_=Object.seal,W_=Object.create,Z_="undefined"!=typeof Reflect&&Reflect,Y_=Z_.apply,j_=Z_.construct;q_||(q_=function(e){return e}),F_||(F_=function(e){return e}),Y_||(Y_=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),j_||(j_=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const G_=mC(Array.prototype.forEach),H_=mC(Array.prototype.lastIndexOf),K_=mC(Array.prototype.pop),J_=mC(Array.prototype.push),eC=mC(Array.prototype.splice),tC=Array.isArray,nC=mC(String.prototype.toLowerCase),rC=mC(String.prototype.toString),iC=mC(String.prototype.match),oC=mC(String.prototype.replace),aC=mC(String.prototype.indexOf),sC=mC(String.prototype.trim),lC=mC(Number.prototype.toString),cC=mC(Boolean.prototype.toString),uC="undefined"==typeof BigInt?null:mC(BigInt.prototype.toString),OC="undefined"==typeof Symbol?null:mC(Symbol.prototype.toString),dC=mC(Object.prototype.hasOwnProperty),hC=mC(Object.prototype.toString),fC=mC(RegExp.prototype.test),pC=(AC=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return j_(AC,t)});var AC;function mC(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Y_(e,t,r)}}function gC(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nC;if(N_&&N_(e,null),!tC(t))return e;let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(M_(t)||(t[r]=e),i=e)}e[i]=!0}return e}function vC(e){for(let t=0;t<e.length;t++){dC(e,t)||(e[t]=null)}return e}function yC(e){const t=W_(null);for(const r of z_(e)){var n=I_(r,2);const i=n[0],o=n[1];dC(e,i)&&(tC(o)?t[i]=vC(o):o&&"object"==typeof o&&o.constructor===Object?t[i]=yC(o):t[i]=o)}return t}function bC(e,t){for(;null!==e;){const n=V_(e,t);if(n){if(n.get)return mC(n.get);if("function"==typeof n.value)return mC(n.value)}e=L_(e)}return function(){return null}}const wC=q_(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),QC=q_(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$C=q_(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),SC=q_(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),xC=q_(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),kC=q_(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),PC=q_(["#text"]),TC=q_(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),_C=q_(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),CC=q_(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),EC=q_(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),RC=F_(/{{[\w\W]*|^[\w\W]*}}/g),XC=F_(/<%[\w\W]*|^[\w\W]*%>/g),BC=F_(/\${[\w\W]*/g),UC=F_(/^data-[\-\w.\u00B7-\uFFFF]+$/),DC=F_(/^aria-[\-\w]+$/),IC=F_(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),zC=F_(/^(?:\w+script|data):/i),NC=F_(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),MC=F_(/^html$/i),LC=F_(/^[a-z][.\w]*(-[.\w]+)+$/i),VC=F_(/<[/\w!]/g),qC=F_(/<[/\w]/g),FC=F_(/<\/no(script|embed|frames)/i),WC=F_(/\/>/i),ZC=1,YC=3,jC=7,GC=8,HC=9,KC=11,JC=function(e,t,n,r){return dC(e,t)&&tC(e[t])?gC(r.base?yC(r.base):{},e[t],r.transform):n};var eE=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.4.11",n.removed=[],!t||!t.document||t.document.nodeType!==HC||!t.Element)return n.isSupported=!1,n;let r=t.document;const i=r,o=i.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter,u=t.NamedNodeMap;void 0===u&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const O=t.DOMParser,d=t.trustedTypes,h=l.prototype,f=bC(h,"cloneNode"),p=bC(h,"remove"),A=bC(h,"nextSibling"),m=bC(h,"childNodes"),g=bC(h,"parentNode"),v=bC(h,"shadowRoot"),y=bC(h,"attributes"),b=s&&s.prototype?bC(s.prototype,"nodeType"):null,w=s&&s.prototype?bC(s.prototype,"nodeName"):null;if("function"==typeof a){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let Q,$,S="",x=!1,k=0;const P=function(){if(k>0)throw pC('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},T=function(e){P(),k++;try{return Q.createHTML(e)}finally{k--}},_=r,C=_.implementation,E=_.createNodeIterator,R=_.createDocumentFragment,X=_.getElementsByTagName,B=i.importNode;let U={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof z_&&"function"==typeof g&&C&&void 0!==C.createHTMLDocument;const D=RC,I=XC,z=BC,N=UC,M=DC,L=zC,V=NC,q=LC;let F=IC,W=null;const Z=gC({},[...wC,...QC,...$C,...xC,...PC]);let Y=null;const j=gC({},[...TC,..._C,...CC,...EC]);let G=Object.seal(W_(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,K=null;const J=Object.seal(W_(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ee=!0,te=!0,ne=!1,re=!0,ie=!1,oe=!0,ae=!1,se=!1,le=null,ce=null,ue=!1,Oe=!1,de=!1,he=!1,fe=!0,pe=!1;const Ae="user-content-";let me=!0,ge=!1,ve={},ye=null;const be=gC({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let we=null;const Qe=gC({},["audio","video","img","source","image","track"]);let $e=null;const Se=gC({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),xe="http://www.w3.org/1998/Math/MathML",ke="http://www.w3.org/2000/svg",Pe="http://www.w3.org/1999/xhtml";let Te=Pe,_e=!1,Ce=null;const Ee=gC({},[xe,ke,Pe],rC),Re=q_(["mi","mo","mn","ms","mtext"]);let Xe=gC({},Re);const Be=q_(["annotation-xml"]);let Ue=gC({},Be);const De=gC({},["title","style","font","a","script"]);let Ie=null;const ze=["application/xhtml+xml","text/html"];let Ne=null,Me=null;const Le=r.createElement("form"),Ve=function(e){return e instanceof RegExp||e instanceof Function},qe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Me&&Me===e)return;e&&"object"==typeof e||(e={}),e=yC(e),Ie=-1===ze.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ne="application/xhtml+xml"===Ie?rC:nC,W=JC(e,"ALLOWED_TAGS",Z,{transform:Ne}),Y=JC(e,"ALLOWED_ATTR",j,{transform:Ne}),Ce=JC(e,"ALLOWED_NAMESPACES",Ee,{transform:rC}),$e=JC(e,"ADD_URI_SAFE_ATTR",Se,{transform:Ne,base:Se}),we=JC(e,"ADD_DATA_URI_TAGS",Qe,{transform:Ne,base:Qe}),ye=JC(e,"FORBID_CONTENTS",be,{transform:Ne}),H=JC(e,"FORBID_TAGS",yC({}),{transform:Ne}),K=JC(e,"FORBID_ATTR",yC({}),{transform:Ne}),ve=!!dC(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?yC(e.USE_PROFILES):e.USE_PROFILES),ee=!1!==e.ALLOW_ARIA_ATTR,te=!1!==e.ALLOW_DATA_ATTR,ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,re=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ie=e.SAFE_FOR_TEMPLATES||!1,oe=!1!==e.SAFE_FOR_XML,ae=e.WHOLE_DOCUMENT||!1,Oe=e.RETURN_DOM||!1,de=e.RETURN_DOM_FRAGMENT||!1,he=e.RETURN_TRUSTED_TYPE||!1,ue=e.FORCE_BODY||!1,fe=!1!==e.SANITIZE_DOM,pe=e.SANITIZE_NAMED_PROPS||!1,me=!1!==e.KEEP_CONTENT,ge=e.IN_PLACE||!1,F=function(e){try{return fC(e,""),!0}catch(t){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:IC,Te="string"==typeof e.NAMESPACE?e.NAMESPACE:Pe,Xe=dC(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?yC(e.MATHML_TEXT_INTEGRATION_POINTS):gC({},Re),Ue=dC(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?yC(e.HTML_INTEGRATION_POINTS):gC({},Be);const t=dC(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?yC(e.CUSTOM_ELEMENT_HANDLING):W_(null);if(G=W_(null),dC(t,"tagNameCheck")&&Ve(t.tagNameCheck)&&(G.tagNameCheck=t.tagNameCheck),dC(t,"attributeNameCheck")&&Ve(t.attributeNameCheck)&&(G.attributeNameCheck=t.attributeNameCheck),dC(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(G.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),F_(G),ie&&(te=!1),de&&(Oe=!0),ve&&(W=gC({},PC),Y=W_(null),!0===ve.html&&(gC(W,wC),gC(Y,TC)),!0===ve.svg&&(gC(W,QC),gC(Y,_C),gC(Y,EC)),!0===ve.svgFilters&&(gC(W,$C),gC(Y,_C),gC(Y,EC)),!0===ve.mathMl&&(gC(W,xC),gC(Y,CC),gC(Y,EC))),J.tagCheck=null,J.attributeCheck=null,dC(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?J.tagCheck=e.ADD_TAGS:tC(e.ADD_TAGS)&&(W===Z&&(W=yC(W)),gC(W,e.ADD_TAGS,Ne))),dC(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?J.attributeCheck=e.ADD_ATTR:tC(e.ADD_ATTR)&&(Y===j&&(Y=yC(Y)),gC(Y,e.ADD_ATTR,Ne))),dC(e,"ADD_URI_SAFE_ATTR")&&tC(e.ADD_URI_SAFE_ATTR)&&gC($e,e.ADD_URI_SAFE_ATTR,Ne),dC(e,"FORBID_CONTENTS")&&tC(e.FORBID_CONTENTS)&&(ye===be&&(ye=yC(ye)),gC(ye,e.FORBID_CONTENTS,Ne)),dC(e,"ADD_FORBID_CONTENTS")&&tC(e.ADD_FORBID_CONTENTS)&&(ye===be&&(ye=yC(ye)),gC(ye,e.ADD_FORBID_CONTENTS,Ne)),me&&(W["#text"]=!0),ae&&gC(W,["html","head","body"]),W.table&&(gC(W,["tbody"]),delete H.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw pC('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw pC('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=Q;Q=e.TRUSTED_TYPES_POLICY;try{S=T("")}catch(n){throw Q=t,n}}else null===e.TRUSTED_TYPES_POLICY?(Q=void 0,S=""):(void 0===Q&&(x||($=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(o){return null}}(d,o),x=!0),Q=$),Q&&"string"==typeof S&&(S=T("")));q_&&q_(e),Me=e},Fe=gC({},[...QC,...$C,...SC]),We=gC({},[...xC,...kC]),Ze=function(e){let t=g(e);t&&t.tagName||(t={namespaceURI:Te,tagName:"template"});const n=nC(e.tagName),r=nC(t.tagName);return!!Ce[e.namespaceURI]&&(e.namespaceURI===ke?function(e,t,n){return t.namespaceURI===Pe?"svg"===e:t.namespaceURI===xe?"svg"===e&&("annotation-xml"===n||Xe[n]):Boolean(Fe[e])}(n,t,r):e.namespaceURI===xe?function(e,t,n){return t.namespaceURI===Pe?"math"===e:t.namespaceURI===ke?"math"===e&&Ue[n]:Boolean(We[e])}(n,t,r):e.namespaceURI===Pe?function(e,t,n){return!(t.namespaceURI===ke&&!Ue[n])&&!(t.namespaceURI===xe&&!Xe[n])&&!We[e]&&(De[e]||!Fe[e])}(n,t,r):!("application/xhtml+xml"!==Ie||!Ce[e.namespaceURI]))},Ye=function(e){J_(n.removed,{element:e});try{g(e).removeChild(e)}catch(t){if(p(e),!g(e))throw pC("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},je=function(e){const t=m(e);if(t){const e=[];G_(t,t=>{J_(e,t)}),G_(e,e=>{try{p(e)}catch(t){}})}const n=y(e);if(n)for(let i=n.length-1;i>=0;--i){const t=n[i],o=t&&t.name;if("string"==typeof o)try{e.removeAttribute(o)}catch(r){}}},Ge=function(e,t){try{J_(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){J_(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Oe||de)try{Ye(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},He=function(e){const t=y(e);if(t)for(let r=t.length-1;r>=0;--r){const i=t[r],o=i&&i.name;if("string"==typeof o&&!Y[Ne(o)])try{e.removeAttribute(o)}catch(n){}}},Ke=function(e){let t=null,n=null;if(ue)e="<remove></remove>"+e;else{const t=iC(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ie&&Te===Pe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=Q?T(e):e;if(Te===Pe)try{t=(new O).parseFromString(i,Ie)}catch(a){}if(!t||!t.documentElement){t=C.createDocument(Te,"template",null);try{t.documentElement.innerHTML=_e?S:i}catch(a){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Te===Pe?X.call(t,ae?"html":"body")[0]:ae?t.documentElement:o},Je=function(e){return E.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},et=function(e){return e=oC(e,D," "),e=oC(e,I," "),e=oC(e,z," ")},tt=function(e){var t;e.normalize();const n=E.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let r=n.nextNode();for(;r;)r.data=et(r.data),r=n.nextNode();const i=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");i&&G_(i,e=>{rt(e.content)&&tt(e.content)})},nt=function(e){const t=w?w(e):null;return"string"==typeof t&&("form"===Ne(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==y(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==b(e)||e.childNodes!==m(e)))},rt=function(e){if(!b||"object"!=typeof e||null===e)return!1;try{return b(e)===KC}catch(t){return!1}},it=function(e){if(!b||"object"!=typeof e||null===e)return!1;try{return"number"==typeof b(e)}catch(t){return!1}};function ot(e,t,r){0!==e.length&&G_(e,e=>{e.call(n,t,r,Me)})}const at=function(e){if(ot(U.beforeSanitizeElements,e,null),nt(e))return Ye(e),!0;const t=Ne(w?w(e):e.nodeName);if(ot(U.uponSanitizeElement,e,{tagName:t,allowedTags:W}),function(e,t){return!!(oe&&e.hasChildNodes()&&!it(e.firstElementChild)&&fC(VC,e.textContent)&&fC(VC,e.innerHTML))||!(!oe||e.namespaceURI!==Pe||"style"!==t||!it(e.firstElementChild))||e.nodeType===jC||!(!oe||e.nodeType!==GC||!fC(qC,e.data))}(e,t))return Ye(e),!0;if(H[t]||!(J.tagCheck instanceof Function&&J.tagCheck(t))&&!W[t])return function(e,t){if(!H[t]&&ct(t)){if(G.tagNameCheck instanceof RegExp&&fC(G.tagNameCheck,t))return!1;if(G.tagNameCheck instanceof Function&&G.tagNameCheck(t))return!1}if(me&&!ye[t]){const t=g(e),n=m(e);if(n&&t)for(let r=n.length-1;r>=0;--r){const i=ge?n[r]:f(n[r],!0);t.insertBefore(i,A(e))}}return Ye(e),!0}(e,t);if((b?b(e):e.nodeType)===ZC&&!Ze(e))return Ye(e),!0;if(("noscript"===t||"noembed"===t||"noframes"===t)&&fC(FC,e.innerHTML))return Ye(e),!0;if(ie&&e.nodeType===YC){const t=et(e.textContent);e.textContent!==t&&(J_(n.removed,{element:e.cloneNode()}),e.textContent=t)}return ot(U.afterSanitizeElements,e,null),!1},st=function(e,t,n){if(K[t])return!1;if(fe&&("id"===t||"name"===t)&&(n in r||n in Le))return!1;const i=Y[t]||J.attributeCheck instanceof Function&&J.attributeCheck(t,e);if(te&&fC(N,t));else if(ee&&fC(M,t));else if(i)if($e[t]);else if(fC(F,oC(n,V,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==aC(n,"data:")||!we[e]){if(ne&&!fC(L,oC(n,V,"")));else if(n)return!1}else;else if(!(ct(e)&&(G.tagNameCheck instanceof RegExp&&fC(G.tagNameCheck,e)||G.tagNameCheck instanceof Function&&G.tagNameCheck(e))&&(G.attributeNameCheck instanceof RegExp&&fC(G.attributeNameCheck,t)||G.attributeNameCheck instanceof Function&&G.attributeNameCheck(t,e))||"is"===t&&G.allowCustomizedBuiltInElements&&(G.tagNameCheck instanceof RegExp&&fC(G.tagNameCheck,n)||G.tagNameCheck instanceof Function&&G.tagNameCheck(n))))return!1;return!0},lt=gC({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ct=function(e){return!lt[nC(e)]&&fC(q,e)},ut=function(e,t,n,r){if(Q&&"object"==typeof d&&"function"==typeof d.getAttributeType&&!n)switch(d.getAttributeType(e,t)){case"TrustedHTML":return T(r);case"TrustedScriptURL":return function(e){P(),k++;try{return Q.createScriptURL(e)}finally{k--}}(r)}return r},Ot=function(e,t,r,i){try{r?e.setAttributeNS(r,t,i):e.setAttribute(t,i),nt(e)?Ye(e):K_(n.removed)}catch(o){Ge(t,e)}},dt=function(e){ot(U.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||nt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y,forceKeepAttr:void 0};let r=t.length;const i=Ne(e.nodeName);for(;r--;){const o=t[r],a=o.name,s=o.namespaceURI,l=o.value,c=Ne(a),u=l;let O="value"===a?u:sC(u);n.attrName=c,n.attrValue=O,n.keepAttr=!0,n.forceKeepAttr=void 0,ot(U.uponSanitizeAttribute,e,n),O=n.attrValue,!pe||"id"!==c&&"name"!==c||0===aC(O,Ae)||(Ge(a,e),O=Ae+O),oe&&fC(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,O)?Ge(a,e):"attributename"===c&&iC(O,"href")?Ge(a,e):n.forceKeepAttr||(n.keepAttr&&(re||!fC(WC,O))?(ie&&(O=et(O)),st(i,c,O)?(O=ut(i,c,s,O),O!==u&&Ot(e,a,s,O)):Ge(a,e)):Ge(a,e))}ot(U.afterSanitizeAttributes,e,null)},ht=function(e){let t=null;const n=Je(e);for(ot(U.beforeSanitizeShadowDOM,e,null);t=n.nextNode();){ot(U.uponSanitizeShadowNode,t,null),at(t),dt(t),rt(t.content)&&ht(t.content);if((b?b(t):t.nodeType)===ZC){const e=v(t);rt(e)&&(ft(e),ht(e))}}ot(U.afterSanitizeShadowDOM,e,null)},ft=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){ht(e.shadow);continue}const n=e.node,r=(b?b(n):n.nodeType)===ZC,i=m(n);if(i)for(let o=i.length-1;o>=0;--o)t.push({node:i[o],shadow:null});if(r){const e=w?w(n):null;if("string"==typeof e&&"template"===Ne(e)){const e=n.content;rt(e)&&t.push({node:e,shadow:null})}}if(r){const e=v(n);rt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if(_e=!e,_e&&(e="\x3c!--\x3e"),"string"!=typeof e&&!it(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return lC(e);case"boolean":return cC(e);case"bigint":return uC?uC(e):"0";case"symbol":return OC?OC(e):"Symbol()";case"undefined":default:return hC(e);case"function":case"object":{if(null===e)return hC(e);const t=e,n=bC(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:hC(e)}return hC(e)}}}(e)))throw pC("dirty is not a string, aborting");if(!n.isSupported)return e;se?(W=le,Y=ce):qe(t),(U.uponSanitizeElement.length>0||U.uponSanitizeAttribute.length>0)&&(W=yC(W)),U.uponSanitizeAttribute.length>0&&(Y=yC(Y)),n.removed=[];const l=ge&&"string"!=typeof e&&it(e);if(l){const t=w?w(e):e.nodeName;if("string"==typeof t){const e=Ne(t);if(!W[e]||H[e])throw pC("root node is forbidden and cannot be sanitized in-place")}if(nt(e))throw pC("root node is clobbered and cannot be sanitized in-place");try{ft(e)}catch(O){throw je(e),O}}else if(it(e))r=Ke("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===ZC&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o),ft(o);else{if(!Oe&&!ie&&!ae&&-1===e.indexOf("<"))return Q&&he?T(e):e;if(r=Ke(e),!r)return Oe?null:he?S:""}r&&ue&&Ye(r.firstChild);const c=Je(l?e:r);try{for(;a=c.nextNode();)at(a),dt(a),rt(a.content)&&ht(a.content)}catch(O){throw l&&je(e),O}if(l)return G_(n.removed,e=>{e.element&&function(e){const t=[e];for(;t.length>0;){const e=t.pop();(b?b(e):e.nodeType)===ZC&&He(e);const n=m(e);if(n)for(let r=n.length-1;r>=0;--r)t.push(n[r])}}(e.element)}),ie&&tt(e),e;if(Oe){if(ie&&tt(r),de)for(s=R.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(Y.shadowroot||Y.shadowrootmode)&&(s=B.call(i,s,!0)),s}let u=ae?r.outerHTML:r.innerHTML;return ae&&W["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&fC(MC,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),ie&&(u=et(u)),Q&&he?T(u):u},n.setConfig=function(){qe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),se=!0,le=W,ce=Y},n.clearConfig=function(){Me=null,se=!1,le=null,ce=null,Q=$,S=""},n.isValidAttribute=function(e,t,n){Me||qe({});const r=Ne(e),i=Ne(t);return st(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&dC(U,e)&&J_(U[e],t)},n.removeHook=function(e,t){if(dC(U,e)){if(void 0!==t){const n=H_(U[e],t);return-1===n?void 0:eC(U[e],n,1)[0]}return K_(U[e])}},n.removeHooks=function(e){dC(U,e)&&(U[e]=[])},n.removeAllHooks=function(){U={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),tE=(e=>(e.docTypeError="docTypeError",e.contextNotFound="contextNotFound",e.timerNotFound="timerNotFound",e.ctxCallOutOfScope="ctxCallOutOfScope",e.createNodeInParserFail="createNodeInParserFail",e.stackOverFlow="stackOverFlow",e.parserMatchError="parserMatchError",e.serializerMatchError="serializerMatchError",e.getAtomFromSchemaFail="getAtomFromSchemaFail",e.expectDomTypeError="expectDomTypeError",e.callCommandBeforeEditorView="callCommandBeforeEditorView",e.missingRootElement="missingRootElement",e.missingNodeInSchema="missingNodeInSchema",e.missingMarkInSchema="missingMarkInSchema",e.ctxNotBind="ctxNotBind",e.missingYjsDoc="missingYjsDoc",e))(tE||{});let nE=class extends Error{constructor(e,t){super(t),this.name="MilkdownError",this.code=e}};const rE=(e,t)=>"function"==typeof t?"[Function]":t,iE=e=>JSON.stringify(e,rE);function oE(){return new nE(tE.ctxCallOutOfScope,"Should not call a context out of the plugin.")}function aE(){return new nE(tE.stackOverFlow,"Stack over flow, cannot pop on an empty stack.")}function sE(e){return new nE(tE.expectDomTypeError,`Expect to be a dom, but get: ${iE(e)}.`)}function lE(e){return new nE(tE.missingNodeInSchema,`Missing node in schema, milkdown cannot find "${e}" in schema.`)}var cE=e=>{throw TypeError(e)},uE=(e,t,n)=>t.has(e)||cE("Cannot "+n),OE=(e,t,n)=>(uE(e,t,"read from private field"),n?n.call(e):t.get(e)),dE=(e,t,n)=>t.has(e)?cE("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),hE=(e,t,n,r)=>(uE(e,t,"write to private field"),t.set(e,n),n);let fE=class{constructor(){this.sliceMap=new Map,this.get=e=>{const t="string"==typeof e?[...this.sliceMap.values()].find(t=>t.type.name===e):this.sliceMap.get(e.id);if(!t){throw function(e){return new nE(tE.contextNotFound,`Context "${e}" not found, do you forget to inject it?`)}("string"==typeof e?e:e.name)}return t},this.remove=e=>{const t="string"==typeof e?[...this.sliceMap.values()].find(t=>t.type.name===e):this.sliceMap.get(e.id);t&&this.sliceMap.delete(t.type.id)},this.has=e=>"string"==typeof e?[...this.sliceMap.values()].some(t=>t.type.name===e):this.sliceMap.has(e.id)}};var pE,AE,mE;let gE=class{constructor(e,t,n){dE(this,pE),dE(this,AE),dE(this,mE),hE(this,pE,[]),hE(this,mE,()=>{OE(this,pE).forEach(e=>e(OE(this,AE)))}),this.set=e=>{hE(this,AE,e),OE(this,mE).call(this)},this.get=()=>OE(this,AE),this.update=e=>{hE(this,AE,e(OE(this,AE))),OE(this,mE).call(this)},this.type=n,hE(this,AE,t),e.set(n.id,this)}on(e){return OE(this,pE).push(e),()=>{hE(this,pE,OE(this,pE).filter(t=>t!==e))}}once(e){const t=this.on(n=>{e(n),t()});return t}off(e){hE(this,pE,OE(this,pE).filter(t=>t!==e))}offAll(){hE(this,pE,[])}};pE=new WeakMap,AE=new WeakMap,mE=new WeakMap;let vE=class{constructor(e,t){this.id=Symbol(`Context-${t}`),this.name=t,this._defaultValue=e,this._typeInfo=()=>{throw oE()}}create(e,t=this._defaultValue){return new gE(e,t,this)}};const yE=(e,t)=>new vE(e,t);var bE,wE,QE,$E,SE,xE,kE,PE,TE;let _E=class{constructor(e,t,n){dE(this,bE),dE(this,wE),dE(this,QE),dE(this,$E),dE(this,SE),dE(this,xE),dE(this,kE),dE(this,PE),dE(this,TE),hE(this,$E,new Set),hE(this,SE,new Set),hE(this,xE,new Map),hE(this,kE,new Map),this.read=()=>({metadata:OE(this,bE),injectedSlices:[...OE(this,$E)].map(e=>({name:"string"==typeof e?e:e.name,value:OE(this,PE).call(this,e)})),consumedSlices:[...OE(this,SE)].map(e=>({name:"string"==typeof e?e:e.name,value:OE(this,PE).call(this,e)})),recordedTimers:[...OE(this,xE)].map(([e,{duration:t}])=>({name:e.name,duration:t,status:OE(this,TE).call(this,e)})),waitTimers:[...OE(this,kE)].map(([e,{duration:t}])=>({name:e.name,duration:t,status:OE(this,TE).call(this,e)}))}),this.onRecord=e=>{OE(this,xE).set(e,{start:Date.now(),duration:0})},this.onClear=e=>{OE(this,xE).delete(e)},this.onDone=e=>{const t=OE(this,xE).get(e);t&&(t.duration=Date.now()-t.start)},this.onWait=(e,t)=>{const n=Date.now();t.finally(()=>{OE(this,kE).set(e,{duration:Date.now()-n})})},this.onInject=e=>{OE(this,$E).add(e)},this.onRemove=e=>{OE(this,$E).delete(e)},this.onUse=e=>{OE(this,SE).add(e)},hE(this,PE,e=>OE(this,wE).get(e).get()),hE(this,TE,e=>OE(this,QE).get(e).status),hE(this,wE,e),hE(this,QE,t),hE(this,bE,n)}};var CE,EE,RE,XE;bE=new WeakMap,wE=new WeakMap,QE=new WeakMap,$E=new WeakMap,SE=new WeakMap,xE=new WeakMap,kE=new WeakMap,PE=new WeakMap,TE=new WeakMap;CE=new WeakMap,EE=new WeakMap,RE=new WeakMap,XE=new WeakMap;let BE=class e{constructor(t,n,r){dE(this,CE),dE(this,EE),dE(this,RE),dE(this,XE),this.produce=t=>t&&Object.keys(t).length?new e(OE(this,CE),OE(this,EE),{...t}):this,this.inject=(e,t)=>{var n;const r=e.create(OE(this,CE).sliceMap);return null!=t&&r.set(t),null==(n=OE(this,XE))||n.onInject(e),this},this.remove=e=>{var t;return OE(this,CE).remove(e),null==(t=OE(this,XE))||t.onRemove(e),this},this.record=e=>{var t;return e.create(OE(this,EE).store),null==(t=OE(this,XE))||t.onRecord(e),this},this.clearTimer=e=>{var t;return OE(this,EE).remove(e),null==(t=OE(this,XE))||t.onClear(e),this},this.isInjected=e=>OE(this,CE).has(e),this.isRecorded=e=>OE(this,EE).has(e),this.use=e=>{var t;return null==(t=OE(this,XE))||t.onUse(e),OE(this,CE).get(e)},this.get=e=>this.use(e).get(),this.set=(e,t)=>this.use(e).set(t),this.update=(e,t)=>this.use(e).update(t),this.timer=e=>OE(this,EE).get(e),this.done=e=>{var t;this.timer(e).done(),null==(t=OE(this,XE))||t.onDone(e)},this.wait=e=>{var t;const n=this.timer(e).start();return null==(t=OE(this,XE))||t.onWait(e,n),n},this.waitTimers=async e=>{await Promise.all(this.get(e).map(e=>this.wait(e)))},hE(this,CE,t),hE(this,EE,n),hE(this,RE,r),r&&hE(this,XE,new _E(t,n,r))}get meta(){return OE(this,RE)}get inspector(){return OE(this,XE)}},UE=class{constructor(){this.store=new Map,this.get=e=>{const t=this.store.get(e.id);if(!t)throw function(e){return new nE(tE.timerNotFound,`Timer "${e}" not found, do you forget to record it?`)}(e.name);return t},this.remove=e=>{this.store.delete(e.id)},this.has=e=>this.store.has(e.id)}};var DE,IE,zE,NE,ME,LE;let VE=class{constructor(e,t){dE(this,DE),dE(this,IE),dE(this,zE),dE(this,NE),dE(this,ME),dE(this,LE),hE(this,DE,null),hE(this,IE,null),hE(this,NE,"pending"),this.start=()=>(OE(this,DE)??hE(this,DE,new Promise((e,t)=>{hE(this,IE,t=>{t instanceof CustomEvent&&t.detail.id===OE(this,zE)&&(hE(this,NE,"resolved"),OE(this,ME).call(this),t.stopImmediatePropagation(),e())}),OE(this,LE).call(this,()=>{"pending"===OE(this,NE)&&hE(this,NE,"rejected"),OE(this,ME).call(this),t(new Error(`Timing ${this.type.name} timeout.`))}),hE(this,NE,"pending"),addEventListener(this.type.name,OE(this,IE))})),OE(this,DE)),this.done=()=>{const e=new CustomEvent(this.type.name,{detail:{id:OE(this,zE)}});dispatchEvent(e)},hE(this,ME,()=>{OE(this,IE)&&removeEventListener(this.type.name,OE(this,IE))}),hE(this,LE,e=>{setTimeout(()=>{e()},this.type.timeout)}),hE(this,zE,Symbol(t.name)),this.type=t,e.set(t.id,this)}get status(){return OE(this,NE)}};DE=new WeakMap,IE=new WeakMap,zE=new WeakMap,NE=new WeakMap,ME=new WeakMap,LE=new WeakMap;let qE=class{constructor(e,t=3e3){this.create=e=>new VE(e,this),this.id=Symbol(`Timer-${e}`),this.name=e,this.timeout=t}};const FE=(e,t=3e3)=>new qE(e,t);function WE(e){this.content=e}function ZE(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i!=o){if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){let e=i.text,t=o.text,r=0;for(;e[r]==t[r];r++)n++;return r&&r<e.length&&r<t.length&&GE(e.charCodeAt(r-1))&&jE(e.charCodeAt(r))&&n--,n}if(i.content.size||o.content.size){let e=ZE(i.content,o.content,n+1);if(null!=e)return e}n+=i.nodeSize}else n+=i.nodeSize}}function YE(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(0==i||0==o)return i==o?null:{a:n,b:r};let a=e.child(--i),s=t.child(--o),l=a.nodeSize;if(a!=s){if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let e=a.text,t=s.text,i=e.length,o=t.length;for(;i>0&&o>0&&e[i-1]==t[o-1];)i--,o--,n--,r--;return i&&o&&i<e.length&&GE(e.charCodeAt(i-1))&&jE(e.charCodeAt(i))&&(n++,r++),{a:n,b:r}}if(a.content.size||s.content.size){let e=YE(a.content,s.content,n-1,r-1);if(e)return e}n-=l,r-=l}else n-=l,r-=l}}function jE(e){return e>=56320&&e<57344}function GE(e){return e>=55296&&e<56320}WE.prototype={constructor:WE,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,i=r.find(e),o=r.content.slice();return-1==i?o.push(n||e,t):(o[i+1]=t,n&&(o[i]=n)),new WE(o)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new WE(n)},addToStart:function(e,t){return new WE([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new WE(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),o=r.find(e);return i.splice(-1==o?i.length:o,0,t,n),new WE(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=WE.from(e)).size?new WE(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=WE.from(e)).size?new WE(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=WE.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},WE.from=function(e){if(e instanceof WE)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new WE(t)};let HE=class e{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let n=0;n<e.length;n++)this.size+=e[n].nodeSize}nodesBetween(e,t,n,r=0,i){for(let o=0,a=0;a<t;o++){let s=this.content[o],l=a+s.nodeSize;if(l>e&&!1!==n(s,r+a,i||null,o)&&s.content.size){let i=a+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),n,r+i)}a=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i="",o=!0;return this.nodesBetween(e,t,(a,s)=>{let l=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?r?"function"==typeof r?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&l||a.isTextblock)&&n&&(o?o=!1:i+=n),i+=l},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.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<t.content.length;o++)i.push(t.content[o]);return new e(i,this.size+t.size)}cut(t,n=this.size){if(0==t&&n==this.size)return this;let r=[],i=0;if(n>t)for(let e=0,o=0;o<n;e++){let a=this.content[e],s=o+a.nodeSize;s>t&&((o<t||s>n)&&(a=a.isText?a.cut(Math.max(0,t-o),Math.min(a.text.length,n-o)):a.cut(Math.max(0,t-o-1),Math.min(a.content.size,n-o-1))),r.push(a),i+=a.nodeSize),o=s}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:0==t&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,o)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))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 t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return ZE(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return YE(this,e,t,n)}findIndex(e){if(0==e)return JE(0,e);if(e==this.size)return JE(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let r=n+this.child(t).nodeSize;if(r>=e)return r==e?JE(t+1,r):JE(t,n);n=r}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return e.fromArray(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let e=0;e<t.length;e++){let i=t[e];r+=i.nodeSize,e&&i.isText&&t[e-1].sameMarkup(i)?(n||(n=t.slice(0,e)),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new e(n||t,r)}static from(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};HE.empty=new HE([],0);const KE={index:0,offset:0};function JE(e,t){return KE.index=e,KE.offset=t,KE}function eR(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!eR(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!eR(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}let tR=class e{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,r));else{if(i.type.excludes(this.type))return e;!n&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&eR(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);let r=n.create(t.attrs);return n.checkAttrs(r.attrs),r}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&0==t.length)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort((e,t)=>e.type.rank-t.type.rank),n}};tR.none=[];class nR extends Error{}class rR{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=oR(this.content,e+this.openStart,t,this.openStart+1,this.openEnd+1);return n&&new rR(n,this.openStart,this.openEnd)}removeBetween(e,t){return new rR(iR(this.content,e+this.openStart,t+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,t){if(!t)return rR.empty;let n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new rR(HE.fromJSON(e,t.content),n,r)}static maxOpen(e,t=!0){let n=0,r=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)n++;for(let i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)r++;return new rR(e,n,r)}}function iR(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(i==t||o.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(iR(o.content,t-i-1,n-i-1)))}function oR(e,t,n,r,i,o){let{index:a,offset:s}=e.findIndex(t),l=e.maybeChild(a);if(s==t||l.isText)return o&&r<=0&&i<=0&&!o.canReplace(a,a,n)?null:e.cut(0,t).append(n).append(e.cut(t));let c=oR(l.content,t-s-1,n,0==a?r-1:0,a==e.childCount-1?i-1:0,l);return c&&e.replaceChild(a,l.copy(c))}function aR(e,t,n){if(n.openStart>e.depth)throw new nR("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new nR("Inconsistent open depths");return sR(e,t,n,0)}function sR(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let a=sR(e,t,n,r+1);return o.copy(o.content.replaceChild(i,a))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){let{start:i,end:a}=function(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let i=n-1;i>=0;i--)r=t.node(i).copy(HE.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return dR(o,hR(e,i,a,t,r))}{let r=e.parent,i=r.content;return dR(r,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}}return dR(o,fR(e,t,r))}function lR(e,t){if(!t.type.compatibleContent(e.type))throw new nR("Cannot join "+t.type.name+" onto "+e.type.name)}function cR(e,t,n){let r=e.node(n);return lR(r,t.node(n)),r}function uR(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function OR(e,t,n,r){let i=(t||e).node(n),o=0,a=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(uR(e.nodeAfter,r),o++));for(let s=o;s<a;s++)uR(i.child(s),r);t&&t.depth==n&&t.textOffset&&uR(t.nodeBefore,r)}function dR(e,t){if(!e.type.validContent(t))throw new nR("Invalid content for node "+e.type.name);return e.copy(t)}function hR(e,t,n,r,i){let o=e.depth>i&&cR(e,t,i+1),a=r.depth>i&&cR(n,r,i+1),s=[];return OR(null,e,i,s),o&&a&&t.index(i)==n.index(i)?(lR(o,a),uR(dR(o,hR(e,t,n,r,i+1)),s)):(o&&uR(dR(o,fR(e,t,i+1)),s),OR(t,n,i,s),a&&uR(dR(a,fR(n,r,i+1)),s)),OR(r,null,i,s),new HE(s)}function fR(e,t,n){let r=[];if(OR(null,e,n,r),e.depth>n){uR(dR(cR(e,t,n+1),fR(e,t,n+1)),r)}return OR(t,null,n,r),new HE(r)}rR.empty=new rR(HE.empty,0,0);class pR{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?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[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let i=0;i<e;i++)r+=n.child(i).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return tR.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let i=n.marks;for(var o=0;o<i.length;o++)!1!==i[o].type.spec.inclusive||r&&i[o].isInSet(r.marks)||(i=i[o--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)!1!==n[i].type.spec.inclusive||r&&n[i].isInSet(r.marks)||(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new vR(this,e,n);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 t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],r=0,i=t;for(let o=e;;){let{index:e,offset:t}=o.content.findIndex(i),a=i-t;if(n.push(o,e,r+t),!a)break;if(o=o.child(e),o.isText)break;i=a-1,r+=t+1}return new pR(t,n,i)}static resolveCached(e,t){let n=gR.get(e);if(n)for(let i=0;i<n.elts.length;i++){let e=n.elts[i];if(e.pos==t)return e}else gR.set(e,n=new AR);let r=n.elts[n.i]=pR.resolve(e,t);return n.i=(n.i+1)%mR,r}}class AR{constructor(){this.elts=[],this.i=0}}const mR=12,gR=new WeakMap;class vR{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}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 yR=Object.create(null);let bR=class e{constructor(e,t,n,r=tR.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||HE.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,t,n,r=0){this.content.nodesBetween(e,t,n,r,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,t,n,r){return this.content.textBetween(e,t,n,r)}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,t,n){return this.type==e&&eR(this.attrs,t||e.defaultAttrs||yR)&&tR.sameSet(this.marks,n||tR.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return rR.empty;let r=this.resolve(e),i=this.resolve(t),o=n?0:r.sharedDepth(t),a=r.start(o),s=r.node(o).content.cut(r.pos-a,i.pos-a);return new rR(s,r.depth-o,i.depth-o)}replace(e,t,n){return aR(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return pR.resolveCached(this,e)}resolveNoCache(e){return pR.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(r=!0),!r)),r}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()+")"),QR(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=HE.empty,r=0,i=n.childCount){let o=this.contentMatchAt(e).matchFragment(n,r,i),a=o&&o.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(let s=r;s<i;s++)if(!this.type.allowsMarks(n.child(s).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(e).matchType(n),o=i&&i.matchFragment(this.content,t);return!!o&&o.validEnd}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=tR.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!tR.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t 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(e=>e.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let r=HE.fromJSON(e,t.content),i=e.nodeType(t.type).create(t.attrs,r,n);return i.type.checkAttrs(i.attrs),i}};bR.prototype.text=void 0;let wR=class e extends bR{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):QR(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function QR(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class $R{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new SR(e,t);if(null==n.next)return $R.empty;let r=xR(n);n.next&&n.err("Unexpected trailing text");let i=function(e){let t=Object.create(null);return n(ER(e,0));function n(r){let i=[];r.forEach(t=>{e[t].forEach(({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<i.length;e++)i[e][0]==t&&(r=i[e][1]);ER(e,n).forEach(e=>{r||i.push([t,r=[]]),-1==r.indexOf(e)&&r.push(e)})})});let o=t[r.join(",")]=new $R(r.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let r=i[e][1].sort(CR);o.next.push({type:i[e][0],next:t[r.join(",")]||n(r)})}return o}}(function(e){let t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach(e=>e.to=t)}function o(e,t){if("choice"==e.type)return e.exprs.reduce((e,n)=>e.concat(o(n,t)),[]);if("seq"!=e.type){if("star"==e.type){let a=n();return r(t,a),i(o(e.expr,a),a),[r(a)]}if("plus"==e.type){let a=n();return i(o(e.expr,t),a),i(o(e.expr,a),a),[r(a)]}if("opt"==e.type)return[r(t)].concat(o(e.expr,t));if("range"==e.type){let a=t;for(let t=0;t<e.min;t++){let t=n();i(o(e.expr,a),t),a=t}if(-1==e.max)i(o(e.expr,a),a);else for(let t=e.min;t<e.max;t++){let t=n();r(a,t),i(o(e.expr,a),t),a=t}return[r(a)]}if("name"==e.type)return[r(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let a=o(e.exprs[r],t);if(r==e.exprs.length-1)return a;i(a,t=n())}}}(r));return function(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],i=!e.validEnd,o=[];for(let t=0;t<e.next.length;t++){let{type:n,next:a}=e.next[t];o.push(n.name),!i||n.isText||n.hasRequiredAttrs()||(i=!1),-1==r.indexOf(a)&&r.push(a)}i&&t.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,n),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let i=t;r&&i<n;i++)r=r.matchType(e.child(i).type);return r}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];return function i(o,a){let s=o.matchFragment(e,n);if(s&&(!t||s.validEnd))return HE.from(a.map(e=>e.createAndFill()));for(let e=0;e<o.next.length;e++){let{type:t,next:n}=o.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==r.indexOf(n)){r.push(n);let e=i(n,a.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==e)return this.wrapCache[n+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:o,next:a}=i.next[e];o.isLeaf||o.hasRequiredAttrs()||o.name in t||r.type&&!a.validEnd||(n.push({match:o.contentMatch,type:o,via:r}),t[o.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=[];return function t(n){e.push(n);for(let r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map((t,n)=>{let r=n+(t.validEnd?"*":" ")+" ";for(let i=0;i<t.next.length;i++)r+=(i?", ":"")+t.next[i].type.name+"->"+e.indexOf(t.next[i].next);return r}).join("\n")}}$R.empty=new $R(!0);class SR{constructor(e,t){this.string=e,this.nodeTypes=t,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 xR(e){let t=[];do{t.push(kR(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function kR(e){let t=[];do{t.push(PR(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function PR(e){let t=function(e){if(e.eat("(")){let t=xR(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let o in n){let e=n[o];e.isInGroup(t)&&i.push(e)}0==i.length&&e.err("No node type or group '"+t+"' found");return i}(e,e.next).map(t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=_R(e,t)}return t}function TR(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function _R(e,t){let n=TR(e),r=n;return e.eat(",")&&(r="}"!=e.next?TR(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function CR(e,t){return t-e}function ER(e,t){let n=[];return function t(r){let i=e[r];if(1==i.length&&!i[0].term)return t(i[0].to);n.push(r);for(let e=0;e<i.length;e++){let{term:r,to:o}=i[e];r||-1!=n.indexOf(o)||t(o)}}(t),n.sort(CR)}function RR(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function XR(e,t){let n=Object.create(null);for(let r in e){let i=t&&t[r];if(void 0===i){let t=e[r];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+r);i=t.default}n[r]=i}return n}function BR(e,t,n,r){for(let i in t)if(!(i in e))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${r}`);for(let i in e)e[i].validate&&e[i].validate(t[i])}function UR(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new IR(e,r,t[r]);return n}let DR=class e{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=UR(e,n.attrs),this.defaultAttrs=RR(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==$R.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:XR(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new bR(this,this.computeAttrs(e),HE.from(t),tR.setFrom(n))}createChecked(e=null,t,n){return t=HE.from(t),this.checkContent(t),new bR(this,this.computeAttrs(e),t,tR.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=HE.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),i=r&&r.fillBefore(HE.empty,!0);return i?new bR(this,e,t.append(i),tR.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let n=0;n<e.childCount;n++)if(!this.allowsMarks(e.child(n).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){BR(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:tR.none:e}static compile(t,n){let r=Object.create(null);t.forEach((t,i)=>r[t]=new e(t,n,i));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 e in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};let IR=class{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let r=n.split("|");return n=>{let i=null===n?"null":typeof n;if(r.indexOf(i)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}};class zR{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=UR(e,r.attrs),this.excluded=null;let i=RR(this.attrs);this.instance=i?new tR(this,i):null}create(e=null){return!e&&this.instance?this.instance:new tR(this,XR(this.attrs,e))}static compile(e,t){let n=Object.create(null),r=0;return e.forEach((e,i)=>n[e]=new zR(e,r++,t,i)),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){BR(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}let NR=class{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let r in e)t[r]=e[r];t.nodes=WE.from(e.nodes),t.marks=WE.from(e.marks||{}),this.nodes=DR.compile(this.spec.nodes,this),this.marks=zR.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let e=this.nodes[r],t=e.spec.content||"",i=e.spec.marks;if(e.contentMatch=n[t]||(n[t]=$R.parse(t,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==i?null:i?MR(this,i.split(" ")):""!=i&&e.inlineContent?null:[]}for(let r in this.marks){let e=this.marks[r],t=e.spec.excludes;e.excluded=null==t?[e]:""==t?[]:MR(this,t.split(" "))}this.nodeFromJSON=e=>bR.fromJSON(this,e),this.markFromJSON=e=>tR.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof DR))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new wR(n,n.defaultAttrs,e,tR.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}};function MR(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],o=e.marks[i],a=o;if(o)n.push(o);else for(let t in e.marks){let r=e.marks[t];("_"==i||r.spec.group&&r.spec.group.split(" ").indexOf(i)>-1)&&n.push(a=r)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}let LR=class e{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach(e=>{if(function(e){return null!=e.tag}(e))this.tags.push(e);else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new YR(this,t,!1);return n.addAll(e,tR.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new YR(this,t,!0);return n.addAll(e,tR.none,t.from,t.to),rR.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(jR(e,n.tag)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let r=this.styles[i],o=r.style;if(!(0!=o.indexOf(e)||r.context&&!n.matchesContext(r.context)||o.length>e.length&&(61!=o.charCodeAt(e.length)||o.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(!1===e)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((null==e.priority?50:e.priority)<n)break}t.splice(r,0,e)}for(let r in e.marks){let t=e.marks[r].spec.parseDOM;t&&t.forEach(e=>{n(e=GR(e)),e.mark||e.ignore||e.clearMark||(e.mark=r)})}for(let r in e.nodes){let t=e.nodes[r].spec.parseDOM;t&&t.forEach(e=>{n(e=GR(e)),e.node||e.ignore||e.mark||(e.node=r)})}return t}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}};const VR={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},qR={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},FR={ol:!0,ul:!0};function WR(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}class ZR{constructor(e,t,n,r,i,o){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=o,this.content=[],this.activeMarks=tR.none,this.match=i||(4&o?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(HE.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=HE.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(HE.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!VR.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}let YR=class{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r,i=t.topNode,o=WR(null,t.preserveWhitespace,0)|(n?4:0);r=i?new ZR(i.type,i.attrs,tR.none,!0,t.topMatch||i.type.contentMatch,o):new ZR(n?null:e.schema.topNodeType,null,tR.none,!0,null,o),this.nodes=[r],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top,i=2&r.options?"full":this.localPreserveWS||(1&r.options)>0,{schema:o}=this.parser;if("full"===i||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(i)if("full"===i)n=n.replace(/\r\n?/g,"\n");else if(o.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(o.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n<e.length;n++)n&&this.insertNode(o.linebreakReplacement.create(),t,!0),e[n]&&this.insertNode(o.text(e[n]),t,!/\S/.test(e[n]));n=""}else n=n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=r.content[r.content.length-1],i=e.previousSibling;(!t||i&&"BR"==i.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}n&&this.insertNode(o.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let r=this.localPreserveWS,i=this.top;("PRE"==e.tagName||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let o,a=e.nodeName.toLowerCase();FR.hasOwnProperty(a)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&FR.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let s=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,n));e:if(s?s.ignore:qR.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,t);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(e=s.skip);let n,r=this.needsBlock;if(VR.hasOwnProperty(a))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),n=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break e}let o=s&&s.skip?t:this.readStyles(e,t);o&&this.addAll(e,o),n&&this.sync(i),this.needsBlock=r}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,s,n,!1===s.consuming?o:void 0)}this.localPreserveWS=r}leafFallback(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let r=0;r<this.parser.matchedStyles.length;r++){let e=this.parser.matchedStyles[r],i=n.getPropertyValue(e);if(i)for(let n;;){let r=this.parser.matchStyle(e,i,this,n);if(!r)break;if(r.ignore)return null;if(t=r.clearMark?t.filter(e=>!r.clearMark(e)):t.concat(this.parser.schema.marks[r.mark].create(r.attrs)),!1!==r.consuming)break;n=r}}return t}addElementByRule(e,t,n,r){let i,o;if(t.node)if(o=this.parser.schema.nodes[t.node],o.isLeaf)this.insertNode(o.create(t.attrs),n,"BR"==e.nodeName)||this.leafFallback(e,n);else{let e=this.enter(o,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let a=this.top;if(o&&o.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,n,!1));else{let r=e;"string"==typeof t.contentElement?r=e.querySelector(t.contentElement):"function"==typeof t.contentElement?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}i&&this.sync(a)&&this.open--}addAll(e,t,n,r){let i=n||0;for(let o=n?e.childNodes[n]:e.firstChild,a=null==r?null:e.childNodes[r];o!=a;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o,t);this.findAtPoint(e,i)}findPlace(e,t,n){let r,i;for(let o=this.open,a=0;o>=0;o--){let t=this.nodes[o],s=t.findWrapping(e);if(s&&(!r||r.length>s.length+a)&&(r=s,i=t,!s.length))break;if(t.solid){if(n)break;a+=2}}if(!r)return null;this.sync(i);for(let o=0;o<r.length;o++)t=this.enterInner(r[o],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let r=this.findPlace(e,t,n);if(r){this.closeExtra();let t=this.top;t.match&&(t.match=t.match.matchType(e.type));let n=tR.none;for(let i of r.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):HR(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,r){let i=this.findPlace(e.create(t),n,!1);return i&&(i=this.enterInner(e,t,n,!0,r)),i}enterInner(e,t,n,r=!1,i){this.closeExtra();let o=this.top;o.match=o.match&&o.match.matchType(e);let a=WR(e,i,o.options);4&o.options&&0==o.content.length&&(a|=4);let s=tR.none;return n=n.filter(t=>!(o.type?o.type.allowsMarkType(t.type):HR(t.type,e))||(s=t.addToSet(s),!1)),this.nodes.push(new ZR(e,t,s,r,null,a)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].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 t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=1)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)if(null==this.find[r].pos&&1==e.nodeType&&e.contains(this.find[r].node)){t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,r=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),i=-(n?n.depth+1:0)+(r?0:1),o=(e,a)=>{for(;e>=0;e--){let s=t[e];if(""==s){if(e==t.length-1||0==e)continue;for(;a>=i;a--)if(o(e-1,a))return!0;return!1}{let e=a>0||0==a&&r?this.nodes[a].type:n&&a>=i?n.node(a-i).type:null;if(!e||e.name!=s&&!e.isInGroup(s))return!1;a--}}return!0};return o(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}};function jR(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function GR(e){let t={};for(let n in e)t[n]=e[n];return t}function HR(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let o=[],a=e=>{o.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:i}=e.edge(n);if(r==t)return!0;if(o.indexOf(i)<0&&a(i))return!0}};if(a(i.contentMatch))return!0}}class KR{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=eX(t).createDocumentFragment());let r=n,i=[];return e.forEach(e=>{if(i.length||e.marks.length){let n=0,o=0;for(;n<i.length&&o<e.marks.length;){let t=e.marks[o];if(this.marks[t.type.name]){if(!t.eq(i[n][0])||!1===t.type.spec.spanning)break;n++,o++}else o++}for(;n<i.length;)r=i.pop()[1];for(;o<e.marks.length;){let n=e.marks[o++],a=this.serializeMark(n,e.isInline,t);a&&(i.push([n,r]),r.appendChild(a.dom),r=a.contentDOM||a.dom)}}r.appendChild(this.serializeNodeInner(e,t))}),n}serializeNodeInner(e,t){if(e.isText)return eX(t).createTextNode(e.text);let{dom:n,contentDOM:r}=rX(eX(t),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&rX(eX(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return"string"==typeof t?{dom:e.createTextNode(t)}:rX(e,t,n,r)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new KR(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=JR(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return JR(e.marks)}}function JR(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function eX(e){return e.document||window.document}const tX=new WeakMap;function nX(e){let t=tX.get(e);return void 0===t&&tX.set(e,t=function(e){let t=null;function n(e){if(e&&"object"==typeof e)if(Array.isArray(e))if("string"==typeof e[0])t||(t=[]),t.push(e);else for(let t=0;t<e.length;t++)n(e[t]);else for(let t in e)n(e[t])}return n(e),t}(e)),t}function rX(e,t,n,r){if(1==t.nodeType)return{dom:t};if(t.dom&&1==t.dom.nodeType)return t;let i,o=t[0];if("string"!=typeof o)throw new RangeError("Invalid array passed to renderSpec");if(r&&(i=nX(r))&&i.indexOf(t)>-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,s=o.indexOf(" ");s>0&&(n=o.slice(0,s),o=o.slice(s+1));let l=n?e.createElementNS(n,o):e.createElement(o),c=t[1],u=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){u=2;for(let e in c)if(null!=c[e]){let t=e.indexOf(" ");t>0?l.setAttributeNS(e.slice(0,t),e.slice(t+1),c[e]):"style"==e&&l.style?l.style.cssText=c[e]:l.setAttribute(e,c[e])}}for(let O=u;O<t.length;O++){let i=t[O];if(0===i){if(O<t.length-1||O>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}if("string"==typeof i)l.appendChild(e.createTextNode(i));else{let{dom:t,contentDOM:o}=rX(e,i,n,r);if(l.appendChild(t),o){if(a)throw new RangeError("Multiple content holes");a=o}}}return{dom:l,contentDOM:a}}const iX={};function oX(e,t){return aX(e,"boolean"!=typeof iX.includeImageAlt||iX.includeImageAlt,"boolean"!=typeof iX.includeHtml||iX.includeHtml)}function aX(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return sX(e.children,t,n)}return Array.isArray(e)?sX(e,t,n):""}function sX(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=aX(e[i],t,n);return r.join("")}const lX=document.createElement("i");function cX(e){const t="&"+e+";";lX.innerHTML=t;const n=lX.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}function uX(e,t,n,r){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function OX(e,t){return e.length>0?(uX(e,e.length,0,t),e):t}const dX={}.hasOwnProperty;function hX(e){const t={};let n=-1;for(;++n<e.length;)fX(t,e[n]);return t}function fX(e,t){let n;for(n in t){const r=(dX.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){dX.call(r,o)||(r[o]=[]);const e=i[o];pX(r[o],Array.isArray(e)?e:e?[e]:[])}}}function pX(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);uX(e,0,0,r)}function AX(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function mX(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gX=_X(/[A-Za-z]/),vX=_X(/[\dA-Za-z]/),yX=_X(/[#-'*+\--9=?A-Z^-~]/);function bX(e){return null!==e&&(e<32||127===e)}const wX=_X(/\d/),QX=_X(/[\dA-Fa-f]/),$X=_X(/[!-/:-@[-`{-~]/);function SX(e){return null!==e&&e<-2}function xX(e){return null!==e&&(e<0||32===e)}function kX(e){return-2===e||-1===e||32===e}const PX=_X(new RegExp("\\p{P}|\\p{S}","u")),TX=_X(/\s/);function _X(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function CX(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(kX(r))return e.enter(n),a(r);return t(r)};function a(r){return kX(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const EX={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),CX(e,t,"linePrefix")},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):SX(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};const RX={tokenize:function(e){const t=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&g();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}m(a);let s=n;for(;s<t.events.length;)t.events[s][1].end={...i},s++;return uX(t.events,o+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(i){if(a===n.length){if(!r)return d(i);if(r.currentConstruct&&r.currentConstruct.concrete)return f(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(XX,u,O)(i)}function u(e){return r&&g(),m(a),d(e)}function O(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,f(e)}function d(n){return t.containerState={},e.attempt(XX,h,f)(n)}function h(e){return a++,n.push([t.currentConstruct,t.containerState]),d(e)}function f(n){return null===n?(r&&g(),m(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),p(n))}function p(n){return null===n?(A(e.exit("chunkFlow"),!0),m(0),void e.consume(n)):SX(n)?(e.consume(n),A(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),p)}function A(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){s=t.events[l][1].end;break}i=!0}for(m(a),e=n;e<t.events.length;)t.events[e][1].end={...s},e++;uX(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function m(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function g(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},XX={tokenize:function(e,t,n){return CX(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function BX(e){return null===e||xX(e)||TX(e)?1:PX(e)?2:void 0}function UX(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const DX={name:"attention",resolveAll:function(e,t){let n,r,i,o,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const O={...e[n][1].end},d={...e[u][1].start};IX(O,-s),IX(d,s),o={type:s>1?"strongSequence":"emphasisSequence",start:O,end:{...e[n][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:d},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[n][1].end={...o.start},e[u][1].start={...a.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=OX(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=OX(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=OX(l,UX(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=OX(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=OX(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,uX(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=BX(r);let o;return function(t){return o=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===o)return e.consume(s),a;const l=e.exit("attentionSequence"),c=BX(s),u=!c||2===c&&i||n.includes(s),O=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!O)),l._close=Boolean(42===o?O:O&&(c||!u)),t(s)}}};function IX(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const zX={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return gX(t)?(e.consume(t),o):64===t?n(t):l(t)}function o(e){return 43===e||45===e||46===e||vX(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||vX(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||bX(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):yX(t)?(e.consume(t),l):n(t)}function c(e){return vX(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):O(n)}function O(t){if((45===t||vX(t))&&r++<63){const n=45===t?O:u;return e.consume(t),n}return n(t)}}};const NX={partial:!0,tokenize:function(e,t,n){return function(t){return kX(t)?CX(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||SX(e)?t(e):n(e)}}};const MX={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(kX(t))return CX(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return i(t)};function i(r){return e.attempt(MX,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return kX(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};const LX={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return $X(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const VX={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=vX,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=QX,c):(e.enter("characterReferenceValue"),i=7,o=wX,c(t))}function c(s){if(59===s&&a){const i=e.exit("characterReferenceValue");return o!==vX||cX(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return o(s)&&a++<i?(e.consume(s),c):n(s)}}};const qX={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},FX={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,i={partial:!0,tokenize:function(e,t,n){let i=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),kX(t)?CX(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===o?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===o?(i++,e.consume(t),u):i>=s?(e.exit("codeFencedFenceSequence"),kX(t)?CX(e,O,"whitespace")(t):O(t)):n(t)}function O(r){return null===r||SX(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let o,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),kX(t)?CX(e,c,"whitespace")(t):c(t))}function c(n){return null===n||SX(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(qX,h,g)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||SX(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):kX(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),CX(e,O,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function O(t){return null===t||SX(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||SX(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),d)}function h(t){return e.attempt(i,g,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return a>0&&kX(t)?CX(e,A,"linePrefix",a+1)(t):A(t)}function A(t){return null===t||SX(t)?e.check(qX,h,g)(t):(e.enter("codeFlowValue"),m(t))}function m(t){return null===t||SX(t)?(e.exit("codeFlowValue"),A(t)):(e.consume(t),m)}function g(n){return e.exit("codeFenced"),t(n)}}};const WX={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),CX(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):SX(t)?e.attempt(ZX,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||SX(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},ZX={partial:!0,tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):SX(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):CX(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):SX(e)?i(e):n(e)}}};const YX={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),r=0,c(t)):SX(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||SX(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}}};class jX{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&GX(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),GX(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),GX(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);GX(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);GX(this.left,t.reverse())}}}function GX(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function HX(e){const t={};let n,r,i,o,a,s,l,c=-1;const u=new jX(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,KX(u,c)),c=t[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--;)if(o=u.get(i),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type)"enter"===o[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);else if("linePrefix"!==o[1].type&&"listItemIndent"!==o[1].type)break;r&&(n[1].end={...u.get(r)[1].start},a=u.slice(r,c),a.unshift(n),u.splice(r,c-r+1,a))}}return uX(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function KX(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const s=a.events,l=[],c={};let u,O,d=-1,h=n,f=0,p=0;const A=[p];for(;h;){for(;e.get(++i)[1]!==h;);o.push(i),h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),O&&a.defineSkip(h.start),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),O=h,h=h.next}for(h=n;++d<s.length;)"exit"===s[d][0]&&"enter"===s[d-1][0]&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(p=d+1,A.push(p),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(a.events=[],h?(h._tokenizer=void 0,h.previous=void 0):A.pop(),d=A.length;d--;){const t=s.slice(A[d],A[d+1]),n=o.pop();l.push([n,n+t.length-1]),e.splice(n,2,t)}for(l.reverse(),d=-1;++d<l.length;)c[f+l[d][0]]=f+l[d][1],f+=l[d][1]-l[d][0]-1;return c}const JX={resolve:function(e){return HX(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):SX(t)?e.check(eB,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eB={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),CX(e,i,"linePrefix")};function i(i){if(null===i||SX(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}};function tB(e,t,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),O;if(null===t||32===t||41===t||bX(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t)};function O(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),O(t)):null===t||60===t||SX(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function f(i){return u||null!==i&&41!==i&&!xX(i)?u<c&&40===i?(e.consume(i),u++,f):41===i?(e.consume(i),u--,f):null===i||32===i||40===i||bX(i)?n(i):(e.consume(i),92===i?p:f):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i))}function p(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function nB(e,t,n,r,i,o){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(O){return l>999||null===O||91===O||93===O&&!s||94===O&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(O):93===O?(e.exit(o),e.enter(i),e.consume(O),e.exit(i),e.exit(r),t):SX(O)?(e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(O))}function u(t){return null===t||91===t||93===t||SX(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!kX(t)),92===t?O:u)}function O(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function rB(e,t,n,r,i,o){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):SX(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),CX(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||SX(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function iB(e,t){let n;return function r(i){if(SX(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(kX(i))return CX(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}const oB={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return nB.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=mX(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return xX(t)?iB(e,s)(t):s(t)}function s(t){return tB(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(aB,c,c)(t)}function c(t){return kX(t)?CX(e,u,"whitespace")(t):u(t)}function u(o){return null===o||SX(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},aB={partial:!0,tokenize:function(e,t,n){return function(t){return xX(t)?iB(e,r)(t):n(t)};function r(t){return rB(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return kX(t)?CX(e,o,"whitespace")(t):o(t)}function o(e){return null===e||SX(e)?t(e):n(e)}}};const sB={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return SX(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const lB={name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},uX(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||xX(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||SX(n)?(e.exit("atxHeading"),t(n)):kX(n)?CX(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||xX(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}}};const cB=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],uB=["pre","script","style","textarea"],OB={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},tokenize:function(e,t,n){const r=this;let i,o,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,h):63===s?(e.consume(s),i=3,r.interrupt?t:X):gX(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(o){return 45===o?(e.consume(o),i=2,O):91===o?(e.consume(o),i=5,s=0,d):gX(o)?(e.consume(o),i=4,r.interrupt?t:X):n(o)}function O(i){return 45===i?(e.consume(i),r.interrupt?t:X):n(i)}function d(i){const o="CDATA[";return i===o.charCodeAt(s++)?(e.consume(i),6===s?r.interrupt?t:x:d):n(i)}function h(t){return gX(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||xX(s)){const l=47===s,c=a.toLowerCase();return l||o||!uB.includes(c)?cB.includes(a.toLowerCase())?(i=6,l?(e.consume(s),p):r.interrupt?t(s):x(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?A(s):m(s)):(i=1,r.interrupt?t(s):x(s))}return 45===s||vX(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function p(i){return 62===i?(e.consume(i),r.interrupt?t:x):n(i)}function A(t){return kX(t)?(e.consume(t),A):$(t)}function m(t){return 47===t?(e.consume(t),$):58===t||95===t||gX(t)?(e.consume(t),g):kX(t)?(e.consume(t),m):$(t)}function g(t){return 45===t||46===t||58===t||95===t||vX(t)?(e.consume(t),g):v(t)}function v(t){return 61===t?(e.consume(t),y):kX(t)?(e.consume(t),v):m(t)}function y(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,b):kX(t)?(e.consume(t),y):w(t)}function b(t){return t===l?(e.consume(t),l=null,Q):null===t||SX(t)?n(t):(e.consume(t),b)}function w(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||xX(t)?v(t):(e.consume(t),w)}function Q(e){return 47===e||62===e||kX(e)?m(e):n(e)}function $(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||SX(t)?x(t):kX(t)?(e.consume(t),S):n(t)}function x(t){return 45===t&&2===i?(e.consume(t),_):60===t&&1===i?(e.consume(t),C):62===t&&4===i?(e.consume(t),B):63===t&&3===i?(e.consume(t),X):93===t&&5===i?(e.consume(t),R):!SX(t)||6!==i&&7!==i?null===t||SX(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),x):(e.exit("htmlFlowData"),e.check(dB,U,k)(t))}function k(t){return e.check(hB,P,U)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||SX(t)?k(t):(e.enter("htmlFlowData"),x(t))}function _(t){return 45===t?(e.consume(t),X):x(t)}function C(t){return 47===t?(e.consume(t),a="",E):x(t)}function E(t){if(62===t){const n=a.toLowerCase();return uB.includes(n)?(e.consume(t),B):x(t)}return gX(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),E):x(t)}function R(t){return 93===t?(e.consume(t),X):x(t)}function X(t){return 62===t?(e.consume(t),B):45===t&&2===i?(e.consume(t),X):x(t)}function B(t){return null===t||SX(t)?(e.exit("htmlFlowData"),U(t)):(e.consume(t),B)}function U(n){return e.exit("htmlFlow"),t(n)}}},dB={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(NX,t,n)}}},hB={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(SX(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i;return n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};const fB={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),y):63===t?(e.consume(t),g):gX(t)?(e.consume(t),Q):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,h):gX(t)?(e.consume(t),m):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),O):SX(t)?(a=u,E(t)):(e.consume(t),u)}function O(t){return 45===t?(e.consume(t),d):u(t)}function d(e){return 62===e?C(e):45===e?O(e):u(e)}function h(t){const r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),6===o?f:h):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),p):SX(t)?(a=f,E(t)):(e.consume(t),f)}function p(t){return 93===t?(e.consume(t),A):f(t)}function A(t){return 62===t?C(t):93===t?(e.consume(t),A):f(t)}function m(t){return null===t||62===t?C(t):SX(t)?(a=m,E(t)):(e.consume(t),m)}function g(t){return null===t?n(t):63===t?(e.consume(t),v):SX(t)?(a=g,E(t)):(e.consume(t),g)}function v(e){return 62===e?C(e):g(e)}function y(t){return gX(t)?(e.consume(t),b):n(t)}function b(t){return 45===t||vX(t)?(e.consume(t),b):w(t)}function w(t){return SX(t)?(a=w,E(t)):kX(t)?(e.consume(t),w):C(t)}function Q(t){return 45===t||vX(t)?(e.consume(t),Q):47===t||62===t||xX(t)?$(t):n(t)}function $(t){return 47===t?(e.consume(t),C):58===t||95===t||gX(t)?(e.consume(t),S):SX(t)?(a=$,E(t)):kX(t)?(e.consume(t),$):C(t)}function S(t){return 45===t||46===t||58===t||95===t||vX(t)?(e.consume(t),S):x(t)}function x(t){return 61===t?(e.consume(t),k):SX(t)?(a=x,E(t)):kX(t)?(e.consume(t),x):$(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,P):SX(t)?(a=k,E(t)):kX(t)?(e.consume(t),k):(e.consume(t),T)}function P(t){return t===i?(e.consume(t),i=void 0,_):null===t?n(t):SX(t)?(a=P,E(t)):(e.consume(t),P)}function T(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||xX(t)?$(t):(e.consume(t),T)}function _(e){return 47===e||62===e||xX(e)?$(e):n(e)}function C(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function E(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return kX(t)?CX(e,X,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):X(t)}function X(t){return e.enter("htmlTextData"),a(t)}}};const pB={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}e.length!==n.length&&uX(e,0,e.length,n);return e},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=OX(o,e.slice(r+1,r+s+3)),o=OX(o,[["enter",u,t]]),o=OX(o,UX(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=OX(o,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),o=OX(o,e.slice(i+1)),o=OX(o,[["exit",l,t]]),uX(e,r,e.length,o),e},tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){if(!i)return n(t);if(i._inactive)return u(t);return o=r.parser.defined.includes(mX(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s};function s(t){return 40===t?e.attempt(AB,c,o?c:u)(t):91===t?e.attempt(mB,c,o?l:u)(t):o?c(t):u(t)}function l(t){return e.attempt(gB,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,n(e)}}},AB={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return xX(t)?iB(e,i)(t):i(t)}function i(t){return 41===t?c(t):tB(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return xX(t)?iB(e,s)(t):c(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?rB(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return xX(t)?iB(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},mB={tokenize:function(e,t,n){const r=this;return function(t){return nB.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(mX(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},gB={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const vB={name:"labelStartImage",resolveAll:pB.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};const yB={name:"labelStartLink",resolveAll:pB.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};const bB={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),CX(e,t,"linePrefix")}}};const wB={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||SX(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),kX(t)?CX(e,o,"whitespace")(t):o(t))}}};const QB={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(NX,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,CX(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){if(r.containerState.furtherBlankLines||!kX(n))return r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n);return r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(SB,t,i)(n)});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,CX(e,e.attempt(QB,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:wX(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(wB,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return wX(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(NX,r.interrupt?n:c,e.attempt($B,O,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,O(e)}function u(t){return kX(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),O):n(t)}function O(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},$B={partial:!0,tokenize:function(e,t,n){const r=this;return CX(e,function(e){const i=r.events[r.events.length-1];return!kX(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},SB={partial:!0,tokenize:function(e,t,n){const r=this;return CX(e,function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}};const xB={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=a;return e.push(["exit",a,t]),e},tokenize:function(e,t,n){const r=this;let i;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),kX(t)?CX(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||SX(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};const kB={tokenize:function(e){const t=this,n=e.attempt(NX,function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,CX(e,e.attempt(this.parser.constructs.flow,r,e.attempt(JX,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const PB={resolveAll:EB()},TB=CB("string"),_B=CB("text");function CB(e){return{resolveAll:EB("text"===e?RB:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function EB(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function RB(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,a=i.length,s=-1,l=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:r.start._bufferIndex+s,_index:r.start._index+a,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}const XB={42:QB,43:QB,45:QB,48:QB,49:QB,50:QB,51:QB,52:QB,53:QB,54:QB,55:QB,56:QB,57:QB,62:MX},BB={91:oB},UB={[-2]:WX,[-1]:WX,32:WX},DB={35:lB,42:wB,45:[xB,wB],60:OB,61:xB,95:wB,96:FX,126:FX},IB={38:VX,92:LX},zB={[-5]:bB,[-4]:bB,[-3]:bB,33:vB,38:VX,42:DX,60:[zX,fB],91:yB,92:[sB,LX],93:pB,95:DX,96:YX},NB={null:[DX,PB]},MB=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:BB,disable:{null:[]},document:XB,flow:DB,flowInitial:UB,insideSpan:NB,string:IB,text:zB},Symbol.toStringTag,{value:"Module"}));function LB(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let a=[],s=[];const l={attempt:A(function(e,t){m(e,t.from)}),check:A(p),consume:function(e){SX(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e},enter:function(e,t){const n=t||{};return n.type=e,n.start=d(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=d(),c.events.push(["exit",t,c]),t},interrupt:A(p,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:d,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(O(e),t)},sliceStream:O,write:function(e){if(a=OX(a,e),h(),null!==a[a.length-1])return[];return m(t,0),c.events=UX(o,c.events,c),c.events}};let u=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function O(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function d(){const{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function h(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)f(t.charCodeAt(r._bufferIndex));else f(t)}}function f(e){u=u(e)}function p(e,t){t.restore()}function A(e,t){return function(n,i,o){let a,u,O,h;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function f(e){return a=e,u=0,0===e.length?o:p(e[u])}function p(e){return function(n){h=function(){const e=d(),t=c.previous,n=c.currentConstruct,i=c.events.length,o=Array.from(s);return{from:i,restore:a};function a(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,s=o,g()}}(),O=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return m();return e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,A,m)(n)}}function A(t){return e(O,h),i}function m(e){return h.restore(),++u<a.length?p(a[u]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&uX(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const VB=/[\0\t\n\r]/g;const qB=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function FB(e){return e.replace(qB,WB)}function WB(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return AX(n.slice(t?2:1),t?16:10)}return cX(n)||e}function ZB(e){return e&&"object"==typeof e?"position"in e||"type"in e?jB(e.position):"start"in e||"end"in e?jB(e):"line"in e||"column"in e?YB(e):"":""}function YB(e){return GB(e&&e.line)+":"+GB(e&&e.column)}function jB(e){return YB(e&&e.start)+"-"+YB(e&&e.end)}function GB(e){return e&&"number"==typeof e?e:1}const HB={}.hasOwnProperty;function KB(e,t,n){return t&&"object"==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(te),autolinkProtocol:S,autolinkEmail:S,atxHeading:o(H),blockQuote:o(W),characterEscape:S,characterReference:S,codeFenced:o(Z),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(Z,a),codeText:o(Y,a),codeTextData:S,data:S,codeFlowValue:S,definition:o(j),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(G),hardBreakEscape:o(K),hardBreakTrailing:o(K),htmlFlow:o(J,a),htmlFlowData:S,htmlText:o(J,a),htmlTextData:S,image:o(ee),label:a,link:o(te),listItem:o(re),listItemValue:d,listOrdered:o(ne,O),listUnordered:o(ne),paragraph:o(ie),reference:z,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(H),strong:o(oe),thematicBreak:o(se)},exit:{atxHeading:l(),atxHeadingSequence:b,autolink:l(),autolinkEmail:F,autolinkProtocol:q,blockQuote:l(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:M,characterReferenceMarkerNumeric:M,characterReferenceValue:L,characterReference:V,codeFenced:l(A),codeFencedFence:p,codeFencedFenceInfo:h,codeFencedFenceMeta:f,codeFlowValue:x,codeIndented:l(m),codeText:l(C),codeTextData:x,data:x,definition:l(),definitionDestinationString:y,definitionLabelString:g,definitionTitleString:v,emphasis:l(),hardBreakEscape:l(P),hardBreakTrailing:l(P),htmlFlow:l(T),htmlFlowData:x,htmlText:l(_),htmlTextData:x,image:l(R),label:B,labelText:X,lineEnding:k,link:l(E),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:N,resourceDestinationString:U,resourceTitleString:D,resource:I,setextHeading:l($),setextHeadingLineSequence:Q,setextHeadingText:w,strong:l(),thematicBreak:l()}};eU(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:s,exit:c,buffer:a,resume:u,data:n},l=[];let O=-1;for(;++O<e.length;)if("listOrdered"===e[O][1].type||"listUnordered"===e[O][1].type)if("enter"===e[O][0])l.push(O);else{O=i(e,l.pop(),O)}for(O=-1;++O<e.length;){const n=t[e[O][0]];HB.call(n,e[O][1].type)&&n[e[O][1].type].call(Object.assign({sliceSerialize:e[O][2].sliceSerialize},o),e[O][1])}if(o.tokenStack.length>0){const e=o.tokenStack[o.tokenStack.length-1];(e[1]||nU).call(o,void 0,e[0])}for(r.position={start:JB(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:JB(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},O=-1;++O<t.transforms.length;)r=t.transforms[O](r)||r;return r}function i(e,t,n){let r,i,o,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,o=void 0,a=!0}}}return e[t][1]._spread=c,n}function o(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:JB(t.start),end:void 0}}function l(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+ZB({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||nU).call(this,e,r[0])}n.position.end=JB(e.end)}function u(){return oX(this.stack.pop())}function O(){this.data.expectingFirstListItemValue=!0}function d(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function f(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function p(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function m(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function g(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=mX(this.sliceSerialize(e)).toLowerCase()}function v(){const e=this.resume();this.stack[this.stack.length-1].title=e}function y(){const e=this.resume();this.stack[this.stack.length-1].url=e}function b(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function Q(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function S(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ae(),n.position={start:JB(e.start),end:void 0},t.push(n)),this.stack.push(n)}function x(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=JB(e.end)}function k(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=JB(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(S.call(this,e),x.call(this,e))}function P(){this.data.atHardBreak=!0}function T(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function C(){const e=this.resume();this.stack[this.stack.length-1].value=e}function E(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function R(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function X(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=FB(t),n.identifier=mX(t).toLowerCase()}function B(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function U(){const e=this.resume();this.stack[this.stack.length-1].url=e}function D(){const e=this.resume();this.stack[this.stack.length-1].title=e}function I(){this.data.inReference=void 0}function z(){this.data.referenceType="collapsed"}function N(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=mX(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function M(e){this.data.characterReferenceType=e.type}function L(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=AX(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=cX(t)}this.stack[this.stack.length-1].value+=r}function V(e){this.stack.pop().position.end=JB(e.end)}function q(e){x.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function F(e){x.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function W(){return{type:"blockquote",children:[]}}function Z(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function j(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function G(){return{type:"emphasis",children:[]}}function H(){return{type:"heading",depth:0,children:[]}}function K(){return{type:"break"}}function J(){return{type:"html",value:""}}function ee(){return{type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",title:null,url:"",children:[]}}function ne(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ie(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ae(){return{type:"text",value:""}}function se(){return{type:"thematicBreak"}}}(n)(function(e){for(;!HX(e););return e}(function(e){const t={constructs:hX([MB,...(e||{}).extensions||[]]),content:n(EX),defined:[],document:n(RX),flow:n(kB),lazy:{},string:n(TB),text:n(_B)};return t;function n(e){return function(n){return LB(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,a){const s=[];let l,c,u,O,d;for(i=n+("string"==typeof i?i.toString():new TextDecoder(o||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(VB.lastIndex=u,l=VB.exec(i),O=l&&void 0!==l.index?l.index:i.length,d=i.charCodeAt(O),!l){n=i.slice(u);break}if(10===d&&u===O&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<O&&(s.push(i.slice(u,O)),t+=O-u),d){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=O+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}function JB(e){return{line:e.line,column:e.column,offset:e.offset}}function eU(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?eU(e,r):tU(e,r)}}function tU(e,t){let n;for(n in t)if(HB.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function nU(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ZB({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ZB({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ZB({start:t.start,end:t.end})+") is still open")}function rU(e){const t=this;t.parser=function(n){return KB(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const iU={}.hasOwnProperty;const oU={}.hasOwnProperty;function aU(e,t){let n,r=-1;if(t.extensions)for(;++r<t.extensions.length;)aU(e,t.extensions[r]);for(n in t)if(oU.call(t,n))switch(n){case"extensions":break;case"unsafe":case"join":sU(e[n],t[n]);break;case"handlers":lU(e[n],t[n]);break;default:e.options[n]=t[n]}return e}function sU(e,t){t&&e.push(...t)}function lU(e,t){t&&Object.assign(e,t)}function cU(e,t,n){return">"+(n?"":" ")+e}function uU(e,t){return OU(e,t.inConstruct,!0)&&!OU(e,t.notInConstruct,!1)}function OU(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function dU(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&uU(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function hU(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function fU(e,t,n){return(n?"":" ")+e}function pU(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function AU(e){return"&#x"+e.toString(16).toUpperCase()+";"}function mU(e,t,n){const r=BX(e),i=BX(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function gU(e,t,n,r){const i=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),o=n.enter("emphasis"),a=n.createTracker(r),s=a.move(i);let l=a.move(n.containerPhrasing(e,{after:i,before:s,...a.current()}));const c=l.charCodeAt(0),u=mU(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=AU(c)+l.slice(1));const O=l.charCodeAt(l.length-1),d=mU(r.after.charCodeAt(0),O,i);d.inside&&(l=l.slice(0,-1)+AU(O));const h=a.move(i);return o(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},s+l+h}gU.peek=function(e,t,n){return n.options.emphasis||"*"};const vU=function(e){if(null==e)return bU;if("function"==typeof e)return yU(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=vU(e[n]);return yU(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return yU(n);function n(n){const r=n;let i;for(i in e)if(r[i]!==t[i])return!1;return!0}}(e);if("string"==typeof e)return function(e){return yU(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function yU(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function bU(){return!0}const wU=[],QU=!0,$U=!1,SU="skip";function xU(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;const o=vU(i),a=r?-1:1;!function e(i,s,l){const c=i&&"object"==typeof i?i:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,O,d=wU;if((!t||o(i,s,l[l.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[QU,e];return null==e?wU:[e]}(n(i,l)),d[0]===$U))return d;if("children"in i&&i.children){const t=i;if(t.children&&d[0]!==SU)for(u=(r?t.children.length:-1)+a,O=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,O)(),c[0]===$U)return c;u="number"==typeof c[1]?c[1]:u+a}}return d}}(e,void 0,[])()}function kU(e,t,n,r){let i,o,a;"function"==typeof t&&"function"!=typeof n?(o=void 0,a=t,i=n):(o=t,a=n,i=r),xU(e,o,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},i)}function PU(e,t){let n=!1;return kU(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,$U}),Boolean((!e.depth||e.depth<3)&&oX(e)&&(t.options.setext||n))}function TU(e){return e.value||""}function _U(e,t,n,r){const i=pU(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),a(),c}function CU(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const O=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===O?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(O+"]"),l}function EU(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const e=n.unsafe[o],t=n.compilePattern(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function RU(e,t){const n=oX(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function XU(e,t,n,r){const i=pU(n),o='"'===i?"Quote":"Apostrophe",a=n.createTracker(r);let s,l;if(RU(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=a.move("<");return r+=a.move(n.containerPhrasing(e,{before:r,after:">",...a.current()})),r+=a.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),s(),c}function BU(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const O=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===O?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(O+"]"),l}function UU(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function DU(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}TU.peek=function(){return"<"},_U.peek=function(){return"!"},CU.peek=function(){return"!"},EU.peek=function(){return"`"},XU.peek=function(e,t,n){return RU(e,n)?"<":"["},BU.peek=function(){return"["};const IU=vU(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function zU(e,t,n,r){const i=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),a=n.createTracker(r),s=a.move(i+i);let l=a.move(n.containerPhrasing(e,{after:i,before:s,...a.current()}));const c=l.charCodeAt(0),u=mU(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=AU(c)+l.slice(1));const O=l.charCodeAt(l.length-1),d=mU(r.after.charCodeAt(0),O,i);d.inside&&(l=l.slice(0,-1)+AU(O));const h=a.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:d.outside,before:u.outside},s+l+h}zU.peek=function(e,t,n){return n.options.strong||"*"};const NU={blockquote:function(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const a=n.indentLines(n.containerFlow(e,o.current()),cU);return i(),a},break:dU,code:function(e,t,n,r){const i=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",a="`"===i?"GraveAccent":"Tilde";if(hU(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(o,fU);return e(),t}const s=n.createTracker(r),l=i.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,a=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++o>a&&(a=o):o=1,i=r+t.length,r=n.indexOf(t,i);return a}(o,i)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const t=n.enter(`codeFencedLang${a}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){const i=pU(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),a(),c},emphasis:gU,hardBreak:dU,heading:function(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(PU(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}const a="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c=AU(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c},html:TU,image:_U,imageReference:CU,inlineCode:EU,link:XU,linkReference:BU,list:function(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let a=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):UU(n);const s=e.ordered?"."===a?")":".":function(e){const t=UU(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!t||!n.bulletLastUsed)&&a===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==a&&"-"!==a||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),DU(n)===a&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),c},listItem:function(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let o=n.bulletCurrent||UU(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?o:o+" ".repeat(a-o.length))+e});return l(),c},paragraph:function(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(e,r);return o(),i(),a},root:function(e,t,n,r){return(e.children.some(function(e){return IU(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:zU,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(DU(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},MU=[function(e,t,n,r){if("code"===t.type&&hU(t,r)&&("list"===e.type||e.type===t.type&&hU(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&PU(t,r)))return;return n.spread?1:0}}];const LU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],VU=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:LU},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:LU},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:LU},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:LU},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:LU},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:LU},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:LU},{atBreak:!0,character:"~"}];function qU(e){return e.label||!e.identifier?e.label||"":FB(e.identifier)}function FU(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function WU(e,t,n,r){let i=r.join.length;for(;i--;){const o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const ZU=/\r?\n|\r/g;function YU(e,t){const n=[];let r,i=0,o=0;for(;r=ZU.exec(e);)a(e.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return a(e.slice(i)),n.join("");function a(e){n.push(t(e,o,!e))}}function jU(e,t){return e-t}function GU(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],o=e+t;let a,s=-1,l=0;for(;a=n.exec(o);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&i.push(e.slice(l,r[s])),i.push("\\"),l=r[s];return i.push(e.slice(l)),i.join("")}function HU(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return i+=n.length-1,o=1===n.length?o+a.length:1+a.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function KU(e,t){const n=t||{},r={associationId:qU,containerPhrasing:nD,containerFlow:rD,createTracker:HU,compilePattern:FU,enter:function(e){return r.stack.push(e),function(){r.stack.pop()}},handlers:{...NU},handle:void 0,indentLines:YU,indexStack:[],join:[...MU],options:{},safe:iD,stack:[],unsafe:[...VU]};aU(r,n),r.options.tightDefinitions&&r.join.push(tD),r.handle=function(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&iU.call(t,e)){const n=String(t[e]);i=iU.call(o,n)?o[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}("type",{invalid:JU,unknown:eD,handlers:r.handlers});let i=r.handle(e,void 0,r,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return i&&10!==i.charCodeAt(i.length-1)&&13!==i.charCodeAt(i.length-1)&&(i+="\n"),i}function JU(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function eD(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function tD(e,t){if("definition"===e.type&&e.type===t.type)return 0}function nD(e,t){return function(e,t,n){const r=t.indexStack,i=e.children||[],o=[];let a,s=-1,l=n.before;r.push(-1);let c=t.createTracker(n);for(;++s<i.length;){const u=i[s];let O;if(r[r.length-1]=s,s+1<i.length){let n=t.handle.handlers[i[s+1].type];n&&n.peek&&(n=n.peek),O=n?n(i[s+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else O=n.after;o.length>0&&("\r"===l||"\n"===l)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",c=t.createTracker(n),c.move(o.join("")));let d=t.handle(u,e,t,{...c.current(),after:O,before:l});a&&a===d.slice(0,1)&&(d=AU(a.charCodeAt(0))+d.slice(1));const h=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,a=void 0,h&&(o.length>0&&h.before&&l===o[o.length-1].slice(-1)&&(o[o.length-1]=o[o.length-1].slice(0,-1)+AU(l.charCodeAt(0))),h.after&&(a=O)),c.move(d),o.push(d),l=d.slice(-1)}return r.pop(),o.join("")}(e,this,t)}function rD(e,t){return function(e,t,n){const r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<i.length;){const n=i[s];r[r.length-1]=s,a.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(WU(n,i[s+1],e,t)))}return r.pop(),a.join("")}(e,this,t)}function iD(e,t){return function(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!uU(e.stack,t))continue;const n=e.compilePattern(t);let o;for(;o=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=o.index+(e?o[1].length:0);i.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(i.push(r),a[r]={before:e,after:n})}}i.sort(jU);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){const e=i[s];e<l||e>=c||e+1<c&&i[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||i[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&o.push(GU(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push(AU(r.charCodeAt(e))),l++):o.push("\\"))}return o.push(GU(r.slice(l,c),n.after)),o.join("")}(this,e,t)}function oD(e){const t=this;t.compiler=function(n){return KU(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function aD(e){if(e)throw e}var sD,lD;var cD=function(){if(lD)return sD;lD=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,i=e.call(n,"constructor"),o=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!o)return!1;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return sD=function e(){var t,n,r,l,c,u,O=arguments[0],d=1,h=arguments.length,f=!1;for("boolean"==typeof O&&(f=O,O=arguments[1]||{},d=2),(null==O||"object"!=typeof O&&"function"!=typeof O)&&(O={});d<h;++d)if(null!=(t=arguments[d]))for(n in t)r=s(O,n),O!==(l=s(t,n))&&(f&&l&&(o(l)||(c=i(l)))?(c?(c=!1,u=r&&i(r)?r:[]):u=r&&o(r)?r:{},a(O,{name:n,newValue:e(f,u,l)})):void 0!==l&&a(O,{name:n,newValue:l}));return O},sD}();const uD=mv(cD);function OD(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function dD(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...a){const s=e[++n];let l=-1;if(o)r(o);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let s;r&&t.push(i);try{s=e.apply(this,t)}catch(o){if(r&&n)throw o;return i(o)}r||(s&&s.then&&"function"==typeof s.then?s.then(a,i):s instanceof Error?i(s):a(s))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}(s,i)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}class hD extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=ZB(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}hD.prototype.file="",hD.prototype.name="",hD.prototype.reason="",hD.prototype.message="",hD.prototype.stack="",hD.prototype.column=void 0,hD.prototype.line=void 0,hD.prototype.ancestors=void 0,hD.prototype.cause=void 0,hD.prototype.fatal=void 0,hD.prototype.place=void 0,hD.prototype.ruleId=void 0,hD.prototype.source=void 0;const fD={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');pD(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));r===i?i=a:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(pD(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){pD(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===a||1===a&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)pD(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){pD(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function pD(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const AD={cwd:function(){return"/"}};function mD(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function gD(e){if("string"==typeof e)e=new URL(e);else if(!mD(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const vD=["history","path","basename","stem","extname","dirname"];class yD{constructor(e){let t;t=e?mD(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":AD.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<vD.length;){const e=vD[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)vD.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?fD.basename(this.path):void 0}set basename(e){wD(e,"basename"),bD(e,"basename"),this.path=fD.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?fD.dirname(this.path):void 0}set dirname(e){QD(this.basename,"dirname"),this.path=fD.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?fD.extname(this.path):void 0}set extname(e){if(bD(e,"extname"),QD(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=fD.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){mD(e)&&(e=gD(e)),wD(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?fD.basename(this.path,this.extname):void 0}set stem(e){wD(e,"stem"),bD(e,"stem"),this.path=fD.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new hD(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function bD(e,t){if(e&&e.includes(fD.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+fD.sep+"`")}function wD(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function QD(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const $D=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},SD={}.hasOwnProperty;class xD extends $D{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=dD()}copy(){const e=new xD;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(uD(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(_D("data",this.frozen),this.namespace[e]=t,this):SD.call(this.namespace,e)&&this.namespace[e]||void 0:e?(_D("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=RD(e),n=this.parser||this.Parser;return PD("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),PD("process",this.parser||this.Parser),TD("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){const o=RD(e),a=n.parse(o);function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(a,o,function(e,t,r){if(e||!t||!r)return s(e);const i=t,o=n.stringify(i,r);var a;"string"==typeof(a=o)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(a)?r.value=o:r.result=o,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),PD("processSync",this.parser||this.Parser),TD("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,aD(e),t=r}),ED("processSync","process",n),t}run(e,t,n){CD(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){const a=RD(t);r.run(e,a,function(t,r,a){const s=r||e;t?o(t):i?i(s):n(void 0,s,a)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){aD(e),n=t,r=!0}),ED("runSync","run",r),n}stringify(e,t){this.freeze();const n=RD(t),r=this.compiler||this.Compiler;return TD("stringify",r),CD(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(_D("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?a(e):o(e)}return this;function i(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else o(e)}}function o(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=uD(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){i(e[t])}}}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...o]=t;const a=n[i][1];OD(a)&&OD(r)&&(r=uD(!0,a,r)),n[i]=[e,r,...o]}}}}const kD=(new xD).freeze();function PD(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function TD(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function _D(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function CD(e){if(!OD(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function ED(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function RD(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new yD(e)}var XD=e=>{throw TypeError(e)},BD=(e,t,n)=>t.has(e)||XD("Cannot "+n),UD=(e,t,n)=>(BD(e,t,"read from private field"),n?n.call(e):t.get(e)),DD=(e,t,n)=>t.has(e)?XD("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ID=(e,t,n,r)=>(BD(e,t,"write to private field"),t.set(e,n),n);let zD=class{},ND=class{constructor(){this.elements=[],this.size=()=>this.elements.length,this.top=()=>this.elements.at(-1),this.push=e=>{var t;null==(t=this.top())||t.push(e)},this.open=e=>{this.elements.push(e)},this.close=()=>{const e=this.elements.pop();if(!e)throw aE();return e}}},MD=class e extends zD{constructor(e,t,n){super(),this.type=e,this.content=t,this.attrs=n}push(e,...t){this.content.push(e,...t)}pop(){return this.content.pop()}static create(t,n,r){return new e(t,n,r)}};var LD,VD,qD,FD,WD,ZD,YD;const jD=class extends ND{constructor(e){super(),DD(this,LD),DD(this,VD),DD(this,qD),DD(this,FD),DD(this,WD),DD(this,ZD),DD(this,YD),ID(this,LD,tR.none),ID(this,VD,e=>e.isText),ID(this,qD,(e,t)=>{if(UD(this,VD).call(this,e)&&UD(this,VD).call(this,t)&&tR.sameSet(e.marks,t.marks))return this.schema.text(e.text+t.text,e.marks)}),ID(this,FD,e=>{const t=Object.values({...this.schema.nodes,...this.schema.marks}).find(t=>t.spec.parseMarkdown.match(e));if(!t)throw function(e){return new nE(tE.parserMatchError,`Cannot match target parser for node: ${iE(e)}.`)}(e);return t}),ID(this,WD,e=>{const t=UD(this,FD).call(this,e);t.spec.parseMarkdown.runner(this,e,t)}),this.injectRoot=(e,t,n)=>(this.openNode(t,n),this.next(e.children),this),this.openNode=(e,t)=>(this.open(MD.create(e,[],t)),this),ID(this,ZD,()=>{ID(this,LD,tR.none);const e=this.close();return UD(this,YD).call(this,e.type,e.attrs,e.content)}),this.closeNode=()=>(UD(this,ZD).call(this),this),ID(this,YD,(e,t,n)=>{const r=e.createAndFill(t,n,UD(this,LD));if(!r)throw function(...e){const t=e.reduce((e,t)=>{if(!t)return e;const n=e=>Array.isArray(e)?e.map(e=>n(e)).join(", "):e.toJSON?iE(e.toJSON()):e.spec?iE(e.spec):e.toString();return`${e}, ${n(t)}`},"Create prosemirror node from remark failed in parser");return new nE(tE.createNodeInParserFail,t)}(e,t,n);return this.push(r),r}),this.addNode=(e,t,n)=>(UD(this,YD).call(this,e,t,n),this),this.openMark=(e,t)=>{const n=e.create(t);return ID(this,LD,n.addToSet(UD(this,LD))),this},this.closeMark=e=>(ID(this,LD,e.removeFromSet(UD(this,LD))),this),this.addText=e=>{const t=this.top();if(!t)throw aE();const n=t.pop(),r=this.schema.text(e,UD(this,LD));if(!n)return t.push(r),this;const i=UD(this,qD).call(this,n,r);return i?(t.push(i),this):(t.push(n,r),this)},this.build=()=>{let e;do{e=UD(this,ZD).call(this)}while(this.size());return e},this.next=(e=[])=>([e].flat().forEach(e=>UD(this,WD).call(this,e)),this),this.toDoc=()=>this.build(),this.run=(e,t)=>{const n=e.runSync(e.parse(t),t);return this.next(n),this},this.schema=e}};LD=new WeakMap,VD=new WeakMap,qD=new WeakMap,FD=new WeakMap,WD=new WeakMap,ZD=new WeakMap,YD=new WeakMap,jD.create=(e,t)=>{const n=new jD(e);return e=>(n.run(t,e),n.toDoc())};let GD=jD;const HD=class extends zD{constructor(e,t,n,r={}){super(),this.type=e,this.children=t,this.value=n,this.props=r,this.push=(e,...t)=>{this.children||(this.children=[]),this.children.push(e,...t)},this.pop=()=>{var e;return null==(e=this.children)?void 0:e.pop()}}};HD.create=(e,t,n,r={})=>new HD(e,t,n,r);let KD=HD;var JD,eI,tI,nI,rI,iI,oI,aI,sI,lI,cI,uI,OI;const dI=class extends ND{constructor(e){super(),DD(this,JD),DD(this,eI),DD(this,tI),DD(this,nI),DD(this,rI),DD(this,iI),DD(this,oI),DD(this,aI),DD(this,sI),DD(this,lI),DD(this,cI),DD(this,uI),DD(this,OI),ID(this,JD,tR.none),ID(this,eI,e=>{const t=Object.values({...this.schema.nodes,...this.schema.marks}).find(t=>t.spec.toMarkdown.match(e));if(!t)throw function(e){return new nE(tE.serializerMatchError,`Cannot match target serializer for node: ${iE(e)}.`)}(e.type);return t}),ID(this,tI,e=>UD(this,eI).call(this,e).spec.toMarkdown.runner(this,e)),ID(this,nI,(e,t)=>UD(this,eI).call(this,e).spec.toMarkdown.runner(this,e,t)),ID(this,rI,e=>{const{marks:t}=e,n=e=>e.type.spec.priority??50;[...t].sort((e,t)=>n(e)-n(t)).every(t=>!UD(this,nI).call(this,t,e))&&UD(this,tI).call(this,e),t.forEach(e=>UD(this,OI).call(this,e))}),ID(this,iI,(e,t)=>{var n;if(e.type===t||1!==(null==(n=e.children)?void 0:n.length))return e;const r=e=>{var n;if(e.type===t)return e;if(1!==(null==(n=e.children)?void 0:n.length))return null;const[i]=e.children;return i?r(i):null},i=r(e);if(!i)return e;const o=i.children?[...i.children]:void 0,a={...e,children:o};return a.children=o,i.children=[a],i}),ID(this,oI,e=>{const{children:t}=e;return t&&(e.children=t.reduce((e,t,n)=>{if(0===n)return[t];const r=e.at(-1);if(r&&r.isMark&&t.isMark){t=UD(this,iI).call(this,t,r.type);const{children:n,...i}=t,{children:o,...a}=r;if(t.type===r.type&&n&&o&&JSON.stringify(i)===JSON.stringify(a)){const t={...a,children:[...o,...n]};return e.slice(0,-1).concat(UD(this,oI).call(this,t))}}return e.concat(t)},[])),e}),ID(this,aI,e=>{const t={...e.props,type:e.type};return e.children&&(t.children=e.children),e.value&&(t.value=e.value),t}),this.openNode=(e,t,n)=>(this.open(KD.create(e,void 0,t,n)),this),ID(this,sI,(e,t)=>{let n="",r="";const i=e.children;let o=-1,a=-1;if(i){(e=>{e&&e.forEach((e,t)=>{"text"===e.type&&e.value&&(o<0&&(o=t),a=t)})})(i);const e=null==i?void 0:i[a],t=null==i?void 0:i[o];e&&e.value.endsWith(" ")&&(r=e.value.match(/ +$/)[0],e.value=e.value.trimEnd()),t&&t.value.startsWith(" ")&&(n=t.value.match(/^ +/)[0],t.value=t.value.trimStart())}n.length&&UD(this,cI).call(this,"text",void 0,n);const s=t();return r.length&&UD(this,cI).call(this,"text",void 0,r),s}),ID(this,lI,(e=!1)=>{const t=this.close(),n=()=>UD(this,cI).call(this,t.type,t.children,t.value,t.props);return e?UD(this,sI).call(this,t,n):n()}),this.closeNode=()=>(UD(this,lI).call(this),this),ID(this,cI,(e,t,n,r)=>{const i=KD.create(e,t,n,r),o=UD(this,oI).call(this,UD(this,aI).call(this,i));return this.push(o),o}),this.addNode=(e,t,n,r)=>(UD(this,cI).call(this,e,t,n,r),this),ID(this,uI,(e,t,n,r)=>e.isInSet(UD(this,JD))?this:(ID(this,JD,e.addToSet(UD(this,JD))),this.openNode(t,n,{...r,isMark:!0}))),ID(this,OI,e=>{e.isInSet(UD(this,JD))&&(ID(this,JD,e.type.removeFromSet(UD(this,JD))),UD(this,lI).call(this,!0))}),this.withMark=(e,t,n,r)=>(UD(this,uI).call(this,e,t,n,r),this),this.closeMark=e=>(UD(this,OI).call(this,e),this),this.build=()=>{let e=null;do{e=UD(this,lI).call(this)}while(this.size());return e},this.next=e=>{return t=e,Object.prototype.hasOwnProperty.call(t,"size")?(e.forEach(e=>{UD(this,rI).call(this,e)}),this):(UD(this,rI).call(this,e),this);var t},this.toString=e=>e.stringify(this.build()),this.run=e=>(this.next(e),this),this.schema=e}};JD=new WeakMap,eI=new WeakMap,tI=new WeakMap,nI=new WeakMap,rI=new WeakMap,iI=new WeakMap,oI=new WeakMap,aI=new WeakMap,sI=new WeakMap,lI=new WeakMap,cI=new WeakMap,uI=new WeakMap,OI=new WeakMap,dI.create=(e,t)=>{const n=new dI(e);return e=>(n.run(e),n.toString(t))};let hI=dI;const fI=Math.pow(2,16);function pI(e,t){return e+t*fI}function AI(e){return 65535&e}class mI{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class gI{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&gI.empty)return gI.empty}recover(e){let t=0,n=AI(e);if(!this.inverted)for(let r=0;r<n;r++)t+=this.ranges[3*r+2]-this.ranges[3*r+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/fI}(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,o=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;let l=this.ranges[a+i],c=this.ranges[a+o],u=s+l;if(e<=u){let i=s+r+((l?e==s?-1:e==u?1:t:t)<0?0:c);if(n)return i;let o=e==(t<0?s:u)?null:pI(a/3,e-s),O=e==s?2:e==u?1:4;return(t<0?e!=s:e!=u)&&(O|=8),new mI(i,O,o)}r+=c-l}return n?e+r:new mI(e+r,0,null)}touches(e,t){let n=0,r=AI(t),i=this.inverted?2:1,o=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let t=this.ranges[a]-(this.inverted?n:0);if(t>e)break;let s=this.ranges[a+i];if(e<=t+s&&a==3*r)return!0;n+=this.ranges[a+o]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r<this.ranges.length;r+=3){let o=this.ranges[r],a=o-(this.inverted?i:0),s=o+(this.inverted?0:i),l=this.ranges[r+t],c=this.ranges[r+n];e(a,a+l,s,s+c),i+=c-l}}invert(){return new gI(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?gI.empty:new gI(e<0?[0,-e,0]:[0,0,e])}}gI.empty=new gI([]);class vI{constructor(e,t,n=0,r=(e?e.length:0)){this.mirror=t,this.from=n,this.to=r,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(e=0,t=this.maps.length){return new vI(this._maps,this.mirror,e,t)}appendMap(e,t){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),null!=t&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let r=e.getMirror(t);this.appendMap(e._maps[t],null!=r&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e._maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}invert(){let e=new vI;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let i=this.from;i<this.to;i++){let n=this._maps[i].mapResult(e,t);if(null!=n.recover){let t=this.getMirror(i);if(null!=t&&t>i&&t<this.to){i=t,e=this._maps[t].recover(n.recover);continue}}r|=n.delInfo,e=n.pos}return n?e:new mI(e,r,null)}}const yI=Object.create(null);class bI{getMap(){return gI.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=yI[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in yI)throw new RangeError("Duplicate use of step JSON ID "+e);return yI[e]=t,t.prototype.jsonID=e,t}}class wI{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new wI(e,null)}static fail(e){return new wI(null,e)}static fromReplace(e,t,n,r){try{return wI.ok(e.replace(t,n,r))}catch(sy){if(sy instanceof nR)return wI.fail(sy.message);throw sy}}}function QI(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let o=e.child(i);o.content.size&&(o=o.copy(QI(o.content,t,o))),o.isInline&&(o=t(o,n,i)),r.push(o)}return HE.fromArray(r)}class $I extends bI{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),i=new rR(QI(t.content,(e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e,r),t.openStart,t.openEnd);return wI.fromReplace(e,this.from,this.to,i)}invert(){return new SI(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new $I(t.pos,n.pos,this.mark)}merge(e){return e instanceof $I&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new $I(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,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new $I(t.from,t.to,e.markFromJSON(t.mark))}}bI.jsonID("addMark",$I);class SI extends bI{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new rR(QI(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return wI.fromReplace(e,this.from,this.to,n)}invert(){return new $I(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new SI(t.pos,n.pos,this.mark)}merge(e){return e instanceof SI&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new SI(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,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new SI(t.from,t.to,e.markFromJSON(t.mark))}}bI.jsonID("removeMark",SI);class xI extends bI{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return wI.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return wI.fromReplace(e,this.pos,this.pos+1,new rR(HE.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new xI(this.pos,t.marks[n]);return new xI(this.pos,this.mark)}}return new kI(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new xI(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new xI(t.pos,e.markFromJSON(t.mark))}}bI.jsonID("addNodeMark",xI);class kI extends bI{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return wI.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return wI.fromReplace(e,this.pos,this.pos+1,new rR(HE.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new xI(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new kI(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new kI(t.pos,e.markFromJSON(t.mark))}}bI.jsonID("removeNodeMark",kI);class PI extends bI{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&_I(e,this.from,this.to)?wI.fail("Structure replace would overwrite content"):wI.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new gI([this.from,this.to-this.from,this.slice.size])}invert(e){return new PI(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.to,-1),n=this.from==this.to&&PI.MAP_BIAS<0?t:e.mapResult(this.from,1);return n.deletedAcross&&t.deletedAcross?null:new PI(n.pos,Math.max(n.pos,t.pos),this.slice,this.structure)}merge(e){if(!(e instanceof PI)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?rR.empty:new rR(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new PI(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?rR.empty:new rR(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new PI(this.from,this.to+(e.to-e.from),t,this.structure)}}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,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new PI(t.from,t.to,rR.fromJSON(e,t.slice),!!t.structure)}}PI.MAP_BIAS=1,bI.jsonID("replace",PI);class TI extends bI{constructor(e,t,n,r,i,o,a=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=o,this.structure=a}apply(e){if(this.structure&&(_I(e,this.from,this.gapFrom)||_I(e,this.gapTo,this.to)))return wI.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return wI.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?wI.fromReplace(e,this.from,this.to,n):wI.fail("Content does not fit in gap")}getMap(){return new gI([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new TI(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),r=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||r<t.pos||i>n.pos?null:new TI(t.pos,n.pos,r,i,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,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new TI(t.from,t.to,t.gapFrom,t.gapTo,rR.fromJSON(e,t.slice),t.insert,!!t.structure)}}function _I(e,t,n){let r=e.resolve(t),i=n-t,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let e=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function CI(e,t,n,r=n.contentMatch,i=!0){let o=e.doc.nodeAt(t),a=[],s=t+1;for(let l=0;l<o.childCount;l++){let t=o.child(l),c=s+t.nodeSize,u=r.matchType(t.type);if(u){r=u;for(let r=0;r<t.marks.length;r++)n.allowsMarkType(t.marks[r].type)||e.step(new SI(s,c,t.marks[r]));if(i&&t.isText&&"pre"!=n.whitespace){let e,r,i=/\r?\n|\r/g;for(;e=i.exec(t.text);)r||(r=new rR(HE.from(n.schema.text(" ",n.allowedMarks(t.marks))),0,0)),a.push(new PI(s+e.index,s+e.index+e[0].length,r))}}else a.push(new PI(s,c,rR.empty));s=c}if(!r.validEnd){let t=r.fillBefore(HE.empty,!0);e.replace(s,s,new rR(t,0,0))}for(let l=a.length-1;l>=0;l--)e.step(a[l])}function EI(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function RI(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,r=0,i=0;;--n){let o=e.$from.node(n),a=e.$from.index(n)+r,s=e.$to.indexAfter(n)-i;if(n<e.depth&&o.canReplace(a,s,t))return n;if(0==n||o.type.spec.isolating||!EI(o,a,s))break;a&&(r=1),s<o.childCount&&(i=1)}return null}function XI(e,t,n=null,r=e){let i=function(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.contentMatchAt(r).findWrapping(t);if(!o)return null;let a=o.length?o[0]:t;return n.canReplaceWith(r,i,a)?o:null}(e,t),o=i&&function(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.child(r),a=t.contentMatch.findWrapping(o.type);if(!a)return null;let s=(a.length?a[a.length-1]:t).contentMatch;for(let l=r;s&&l<i;l++)s=s.matchType(n.child(l).type);return s&&s.validEnd?a:null}(r,t);return o?i.map(BI).concat({type:t,attrs:n}).concat(o.map(BI)):null}function BI(e){return{type:e,attrs:null}}function UI(e,t,n,r){t.forEach((i,o)=>{if(i.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(i.text);){let i=e.mapping.slice(r).map(n+1+o+a.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}function DI(e,t,n,r){t.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(r).map(n+1+o);e.replaceWith(i,i+1,t.type.schema.text("\n"))}})}function II(e,t,n=1,r){let i=e.resolve(t),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,u=n-2;c>o;c--,u--){let e=i.node(c),t=i.index(c);if(e.type.spec.isolating)return!1;let n=e.content.cutByIndex(t,e.childCount),o=r&&r[u+1];o&&(n=n.replaceChild(0,o.type.create(o.attrs)));let a=r&&r[u]||e;if(!e.canReplace(t+1,e.childCount)||!a.type.validContent(n))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 zI(e,t){let n=e.resolve(t),r=n.index();return i=n.nodeBefore,o=n.nodeAfter,!(!i||!o||i.isLeaf||!function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i<t.childCount;i++){let o=t.child(i),a=o.type==r?e.type.schema.nodes.text:o.type;if(n=n.matchType(a),!n)return!1;if(!e.type.allowsMarks(o.marks))return!1}return n.validEnd}(i,o))&&n.parent.canReplace(r,r+1);var i,o}function NI(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let o=0;o<n.openStart;o++)i=i.firstChild.content;for(let o=1;o<=(0==n.openStart&&n.size?2:1);o++)for(let e=r.depth;e>=0;e--){let t=e==r.depth?0:r.pos<=(r.start(e+1)+r.end(e+1))/2?-1:1,n=r.index(e)+(t>0?1:0),a=r.node(e),s=!1;if(1==o)s=a.canReplace(n,n,i);else{let e=a.contentMatchAt(n).findWrapping(i.firstChild.type);s=e&&a.canReplaceWith(n,n,e[0])}if(s)return 0==t?r.pos:t<0?r.before(e+1):r.after(e+1)}return null}function MI(e,t,n=t,r=rR.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),o=e.resolve(n);return LI(i,o,r)?new PI(t,n,r):new VI(i,o,r).fit()}function LI(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}bI.jsonID("replaceAround",TI);class VI{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=HE.empty;for(let r=0;r<=e.depth;r++){let t=e.node(r);this.frontier.push({type:t.type,match:t.contentMatchAt(e.indexAfter(r))})}for(let r=e.depth;r>0;r--)this.placed=HE.from(e.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let i=this.placed,o=n.depth,a=r.depth;for(;o&&a&&1==i.childCount;)i=i.firstChild.content,o--,a--;let s=new rR(i,o,a);return e>-1?new TI(n.pos,e,this.$to.pos,this.$to.end(),s,t):s.size||n.pos!=this.$to.pos?new PI(n.pos,r.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e,r=null;n?(r=WI(this.unplaced.content,n-1).firstChild,e=r.content):e=this.unplaced.content;let i=e.firstChild;for(let o=this.depth;o>=0;o--){let e,{type:a,match:s}=this.frontier[o],l=null;if(1==t&&(i?s.matchType(i.type)||(l=s.fillBefore(HE.from(i),!1)):r&&a.compatibleContent(r.type)))return{sliceDepth:n,frontierDepth:o,parent:r,inject:l};if(2==t&&i&&(e=s.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:o,parent:r,wrap:e};if(r&&s.matchType(r.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=WI(e,t);return!(!r.childCount||r.firstChild.isLeaf)&&(this.unplaced=new rR(e,t+1,Math.max(n,r.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=WI(e,t);if(r.childCount<=1&&t>0){let i=e.size-t<=t+r.size;this.unplaced=new rR(qI(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new rR(qI(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:r,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let f=0;f<i.length;f++)this.openFrontierNode(i[f]);let o=this.unplaced,a=n?n.content:o.content,s=o.openStart-e,l=0,c=[],{match:u,type:O}=this.frontier[t];if(r){for(let e=0;e<r.childCount;e++)c.push(r.child(e));u=u.matchFragment(r)}let d=a.size+e-(o.content.size-o.openEnd);for(;l<a.childCount;){let e=a.child(l),t=u.matchType(e.type);if(!t)break;l++,(l>1||0==s||e.content.size)&&(u=t,c.push(ZI(e.mark(O.allowedMarks(e.marks)),1==l?s:0,l==a.childCount?d:-1)))}let h=l==a.childCount;h||(d=-1),this.placed=FI(this.placed,t,HE.from(c)),this.frontier[t].match=u,h&&d<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let f=0,p=a;f<d;f++){let e=p.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),p=e.content}this.unplaced=h?0==e?rR.empty:new rR(qI(o.content,e-1,1),e-1,d<0?o.openEnd:e-1):new rR(qI(o.content,e,l),o.openStart,o.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!YI(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),o=YI(e,t,r,n,i);if(o){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],i=YI(e,n,r,t,!0);if(!i||i.childCount)continue e}return{depth:t,fit:o,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=FI(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=FI(this.placed,this.depth,HE.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(HE.empty,!0);e.childCount&&(this.placed=FI(this.placed,this.frontier.length,e))}}function qI(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(qI(e.firstChild.content,t-1,n)))}function FI(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(FI(e.lastChild.content,t-1,n)))}function WI(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function ZI(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,ZI(r.firstChild,t-1,1==r.childCount?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(HE.empty,!0)))),e.copy(r)}function YI(e,t,n,r,i){let o=e.node(t),a=i?e.indexAfter(t):e.index(t);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!function(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,o.content,a)?s:null}function jI(e){return e.spec.defining||e.spec.definingForContent}function GI(e,t,n,r,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(GI(i.content,t+1,n,r,i)))}if(t>r){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(HE.empty,!0))}return e}function HI(e,t){let n=[];for(let r=Math.min(e.depth,t.depth);r>=0;r--){let i=e.start(r);if(i<e.pos-(e.depth-r)||t.end(r)>t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(i==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==i-1)&&n.push(r)}return n}class KI extends bI{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return wI.fail("No node at attribute step's position");let n=Object.create(null);for(let i in t.attrs)n[i]=t.attrs[i];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return wI.fromReplace(e,this.pos,this.pos+1,new rR(HE.from(r),0,t.isLeaf?0:1))}getMap(){return gI.empty}invert(e){return new KI(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new KI(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new KI(t.pos,t.attr,t.value)}}bI.jsonID("attr",KI);class JI extends bI{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let r in e.attrs)t[r]=e.attrs[r];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return wI.ok(n)}getMap(){return gI.empty}invert(e){return new JI(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new JI(t.attr,t.value)}}bI.jsonID("docAttr",JI);let ez=class extends Error{};ez=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(ez.prototype=Object.create(Error.prototype)).constructor=ez,ez.prototype.name="TransformError";class tz{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new vI}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new ez(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n<this.mapping.maps.length;n++){let r=this.mapping.maps[n];n&&(e=r.map(e,1),t=r.map(t,-1)),r.forEach((n,r,i,o)=>{e=Math.min(e,i),t=Math.max(t,o)})}return 1e9==e?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=rR.empty){let r=MI(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new rR(HE.from(n),0,0))}delete(e,t){return this.replace(e,t,rR.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),o=e.doc.resolve(n);if(LI(i,o,r))return e.step(new PI(t,n,r));let a=HI(i,o);0==a[a.length-1]&&a.pop();let s=-(i.depth+1);a.unshift(s);for(let d=i.depth,h=i.pos-1;d>0;d--,h--){let e=i.node(d).type.spec;if(e.defining||e.definingAsContext||e.isolating)break;a.indexOf(d)>-1?s=d:i.before(d)==h&&a.splice(1,0,-d)}let l=a.indexOf(s),c=[],u=r.openStart;for(let d=r.content,h=0;;h++){let e=d.firstChild;if(c.push(e),h==r.openStart)break;d=e.content}for(let d=u-1;d>=0;d--){let e=c[d],t=jI(e.type);if(t&&!e.sameMarkup(i.node(Math.abs(s)-1)))u=d;else if(t||!e.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let t=(d+u+1)%(r.openStart+1),s=c[t];if(s)for(let c=0;c<a.length;c++){let u=a[(c+l)%a.length],O=!0;u<0&&(O=!1,u=-u);let d=i.node(u-1),h=i.index(u-1);if(d.canReplaceWith(h,h,s.type,s.marks))return e.replace(i.before(u),O?o.after(u):n,new rR(GI(r.content,0,r.openStart,t),t,r.openEnd))}}let O=e.steps.length;for(let d=a.length-1;d>=0&&(e.replace(t,n,r),!(e.steps.length>O));d--){let e=a[d];e<0||(t=i.before(e),n=o.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=function(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(let i=r.depth-1;i>=0;i--){let e=r.index(i);if(r.node(i).canReplaceWith(e,e,n))return r.before(i+1);if(e>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let e=r.indexAfter(i);if(r.node(i).canReplaceWith(e,e,n))return r.after(i+1);if(e<r.node(i).childCount)return null}return null}(e.doc,t,r.type);null!=i&&(t=n=i)}e.replaceRange(t,n,new rR(HE.from(r),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n);if(r.parent.isTextblock&&i.parent.isTextblock&&r.start()!=i.start()&&0==r.parentOffset&&0==i.parentOffset){let o=r.sharedDepth(n),a=!1;for(let e=r.depth;e>o;e--)r.node(e).type.spec.isolating&&(a=!0);for(let e=i.depth;e>o;e--)i.node(e).type.spec.isolating&&(a=!0);if(!a){for(let e=r.depth;e>0&&t==r.start(e);e--)t=r.before(e);for(let e=i.depth;e>0&&n==i.start(e);e--)n=i.before(e);r=e.doc.resolve(t),i=e.doc.resolve(n)}}let o=HI(r,i);for(let a=0;a<o.length;a++){let t=o[a],n=a==o.length-1;if(n&&0==t||r.node(t).type.contentMatch.validEnd)return e.delete(r.start(t),i.end(t));if(t>0&&(n||r.node(t-1).canReplace(r.index(t-1),i.indexAfter(t-1))))return e.delete(r.before(t),i.after(t))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(t-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 e.delete(r.before(a),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:r,$to:i,depth:o}=t,a=r.before(o+1),s=i.after(o+1),l=a,c=s,u=HE.empty,O=0;for(let f=o,p=!1;f>n;f--)p||r.index(f)>0?(p=!0,u=HE.from(r.node(f).copy(u)),O++):l--;let d=HE.empty,h=0;for(let f=o,p=!1;f>n;f--)p||i.after(f+1)<i.end(f)?(p=!0,d=HE.from(i.node(f).copy(d)),h++):c++;e.step(new TI(l,c,a,s,new rR(u.append(d),O,h),u.size-O,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let r=null,{linebreakReplacement:i}=e.doc.type.schema,o=e.doc.resolve(t-n),a=o.node().type;if(i&&a.inlineContent){let e="pre"==a.whitespace,t=!!a.contentMatch.matchType(i);e&&!t?r=!1:!e&&t&&(r=!0)}let s=e.steps.length;if(!1===r){let r=e.doc.resolve(t+n);DI(e,r.node(),r.before(),s)}a.inlineContent&&CI(e,t+n-1,a,o.node().contentMatchAt(o.index()),null==r);let l=e.mapping.slice(s),c=l.map(t-n);if(e.step(new PI(c,l.map(t+n,-1),rR.empty,!0)),!0===r){let t=e.doc.resolve(c);UI(e,t.node(),t.before(),e.steps.length)}}(this,e,t),this}wrap(e,t){return function(e,t,n){let r=HE.empty;for(let a=n.length-1;a>=0;a--){if(r.size){let e=n[a].type.contentMatch.matchFragment(r);if(!e||!e.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=HE.from(n[a].type.create(n[a].attrs,r))}let i=t.start,o=t.end;e.step(new TI(i,o,i,o,new rR(r,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,r=null){return function(e,t,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=e.steps.length;e.doc.nodesBetween(t,n,(t,n)=>{let a="function"==typeof i?i(t):i;if(t.isTextblock&&!t.hasMarkup(r,a)&&function(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}(e.doc,e.mapping.slice(o).map(n),r)){let i=null;if(r.schema.linebreakReplacement){let e="pre"==r.whitespace,t=!!r.contentMatch.matchType(r.schema.linebreakReplacement);e&&!t?i=!1:!e&&t&&(i=!0)}!1===i&&DI(e,t,n,o),CI(e,e.mapping.slice(o).map(n,1),r,void 0,null===i);let s=e.mapping.slice(o),l=s.map(n,1),c=s.map(n+t.nodeSize,1);return e.step(new TI(l,c,l+1,c-1,new rR(HE.from(r.create(a,null,t.marks)),0,0),1,!0)),!0===i&&UI(e,t,n,o),!1}})}(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return function(e,t,n,r,i){let o=e.doc.nodeAt(t);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 e.replaceWith(t,t+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new TI(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new rR(HE.from(a),0,0),1,!0))}(this,e,t,n,r),this}setNodeAttribute(e,t,n){return this.step(new KI(e,t,n)),this}setDocAttribute(e,t){return this.step(new JI(e,t)),this}addNodeMark(e,t){return this.step(new xI(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(t instanceof tR)t.isInSet(n.marks)&&this.step(new kI(e,t));else{let r,i=n.marks,o=[];for(;r=t.isInSet(i);)o.push(new kI(e,r)),i=r.removeFromSet(i);for(let e=o.length-1;e>=0;e--)this.step(o[e])}return this}split(e,t=1,n){return function(e,t,n=1,r){let i=e.doc.resolve(t),o=HE.empty,a=HE.empty;for(let s=i.depth,l=i.depth-n,c=n-1;s>l;s--,c--){o=HE.from(i.node(s).copy(o));let e=r&&r[c];a=HE.from(e?e.type.create(e.attrs,a):i.node(s).copy(a))}e.step(new PI(t,t,new rR(o.append(a),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,r){let i,o,a=[],s=[];e.doc.nodesBetween(t,n,(e,l,c)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){let c=Math.max(l,t),O=Math.min(l+e.nodeSize,n),d=r.addToSet(u);for(let e=0;e<u.length;e++)u[e].isInSet(d)||(i&&i.to==c&&i.mark.eq(u[e])?i.to=O:a.push(i=new SI(c,O,u[e])));o&&o.to==c?o.to=O:s.push(o=new $I(c,O,r))}}),a.forEach(t=>e.step(t)),s.forEach(t=>e.step(t))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,r){let i=[],o=0;e.doc.nodesBetween(t,n,(e,a)=>{if(!e.isInline)return;o++;let s=null;if(r instanceof zR){let t,n=e.marks;for(;t=r.isInSet(n);)(s||(s=[])).push(t),n=t.removeFromSet(n)}else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length){let r=Math.min(a+e.nodeSize,n);for(let e=0;e<s.length;e++){let n,l=s[e];for(let e=0;e<i.length;e++){let t=i[e];t.step==o-1&&l.eq(i[e].style)&&(n=t)}n?(n.to=r,n.step=o):i.push({style:l,from:Math.max(a,t),to:r,step:o})}}}),i.forEach(t=>e.step(new SI(t.from,t.to,t.style)))}(this,e,t,n),this}clearIncompatible(e,t,n){return CI(this,e,t,n),this}}const nz=Object.create(null);class rz{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new iz(e.min(t),e.max(t))]}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 t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=rR.empty){let n=t.content.lastChild,r=null;for(let a=0;a<t.openEnd;a++)r=n,n=n.lastChild;let i=e.steps.length,o=this.ranges;for(let a=0;a<o.length;a++){let{$from:s,$to:l}=o[a],c=e.mapping.slice(i);e.replaceRange(c.map(s.pos),c.map(l.pos),a?rR.empty:t),0==a&&fz(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:o,$to:a}=r[i],s=e.mapping.slice(n),l=s.map(o.pos),c=s.map(a.pos);i?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),fz(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new sz(e):hz(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let i=e.depth-1;i>=0;i--){let r=t<0?hz(e.node(0),e.node(i),e.before(i+1),e.index(i),t,n):hz(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,n);if(r)return r}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Oz(e.node(0))}static atStart(e){return hz(e,e,0,0,1)||new Oz(e)}static atEnd(e){return hz(e,e,e.content.size,e.childCount,-1)||new Oz(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=nz[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in nz)throw new RangeError("Duplicate use of selection JSON ID "+e);return nz[e]=t,t.prototype.jsonID=e,t}getBookmark(){return sz.between(this.$anchor,this.$head).getBookmark()}}rz.prototype.visible=!0;let iz=class{constructor(e,t){this.$from=e,this.$to=t}},oz=!1;function az(e){oz||e.parent.inlineContent||(oz=!0)}class sz extends rz{constructor(e,t=e){az(e),az(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return rz.near(n);let r=e.resolve(t.map(this.anchor));return new sz(r.parent.inlineContent?r:n,n)}replace(e,t=rR.empty){if(super.replace(e,t),t==rR.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof sz&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new lz(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new sz(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=rz.findFrom(t,n,!0)||rz.findFrom(t,-n,!0);if(!e)return rz.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r||(e=(rz.findFrom(e,-n,!0)||rz.findFrom(e,n,!0)).$anchor).pos<t.pos!=r<0)&&(e=t),new sz(e,t)}}rz.jsonID("text",sz);class lz{constructor(e,t){this.anchor=e,this.head=t}map(e){return new lz(e.map(this.anchor),e.map(this.head))}resolve(e){return sz.between(e.resolve(this.anchor),e.resolve(this.head))}}class cz extends rz{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:r}=t.mapResult(this.anchor),i=e.resolve(r);return n?rz.near(i):new cz(i)}content(){return new rR(HE.from(this.node),0,0)}eq(e){return e instanceof cz&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new uz(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new cz(e.resolve(t.anchor))}static create(e,t){return new cz(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}cz.prototype.visible=!1,rz.jsonID("node",cz);class uz{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new lz(n,n):new uz(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&cz.isSelectable(n)?new cz(t):rz.near(t)}}class Oz extends rz{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=rR.empty){if(t==rR.empty){e.delete(0,e.doc.content.size);let t=rz.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Oz(e)}map(e){return new Oz(e)}eq(e){return e instanceof Oz}getBookmark(){return dz}}rz.jsonID("all",Oz);const dz={map(){return this},resolve:e=>new Oz(e)};function hz(e,t,n,r,i,o=!1){if(t.inlineContent)return sz.create(e,n);for(let a=r-(i>0?0:1);i>0?a<t.childCount:a>=0;a+=i){let r=t.child(a);if(r.isAtom){if(!o&&cz.isSelectable(r))return cz.create(e,n-(i<0?r.nodeSize:0))}else{let t=hz(e,r,n+i,i<0?r.childCount:0,i,o);if(t)return t}n+=r.nodeSize*i}return null}function fz(e,t,n){let r=e.steps.length-1;if(r<t)return;let i,o=e.steps[r];(o instanceof PI||o instanceof TI)&&(e.mapping.maps[r].forEach((e,t,n,r)=>{null==i&&(i=r)}),e.setSelection(rz.near(e.doc.resolve(i),n)))}let pz=class extends tz{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=-3&this.updated|1,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return tR.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(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||tR.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),this.selection.empty||this.selection.to!=t+e.length||this.setSelection(rz.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}};function Az(e,t){return t&&e?e.bind(t):e}class mz{constructor(e,t,n){this.name=e,this.init=Az(t.init,n),this.apply=Az(t.apply,n)}}const gz=[new mz("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new mz("selection",{init:(e,t)=>e.selection||rz.atStart(t.doc),apply:e=>e.selection}),new mz("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,r)=>r.selection.$cursor?e.storedMarks:null}),new mz("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];let vz=class{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=gz.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new mz(e.key,e.spec.state,e))})}},yz=class e{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,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let i=!1;for(let o=0;o<this.config.plugins.length;o++){let a=this.config.plugins[o];if(a.spec.appendTransaction){let s=r?r[o].n:0,l=r?r[o].state:this,c=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,l,n);if(c&&n.filterTransaction(c,o)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<o?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),i=!0}r&&(r[o]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new e(this.config),r=this.config.fields;for(let e=0;e<r.length;e++){let i=r[e];n[i.name]=i.apply(t,this[i.name],this,n)}return n}get tr(){return new pz(this)}static create(t){let n=new vz(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new e(n);for(let e=0;e<n.fields.length;e++)r[n.fields[e].name]=n.fields[e].init(t,r);return r}reconfigure(t){let n=new vz(this.schema,t.plugins),r=n.fields,i=new e(n);for(let e=0;e<r.length;e++){let n=r[e].name;i[n]=this.hasOwnProperty(n)?this[n]:r[e].init(t,i)}return i}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(e=>e.toJSON())),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let i=new vz(t.schema,t.plugins),o=new e(i);return i.fields.forEach(e=>{if("doc"==e.name)o.doc=bR.fromJSON(t.schema,n.doc);else if("selection"==e.name)o.selection=rz.fromJSON(o.doc,n.selection);else if("storedMarks"==e.name)n.storedMarks&&(o.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let i in r){let a=r[i],s=a.spec.state;if(a.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(n,i))return void(o[e.name]=s.fromJSON.call(a,t,n[i],o))}o[e.name]=e.init(t,o)}}),o}};function bz(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):"handleDOMEvents"==r&&(i=bz(i,t,{})),n[r]=i}return n}class wz{constructor(e){this.spec=e,this.props={},e.props&&bz(e.props,this,this.props),this.key=e.key?e.key.key:$z("plugin")}getState(e){return e[this.key]}}const Qz=Object.create(null);function $z(e){return e in Qz?e+"$"+ ++Qz[e]:(Qz[e]=0,e+"$")}class Sz{constructor(e="key"){this.key=$z(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}class xz{constructor(e,t,n={}){var r;this.match=e,this.match=e,this.handler="string"==typeof t?(r=t,function(e,t,n,i){let o=r;if(t[1]){let e=t[0].lastIndexOf(t[1]);o+=t[0].slice(e+t[1].length);let r=(n+=e)-i;r>0&&(o=t[0].slice(e-r,e)+o,n=i)}return e.tr.insertText(o,n,i)}):t,this.undoable=!1!==n.undoable,this.inCode=n.inCode||!1,this.inCodeMark=!1!==n.inCodeMark}}const kz=(e,t)=>{let n=e.plugins;for(let r=0;r<n.length;r++){let i,o=n[r];if(o.spec.isInputRules&&(i=o.getState(e))){if(t){let n=e.tr,r=i.transform;for(let e=r.steps.length-1;e>=0;e--)n.step(r.steps[e].invert(r.docs[e]));if(i.text){let t=n.doc.resolve(i.from).marks();n.replaceWith(i.from,i.to,e.schema.text(i.text,t))}else n.delete(i.from,i.to);t(n)}return!0}}return!1};function Pz(e,t,n=null,r){return new xz(e,(e,i,o,a)=>{let s=n instanceof Function?n(i):n,l=e.tr.delete(o,a),c=l.doc.resolve(o).blockRange(),u=c&&XI(c,t,s);if(!u)return null;l.wrap(c,u);let O=l.doc.resolve(o-1).nodeBefore;return O&&O.type==t&&zI(l.doc,o-1)&&(!r||r(i,O))&&l.join(o-1),l})}function Tz(e,t,n=null){return new xz(e,(e,r,i,o)=>{let a=e.doc.resolve(i),s=n instanceof Function?n(r):n;return a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),t)?e.tr.delete(i,o).setBlockType(i,i,t,s):null})}new xz(/--$/,"—",{inCodeMark:!1}),new xz(/\.\.\.$/,"…",{inCodeMark:!1}),new xz(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“",{inCodeMark:!1}),new xz(/"$/,"”",{inCodeMark:!1}),new xz(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘",{inCodeMark:!1}),new xz(/'$/,"’",{inCodeMark:!1});const _z="undefined"!=typeof navigator?navigator:null,Cz="undefined"!=typeof document?document:null,Ez=_z&&_z.userAgent||"",Rz=/Edge\/(\d+)/.exec(Ez),Xz=/MSIE \d/.exec(Ez),Bz=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ez),Uz=!!(Xz||Bz||Rz),Dz=Xz?document.documentMode:Bz?+Bz[1]:Rz?+Rz[1]:0,Iz=!Uz&&/gecko\/(\d+)/i.test(Ez),zz=Iz&&+(/Firefox\/(\d+)/.exec(Ez)||[0,0])[1],Nz=!Uz&&/Chrome\/(\d+)/.exec(Ez),Mz=!!Nz,Lz=Nz?+Nz[1]:0,Vz=!Uz&&!!_z&&/Apple Computer/.test(_z.vendor),qz=Vz&&(/Mobile\/\w+/.test(Ez)||!!_z&&_z.maxTouchPoints>2),Fz=qz||!!_z&&/Mac/.test(_z.platform),Wz=/Android \d/.test(Ez),Zz=!!Cz&&"webkitFontSmoothing"in Cz.documentElement.style,Yz=Zz?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;var jz=Object.freeze({__proto__:null,android:Wz,chrome:Mz,chrome_version:Lz,gecko:Iz,gecko_version:zz,ie:Uz,ie_version:Dz,ios:qz,mac:Fz,safari:Vz,webkit:Zz,webkit_version:Yz});function Gz(e,t,n,r,i,o){var a;if(e.composing)return!1;const s=e.state,l=s.doc.resolve(t);if(l.parent.type.spec.code)return!1;const c=l.parent.textBetween(Math.max(0,l.parentOffset-500),l.parentOffset,void 0,"")+r;for(let u=0;u<i.length;u++){const l=i[u].match.exec(c),O=l&&l[0]&&i[u].handler(s,l,t-(l[0].length-r.length),n);if(O)return!1!==(null==(a=i[u])?void 0:a.undoable)&&O.setMeta(o,{transform:O,from:t,to:n,text:r}),e.dispatch(O),!0}return!1}const Hz=new Sz("MILKDOWN_CUSTOM_INPUTRULES");function Kz({rules:e}){const t=new wz({key:Hz,isInputRules:!0,state:{init:()=>null,apply(e,t){const n=e.getMeta(this);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(n,r,i,o)=>Gz(n,r,i,o,e,t),handleDOMEvents:{compositionend:n=>(setTimeout(()=>{const{$cursor:r}=n.state.selection;r&&Gz(n,r.pos,r.pos,"",e,t)}),!1)},handleKeyDown(n,r){if("Enter"!==r.key)return!1;const{$cursor:i}=n.state.selection;return!!i&&Gz(n,i.pos,i.pos,"\n",e,t)}}});return t}function Jz(e,t,n={}){return new xz(e,(e,r,i,o)=>{var a,s,l,c;const{tr:u}=e;let O=r[r.length-1],d=r[0],h=[],f=o;const p={group:O,fullMatch:d,start:i,end:o},A=null==(a=n.updateCaptured)?void 0:a.call(n,p);if(Object.assign(p,A),({group:O,fullMatch:d,start:i,end:o}=p),null===d)return null;if(""===(null==O?void 0:O.trim()))return null;if(O){const e=d.search(/\S/),a=i+d.indexOf(O),p=a+O.length;h=null!=(s=u.storedMarks)?s:[],p<o&&u.delete(p,o),a>i&&u.delete(i+e,a),f=i+e+O.length;const A=null==(l=n.getAttr)?void 0:l.call(n,r);u.addMark(i,f,t.create(A)),u.setStoredMarks(h),null==(c=n.beforeDispatch)||c.call(n,{match:r,start:i,end:o,tr:u})}return u})}var eN=Object.defineProperty,tN=Object.defineProperties,nN=Object.getOwnPropertyDescriptors,rN=Object.getOwnPropertySymbols,iN=Object.prototype.hasOwnProperty,oN=Object.prototype.propertyIsEnumerable,aN=(e,t,n)=>t in e?eN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function sN(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function lN(e,t,n){const r=e.state.doc.content.size,i=sN(t,0,r),o=sN(n,0,r),a=e.coordsAtPos(i),s=e.coordsAtPos(o,-1),l=Math.min(a.top,s.top),c=Math.max(a.bottom,s.bottom),u=Math.min(a.left,s.left),O=Math.max(a.right,s.right),d={top:l,bottom:c,left:u,right:O,width:O-u,height:c-l,x:u,y:l};return h=((e,t)=>{for(var n in t||(t={}))iN.call(t,n)&&aN(e,n,t[n]);if(rN)for(var n of rN(t))oN.call(t,n)&&aN(e,n,t[n]);return e})({},d),tN(h,nN({toJSON:()=>d}));var h}function cN(e){return Object.assign(Object.create(e),e).setTime(Date.now())}function uN(e){return t=>{for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r)){return{from:t.before(n),to:t.after(n),node:r}}}}}function ON(e,t){const n=t.nodes[e];if(!n)throw function(e,t){return new nE(tE.getAtomFromSchemaFail,`Cannot get ${e}: ${t} from schema.`)}("node",e);return n}function dN(e){return t=>{for(let n=t.depth;n>0;n--){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}}function hN(e,t){if(!(e instanceof cz))return;const{node:n,$from:r}=e;return function(e,t){return Array.isArray(e)&&e.includes(t.type)||t.type===e}(t,n)?{node:n,pos:r.pos,start:r.start(r.depth),depth:r.depth}:void 0}const fN=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);const pN=(e,t,n)=>{let r=function(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}(e,n);if(!r)return!1;let i=gN(r);if(!i){let n=r.blockRange(),i=n&&RI(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let o=i.nodeBefore;if(QN(e,i,t,-1))return!0;if(0==r.parent.content.size&&(AN(o,"end")||cz.isSelectable(o)))for(let a=r.depth;;a--){let n=MI(e.doc,r.before(a),r.after(a),rR.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(AN(o,"end")?rz.findFrom(r.doc.resolve(r.mapping.map(i.pos,-1)),-1):cz.create(r.doc,i.pos-o.nodeSize)),t(r.scrollIntoView())}return!0}if(1==a||r.node(a-1).childCount>1)break}return!(!o.isAtom||i.depth!=r.depth-1)&&(t&&t(e.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0)};function AN(e,t,n=!1){for(let r=e;r;r="start"==t?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&1!=r.childCount)return!1}return!1}const mN=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;o=gN(r)}let a=o&&o.nodeBefore;return!(!a||!cz.isSelectable(a))&&(t&&t(e.tr.setSelection(cz.create(e.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function gN(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function vN(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}function yN(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const bN=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=yN(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,a.createAndFill());i.setSelection(rz.near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0};const wN=(e,t)=>{let{$from:n,$to:r}=e.selection;if(e.selection instanceof cz&&e.selection.node.isBlock)return!(!n.parentOffset||!II(e.doc,n.pos)||(t&&t(e.tr.split(n.pos).scrollIntoView()),0));if(!n.depth)return!1;let i,o,a=[],s=!1,l=!1;for(let d=n.depth;;d--){if(n.node(d).isBlock){s=n.end(d)==n.pos+(n.depth-d),l=n.start(d)==n.pos-(n.depth-d),o=yN(n.node(d-1).contentMatchAt(n.indexAfter(d-1))),a.unshift(s&&o?{type:o}:null),i=d;break}if(1==d)return!1;a.unshift(null)}let c=e.tr;(e.selection instanceof sz||e.selection instanceof Oz)&&c.deleteSelection();let u=c.mapping.map(n.pos),O=II(c.doc,u,a.length,a);if(O||(a[0]=o?{type:o}:null,O=II(c.doc,u,a.length,a)),!O)return!1;if(c.split(u,a.length,a),!s&&l&&n.node(i).type!=o){let e=c.mapping.map(n.before(i)),t=c.doc.resolve(e);o&&n.node(i-1).canReplaceWith(t.index(),t.index()+1,o)&&c.setNodeMarkup(c.mapping.map(n.before(i)),o)}return t&&t(c.scrollIntoView()),!0};function QN(e,t,n,r){let i,o,a=t.nodeBefore,s=t.nodeAfter,l=a.type.spec.isolating||s.type.spec.isolating;if(!l&&function(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,o=t.index();return!(!(r&&i&&r.type.compatibleContent(i.type))||(!r.content.size&&t.parent.canReplace(o-1,o)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(o,o+1)||!i.isTextblock&&!zI(e.doc,t.pos)||(n&&n(e.tr.join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let c=!l&&t.parent.canReplace(t.index(),t.index()+1);if(c&&(i=(o=a.contentMatchAt(a.childCount)).findWrapping(s.type))&&o.matchType(i[0]||s.type).validEnd){if(n){let r=t.pos+s.nodeSize,o=HE.empty;for(let e=i.length-1;e>=0;e--)o=HE.from(i[e].create(null,o));o=HE.from(a.copy(o));let l=e.tr.step(new TI(t.pos-1,r,t.pos,r,new rR(o,1,0),i.length,!0)),c=l.doc.resolve(r+2*i.length);c.nodeAfter&&c.nodeAfter.type==a.type&&zI(l.doc,c.pos)&&l.join(c.pos),n(l.scrollIntoView())}return!0}let u=s.type.spec.isolating||r>0&&l?null:rz.findFrom(t,1),O=u&&u.$from.blockRange(u.$to),d=O&&RI(O);if(null!=d&&d>=t.depth)return n&&n(e.tr.lift(O,d).scrollIntoView()),!0;if(c&&AN(s,"start",!0)&&AN(a,"end")){let r=a,i=[];for(;i.push(r),!r.isTextblock;)r=r.lastChild;let o=s,l=1;for(;!o.isTextblock;o=o.firstChild)l++;if(r.canReplace(r.childCount,r.childCount,o.content)){if(n){let r=HE.empty;for(let e=i.length-1;e>=0;e--)r=HE.from(i[e].copy(r));n(e.tr.step(new TI(t.pos-i.length,t.pos+s.nodeSize,t.pos+l,t.pos+s.nodeSize-l,new rR(r,i.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function $N(e){return function(t,n){let r=t.selection,i=e<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(t.tr.setSelection(sz.create(t.doc,e<0?i.start(o):i.end(o)))),!0)}}const SN=$N(-1),xN=$N(1);function kN(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&XI(a,e,t);return!!s&&(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0)}}function PN(e,t=null){return function(n,r){let i=!1;for(let o=0;o<n.selection.ranges.length&&!i;o++){let{$from:{pos:r},$to:{pos:a}}=n.selection.ranges[o];n.doc.nodesBetween(r,a,(r,o)=>{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)i=!0;else{let t=n.doc.resolve(o),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:o},$to:{pos:a}}=n.selection.ranges[r];i.setBlockType(o,a,e,t)}r(i.scrollIntoView())}return!0}}function TN(e,t=null,n){return function(n,r){let{empty:i,$cursor:o,ranges:a}=n.selection;if(i&&!o||!function(e,t,n){for(let r=0;r<t.length;r++){let{$from:i,$to:o}=t[r],a=0==i.depth&&e.inlineContent&&e.type.allowsMarkType(n);if(e.nodesBetween(i.pos,o.pos,(e,t)=>{if(a)return!1;a=e.inlineContent&&e.type.allowsMarkType(n)}),a)return!0}return!1}(n.doc,a,e))return!1;if(r)if(o)e.isInSet(n.storedMarks||o.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let i,o=n.tr;i=!a.some(t=>n.doc.rangeHasMark(t.$from.pos,t.$to.pos,e));for(let n=0;n<a.length;n++){let{$from:r,$to:s}=a[n];if(i){let n=r.pos,i=s.pos,a=r.nodeAfter,l=s.nodeBefore,c=a&&a.isText?/^\s*/.exec(a.text)[0].length:0,u=l&&l.isText?/\s*$/.exec(l.text)[0].length:0;n+c<i&&(n+=c,i-=u),o.addMark(n,i,e.create(t))}else o.removeMark(r.pos,s.pos,e)}r(o.scrollIntoView())}return!0}}function _N(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}let CN=_N(fN,pN,mN),EN=_N(fN,(e,t,n)=>{let r=function(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}(e,n);if(!r)return!1;let i=vN(r);if(!i)return!1;let o=i.nodeAfter;if(QN(e,i,t,1))return!0;if(0==r.parent.content.size&&(AN(o,"start")||cz.isSelectable(o))){let n=MI(e.doc,r.before(),r.after(),rR.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(AN(o,"start")?rz.findFrom(r.doc.resolve(r.mapping.map(i.pos)),1):cz.create(r.doc,r.mapping.map(i.pos))),t(r.scrollIntoView())}return!0}}return!(!o.isAtom||i.depth!=r.depth-1)&&(t&&t(e.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0)},(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;o=vN(r)}let a=o&&o.nodeAfter;return!(!a||!cz.isSelectable(a))&&(t&&t(e.tr.setSelection(cz.create(e.doc,o.pos)).scrollIntoView()),!0)});const RN={Enter:_N((e,t)=>{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)},(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof Oz||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=yN(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,a=e.tr.insert(n,o.createAndFill());a.setSelection(sz.create(a.doc,n+1)),t(a.scrollIntoView())}return!0},(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(II(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&RI(r);return null!=i&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)},wN),"Mod-Enter":bN,Backspace:CN,"Mod-Backspace":CN,"Shift-Backspace":CN,Delete:EN,"Mod-Delete":EN,"Mod-a":(e,t)=>(t&&t(e.tr.setSelection(new Oz(e.doc))),!0)},XN={"Ctrl-h":RN.Backspace,"Alt-Backspace":RN["Mod-Backspace"],"Ctrl-d":RN.Delete,"Ctrl-Alt-Backspace":RN["Mod-Delete"],"Alt-Delete":RN["Mod-Delete"],"Alt-d":RN["Mod-Delete"],"Ctrl-a":SN,"Ctrl-e":xN};for(let os in RN)XN[os]=RN[os];const BN=("undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!("undefined"==typeof os||!os.platform)&&"darwin"==os.platform())?XN:RN;for(var UN={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:"'"},DN={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},IN="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),zN="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),NN=0;NN<10;NN++)UN[48+NN]=UN[96+NN]=String(NN);for(NN=1;NN<=24;NN++)UN[NN+111]="F"+NN;for(NN=65;NN<=90;NN++)UN[NN]=String.fromCharCode(NN+32),DN[NN]=String.fromCharCode(NN);for(var MN in UN)DN.hasOwnProperty(MN)||(DN[MN]=UN[MN]);function LN(e){var t=!(IN&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||zN&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?DN:UN)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}const VN="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),qN="undefined"!=typeof navigator&&/Win/.test(navigator.platform);function FN(e){let t,n,r,i,o=e.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(let s=0;s<o.length-1;s++){let e=o[s];if(/^(cmd|meta|m)$/i.test(e))i=!0;else if(/^a(lt)?$/i.test(e))t=!0;else if(/^(c|ctrl|control)$/i.test(e))n=!0;else if(/^s(hift)?$/i.test(e))r=!0;else{if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e);VN?i=!0:n=!0}}return t&&(a="Alt-"+a),n&&(a="Ctrl-"+a),i&&(a="Meta-"+a),r&&(a="Shift-"+a),a}function WN(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function ZN(e){return new wz({props:{handleKeyDown:YN(e)}})}function YN(e){let t=function(e){let t=Object.create(null);for(let n in e)t[FN(n)]=e[n];return t}(e);return function(e,n){let r,i=LN(n),o=t[WN(i,n)];if(o&&o(e.state,e.dispatch,e))return!0;if(1==i.length&&" "!=i){if(n.shiftKey){let r=t[WN(i,n,!1)];if(r&&r(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(qN&&n.ctrlKey&&n.altKey)&&(r=UN[n.keyCode])&&r!=i){let i=t[WN(r,n)];if(i&&i(e.state,e.dispatch,e))return!0}}return!1}}const jN=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},GN=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let HN=null;const KN=function(e,t,n){let r=HN||(HN=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},JN=function(e,t,n,r){return n&&(tM(e,t,n,r,-1)||tM(e,t,n,r,1))},eM=/^(img|br|input|textarea|hr)$/i;function tM(e,t,n,r,i){for(var o;;){if(e==n&&t==r)return!0;if(t==(i<0?0:nM(e))){let n=e.parentNode;if(!n||1!=n.nodeType||rM(e)||eM.test(e.nodeName)||"false"==e.contentEditable)return!1;t=jN(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;{let n=e.childNodes[t+(i<0?-1:0)];if(1==n.nodeType&&"false"==n.contentEditable){if(!(null===(o=n.pmViewDesc)||void 0===o?void 0:o.ignoreForSelection))return!1;t+=i}else e=n,t=i<0?nM(e):0}}}}function nM(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function rM(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const iM=function(e){return e.focusNode&&JN(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function oM(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const aM="undefined"!=typeof navigator?navigator:null,sM="undefined"!=typeof document?document:null,lM=aM&&aM.userAgent||"",cM=/Edge\/(\d+)/.exec(lM),uM=/MSIE \d/.exec(lM),OM=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(lM),dM=!!(uM||OM||cM),hM=uM?document.documentMode:OM?+OM[1]:cM?+cM[1]:0,fM=!dM&&/gecko\/(\d+)/i.test(lM);fM&&(/Firefox\/(\d+)/.exec(lM)||[0,0])[1];const pM=!dM&&/Chrome\/(\d+)/.exec(lM),AM=!!pM,mM=pM?+pM[1]:0,gM=!dM&&!!aM&&/Apple Computer/.test(aM.vendor),vM=gM&&(/Mobile\/\w+/.test(lM)||!!aM&&aM.maxTouchPoints>2),yM=vM||!!aM&&/Mac/.test(aM.platform),bM=!!aM&&/Win/.test(aM.platform),wM=/Android \d/.test(lM),QM=!!sM&&"webkitFontSmoothing"in sM.documentElement.style,$M=QM?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function SM(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function xM(e,t){return"number"==typeof e?e:e[t]}function kM(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function PM(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let a=n||e.dom;a;){if(1!=a.nodeType){a=GN(a);continue}let e=a,n=e==o.body,s=n?SM(o):kM(e),l=0,c=0;if(t.top<s.top+xM(r,"top")?c=-(s.top-t.top+xM(i,"top")):t.bottom>s.bottom-xM(r,"bottom")&&(c=t.bottom-t.top>s.bottom-s.top?t.top+xM(i,"top")-s.top:t.bottom-s.bottom+xM(i,"bottom")),t.left<s.left+xM(r,"left")?l=-(s.left-t.left+xM(i,"left")):t.right>s.right-xM(r,"right")&&(l=t.right-s.right+xM(i,"right")),l||c)if(n)o.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,r=e.scrollTop;c&&(e.scrollTop+=c),l&&(e.scrollLeft+=l);let i=e.scrollLeft-n,o=e.scrollTop-r;t={left:t.left-i,top:t.top-o,right:t.right-i,bottom:t.bottom-o}}let u=n?"fixed":getComputedStyle(a).position;if(/^(fixed|sticky)$/.test(u))break;a="absolute"==u?a.offsetParent:GN(a)}}function TM(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=GN(r));return t}function _M(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:i,left:o}=e[n];r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=o&&(r.scrollLeft=o)}}let CM=null;function EM(e,t){let n,r,i,o,a=2e8,s=0,l=t.top,c=t.top;for(let u=e.firstChild,O=0;u;u=u.nextSibling,O++){let e;if(1==u.nodeType)e=u.getClientRects();else{if(3!=u.nodeType)continue;e=KN(u).getClientRects()}for(let d=0;d<e.length;d++){let h=e[d];if(h.top<=l&&h.bottom>=c){l=Math.max(h.bottom,l),c=Math.min(h.top,c);let e=h.left>t.left?h.left-t.left:h.right<t.left?t.left-h.right:0;if(e<a){n=u,a=e,r=e&&3==n.nodeType?{left:h.right<t.left?h.right:h.left,top:t.top}:t,1==u.nodeType&&e&&(s=O+(t.left>=(h.left+h.right)/2?1:0));continue}}else h.top>t.top&&!i&&h.left<=t.left&&h.right>=t.left&&(i=u,o={left:Math.max(h.left,Math.min(h.right,t.left)),top:h.top});!n&&(t.left>=h.right&&t.top>=h.top||t.left>=h.left&&t.top>=h.bottom)&&(s=O+1)}}return!n&&i&&(n=i,r=o,a=0),n&&3==n.nodeType?function(e,t){let n,r=e.nodeValue.length,i=document.createRange();for(let o=0;o<r;o++){i.setEnd(e,o+1),i.setStart(e,o);let r=DM(i,1);if(r.top!=r.bottom&&RM(t,r)){n={node:e,offset:o+(t.left>=(r.left+r.right)/2?1:0)};break}}return i.detach(),n||{node:e,offset:0}}(n,r):!n||a&&1==n.nodeType?{node:e,offset:s}:EM(n,r)}function RM(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function XM(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),o=i;;){let n=e.childNodes[o];if(1==n.nodeType){let e=n.getClientRects();for(let r=0;r<e.length;r++){let i=e[r];if(RM(t,i))return XM(n,t,i)}}if((o=(o+1)%r)==i)break}return e}function BM(e,t){let n,r=e.dom.ownerDocument,i=0,o=function(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:Math.min(nM(r.offsetNode),r.offset)}}catch(r){}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(nM(r.startContainer),r.startOffset)}}}(r,t.left,t.top);o&&({node:n,offset:i}=o);let a,s=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){let n=e.dom.getBoundingClientRect();if(!RM(t,n))return null;if(s=XM(e.dom,t,n),!s)return null}if(gM)for(let c=s;n&&c;c=GN(c))c.draggable&&(n=void 0);if(s=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(fM&&1==n.nodeType&&(i=Math.min(i,n.childNodes.length),i<n.childNodes.length)){let e,r=n.childNodes[i];"IMG"==r.nodeName&&(e=r.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&i++}let r;QM&&i&&1==n.nodeType&&1==(r=n.childNodes[i-1]).nodeType&&"false"==r.contentEditable&&r.getBoundingClientRect().top>=t.top&&i--,n==e.dom&&i==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=i&&1==n.nodeType&&"BR"==n.childNodes[i-1].nodeName||(a=function(e,t,n,r){let i=-1;for(let o=t,a=!1;o!=e.dom;){let t,n=e.docView.nearestDesc(o,!0);if(!n)return null;if(1==n.dom.nodeType&&(n.node.isBlock&&n.parent||!n.contentDOM)&&((t=n.dom.getBoundingClientRect()).width||t.height)&&(n.node.isBlock&&n.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(n.dom.nodeName)&&(!a&&t.left>r.left||t.top>r.top?i=n.posBefore:(!a&&t.right<r.left||t.bottom<r.top)&&(i=n.posAfter),a=!0),!n.contentDOM&&i<0&&!n.node.isText))return(n.node.isBlock?r.top<(t.top+t.bottom)/2:r.left<(t.left+t.right)/2)?n.posBefore:n.posAfter;o=n.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}(e,n,i,t))}null==a&&(a=function(e,t,n){let{node:r,offset:i}=EM(t,n),o=-1;if(1==r.nodeType&&!r.firstChild){let e=r.getBoundingClientRect();o=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}(e,s,t));let l=e.docView.nearestDesc(s,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function UM(e){return e.top<e.bottom||e.left<e.right}function DM(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(UM(e))return e}return Array.prototype.find.call(n,UM)||e.getBoundingClientRect()}const IM=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function zM(e,t,n){let{node:r,offset:i,atom:o}=e.docView.domFromPos(t,n<0?-1:1),a=QM||fM;if(3==r.nodeType){if(!a||!IM.test(r.nodeValue)&&(n<0?i:i!=r.nodeValue.length)){let e=i,t=i,o=n<0?1:-1;return n<0&&!i?(t++,o=-1):n>=0&&i==r.nodeValue.length?(e--,o=1):n<0?e--:t++,NM(DM(KN(r,e,t),o),o<0)}{let e=DM(KN(r,i,i),n);if(fM&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let t=DM(KN(r,i-1,i-1),-1);if(t.top==e.top){let n=DM(KN(r,i,i+1),-1);if(n.top!=e.top)return NM(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(o||0)).parent.inlineContent){if(null==o&&i&&(n<0||i==nM(r))){let e=r.childNodes[i-1];if(1==e.nodeType)return MM(e.getBoundingClientRect(),!1)}if(null==o&&i<nM(r)){let e=r.childNodes[i];if(1==e.nodeType)return MM(e.getBoundingClientRect(),!0)}return MM(r.getBoundingClientRect(),n>=0)}if(null==o&&i&&(n<0||i==nM(r))){let e=r.childNodes[i-1],t=3==e.nodeType?KN(e,nM(e)-(a?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return NM(DM(t,1),!1)}if(null==o&&i<nM(r)){let e=r.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?KN(e,0,a?0:1):1==e.nodeType?e:null:null;if(t)return NM(DM(t,-1),!0)}return NM(DM(3==r.nodeType?KN(r):r,-n),n>=0)}function NM(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function MM(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function LM(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}const VM=/[\u0590-\u08ac]/;let qM=null,FM=null,WM=!1;function ZM(e,t,n){return qM==t&&FM==n?WM:(qM=t,FM=n,WM="up"==n||"down"==n?function(e,t,n){let r=t.selection,i="up"==n?r.$from:r.$to;return LM(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=zM(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=KN(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&("up"==n?r.top-i.top>2*(i.bottom-r.top):i.bottom-r.bottom>2*(r.bottom-i.top)))return!1}}return!0})}(e,t,n):function(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=e.domSelection();return s?VM.test(r.parent.textContent)&&s.modify?LM(e,t,()=>{let{focusNode:t,focusOffset:i,anchorNode:o,anchorOffset:a}=e.domSelectionRange(),l=s.caretBidiLevel;s.modify("move",n,"character");let c=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:O}=e.domSelectionRange(),d=u&&!c.contains(1==u.nodeType?u:u.parentNode)||t==u&&i==O;try{s.collapse(o,a),t&&(t!=o||i!=a)&&s.extend&&s.extend(t,i)}catch(h){}return null!=l&&(s.caretBidiLevel=l),d}):"left"==n||"backward"==n?o:a:r.pos==r.start()||r.pos==r.end()}(e,t,n))}class YM{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].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 t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.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,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>jN(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i,o=this.getDesc(r);if(o&&(!t||o.node)){if(!n||!(i=o.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return o;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let n=t;n;n=n.parent)if(n==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],i=n+r.size;if(n==e&&i!=n){for(;!r.border&&r.children.length;)for(let e=0;e<r.children.length;e++){let t=r.children[e];if(t.size){r=t;break}}return r}if(e<i)return r.descAt(e-n-r.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let i=0;n<this.children.length;n++){let t=this.children[n],o=i+t.size;if(o>e||t instanceof tL){r=e-i;break}i=o}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(let i;n&&!(i=this.children[n-1]).size&&i instanceof jM&&i.side>=0;n--);if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?jN(e.dom)+1:0}}{let e,r=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&&r&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?jN(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let o=n,a=0;;a++){let n=this.children[a],s=o+n.size;if(-1==r&&e<=s){let i=o+n.border;if(e>=i&&t<=s-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=o;for(let t=a;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=jN(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(s>t||a==this.children.length-1)){t=s;for(let e=a+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=jN(n.dom);break}t+=n.size}-1==i&&(i=this.contentDOM.childNodes.length);break}o=s}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let i=Math.min(e,t),o=Math.max(e,t);for(let h=0,f=0;h<this.children.length;h++){let a=this.children[h],s=f+a.size;if(i>f&&o<s)return a.setSelection(e-f-a.border,t-f-a.border,n,r);f=s}let a=this.domFromPos(e,e?-1:1),s=t==e?a:this.domFromPos(t,t?-1:1),l=n.root.getSelection(),c=n.domSelectionRange(),u=!1;if((fM||gM)&&e==t){let{node:e,offset:t}=a;if(3==e.nodeType){if(u=!(!t||"\n"!=e.nodeValue[t-1]),u&&t==e.nodeValue.length)for(let n,r=e;r;r=r.parentNode){if(n=r.nextSibling){"BR"==n.nodeName&&(a=s={node:n.parentNode,offset:jN(n)+1});break}let e=r.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];u=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(fM&&c.focusNode&&c.focusNode!=s.node&&1==c.focusNode.nodeType){let e=c.focusNode.childNodes[c.focusOffset];e&&"false"==e.contentEditable&&(r=!0)}if(!(r||u&&gM)&&JN(a.node,a.offset,c.anchorNode,c.anchorOffset)&&JN(s.node,s.offset,c.focusNode,c.focusOffset))return;let O=!1;if((l.extend||e==t)&&(!u||!fM)){l.collapse(a.node,a.offset);try{e!=t&&l.extend(s.node,s.offset),O=!0}catch(d){}}if(!O){if(e>t){let e=a;a=s,s=e}let n=document.createRange();n.setEnd(s.node,s.offset),n.setStart(a.node,a.offset),l.removeAllRanges(),l.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],o=n+i.size;if(n==o?e<=o&&t>=n:e<o&&t>n){let r=n+i.border,a=o-i.border;if(e>=r&&t<=a)return this.dirty=e==n||t==o?2:1,void(e!=r||t!=a||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-r,t-r):i.dirty=3);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?3:2}n=o}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class jM extends YM{constructor(e,t,n,r){let i,o=t.type.toDOM;if("function"==typeof o&&(o=o(n,()=>i?i.parent?i.parent.posBeforeChild(i):void 0:r)),!t.type.spec.raw){if(1!=o.nodeType){let e=document.createElement("span");e.appendChild(o),o=e}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class GM extends YM{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class HM extends YM{constructor(e,t,n,r,i){super(e,[],n,r),this.mark=t,this.spec=i}static create(e,t,n,r){let i=r.nodeViews[t.type.name],o=i&&i(t,r,n);return o&&o.dom||(o=KR.renderSpec(document,t.type.spec.toDOM(t,n),null,t.attrs)),new HM(e,t,o.dom,o.contentDOM||o.dom,o)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let r=HM.create(this.parent,this.mark,!0,n),i=this.children,o=this.size;t<o&&(i=fL(i,t,o,n)),e>0&&(i=fL(i,0,e,n));for(let a=0;a<i.length;a++)i[a].parent=r;return r.children=i,r}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class KM extends YM{constructor(e,t,n,r,i,o,a,s,l){super(e,[],i,o),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=a}static create(e,t,n,r,i,o){let a,s=i.nodeViews[t.type.name],l=s&&s(t,i,()=>a?a.parent?a.parent.posBeforeChild(a):void 0:o,n,r),c=l&&l.dom,u=l&&l.contentDOM;if(t.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(t.text);else if(!c){let e=KR.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs);({dom:c,contentDOM:u}=e)}u||t.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),t.type.spec.draggable&&(c.draggable=!0));let O=c;return c=cL(c,n,t),l?a=new nL(e,t,n,r,c,u||null,O,l,i,o+1):t.isText?new eL(e,t,n,r,c,O,i):new KM(e,t,n,r,c,u||null,O,i,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>HE.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&uL(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,o=i&&i.pos>-1?i:null,a=i&&i.pos<0,s=new dL(this,o&&o.node,e);!function(e,t,n,r){let i=t.locals(e),o=0;if(0==i.length){for(let n=0;n<e.childCount;n++){let a=e.child(n);r(a,i,t.forChild(o,a),n),o+=a.nodeSize}return}let a=0,s=[],l=null;for(let c=0;;){let u,O,d,h;for(;a<i.length&&i[a].to==o;){let e=i[a++];e.widget&&(u?(O||(O=[u])).push(e):u=e)}if(u)if(O){O.sort(hL);for(let e=0;e<O.length;e++)n(O[e],c,!!l)}else n(u,c,!!l);if(l)h=-1,d=l,l=null;else{if(!(c<e.childCount))break;h=c,d=e.child(c++)}for(let e=0;e<s.length;e++)s[e].to<=o&&s.splice(e--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let f=o+d.nodeSize;if(d.isText){let e=f;a<i.length&&i[a].from<e&&(e=i[a].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<f&&(l=d.cut(e-o),d=d.cut(0,e-o),f=e,h=-1)}else for(;a<i.length&&i[a].to<f;)a++;r(d,d.isInline&&!d.isLeaf?s.filter(e=>!e.inline):s.slice(),t.forChild(o,d),h),o=f}}(this.node,this.innerDeco,(t,i,o)=>{t.spec.marks?s.syncToMarks(t.spec.marks,n,e,i):t.type.side>=0&&!o&&s.syncToMarks(i==this.node.childCount?tR.none:this.node.child(i).marks,n,e,i),s.placeWidget(t,e,r)},(t,o,l,c)=>{let u;s.syncToMarks(t.marks,n,e,c),s.findNodeMatch(t,o,l,c)||a&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(u=s.findIndexWithChild(i.node))>-1&&s.updateNodeAt(t,o,l,u,e)||s.updateNextNode(t,o,l,e,c,r)||s.addNode(t,o,l,e,r),r+=t.nodeSize}),s.syncToMarks([],n,e,0),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||2==this.dirty)&&(o&&this.protectLocalComposition(e,o),rL(this.contentDOM,this.children,e),vM&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof sz)||n<t||r>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,o=function(e,t,n,r){for(let i=0,o=0;i<e.childCount&&o<=r;){let a=e.child(i++),s=o;if(o+=a.nodeSize,!a.isText)continue;let l=a.text;for(;i<e.childCount;){let t=e.child(i++);if(o+=t.nodeSize,!t.isText)break;l+=t.text}if(o>=n){if(o>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?l.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}(this.node.content,e,n-t,r-t);return o<0?null:{node:i,pos:o,text:e}}return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let o=new GM(this,i,t,r);e.input.compositionNodes.push(o),this.children=fL(this.children,n,n+r.length,e,o)}update(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(uL(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=sL(this.dom,this.nodeDOM,aL(this.outerDeco,this.node,t),aL(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.nodeDOM.draggable=!0))}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function JM(e,t,n,r,i){cL(r,t,e);let o=new KM(void 0,e,t,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class eL extends KM{constructor(e,t,n,r,i,o,a){super(e,t,n,r,i,null,o,a,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),i=document.createTextNode(r.text);return new eL(this.parent,r,this.outerDeco,this.innerDeco,i,i,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class tL extends YM{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class nL extends KM{constructor(e,t,n,r,i,o,a,s,l,c){super(e,t,n,r,i,o,a,l,c),this.spec=s}update(e,t,n,r){if(3==this.dirty)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function rL(e,t,n){let r=e.firstChild,i=!1;for(let o=0;o<t.length;o++){let a=t[o],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=OL(r),i=!0;r=r.nextSibling}else i=!0,e.insertBefore(s,r);if(a instanceof HM){let t=r?r.previousSibling:e.lastChild;rL(a.contentDOM,a.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=OL(r),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}const iL=function(e){e&&(this.nodeName=e)};iL.prototype=Object.create(null);const oL=[new iL];function aL(e,t,n){if(0==e.length)return oL;let r=n?oL[0]:new iL,i=[r];for(let o=0;o<e.length;o++){let a=e[o].type.attrs;if(a){a.nodeName&&i.push(r=new iL(a.nodeName));for(let e in a){let o=a[e];null!=o&&(n&&1==i.length&&i.push(r=new iL(t.isInline?"span":"div")),"class"==e?r.class=(r.class?r.class+" ":"")+o:"style"==e?r.style=(r.style?r.style+";":"")+o:"nodeName"!=e&&(r[e]=o))}}}return i}function sL(e,t,n,r){if(n==oL&&r==oL)return t;let i=t;for(let o=0;o<r.length;o++){let t=r[o],a=n[o];if(o){let n;a&&a.nodeName==t.nodeName&&i!=e&&(n=i.parentNode)&&n.nodeName.toLowerCase()==t.nodeName||(n=document.createElement(t.nodeName),n.pmIsDeco=!0,n.appendChild(i),a=oL[0]),i=n}lL(i,a||oL[0],t)}return i}function lL(e,t,n){for(let r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(let r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<r.length;t++)-1==i.indexOf(r[t])&&e.classList.remove(r[t]);for(let t=0;t<i.length;t++)-1==r.indexOf(i[t])&&e.classList.add(i[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=r.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function cL(e,t,n){return sL(e,e,oL,aL(t,n,1!=e.nodeType))}function uL(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function OL(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class dL{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,r=n.children.length,i=e.childCount,o=new Map,a=[];e:for(;i>0;){let s;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof HM)){s=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=e.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,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])&&!1!==e[i].type.spec.spanning;)i++;for(;i<o;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let i=-1,a=this.top.children.length;r<this.preMatch.index&&(a=Math.min(this.index+3,a));for(let t=this.index;t<a;t++){let n=this.top.children[t];if(n.matchesMark(e[o])&&!this.isLocked(n.dom)){i=t;break}}if(i>-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let r=HM.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,n,r){let i,o=-1;if(r>=this.preMatch.index&&(i=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))o=this.top.children.indexOf(i,this.index);else for(let a=this.index,s=Math.min(this.top.children.length,a+5);a<s;a++){let r=this.top.children[a];if(r.matchesNode(e,t,n)&&!this.preMatch.matched.has(r)){o=a;break}}return!(o<0)&&(this.destroyBetween(this.index,o),this.index++,!0)}updateNodeAt(e,t,n,r,i){let o=this.top.children[r];return 3==o.dirty&&o.dom==o.contentDOM&&(o.dirty=2),!!o.update(e,t,n,i)&&(this.destroyBetween(this.index,r),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,r,i,o){for(let a=this.index;a<this.top.children.length;a++){let s=this.top.children[a];if(s instanceof KM){let l=this.preMatch.matched.get(s);if(null!=l&&l!=i)return!1;let c,u=s.dom,O=this.isLocked(u)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&3!=s.dirty&&uL(t,s.outerDeco));if(!O&&s.update(e,t,n,r))return this.destroyBetween(this.index,a),s.dom!=u&&(this.changed=!0),this.index++,!0;if(!O&&(c=this.recreateWrapper(s,e,t,n,r,o)))return this.destroyBetween(this.index,a),this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(r,o+1),c.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,i,o){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!uL(n,e.outerDeco)||!r.eq(e.innerDeco))return null;let a=KM.create(this.top,t,n,r,i,o);if(a.contentDOM){a.children=e.children,e.children=[];for(let e of a.children)e.parent=a}return e.destroy(),a}addNode(e,t,n,r,i){let o=KM.create(this.top,e,t,n,r,i);o.contentDOM&&o.updateChildren(r,i+1),this.top.children.splice(this.index++,0,o),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&&r.widget.type.toDOM.parentNode){let r=new jM(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof HM;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof eL)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((gM||AM)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let r=new tL(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function hL(e,t){return e.type.side-t.type.side}function fL(e,t,n,r,i){let o=[];for(let a=0,s=0;a<e.length;a++){let l=e[a],c=s,u=s+=l.size;c>=n||u<=t?o.push(l):(c<t&&o.push(l.slice(0,t-c,r)),i&&(o.push(i),i=void 0),u>n&&o.push(l.slice(n-c,l.size,r)))}return o}function pL(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),o=i&&0==i.size,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s,l,c=r.resolve(a);if(iM(n)){for(s=a;i&&!i.node;)i=i.parent;let e=i.node;if(i&&e.isAtom&&cz.isSelectable(e)&&i.parent&&(!e.isInline||!function(e,t,n){for(let r=0==t,i=t==nM(e);r||i;){if(e==n)return!0;let t=jN(e);if(!(e=e.parentNode))return!1;r=r&&0==t,i=i&&t==nM(e)}}(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;l=new cz(a==e?c:r.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=a,i=a;for(let r=0;r<n.rangeCount;r++){let o=n.getRangeAt(r);t=Math.min(t,e.docView.posFromDOM(o.startContainer,o.startOffset,1)),i=Math.max(i,e.docView.posFromDOM(o.endContainer,o.endOffset,-1))}if(t<0)return null;[s,a]=i==e.state.selection.anchor?[i,t]:[t,i],c=r.resolve(a)}else s=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(s<0)return null}let u=r.resolve(s);if(!l){l=$L(e,u,c,"pointer"==t||e.state.selection.head<c.pos&&!o?1:-1)}return l}function AL(e){return e.editable?e.hasFocus():xL(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function mL(e,t=!1){let n=e.state.selection;if(wL(e,n),!AL(e))return;let r=e.input.mouseDown;if(!t&&AM&&r){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&JN(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset)&&r.delaySelUpdate())return void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection();if(!t)return;let n=e.cursorWrapper.dom,r="IMG"==n.nodeName;r?t.collapse(n.parentNode,jN(n)+1):t.collapse(n,0);!r&&!e.state.selection.visible&&dM&&hM<=11&&(n.disabled=!0,n.disabled=!1)}(e);else{let r,i,{anchor:o,head:a}=n;!gL||n instanceof sz||(n.$from.parent.inlineContent||(r=vL(e,n.from)),n.empty||n.$from.parent.inlineContent||(i=vL(e,n.to))),e.docView.setSelection(o,a,e,t),gL&&(r&&bL(r),i&&bL(i)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{n.anchorNode==r&&n.anchorOffset==i||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{AL(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")},20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}const gL=gM||AM&&mM<63;function vL(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=r<n.childNodes.length?n.childNodes[r]:null,o=r?n.childNodes[r-1]:null;if(gM&&i&&"false"==i.contentEditable)return yL(i);if(!(i&&"false"!=i.contentEditable||o&&"false"!=o.contentEditable)){if(i)return yL(i);if(o)return yL(o)}}function yL(e){return e.contentEditable="true",gM&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function bL(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function wL(e,t){if(t instanceof cz){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(QL(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else QL(e)}function QL(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function $L(e,t,n,r){return e.someProp("createSelectionBetween",r=>r(e,t,n))||sz.between(t,n,r)}function SL(e){return!(e.editable&&!e.hasFocus())&&xL(e)}function xL(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(n){return!1}}function kL(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return o&&rz.findFrom(o,t)}function PL(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function TL(e,t,n){let r=e.state.selection;if(!(r instanceof sz)){if(r instanceof cz&&r.node.isInline)return PL(e,new sz(t>0?r.$to:r.$from));{let n=kL(e.state,t);return!!n&&PL(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=r,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let o=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return PL(e,new sz(r.$anchor,o))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=kL(e.state,t);return!!(n&&n instanceof cz)&&PL(e,n)}if(!(yM&&n.indexOf("m")>-1)){let n,i=r.$head,o=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText)return!1;let a=t<0?i.pos-o.nodeSize:i.pos;return!!(o.isAtom||(n=e.docView.descAt(a))&&!n.contentDOM)&&(cz.isSelectable(o)?PL(e,new cz(t<0?e.state.doc.resolve(i.pos-o.nodeSize):i)):!!QM&&PL(e,new sz(e.state.doc.resolve(t<0?a:a+o.nodeSize))))}}function _L(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function CL(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function EL(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,a=!1;fM&&1==n.nodeType&&r<_L(n)&&CL(n.childNodes[r],-1)&&(a=!0);for(;;)if(r>0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(CL(e,-1))i=n,o=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(RL(n))break;{let t=n.previousSibling;for(;t&&CL(t,-1);)i=n.parentNode,o=jN(t),t=t.previousSibling;if(t)n=t,r=_L(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?XL(e,n,r):i&&XL(e,i,o)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,a=_L(n);for(;;)if(r<a){if(1!=n.nodeType)break;if(!CL(n.childNodes[r],1))break;i=n,o=++r}else{if(RL(n))break;{let t=n.nextSibling;for(;t&&CL(t,1);)i=t.parentNode,o=jN(t)+1,t=t.nextSibling;if(t)n=t,r=0,a=_L(n);else{if(n=n.parentNode,n==e.dom)break;r=a=0}}}i&&XL(e,i,o)}(e)}function RL(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function XL(e,t,n){if(3!=t.nodeType){let e,r;(r=function(e,t){for(;e&&t==e.childNodes.length&&!rM(e);)t=jN(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=r,n=0):(e=function(e,t){for(;e&&!t&&!rM(e);)t=jN(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(!r)return;if(iM(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout(()=>{e.state==i&&mL(e)},50)}function BL(e,t){let n=e.state.doc.resolve(t);if(!AM&&!bM&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function UL(e,t,n){let r=e.state.selection;if(r instanceof sz&&!r.empty||n.indexOf("s")>-1)return!1;if(yM&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=kL(e.state,t);if(n&&n instanceof cz)return PL(e,n)}if(!i.parent.inlineContent){let n=t<0?i:o,a=r instanceof Oz?rz.near(n,t):rz.findFrom(n,t);return!!a&&PL(e,a)}return!1}function DL(e,t){if(!(e.state.selection instanceof sz))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let r=e.state.tr;return t<0?r.delete(n.pos-o.nodeSize,n.pos):r.delete(n.pos,n.pos+o.nodeSize),e.dispatch(r),!0}return!1}function IL(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function zL(e,t){let n=t.keyCode,r=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||yM&&72==n&&"c"==r)return DL(e,-1)||EL(e,-1);if(46==n&&!t.shiftKey||yM&&68==n&&"c"==r)return DL(e,1)||EL(e,1);if(13==n||27==n)return!0;if(37==n||yM&&66==n&&"c"==r){let t=37==n?"ltr"==BL(e,e.state.selection.from)?-1:1:-1;return TL(e,t,r)||EL(e,t)}if(39==n||yM&&70==n&&"c"==r){let t=39==n?"ltr"==BL(e,e.state.selection.from)?1:-1:1;return TL(e,t,r)||EL(e,t)}return 38==n||yM&&80==n&&"c"==r?UL(e,-1,r)||EL(e,-1):40==n||yM&&78==n&&"c"==r?function(e){if(!gM||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;IL(e,n,"true"),setTimeout(()=>IL(e,n,"false"),20)}return!1}(e)||UL(e,1,r)||EL(e,1):r==(yM?"m":"c")&&(66==n||73==n||89==n||90==n)}function NL(e,t){e.someProp("transformCopied",n=>{t=n(t,e)});let n=[],{content:r,openStart:i,openEnd:o}=t;for(;i>1&&o>1&&1==r.childCount&&1==r.firstChild.childCount;){i--,o--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let a=e.someProp("clipboardSerializer")||KR.fromSchema(e.state.schema),s=GL(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c,u=l.firstChild,O=0;for(;u&&1==u.nodeType&&(c=YL[u.nodeName.toLowerCase()]);){for(let e=c.length-1;e>=0;e--){let t=s.createElement(c[e]);for(;l.firstChild;)t.appendChild(l.firstChild);l.appendChild(t),O++}u=l.firstChild}return u&&1==u.nodeType&&u.setAttribute("data-pm-slice",`${i} ${o}${O?` -${O}`:""} ${JSON.stringify(n)}`),{dom:l,text:e.someProp("clipboardTextSerializer",n=>n(t,e))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function ML(e,t,n,r,i){let o,a,s=i.parent.type.spec.code;if(!n&&!t)return null;let l=!!t&&(r||s||!n);if(l){if(e.someProp("transformPastedText",n=>{t=n(t,s||r,e)}),s)return a=new rR(HE.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0),e.someProp("transformPasted",t=>{a=t(a,e,!0)}),a;let n=e.someProp("clipboardTextParser",n=>n(t,i,r,e));if(n)a=n;else{let n=i.marks(),{schema:r}=e.state,a=KR.fromSchema(r);o=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=o.appendChild(document.createElement("p"));e&&t.appendChild(a.serializeNode(r.text(e,n)))})}}else e.someProp("transformPastedHTML",t=>{n=t(n,e)}),o=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=GL().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);(n=i&&YL[i[1].toLowerCase()])&&(e=n.map(e=>"<"+e+">").join("")+e+n.map(e=>"</"+e+">").reverse().join(""));if(r.innerHTML=function(e){let t=window.trustedTypes;if(!t)return e;HL||(HL=t.defaultPolicy||t.createPolicy("ProseMirrorClipboard",{createHTML:e=>e}));return HL.createHTML(e)}(e),n)for(let o=0;o<n.length;o++)r=r.querySelector(n[o])||r;return r}(n),QM&&function(e){let t=e.querySelectorAll(AM?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];1==r.childNodes.length&&" "==r.textContent&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(o);let c=o&&o.querySelector("[data-pm-slice]"),u=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let O=+u[3];O>0;O--){let e=o.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;o=e}if(!a){let t=e.someProp("clipboardParser")||e.someProp("domParser")||LR.fromSchema(e.state.schema);a=t.parseSlice(o,{preserveWhitespace:!(!l&&!u),context:i,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||LL.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(u)a=function(e,t){if(!e.size)return e;let n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(sy){return e}let{content:i,openStart:o,openEnd:a}=e;for(let s=n.length-2;s>=0;s-=2){let e=r.nodes[n[s]];if(!e||e.hasRequiredAttrs())break;i=HE.from(e.create(n[s+1],i)),o++,a++}return new rR(i,o,a)}(ZL(a,+u[1],+u[2]),u[4]);else if(a=rR.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r,i=t.node(n).contentMatchAt(t.index(n)),o=[];if(e.forEach(e=>{if(!o)return;let t,n=i.findWrapping(e.type);if(!n)return o=null;if(t=o.length&&r.length&&qL(n,r,e,o[o.length-1],0))o[o.length-1]=t;else{o.length&&(o[o.length-1]=FL(o[o.length-1],r.length));let t=VL(e,n);o.push(t),i=i.matchType(t.type),r=n}}),o)return HE.from(o)}return e}(a.content,i),!0),a.openStart||a.openEnd){let e=0,t=0;for(let n=a.content.firstChild;e<a.openStart&&!n.type.spec.isolating;e++,n=n.firstChild);for(let n=a.content.lastChild;t<a.openEnd&&!n.type.spec.isolating;t++,n=n.lastChild);a=ZL(a,e,t)}return e.someProp("transformPasted",t=>{a=t(a,e,l)}),a}const LL=/^(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 VL(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,HE.from(e));return e}function qL(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let o=qL(e,t,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(HE.from(VL(n,e,i+1))))}}function FL(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,FL(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(HE.empty,!0);return e.copy(n.append(r))}function WL(e,t,n,r,i,o){let a=t<0?e.firstChild:e.lastChild,s=a.content;return e.childCount>1&&(o=0),i<r-1&&(s=WL(s,t,n,r,i+1,o)),i>=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(HE.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function ZL(e,t,n){return t<e.openStart&&(e=new rR(WL(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new rR(WL(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const YL={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 jL=null;function GL(){return jL||(jL=document.implementation.createHTMLDocument("title"))}let HL=null;const KL={},JL={},eV={touchstart:!0,touchmove:!0};let tV=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},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.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function nV(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function rV(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>iV(e,t))})}function iV(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)})}function oV(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function aV(e){return{left:e.clientX,top:e.clientY}}function sV(e,t,n,r,i){if(-1==r)return!1;let o=e.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(e.someProp(t,t=>a>o.depth?t(e,n,o.nodeAfter,o.before(a),i,!0):t(e,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function lV(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);r.setMeta("pointer",!0),e.dispatch(r)}function cV(e,t,n,r,i){return sV(e,"handleClickOn",t,n,r)||e.someProp("handleClick",n=>n(e,t,r))||(i?function(e,t){if(-1==t)return!1;let n,r,i=e.state.selection;i instanceof cz&&(n=i.node);let o=e.state.doc.resolve(t);for(let a=o.depth+1;a>0;a--){let e=a>o.depth?o.nodeAfter:o.node(a);if(cz.isSelectable(e)){r=n&&i.$from.depth>0&&a>=i.$from.depth&&o.before(i.$from.depth+1)==i.$from.pos?o.before(i.$from.depth):o.before(a);break}}return null!=r&&(lV(e,cz.create(e.state.doc,r)),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return!!(r&&r.isAtom&&cz.isSelectable(r))&&(lV(e,new cz(n)),!0)}(e,n))}function uV(e,t,n,r){return sV(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",n=>n(e,t,r))}function OV(e,t,n,r){return sV(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",n=>n(e,t,r))||function(e,t,n){if(0!=n.button)return!1;let r=dV(e,t,!0),i=e.state.doc;if(!r)return!1;lV(e,r),r instanceof sz&&i.eq(e.state.doc)&&(e.input.mouseDown=new mV(e,r));return!0}(e,n,r)}function dV(e,t,n){let r=e.state.doc;if(-1==t)return r.inlineContent?sz.create(r,0,r.content.size):null;let i=r.resolve(t);for(let o=i.depth+1;o>0;o--){let e=o>i.depth?i.nodeAfter:i.node(o),t=i.before(o);if(e.inlineContent)return sz.create(r,t+1,t+1+e.content.size);if(n&&cz.isSelectable(e))return cz.create(r,t)}return null}function hV(e){return QV(e)}JL.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!gV(e)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!wM||!AM||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!vM||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",t=>t(e,n))||zL(e,n)?n.preventDefault():nV(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",t=>t(e,oM(13,"Enter"))),e.input.lastIOSEnter=0)},200)}},JL.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},JL.keypress=(e,t)=>{let n=t;if(gV(e)||!n.charCode||n.ctrlKey&&!n.altKey||yM&&n.metaKey)return;if(e.someProp("handleKeyPress",t=>t(e,n)))return void n.preventDefault();let r=e.state.selection;if(!(r instanceof sz&&r.$from.sameParent(r.$to))){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();/[\r\n]/.test(t)||e.someProp("handleTextInput",n=>n(e,r.$from.pos,r.$to.pos,t,i))||e.dispatch(i()),n.preventDefault()}};const fV=yM?"metaKey":"ctrlKey";KL.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=hV(e),i=Date.now(),o="singleClick";i-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[fV]&&e.input.lastClick.button==n.button&&("singleClick"==e.input.lastClick.type?o="doubleClick":"doubleClick"==e.input.lastClick.type&&(o="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o,button:n.button},e.input.mouseDown&&e.input.mouseDown.done();let a=e.posAtCoords(aV(n));a&&("singleClick"==o?e.input.mouseDown=new AV(e,a,n,!!r):("doubleClick"==o?uV:OV)(e,a.pos,a.inside,n)?n.preventDefault():nV(e,"pointer"))};class pV{constructor(e){this.view=e,this.mightDrag=null,e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this))}up(e){this.done()}move(e){0==e.buttons&&this.done()}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.view.input.mouseDown==this&&(this.view.input.mouseDown=null)}delaySelUpdate(){return!1}}class AV extends pV{constructor(e,t,n,r){let i,o;if(super(e),this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.startDoc=e.state.doc,this.selectNode=!!n[fV],this.allowDefault=n.shiftKey,t.inside>-1)i=e.state.doc.nodeAt(t.inside),o=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,o=n.depth?n.before():0}const a=r?null:n.target,s=a?e.docView.nearestDesc(a,!0):null;this.target=s&&1==s.nodeDOM.nodeType?s.nodeDOM:null;let{selection:l}=e.state;0==n.button&&(i.type.spec.draggable&&!1!==i.type.spec.selectable||l instanceof cz&&l.from<=o&&l.to>o)&&(this.mightDrag={node:i,pos:o,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!fM||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()),nV(e,"pointer")}done(){super.done(),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(()=>{this.view.isDestroyed||mL(this.view)})}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(aV(e))),this.updateAllowDefault(e),this.allowDefault||!t?nV(this.view,"pointer"):cV(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||gM&&this.mightDrag&&!this.mightDrag.node.isAtom||AM&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(lV(this.view,rz.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):nV(this.view,"pointer")}move(e){this.updateAllowDefault(e),nV(this.view,"pointer"),super.move(e)}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}delaySelUpdate(){return!!this.allowDefault&&(this.delayedSelectionSync=!0,!0)}}class mV extends pV{constructor(e,t){super(e),this.startSelection=t,this.startDoc=e.state.doc}move(e){if(0==e.buttons||this.view.isDestroyed||!this.view.state.doc.eq(this.startDoc))return void this.done();e.preventDefault(),nV(this.view,"pointer");let t=this.view.posAtCoords(aV(e)),n=t&&dV(this.view,t.inside,!1);if(!n)return;let{doc:r}=this.view.state,i=this.startSelection,[o,a]=n.from<i.from?[i.to,n.from]:[i.from,n.to];lV(this.view,sz.create(r,o,a))}}function gV(e,t){return!!e.composing||!!(gM&&Math.abs(Date.now()-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}KL.touchstart=e=>{e.input.lastTouch=Date.now(),hV(e),nV(e,"pointer")},KL.touchmove=e=>{e.input.lastTouch=Date.now(),nV(e,"pointer")},KL.contextmenu=e=>hV(e);const vV=wM?5e3:-1;function yV(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>QV(e),t))}function bV(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function wV(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=nM(e=e.childNodes[t-1])}else{if(!e.parentNode||rM(e))return null;t=jN(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),r=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||rM(e))return null;t=jN(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let t=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return r}}return n||r}function QV(e,t=!1){if(!(wM&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),bV(e),t||e.docView&&e.docView.dirty){let n=pL(e),r=e.state.selection;return n&&!n.eq(r)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&&!t||r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}JL.compositionstart=JL.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof sz&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>!1===e.type.spec.inclusive)||AM&&bM&&function(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||1!=t.nodeType||n>=t.childNodes.length)return!1;let r=t.childNodes[n];return 1==r.nodeType&&"false"==r.contentEditable}(e)))e.markCursor=e.state.storedMarks||n.marks(),QV(e,!0),e.markCursor=null;else if(QV(e,!t.selection.empty),fM&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&1==n.nodeType&&0!=r;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}yV(e,vV)},JL.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now(),e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,yV(e,20))};const $V=dM&&hM<15||vM&&$M<604;function SV(e,t,n,r,i){let o=ML(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",t=>t(e,i,o||rR.empty)))return!0;if(!o)return!1;let a=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(o),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(o);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function xV(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}KL.copy=JL.cut=(e,t)=>{let n=t,r=e.state.selection,i="cut"==n.type;if(r.empty)return;let o=$V?null:n.clipboardData,a=r.content(),{dom:s,text:l}=NL(e,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}(e,s),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},JL.paste=(e,t)=>{let n=t;if(e.composing&&!wM)return;let r=$V?null:n.clipboardData,i=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&SV(e,xV(r),r.getData("text/html"),i,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.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=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?SV(e,r.value,null,i,t):SV(e,r.textContent,r.innerHTML,i,t)},50)}(e,n)};class kV{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}const PV=yM?"altKey":"ctrlKey";function TV(e,t){let n;return e.someProp("dragCopies",e=>{n=n||e(t)}),null!=n?!n:!t[PV]}KL.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i,o=e.state.selection,a=o.empty?null:e.posAtCoords(aV(n));if(a&&a.pos>=o.from&&a.pos<=(o instanceof cz?o.to-1:o.to));else if(r&&r.mightDrag)i=cz.create(e.state.doc,r.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(i=cz.create(e.state.doc,t.posBefore))}let s=(i||e.state.selection).content(),{dom:l,text:c,slice:u}=NL(e,s);(!n.dataTransfer.files.length||!AM||mM>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData($V?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",$V||n.dataTransfer.setData("text/plain",c),e.dragging=new kV(u,TV(e,n),i)},KL.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},JL.dragover=JL.dragenter=(e,t)=>t.preventDefault(),JL.drop=(e,t)=>{try{!function(e,t,n){if(!t.dataTransfer)return;let r=e.posAtCoords(aV(t));if(!r)return;let i=e.state.doc.resolve(r.pos),o=n&&n.slice;o?e.someProp("transformPasted",t=>{o=t(o,e,!1)}):o=ML(e,xV(t.dataTransfer),$V?null:t.dataTransfer.getData("text/html"),!1,i);let a=!(!n||!TV(e,t));if(e.someProp("handleDrop",n=>n(e,t,o||rR.empty,a)))return void t.preventDefault();if(!o)return;t.preventDefault();let s=o?NI(e.state.doc,i.pos,o):i.pos;null==s&&(s=i.pos);let l=e.state.tr;if(a){let{node:e}=n;e?e.replace(l):l.deleteSelection()}let c=l.mapping.map(s),u=0==o.openStart&&0==o.openEnd&&1==o.content.childCount,O=l.doc;u?l.replaceRangeWith(c,c,o.content.firstChild):l.replaceRange(c,c,o);if(l.doc.eq(O))return;let d=l.doc.resolve(c);if(u&&cz.isSelectable(o.content.firstChild)&&d.nodeAfter&&d.nodeAfter.sameMarkup(o.content.firstChild))l.setSelection(new cz(d));else{let t=l.mapping.map(s);l.mapping.maps[l.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),l.setSelection($L(e,d,l.doc.resolve(t)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))}(e,t,e.dragging)}finally{e.dragging=null}},KL.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&mL(e)},20))},KL.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},KL.beforeinput=(e,t)=>{if(AM&&wM&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",t=>t(e,oM(8,"Backspace"))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let os in JL)KL[os]=JL[os];function _V(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}let CV=class e{constructor(e,t){this.toDOM=e,this.spec=t||UV,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:o}=e.mapResult(t.from+r,this.side<0?-1:1);return o?null:new XV(i-n,i-n,this)}valid(){return!0}eq(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&_V(this.spec,t.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}};class EV{constructor(e,t){this.attrs=e,this.spec=t||UV}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,o=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=o?null:new XV(i,o,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof EV&&_V(this.attrs,e.attrs)&&_V(this.spec,e.spec)}static is(e){return e.type instanceof EV}destroy(){}}let RV=class e{constructor(e,t){this.attrs=e,this.spec=t||UV}map(e,t,n,r){let i=e.mapResult(t.from+r,1);if(i.deleted)return null;let o=e.mapResult(t.to+r,-1);return o.deleted||o.pos<=i.pos?null:new XV(i.pos-n,o.pos-n,this)}valid(e,t){let n,{index:r,offset:i}=e.content.findIndex(t.from);return i==t.from&&!(n=e.child(r)).isText&&i+n.nodeSize==t.to}eq(t){return this==t||t instanceof e&&_V(this.attrs,t.attrs)&&_V(this.spec,t.spec)}destroy(){}},XV=class e{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(t,n){return new e(t,n,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(t,n,r){return new e(t,t,new CV(n,r))}static inline(t,n,r,i){return new e(t,n,new EV(r,i))}static node(t,n,r,i){return new e(t,n,new RV(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof EV}get widget(){return this.type instanceof CV}};const BV=[],UV={};class DV{constructor(e,t){this.local=e.length?e:BV,this.children=t.length?t:BV}static create(e,t){return t.length?VV(t,e,0,UV):IV}find(e,t,n){let r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}findInner(e,t,n,r,i){for(let o=0;o<this.local.length;o++){let a=this.local[o];a.from<=t&&a.to>=e&&(!i||i(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(let o=0;o<this.children.length;o+=3)if(this.children[o]<t&&this.children[o+1]>e){let a=this.children[o]+1;this.children[o+2].findInner(e-a,t-a,n,r+a,i)}}map(e,t,n){return this==IV||0==e.maps.length?this:this.mapInner(e,t,0,0,n||UV)}mapInner(e,t,n,r,i){let o;for(let a=0;a<this.local.length;a++){let s=this.local[a].map(e,n,r);s&&s.type.valid(t,s)?(o||(o=[])).push(s):i.onRemove&&i.onRemove(this.local[a].spec)}return this.children.length?function(e,t,n,r,i,o,a){let s=e.slice();for(let c=0,u=o;c<n.maps.length;c++){let e=0;n.maps[c].forEach((t,n,r,i)=>{let o=i-r-(n-t);for(let a=0;a<s.length;a+=3){let r=s[a+1];if(r<0||t>r+u-e)continue;let i=s[a]+u-e;n>=i?s[a+1]=t<=i?-2:-1:t>=u&&o&&(s[a]+=o,s[a+1]+=o)}e+=o}),u=n.maps[c].map(u,-1)}let l=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(-2==s[c+1]){l=!0,s[c+1]=-1;continue}let t=n.map(e[c]+o),u=t-i;if(u<0||u>=r.content.size){l=!0;continue}let O=n.map(e[c+1]+o,-1)-i,{index:d,offset:h}=r.content.findIndex(u),f=r.maybeChild(d);if(f&&h==u&&h+f.nodeSize==O){let r=s[c+2].mapInner(n,f,t+1,e[c]+o+1,a);r!=IV?(s[c]=u,s[c+1]=O,s[c+2]=r):(s[c+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,r,i,o,a){function s(e,t){for(let o=0;o<e.local.length;o++){let s=e.local[o].map(r,i,t);s?n.push(s):a.onRemove&&a.onRemove(e.local[o].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let l=0;l<e.length;l+=3)-1==e[l+1]&&s(e[l+2],t[l]+o+1);return n}(s,e,t,n,i,o,a),c=VV(l,r,0,a);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new DV(t.sort(qV),s)}(this.children,o||[],e,t,n,r,i):o?new DV(o.sort(qV),BV):IV}add(e,t){return t.length?this==IV?DV.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let r,i=0;e.forEach((e,o)=>{let a,s=o+n;if(a=MV(t,e,s)){for(r||(r=this.children.slice());i<r.length&&r[i]<o;)i+=3;r[i]==o?r[i+2]=r[i+2].addInner(e,a,s+1):r.splice(i,0,o,o+e.nodeSize,VV(a,e,s+1,UV)),i+=3}});let o=NV(i?LV(t):t,-n);for(let a=0;a<o.length;a++)o[a].type.valid(e,o[a])||o.splice(a--,1);return new DV(o.length?this.local.concat(o).sort(qV):this.local,r||this.children)}remove(e){return 0==e.length||this==IV?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,r=this.local;for(let i=0;i<n.length;i+=3){let r,o=n[i]+t,a=n[i+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>o&&t.to<a&&(e[n]=null,(r||(r=[])).push(t));if(!r)continue;n==this.children&&(n=this.children.slice());let s=n[i+2].removeInner(r,o+1);s!=IV?n[i+2]=s:(n.splice(i,3),i-=3)}if(r.length)for(let i,o=0;o<e.length;o++)if(i=e[o])for(let e=0;e<r.length;e++)r[e].eq(i,t)&&(r==this.local&&(r=this.local.slice()),r.splice(e--,1));return n==this.children&&r==this.local?this:r.length||n.length?new DV(r,n):IV}forChild(e,t){if(this==IV)return this;if(t.isLeaf)return DV.empty;let n,r;for(let a=0;a<this.children.length;a+=3)if(this.children[a]>=e){this.children[a]==e&&(n=this.children[a+2]);break}let i=e+1,o=i+t.content.size;for(let a=0;a<this.local.length;a++){let e=this.local[a];if(e.from<o&&e.to>i&&e.type instanceof EV){let t=Math.max(i,e.from)-i,n=Math.min(o,e.to)-i;t<n&&(r||(r=[])).push(e.copy(t,n))}}if(r){let e=new DV(r.sort(qV),BV);return n?new zV([e,n]):e}return n||IV}eq(e){if(this==e)return!0;if(!(e instanceof DV)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return FV(this.localsInner(e))}localsInner(e){if(this==IV)return BV;if(e.inlineContent||!this.local.some(EV.is))return this.local;let t=[];for(let n=0;n<this.local.length;n++)this.local[n].type instanceof EV||t.push(this.local[n]);return t}forEachSet(e){e(this)}}DV.empty=new DV([],[]),DV.removeOverlap=FV;const IV=DV.empty;class zV{constructor(e){this.members=e}map(e,t){const n=this.members.map(n=>n.map(e,t,UV));return zV.from(n)}forChild(e,t){if(t.isLeaf)return DV.empty;let n=[];for(let r=0;r<this.members.length;r++){let i=this.members[r].forChild(e,t);i!=IV&&(i instanceof zV?n=n.concat(i.members):n.push(i))}return zV.from(n)}eq(e){if(!(e instanceof zV)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(e);if(i.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<i.length;e++)t.push(i[e])}else t=i}return t?FV(n?t:t.sort(qV)):BV}static from(e){switch(e.length){case 0:return IV;case 1:return e[0];default:return new zV(e.every(e=>e instanceof DV)?e:e.reduce((e,t)=>e.concat(t instanceof DV?t:t.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function NV(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let i=e[r];n.push(new XV(i.from+t,i.to+t,i.type))}return n}function MV(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,i=null;for(let o,a=0;a<e.length;a++)(o=e[a])&&o.from>n&&o.to<r&&((i||(i=[])).push(o),e[a]=null);return i}function LV(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function VV(e,t,n,r){let i=[],o=!1;t.forEach((t,a)=>{let s=MV(e,t,a+n);if(s){o=!0;let e=VV(s,t,n+a+1,r);e!=IV&&i.push(a,a+t.nodeSize,e)}});let a=NV(o?LV(e):e,-n).sort(qV);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||i.length?new DV(a,i):IV}function qV(e,t){return e.from-t.from||e.to-t.to}function FV(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let i=n+1;i<t.length;i++){let o=t[i];if(o.from!=r.from){o.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,o.from),WV(t,i,r.copy(o.from,r.to)));break}o.to!=r.to&&(t==e&&(t=e.slice()),t[i]=o.copy(o.from,r.to),WV(t,i+1,o.copy(r.to,o.to)))}}return t}function WV(e,t,n){for(;t<e.length&&qV(n,e[t])>0;)t++;e.splice(t,0,n)}function ZV(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=IV&&t.push(r)}),e.cursorWrapper&&t.push(DV.create(e.state.doc,[e.cursorWrapper.deco])),zV.from(t)}const YV={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},jV=dM&&hM<=11;class GV{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}}let HV=class{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new GV,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e]);dM&&hM<=11&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():gM&&e.composing&&t.some(e=>"childList"==e.type&&"TR"==e.target.nodeName)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),jV&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.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,YV)),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 t=0;t<e.length;t++)this.queue.push(e[t]);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(SL(this.view)){if(this.suppressingSelectionUpdates)return mL(this.view);if(dM&&hM<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&JN(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 t,n=new Set;for(let i=e.focusNode;i;i=GN(i))n.add(i);for(let i=e.anchorNode;i;i=GN(i))if(n.has(i)){t=i;break}let r=t&&this.view.docView.nearestDesc(t);return r&&r.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 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 t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&SL(e)&&!this.ignoreSelectionChange(n),i=-1,o=-1,a=!1,s=[];if(e.editable)for(let c=0;c<t.length;c++){let e=this.registerMutation(t[c],s);e&&(i=i<0?e.from:Math.min(e.from,i),o=o<0?e.to:Math.max(e.to,o),e.typeOver&&(a=!0))}if(s.some(e=>"BR"==e.nodeName)&&(8==e.input.lastKeyCode||46==e.input.lastKeyCode||AM&&(e.composing||e.input.compositionEndedAt>Date.now()-50)&&t.some(e=>"childList"==e.type&&e.removedNodes.length))){for(let c of s)if("BR"==c.nodeName&&c.parentNode){let e=c.nextSibling;for(;e&&1==e.nodeType;){if("false"==e.contentEditable){c.parentNode.removeChild(c);break}e=e.firstChild}}}else if(fM&&s.length){let t=s.filter(e=>"BR"==e.nodeName);if(2==t.length){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;!t||"LI"!=t.nodeName||n&&tq(e,n)==t||r.remove()}}}let l=null;i<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&iM(n)&&(l=pL(e))&&l.eq(rz.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,mL(e),this.currentSelection.set(n),e.scrollToSelection()):(i>-1||r)&&(i>-1&&(e.docView.markDirty(i,o),function(e){if(KV.has(e))return;if(KV.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=fM,JV)return;JV=!0}}(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,function(e,t){var n;let{focusNode:r,focusOffset:i}=e.domSelectionRange();for(let o of t)if("TR"==(null===(n=o.parentNode)||void 0===n?void 0:n.nodeName)){let t=o.nextSibling;for(;t&&"TD"!=t.nodeName&&"TH"!=t.nodeName;)t=t.nextSibling;if(t){let n=t;for(;;){let e=n.firstChild;if(!e||1!=e.nodeType||"false"==e.contentEditable||/^(BR|IMG)$/.test(e.nodeName))break;n=e}n.insertBefore(o,n.firstChild),r==o&&e.domSelection().collapse(o,i)}else o.parentNode.removeChild(o)}}(e,s)),this.handleDOMChange(i,o,a,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||mL(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++){let r=e.addedNodes[n];t.push(r),3==r.nodeType&&(this.lastChangedTextNode=r)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,i=e.nextSibling;if(dM&&hM<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:o}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!o||Array.prototype.indexOf.call(e.addedNodes,o)<0)&&(i=o)}let o=r&&r.parentNode==e.target?jN(r)+1:0,a=n.localPosFromDOM(e.target,o,-1),s=i&&i.parentNode==e.target?jN(i):e.target.childNodes.length;return{from:a,to:n.localPosFromDOM(e.target,s,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}},KV=new WeakMap,JV=!1;function eq(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,o=t.endOffset,a=e.domAtPos(e.state.selection.anchor);return JN(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function tq(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function nq(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(gM&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||gM&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const rq=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function iq(e,t,n,r,i){let o=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=pL(e,t);if(n&&!e.state.selection.eq(n)){if(AM&&wM&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",t=>t(e,oM(13,"Enter"))))return;let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),o&&r.setMeta("composition",o),e.dispatch(r)}return}let a=e.state.doc.resolve(t),s=a.sharedDepth(n);t=a.before(s+1),n=e.state.doc.resolve(n).after(s+1);let l,c,u=e.state.selection,O=function(e,t,n){let r,{node:i,fromOffset:o,toOffset:a,from:s,to:l}=e.docView.parseRange(t,n),c=e.domSelectionRange(),u=c.anchorNode;if(u&&e.dom.contains(1==u.nodeType?u:u.parentNode)&&(r=[{node:u,offset:c.anchorOffset}],iM(c)||r.push({node:c.focusNode,offset:c.focusOffset})),AM&&8===e.input.lastKeyCode)for(let A=a;A>o;A--){let e=i.childNodes[A-1],t=e.pmViewDesc;if("BR"==e.nodeName&&!t){a=A;break}if(!t||t.size)break}let O=e.state.doc,d=e.someProp("domParser")||LR.fromSchema(e.state.schema),h=O.resolve(s),f=null,p=d.parse(i,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:o,to:a,preserveWhitespace:"pre"!=h.parent.type.whitespace||"full",findPositions:r,ruleFromNode:nq,context:h});if(r&&null!=r[0].pos){let e=r[0].pos,t=r[1]&&r[1].pos;null==t&&(t=e),f={anchor:e+s,head:t+s}}return{doc:p,sel:f,from:s,to:l}}(e,t,n),d=e.state.doc,h=d.slice(O.from,O.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(l=e.state.selection.to,c="end"):(l=e.state.selection.from,c="start"),e.input.lastKeyCode=null;let f=function(e,t,n,r,i){let o=e.findDiffStart(t,n),a=n+e.size,s=n+t.size;if(null==o)return null;let{a:l,b:c}=e.findDiffEnd(t,a,s);if("end"==i){r-=l+Math.max(0,o-Math.min(l,c))-o}if(l<o&&a<s){o-=r<=o&&r>=l?o-r:0,c=o+(c-l),l=o}else if(c<o){o-=r<=o&&r>=c?o-r:0,l=o+(l-c),c=o}return{start:o,endA:l,endB:c}}(h.content,O.doc.content,O.from,l,c);if(f&&e.input.domChangeCount++,(vM&&e.input.lastIOSEnter>Date.now()-225||wM)&&i.some(e=>1==e.nodeType&&!rq.test(e.nodeName))&&(!f||f.endA>=f.endB)&&e.someProp("handleKeyDown",t=>t(e,oM(13,"Enter"))))return void(e.input.lastIOSEnter=0);if(!f){if(!(r&&u instanceof sz&&!u.empty&&u.$head.sameParent(u.$anchor))||e.composing||O.sel&&O.sel.anchor!=O.sel.head){if(O.sel){let t=oq(e,e.state.doc,O.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);o&&n.setMeta("composition",o),e.dispatch(n)}}return}f={start:u.from,endA:u.to,endB:u.to}}e.state.selection.from<e.state.selection.to&&f.start==f.endB&&e.state.selection instanceof sz&&(f.start>e.state.selection.from&&f.start<=e.state.selection.from+2&&e.state.selection.from>=O.from?f.start=e.state.selection.from:f.endA<e.state.selection.to&&f.endA>=e.state.selection.to-2&&e.state.selection.to<=O.to&&(f.endB+=e.state.selection.to-f.endA,f.endA=e.state.selection.to)),dM&&hM<=11&&f.endB==f.start+1&&f.endA==f.start&&f.start>O.from&&"  "==O.doc.textBetween(f.start-O.from-1,f.start-O.from+1)&&(f.start--,f.endA--,f.endB--);let p=O.doc.resolveNoCache(f.start-O.from),A=O.doc.resolveNoCache(f.endB-O.from),m=d.resolve(f.start),g=p.sameParent(A)&&p.parent.inlineContent&&m.end()>=f.endA;if((vM&&e.input.lastIOSEnter>Date.now()-225&&(!g||i.some(e=>"DIV"==e.nodeName||"P"==e.nodeName))||!g&&p.pos<O.doc.content.size&&(!p.sameParent(A)||!p.parent.inlineContent)&&p.pos<A.pos&&!/\S/.test(O.doc.textBetween(p.pos,A.pos,"","")))&&e.someProp("handleKeyDown",t=>t(e,oM(13,"Enter"))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>f.start&&function(e,t,n,r,i){if(n-t<=i.pos-r.pos||aq(r,!0,!1)<i.pos)return!1;let o=e.resolve(t);if(!r.parent.isTextblock){let e=o.nodeAfter;return null!=e&&n==t+e.nodeSize}if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let a=e.resolve(aq(o,!0,!0));return!(!a.parent.isTextblock||a.pos>n||aq(a,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(a.parent.content)}(d,f.start,f.endA,p,A)&&e.someProp("handleKeyDown",t=>t(e,oM(8,"Backspace"))))return void(wM&&AM&&e.domObserver.suppressSelectionUpdates());AM&&f.endB==f.start&&(e.input.lastChromeDelete=Date.now()),wM&&!g&&p.start()!=A.start()&&0==A.parentOffset&&p.depth==A.depth&&O.sel&&O.sel.anchor==O.sel.head&&O.sel.head==f.endA&&(f.endB-=2,A=O.doc.resolveNoCache(f.endB-O.from),setTimeout(()=>{e.someProp("handleKeyDown",function(t){return t(e,oM(13,"Enter"))})},20));let v,y=f.start,b=f.endA,w=t=>{let n=t||e.state.tr.replace(y,b,O.doc.slice(f.start-O.from,f.endB-O.from));if(O.sel){let t=oq(e,n.doc,O.sel);t&&!(AM&&e.composing&&t.empty&&(f.start!=f.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==y||t.head==n.mapping.map(b)-1)||dM&&t.empty&&t.head==y)&&n.setSelection(t)}return o&&n.setMeta("composition",o),n.scrollIntoView()};if(g)if(p.pos==A.pos){dM&&hM<=11&&0==p.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>mL(e),20));let t=w(e.state.tr.delete(y,b)),n=d.resolve(f.start).marksAcross(d.resolve(f.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(f.endA==f.endB&&(v=function(e,t){let n,r,i,o=e.firstChild.marks,a=t.firstChild.marks,s=o,l=a;for(let u=0;u<a.length;u++)s=a[u].removeFromSet(s);for(let u=0;u<o.length;u++)l=o[u].removeFromSet(l);if(1==s.length&&0==l.length)r=s[0],n="add",i=e=>e.mark(r.addToSet(e.marks));else{if(0!=s.length||1!=l.length)return null;r=l[0],n="remove",i=e=>e.mark(r.removeFromSet(e.marks))}let c=[];for(let u=0;u<t.childCount;u++)c.push(i(t.child(u)));if(HE.from(c).eq(e))return{mark:r,type:n}}(p.parent.content.cut(p.parentOffset,A.parentOffset),m.parent.content.cut(m.parentOffset,f.endA-m.start())))){let t=w(e.state.tr);"add"==v.type?t.addMark(y,b,v.mark):t.removeMark(y,b,v.mark),e.dispatch(t)}else if(p.parent.child(p.index()).isText&&p.index()==A.index()-(A.textOffset?0:1)){let t=p.parent.textBetween(p.parentOffset,A.parentOffset),n=()=>w(e.state.tr.insertText(t,y,b));e.someProp("handleTextInput",r=>r(e,y,b,t,n))||e.dispatch(n())}else e.dispatch(w());else e.dispatch(w())}function oq(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:$L(e,t.resolve(n.anchor),t.resolve(n.head))}function aq(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}let sq=class{constructor(e,t){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 tV,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(dq),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=uq(this),cq(this),this.nodeViews=Oq(this),this.docView=JM(this.state.doc,lq(this),ZV(this),this.dom,this),this.domObserver=new HV(this,(e,t,n,r)=>iq(this,e,t,n,r)),this.domObserver.start(),function(e){for(let t in KL){let n=KL[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!oV(e,t)||iV(e,t)||!e.editable&&t.type in JL||n(e,t)},eV[t]?{passive:!0}:void 0)}gM&&e.dom.addEventListener("input",()=>null),rV(e)}(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 t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&rV(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(dq),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let n in this._props)t[n]=this._props[n];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let r=this.state,i=!1,o=!1;e.storedMarks&&this.composing&&(bV(this),o=!0),this.state=e;let a=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=Oq(this);(function(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r})(e,this.nodeViews)&&(this.nodeViews=e,i=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&rV(this),this.editable=uq(this),cq(this);let s=ZV(this),l=lq(this),c=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",u=i||!this.docView.matchesNode(e.doc,l,s);!u&&e.selection.eq(r.selection)||(o=!0);let O="preserve"==c&&o&&null==this.dom.style.overflowAnchor&&function(e){let t,n,r=e.dom.getBoundingClientRect(),i=Math.max(0,r.top);for(let o=(r.left+r.right)/2,a=i+1;a<Math.min(innerHeight,r.bottom);a+=5){let r=e.root.elementFromPoint(o,a);if(!r||r==e.dom||!e.dom.contains(r))continue;let s=r.getBoundingClientRect();if(s.top>=i-20){t=r,n=s.top;break}}return{refDOM:t,refTop:n,stack:TM(e.dom)}}(this);if(o){this.domObserver.stop();let t=u&&(dM||AM)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(r.selection,e.selection);if(u){let n=AM?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=wV(this)),!i&&this.docView.update(e.doc,l,s,this)||(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=JM(e.doc,l,s,this.dom,this)),!n||this.trackWrites&&this.dom.contains(this.trackWrites)||(t=!0)}let n=this.input.mouseDown;t||!(n&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return JN(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this)&&n.delaySelUpdate())?mL(this,t):(wL(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():O&&function({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;_M(n,0==r?0:r-t)}(O)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&this.dom.contains(1==e.nodeType?e:e.parentNode))if(this.someProp("handleScrollToSelection",e=>e(this)));else if(this.state.selection instanceof cz){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&PM(this,t.getBoundingClientRect(),e)}else PM(this,this.coordsAtPos(this.state.selection.head,1),e);else;}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)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,r=-1;if(n.from<this.state.doc.content.size&&this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&e<this.state.doc.content.size&&this.state.doc.nodeAt(e))==n.node&&(r=e)}this.dragging=new kV(e.slice,e.move,r<0?void 0:cz.create(this.state.doc,r))}someProp(e,t){let n,r=this._props&&this._props[e];if(null!=r&&(n=t?t(r):r))return n;for(let o=0;o<this.directPlugins.length;o++){let r=this.directPlugins[o].props[e];if(null!=r&&(n=t?t(r):r))return n}let i=this.state.plugins;if(i)for(let o=0;o<i.length;o++){let r=i[o].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(dM){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("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(CM)return e.focus(CM);let t=TM(e);e.focus(null==CM?{get preventScroll(){return CM={preventScroll:!0},!0}}:void 0),CM||(CM=!1,_M(t,0))}(this.dom),mL(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t;return e||document}updateRoot(){this._root=null}posAtCoords(e){return BM(this,e)}coordsAtPos(e,t=1){return zM(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return ZM(this,t||this.state,e)}pasteHTML(e,t){return SV(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return SV(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return NL(this,e)}destroy(){this.docView&&(!function(e){e.input.mouseDown&&e.input.mouseDown.done(),e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],ZV(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,HN=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){iV(e,t)||!KL[t.type]||!e.editable&&t.type in JL||KL[t.type](e,t)}(this,e)}domSelectionRange(){let e=this.domSelection();return e?gM&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return eq(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),n?eq(e,n):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};function lq(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))}),t.translate||(t.translate="no"),[XV.node(0,e.state.doc.content.size,t)]}function cq(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:XV.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function uq(e){return!e.someProp("editable",t=>!1===t(e.state))}function Oq(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function dq(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}sq.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))};var hq=e=>{throw TypeError(e)},fq=(e,t,n)=>t.has(e)||hq("Cannot "+n),pq=(e,t,n)=>(fq(e,t,"read from private field"),n?n.call(e):t.get(e)),Aq=(e,t,n)=>t.has(e)?hq("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),mq=(e,t,n,r)=>(fq(e,t,"write to private field"),t.set(e,n),n);function gq(e,t){return e.meta={package:"@milkdown/core",group:"System",...t},e}const vq={strong:(e,t,n,r)=>{const i=e.marker||n.options.strong||"*",o=n.enter("strong"),a=n.createTracker(r);let s=a.move(i+i);return s+=a.move(n.containerPhrasing(e,{before:s,after:i,...a.current()})),s+=a.move(i+i),o(),s},emphasis:(e,t,n,r)=>{const i=e.marker||n.options.emphasis||"*",o=n.enter("emphasis"),a=n.createTracker(r);let s=a.move(i);return s+=a.move(n.containerPhrasing(e,{before:s,after:i,...a.current()})),s+=a.move(i),o(),s}},yq=yE({},"editorView"),bq=yE({},"editorState"),wq=yE([],"initTimer"),Qq=yE({},"editor"),$q=yE([],"inputRules"),Sq=yE([],"prosePlugins"),xq=yE([],"remarkPlugins"),kq=yE([],"nodeView"),Pq=yE([],"markView"),Tq=yE(kD().use(rU).use(oD),"remark"),_q=yE({handlers:vq},"remarkStringifyOptions"),Cq=FE("ConfigReady");const Eq=FE("InitReady");function Rq(e){const t=t=>(t.inject(Qq,e).inject(Sq,[]).inject(xq,[]).inject($q,[]).inject(kq,[]).inject(Pq,[]).inject(_q,{handlers:vq}).inject(Tq,kD().use(rU).use(oD)).inject(wq,[Cq]).record(Eq),async()=>{await t.waitTimers(wq);const e=t.get(_q);return t.set(Tq,kD().use(rU).use(oD,e)),t.done(Eq),()=>{t.remove(Qq).remove(Sq).remove(xq).remove($q).remove(kq).remove(Pq).remove(_q).remove(Tq).remove(wq).clearTimer(Eq)}});return gq(t,{displayName:"Init"}),t}const Xq=FE("SchemaReady"),Bq=yE([],"schemaTimer"),Uq=yE({},"schema"),Dq=yE([],"nodes"),Iq=yE([],"marks");function zq(e){var t;return{...e,parseDOM:null==(t=e.parseDOM)?void 0:t.map(t=>({priority:e.priority,...t}))}}const Nq=e=>(e.inject(Uq,{}).inject(Dq,[]).inject(Iq,[]).inject(Bq,[Eq]).record(Xq),async()=>{await e.waitTimers(Bq);const t=e.get(Tq),n=e.get(xq).reduce((e,t)=>e.use(t.plugin,t.options),t);e.set(Tq,n);const r=Object.fromEntries(e.get(Dq).map(([e,t])=>[e,zq(t)])),i=Object.fromEntries(e.get(Iq).map(([e,t])=>[e,zq(t)])),o=new NR({nodes:r,marks:i});return e.set(Uq,o),e.done(Xq),()=>{e.remove(Uq).remove(Dq).remove(Iq).remove(Bq).clearTimer(Xq)}});var Mq,Lq;gq(Nq,{displayName:"Schema"});let Vq=class{constructor(){Aq(this,Mq),Aq(this,Lq),mq(this,Mq,new fE),mq(this,Lq,null),this.setCtx=e=>{mq(this,Lq,e)}}get ctx(){return pq(this,Lq)}create(e,t){const n=e.create(pq(this,Mq).sliceMap);return n.set(t),n}get(e){return pq(this,Mq).get(e).get()}remove(e){return pq(this,Mq).remove(e)}call(e,t){if(null==pq(this,Lq))throw new nE(tE.callCommandBeforeEditorView,"You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized");const n=this.get(e)(t),r=pq(this,Lq).get(yq);return n(r.state,r.dispatch,r)}};Mq=new WeakMap,Lq=new WeakMap;const qq=yE(new Vq,"commands"),Fq=yE([Xq],"commandsTimer"),Wq=FE("CommandsReady"),Zq=e=>{const t=new Vq;return t.setCtx(e),e.inject(qq,t).inject(Fq,[Xq]).record(Wq),async()=>(await e.waitTimers(Fq),e.done(Wq),()=>{e.remove(qq).remove(Fq).clearTimer(Wq)})};gq(Zq,{displayName:"Commands"});const Yq=FE("ParserReady"),jq=()=>{throw oE()},Gq=yE(jq,"parser"),Hq=yE([],"parserTimer"),Kq=e=>(e.inject(Gq,jq).inject(Hq,[Xq]).record(Yq),async()=>{await e.waitTimers(Hq);const t=e.get(Tq),n=e.get(Uq);return e.set(Gq,GD.create(n,t)),e.done(Yq),()=>{e.remove(Gq).remove(Hq).clearTimer(Yq)}});gq(Kq,{displayName:"Parser"});const Jq=FE("SerializerReady"),eF=yE([],"serializerTimer"),tF=()=>{throw oE()},nF=yE(tF,"serializer"),rF=e=>(e.inject(nF,tF).inject(eF,[Xq]).record(Jq),async()=>{await e.waitTimers(eF);const t=e.get(Tq),n=e.get(Uq);return e.set(nF,hI.create(n,t)),e.done(Jq),()=>{e.remove(nF).remove(eF).clearTimer(Jq)}});gq(rF,{displayName:"Serializer"});const iF=yE("","defaultValue"),oF=yE(e=>e,"stateOptions"),aF=yE([],"editorStateTimer"),sF=FE("EditorStateReady");function lF(e,t,n){if("string"==typeof e)return t(e);if("html"===e.type)return LR.fromSchema(n).parse(e.dom);if("json"===e.type)return bR.fromJSON(n,e.value);throw function(e){return new nE(tE.docTypeError,`Doc type error, unsupported type: ${iE(e)}`)}(e)}const cF=new Sz("MILKDOWN_STATE_TRACKER");function uF(e){const t=_N(kz,fN,pN,mN);return e.Backspace=t,e}const OF=e=>(e.inject(iF,"").inject(bq,{}).inject(oF,e=>e).inject(aF,[Yq,Jq,Wq]).record(sF),async()=>{await e.waitTimers(aF);const t=e.get(Uq),n=e.get(Gq),r=e.get($q),i=e.get(oF),o=e.get(Sq),a=lF(e.get(iF),n,t),s=[...o,new wz({key:cF,state:{init:()=>{},apply:(t,n,r,i)=>{e.set(bq,i)}}}),Kz({rules:r}),ZN(uF(BN))];e.set(Sq,s);const l=i({schema:t,doc:a,plugins:s}),c=yz.create(l);return e.set(bq,c),e.done(sF),()=>{e.remove(iF).remove(bq).remove(oF).remove(aF).clearTimer(sF)}});gq(OF,{displayName:"EditorState"});const dF=FE("EditorViewReady"),hF=yE([],"editorViewTimer"),fF=yE({},"editorViewOptions"),pF=yE(null,"root"),AF=yE(null,"rootDOM"),mF=yE({},"rootAttrs");const gF=new Sz("MILKDOWN_VIEW_CLEAR"),vF=e=>(e.inject(pF,document.body).inject(yq,{}).inject(fF,{}).inject(AF,null).inject(mF,{}).inject(hF,[sF]).record(dF),async()=>{await e.wait(Eq);const t=e.get(pF)||document.body,n="string"==typeof t?document.querySelector(t):t;e.update(Sq,t=>[new wz({key:gF,view:t=>{const r=n?function(e,t){const n=document.createElement("div");n.className="milkdown",e.appendChild(n),t.set(AF,n);const r=t.get(mF);return Object.entries(r).forEach(([e,t])=>n.setAttribute(e,t)),n}(n,e):void 0;return(()=>{if(r&&n){const e=t.dom;n.replaceChild(r,e),r.appendChild(e)}})(),{destroy:()=>{null!=r&&r.parentNode&&(null==r||r.parentNode.replaceChild(t.dom,r)),null==r||r.remove()}}}}),...t]),await e.waitTimers(hF);const r=e.get(bq),i=e.get(fF),o=Object.fromEntries(e.get(kq)),a=Object.fromEntries(e.get(Pq)),s=new sq(n,{state:r,nodeViews:o,markViews:a,...i});return function(e){e.classList.add("editor"),e.setAttribute("role","textbox")}(s.dom),e.set(yq,s),e.done(dF),()=>{null==s||s.destroy(),e.remove(pF).remove(yq).remove(fF).remove(AF).remove(mF).remove(hF).clearTimer(dF)}});var yF,bF,wF,QF,$F,SF,xF,kF,PF,TF,_F,CF,EF,RF,XF;gq(vF,{displayName:"EditorView"});yF=new WeakMap,bF=new WeakMap,wF=new WeakMap,QF=new WeakMap,$F=new WeakMap,SF=new WeakMap,xF=new WeakMap,kF=new WeakMap,PF=new WeakMap,TF=new WeakMap,_F=new WeakMap,CF=new WeakMap,EF=new WeakMap,RF=new WeakMap,XF=new WeakMap;let BF=class e{constructor(){Aq(this,yF),Aq(this,bF),Aq(this,wF),Aq(this,QF),Aq(this,$F),Aq(this,SF),Aq(this,xF),Aq(this,kF),Aq(this,PF),Aq(this,TF),Aq(this,_F),Aq(this,CF),Aq(this,EF),Aq(this,RF),Aq(this,XF),mq(this,yF,!1),mq(this,bF,"Idle"),mq(this,wF,[]),mq(this,QF,()=>{}),mq(this,$F,new fE),mq(this,SF,new UE),mq(this,xF,new Map),mq(this,kF,new Map),mq(this,PF,new BE(pq(this,$F),pq(this,SF))),mq(this,TF,()=>{const e=function(e){const t=t=>(t.record(Cq),async()=>(await e(t),t.done(Cq),()=>{t.clearTimer(Cq)}));return gq(t,{displayName:"Config"}),t}(async e=>{await Promise.all(pq(this,wF).map(t=>t(e)))}),t=[Nq,Kq,rF,Zq,OF,vF,Rq(this),e];pq(this,_F).call(this,t,pq(this,kF))}),mq(this,_F,(e,t)=>{e.forEach(e=>{const n=pq(this,PF).produce(pq(this,yF)?e.meta:void 0),r=e(n);t.set(e,{ctx:n,handler:r,cleanup:void 0})})}),mq(this,CF,(e,t=!1)=>Promise.all([e].flat().map(e=>{const n=pq(this,xF).get(e),r=null==n?void 0:n.cleanup;return t?pq(this,xF).delete(e):pq(this,xF).set(e,{ctx:void 0,handler:void 0,cleanup:void 0}),"function"==typeof r?r():r}))),mq(this,EF,async()=>{await Promise.all([...pq(this,kF).entries()].map(([e,{cleanup:t}])=>"function"==typeof t?t():t)),pq(this,kF).clear()}),mq(this,RF,e=>{mq(this,bF,e),pq(this,QF).call(this,e)}),mq(this,XF,e=>[...e.entries()].map(async([t,n])=>{const{ctx:r,handler:i}=n;if(!i)return;const o=await i();e.set(t,{ctx:r,handler:i,cleanup:o})})),this.enableInspector=(e=!0)=>(mq(this,yF,e),this),this.onStatusChange=e=>(mq(this,QF,e),this),this.config=e=>(pq(this,wF).push(e),this),this.removeConfig=e=>(mq(this,wF,pq(this,wF).filter(t=>t!==e)),this),this.use=e=>{const t=[e].flat();return t.flat().forEach(e=>{pq(this,xF).set(e,{ctx:void 0,handler:void 0,cleanup:void 0})}),"Created"===pq(this,bF)&&pq(this,_F).call(this,t,pq(this,xF)),this},this.remove=async e=>"OnCreate"===pq(this,bF)?new Promise(t=>{setTimeout(()=>{t(this.remove(e))},50)}):(await pq(this,CF).call(this,[e].flat(),!0),this),this.create=async()=>("OnCreate"===pq(this,bF)||("Created"===pq(this,bF)&&await this.destroy(),pq(this,RF).call(this,"OnCreate"),pq(this,TF).call(this),pq(this,_F).call(this,[...pq(this,xF).keys()],pq(this,xF)),await Promise.all([pq(this,XF).call(this,pq(this,kF)),pq(this,XF).call(this,pq(this,xF))].flat()),pq(this,RF).call(this,"Created")),this),this.destroy=async(e=!1)=>"Destroyed"===pq(this,bF)||"OnDestroy"===pq(this,bF)?this:"OnCreate"===pq(this,bF)?new Promise(t=>{setTimeout(()=>{t(this.destroy(e))},50)}):(e&&mq(this,wF,[]),pq(this,RF).call(this,"OnDestroy"),await pq(this,CF).call(this,[...pq(this,xF).keys()],e),await pq(this,EF).call(this),pq(this,RF).call(this,"Destroyed"),this),this.action=e=>e(pq(this,PF)),this.inspect=()=>pq(this,yF)?[...pq(this,kF).values(),...pq(this,xF).values()].map(({ctx:e})=>{var t;return null==(t=null==e?void 0:e.inspector)?void 0:t.read()}).filter(e=>!!e):[]}static make(){return new e}get ctx(){return pq(this,PF)}get status(){return pq(this,bF)}};function UF(e,t){const n=function(e="cmdKey"){return yE(()=>()=>!1,e)}(e),r=i=>async()=>{r.key=n,await i.wait(Wq);const o=t(i);return i.get(qq).create(n,o),r.run=t=>i.get(qq).call(e,t),()=>{i.get(qq).remove(n)}};return r}function DF(e){const t=n=>async()=>{await n.wait(Xq);const r=e(n);return n.update($q,e=>[...e,r]),t.inputRule=r,()=>{n.update($q,e=>e.filter(e=>e!==r))}};return t}function IF(e,t){const n=r=>async()=>{const i=t(r);return r.update(Iq,t=>[...t.filter(t=>t[0]!==e),[e,i]]),n.id=e,n.schema=i,()=>{r.update(Iq,t=>t.filter(([t])=>t!==e))}};return n.type=t=>{const n=t.get(Uq).marks[e];if(!n)throw function(e){return new nE(tE.missingMarkInSchema,`Missing mark in schema, milkdown cannot find "${e}" in schema.`)}(e);return n},n}function zF(e,t){const n=r=>async()=>{const i=t(r);return r.update(Dq,t=>[...t.filter(t=>t[0]!==e),[e,i]]),n.id=e,n.schema=i,()=>{r.update(Dq,t=>t.filter(([t])=>t!==e))}};return n.type=t=>{const n=t.get(Uq).nodes[e];if(!n)throw lE(e);return n},n}function NF(e){let t;const n=n=>async()=>(await n.wait(Xq),t=e(n),n.update(Sq,e=>[...e,t]),()=>{n.update(Sq,e=>e.filter(e=>e!==t))});return n.plugin=()=>t,n.key=()=>t.spec.key,n}function MF(e){const t=n=>async()=>{await n.wait(Xq);const r=e(n),i=ZN(r);return n.update(Sq,e=>[...e,i]),t.keymap=r,()=>{n.update(Sq,e=>e.filter(e=>e!==i))}};return t}function LF(e,t){const n=r=>async()=>{await r.wait(Xq);const i=t(r);return e.type(r)instanceof DR?r.update(kq,t=>[...t,[e.id,i]]):r.update(Pq,t=>[...t,[e.id,i]]),n.view=i,n.type=e,()=>{e.type(r)instanceof DR?r.update(kq,t=>t.filter(t=>t[0]!==e.id)):r.update(Pq,t=>t.filter(t=>t[0]!==e.id))}};return n}function VF(e,t){const n=yE(e,t),r=e=>(e.inject(n),()=>()=>{e.remove(n)});return r.key=n,r}function qF(e,t){const n=VF(t,e),r=zF(e,e=>e.get(n.key)(e)),i=[n,r];return i.id=r.id,i.node=r,i.type=e=>r.type(e),i.schema=r.schema,i.ctx=n,i.key=n.key,i.extendSchema=t=>r=>()=>{const o=r.get(n.key),a=t(o)(r);r.update(Dq,t=>[...t.filter(t=>t[0]!==e),[e,a]]),i.schema=a},i}function FF(e,t){const n=VF(t,e),r=IF(e,e=>e.get(n.key)(e)),i=[n,r];return i.id=r.id,i.mark=r,i.type=r.type,i.schema=r.schema,i.ctx=n,i.key=n.key,i.extendSchema=t=>r=>()=>{const o=r.get(n.key),a=t(o)(r);r.update(Iq,t=>[...t.filter(t=>t[0]!==e),[e,a]]),i.schema=a},i}function WF(e,t){const n=Object.fromEntries(Object.entries(t).map(([e,{shortcuts:t}])=>[e,t])),r=VF(n,`${e}Keymap`),i=MF(e=>{const n=e.get(r.key),i=Object.entries(t).flatMap(([t,{command:r}])=>[n[t]].flat().map(t=>[t,r(e)]));return Object.fromEntries(i)}),o=[r,i];return o.ctx=r,o.shortcuts=i,o.key=r.key,o.keymap=i.keymap,o}const ZF=(e,t=()=>({}))=>VF(t,`${e}Attr`),YF=(e,t=()=>({}))=>VF(t,`${e}Attr`);function jF(e,t,n){const r=VF({},e),i=e=>async()=>{await e.wait(Eq);const n={plugin:t(e),options:e.get(r.key)};return e.update(xq,e=>[...e,n]),()=>{e.update(xq,e=>e.filter(e=>e!==n))}},o=[r,i];return o.id=e,o.plugin=i,o.options=r,o}function GF(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const HF=[["ß","ss"],["ẞ","Ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["ẞ","SS"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["¥","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["𝐀","A"],["𝐁","B"],["𝐂","C"],["𝐃","D"],["𝐄","E"],["𝐅","F"],["𝐆","G"],["𝐇","H"],["𝐈","I"],["𝐉","J"],["𝐊","K"],["𝐋","L"],["𝐌","M"],["𝐍","N"],["𝐎","O"],["𝐏","P"],["𝐐","Q"],["𝐑","R"],["𝐒","S"],["𝐓","T"],["𝐔","U"],["𝐕","V"],["𝐖","W"],["𝐗","X"],["𝐘","Y"],["𝐙","Z"],["𝐚","a"],["𝐛","b"],["𝐜","c"],["𝐝","d"],["𝐞","e"],["𝐟","f"],["𝐠","g"],["𝐡","h"],["𝐢","i"],["𝐣","j"],["𝐤","k"],["𝐥","l"],["𝐦","m"],["𝐧","n"],["𝐨","o"],["𝐩","p"],["𝐪","q"],["𝐫","r"],["𝐬","s"],["𝐭","t"],["𝐮","u"],["𝐯","v"],["𝐰","w"],["𝐱","x"],["𝐲","y"],["𝐳","z"],["𝐴","A"],["𝐵","B"],["𝐶","C"],["𝐷","D"],["𝐸","E"],["𝐹","F"],["𝐺","G"],["𝐻","H"],["𝐼","I"],["𝐽","J"],["𝐾","K"],["𝐿","L"],["𝑀","M"],["𝑁","N"],["𝑂","O"],["𝑃","P"],["𝑄","Q"],["𝑅","R"],["𝑆","S"],["𝑇","T"],["𝑈","U"],["𝑉","V"],["𝑊","W"],["𝑋","X"],["𝑌","Y"],["𝑍","Z"],["𝑎","a"],["𝑏","b"],["𝑐","c"],["𝑑","d"],["𝑒","e"],["𝑓","f"],["𝑔","g"],["𝑖","i"],["𝑗","j"],["𝑘","k"],["𝑙","l"],["𝑚","m"],["𝑛","n"],["𝑜","o"],["𝑝","p"],["𝑞","q"],["𝑟","r"],["𝑠","s"],["𝑡","t"],["𝑢","u"],["𝑣","v"],["𝑤","w"],["𝑥","x"],["𝑦","y"],["𝑧","z"],["𝑨","A"],["𝑩","B"],["𝑪","C"],["𝑫","D"],["𝑬","E"],["𝑭","F"],["𝑮","G"],["𝑯","H"],["𝑰","I"],["𝑱","J"],["𝑲","K"],["𝑳","L"],["𝑴","M"],["𝑵","N"],["𝑶","O"],["𝑷","P"],["𝑸","Q"],["𝑹","R"],["𝑺","S"],["𝑻","T"],["𝑼","U"],["𝑽","V"],["𝑾","W"],["𝑿","X"],["𝒀","Y"],["𝒁","Z"],["𝒂","a"],["𝒃","b"],["𝒄","c"],["𝒅","d"],["𝒆","e"],["𝒇","f"],["𝒈","g"],["𝒉","h"],["𝒊","i"],["𝒋","j"],["𝒌","k"],["𝒍","l"],["𝒎","m"],["𝒏","n"],["𝒐","o"],["𝒑","p"],["𝒒","q"],["𝒓","r"],["𝒔","s"],["𝒕","t"],["𝒖","u"],["𝒗","v"],["𝒘","w"],["𝒙","x"],["𝒚","y"],["𝒛","z"],["𝒜","A"],["𝒞","C"],["𝒟","D"],["𝒢","g"],["𝒥","J"],["𝒦","K"],["𝒩","N"],["𝒪","O"],["𝒫","P"],["𝒬","Q"],["𝒮","S"],["𝒯","T"],["𝒰","U"],["𝒱","V"],["𝒲","W"],["𝒳","X"],["𝒴","Y"],["𝒵","Z"],["𝒶","a"],["𝒷","b"],["𝒸","c"],["𝒹","d"],["𝒻","f"],["𝒽","h"],["𝒾","i"],["𝒿","j"],["𝓀","h"],["𝓁","l"],["𝓂","m"],["𝓃","n"],["𝓅","p"],["𝓆","q"],["𝓇","r"],["𝓈","s"],["𝓉","t"],["𝓊","u"],["𝓋","v"],["𝓌","w"],["𝓍","x"],["𝓎","y"],["𝓏","z"],["𝓐","A"],["𝓑","B"],["𝓒","C"],["𝓓","D"],["𝓔","E"],["𝓕","F"],["𝓖","G"],["𝓗","H"],["𝓘","I"],["𝓙","J"],["𝓚","K"],["𝓛","L"],["𝓜","M"],["𝓝","N"],["𝓞","O"],["𝓟","P"],["𝓠","Q"],["𝓡","R"],["𝓢","S"],["𝓣","T"],["𝓤","U"],["𝓥","V"],["𝓦","W"],["𝓧","X"],["𝓨","Y"],["𝓩","Z"],["𝓪","a"],["𝓫","b"],["𝓬","c"],["𝓭","d"],["𝓮","e"],["𝓯","f"],["𝓰","g"],["𝓱","h"],["𝓲","i"],["𝓳","j"],["𝓴","k"],["𝓵","l"],["𝓶","m"],["𝓷","n"],["𝓸","o"],["𝓹","p"],["𝓺","q"],["𝓻","r"],["𝓼","s"],["𝓽","t"],["𝓾","u"],["𝓿","v"],["𝔀","w"],["𝔁","x"],["𝔂","y"],["𝔃","z"],["𝔄","A"],["𝔅","B"],["𝔇","D"],["𝔈","E"],["𝔉","F"],["𝔊","G"],["𝔍","J"],["𝔎","K"],["𝔏","L"],["𝔐","M"],["𝔑","N"],["𝔒","O"],["𝔓","P"],["𝔔","Q"],["𝔖","S"],["𝔗","T"],["𝔘","U"],["𝔙","V"],["𝔚","W"],["𝔛","X"],["𝔜","Y"],["𝔞","a"],["𝔟","b"],["𝔠","c"],["𝔡","d"],["𝔢","e"],["𝔣","f"],["𝔤","g"],["𝔥","h"],["𝔦","i"],["𝔧","j"],["𝔨","k"],["𝔩","l"],["𝔪","m"],["𝔫","n"],["𝔬","o"],["𝔭","p"],["𝔮","q"],["𝔯","r"],["𝔰","s"],["𝔱","t"],["𝔲","u"],["𝔳","v"],["𝔴","w"],["𝔵","x"],["𝔶","y"],["𝔷","z"],["𝔸","A"],["𝔹","B"],["𝔻","D"],["𝔼","E"],["𝔽","F"],["𝔾","G"],["𝕀","I"],["𝕁","J"],["𝕂","K"],["𝕃","L"],["𝕄","M"],["𝕆","N"],["𝕊","S"],["𝕋","T"],["𝕌","U"],["𝕍","V"],["𝕎","W"],["𝕏","X"],["𝕐","Y"],["𝕒","a"],["𝕓","b"],["𝕔","c"],["𝕕","d"],["𝕖","e"],["𝕗","f"],["𝕘","g"],["𝕙","h"],["𝕚","i"],["𝕛","j"],["𝕜","k"],["𝕝","l"],["𝕞","m"],["𝕟","n"],["𝕠","o"],["𝕡","p"],["𝕢","q"],["𝕣","r"],["𝕤","s"],["𝕥","t"],["𝕦","u"],["𝕧","v"],["𝕨","w"],["𝕩","x"],["𝕪","y"],["𝕫","z"],["𝕬","A"],["𝕭","B"],["𝕮","C"],["𝕯","D"],["𝕰","E"],["𝕱","F"],["𝕲","G"],["𝕳","H"],["𝕴","I"],["𝕵","J"],["𝕶","K"],["𝕷","L"],["𝕸","M"],["𝕹","N"],["𝕺","O"],["𝕻","P"],["𝕼","Q"],["𝕽","R"],["𝕾","S"],["𝕿","T"],["𝖀","U"],["𝖁","V"],["𝖂","W"],["𝖃","X"],["𝖄","Y"],["𝖅","Z"],["𝖆","a"],["𝖇","b"],["𝖈","c"],["𝖉","d"],["𝖊","e"],["𝖋","f"],["𝖌","g"],["𝖍","h"],["𝖎","i"],["𝖏","j"],["𝖐","k"],["𝖑","l"],["𝖒","m"],["𝖓","n"],["𝖔","o"],["𝖕","p"],["𝖖","q"],["𝖗","r"],["𝖘","s"],["𝖙","t"],["𝖚","u"],["𝖛","v"],["𝖜","w"],["𝖝","x"],["𝖞","y"],["𝖟","z"],["𝖠","A"],["𝖡","B"],["𝖢","C"],["𝖣","D"],["𝖤","E"],["𝖥","F"],["𝖦","G"],["𝖧","H"],["𝖨","I"],["𝖩","J"],["𝖪","K"],["𝖫","L"],["𝖬","M"],["𝖭","N"],["𝖮","O"],["𝖯","P"],["𝖰","Q"],["𝖱","R"],["𝖲","S"],["𝖳","T"],["𝖴","U"],["𝖵","V"],["𝖶","W"],["𝖷","X"],["𝖸","Y"],["𝖹","Z"],["𝖺","a"],["𝖻","b"],["𝖼","c"],["𝖽","d"],["𝖾","e"],["𝖿","f"],["𝗀","g"],["𝗁","h"],["𝗂","i"],["𝗃","j"],["𝗄","k"],["𝗅","l"],["𝗆","m"],["𝗇","n"],["𝗈","o"],["𝗉","p"],["𝗊","q"],["𝗋","r"],["𝗌","s"],["𝗍","t"],["𝗎","u"],["𝗏","v"],["𝗐","w"],["𝗑","x"],["𝗒","y"],["𝗓","z"],["𝗔","A"],["𝗕","B"],["𝗖","C"],["𝗗","D"],["𝗘","E"],["𝗙","F"],["𝗚","G"],["𝗛","H"],["𝗜","I"],["𝗝","J"],["𝗞","K"],["𝗟","L"],["𝗠","M"],["𝗡","N"],["𝗢","O"],["𝗣","P"],["𝗤","Q"],["𝗥","R"],["𝗦","S"],["𝗧","T"],["𝗨","U"],["𝗩","V"],["𝗪","W"],["𝗫","X"],["𝗬","Y"],["𝗭","Z"],["𝗮","a"],["𝗯","b"],["𝗰","c"],["𝗱","d"],["𝗲","e"],["𝗳","f"],["𝗴","g"],["𝗵","h"],["𝗶","i"],["𝗷","j"],["𝗸","k"],["𝗹","l"],["𝗺","m"],["𝗻","n"],["𝗼","o"],["𝗽","p"],["𝗾","q"],["𝗿","r"],["𝘀","s"],["𝘁","t"],["𝘂","u"],["𝘃","v"],["𝘄","w"],["𝘅","x"],["𝘆","y"],["𝘇","z"],["𝘈","A"],["𝘉","B"],["𝘊","C"],["𝘋","D"],["𝘌","E"],["𝘍","F"],["𝘎","G"],["𝘏","H"],["𝘐","I"],["𝘑","J"],["𝘒","K"],["𝘓","L"],["𝘔","M"],["𝘕","N"],["𝘖","O"],["𝘗","P"],["𝘘","Q"],["𝘙","R"],["𝘚","S"],["𝘛","T"],["𝘜","U"],["𝘝","V"],["𝘞","W"],["𝘟","X"],["𝘠","Y"],["𝘡","Z"],["𝘢","a"],["𝘣","b"],["𝘤","c"],["𝘥","d"],["𝘦","e"],["𝘧","f"],["𝘨","g"],["𝘩","h"],["𝘪","i"],["𝘫","j"],["𝘬","k"],["𝘭","l"],["𝘮","m"],["𝘯","n"],["𝘰","o"],["𝘱","p"],["𝘲","q"],["𝘳","r"],["𝘴","s"],["𝘵","t"],["𝘶","u"],["𝘷","v"],["𝘸","w"],["𝘹","x"],["𝘺","y"],["𝘻","z"],["𝘼","A"],["𝘽","B"],["𝘾","C"],["𝘿","D"],["𝙀","E"],["𝙁","F"],["𝙂","G"],["𝙃","H"],["𝙄","I"],["𝙅","J"],["𝙆","K"],["𝙇","L"],["𝙈","M"],["𝙉","N"],["𝙊","O"],["𝙋","P"],["𝙌","Q"],["𝙍","R"],["𝙎","S"],["𝙏","T"],["𝙐","U"],["𝙑","V"],["𝙒","W"],["𝙓","X"],["𝙔","Y"],["𝙕","Z"],["𝙖","a"],["𝙗","b"],["𝙘","c"],["𝙙","d"],["𝙚","e"],["𝙛","f"],["𝙜","g"],["𝙝","h"],["𝙞","i"],["𝙟","j"],["𝙠","k"],["𝙡","l"],["𝙢","m"],["𝙣","n"],["𝙤","o"],["𝙥","p"],["𝙦","q"],["𝙧","r"],["𝙨","s"],["𝙩","t"],["𝙪","u"],["𝙫","v"],["𝙬","w"],["𝙭","x"],["𝙮","y"],["𝙯","z"],["𝙰","A"],["𝙱","B"],["𝙲","C"],["𝙳","D"],["𝙴","E"],["𝙵","F"],["𝙶","G"],["𝙷","H"],["𝙸","I"],["𝙹","J"],["𝙺","K"],["𝙻","L"],["𝙼","M"],["𝙽","N"],["𝙾","O"],["𝙿","P"],["𝚀","Q"],["𝚁","R"],["𝚂","S"],["𝚃","T"],["𝚄","U"],["𝚅","V"],["𝚆","W"],["𝚇","X"],["𝚈","Y"],["𝚉","Z"],["𝚊","a"],["𝚋","b"],["𝚌","c"],["𝚍","d"],["𝚎","e"],["𝚏","f"],["𝚐","g"],["𝚑","h"],["𝚒","i"],["𝚓","j"],["𝚔","k"],["𝚕","l"],["𝚖","m"],["𝚗","n"],["𝚘","o"],["𝚙","p"],["𝚚","q"],["𝚛","r"],["𝚜","s"],["𝚝","t"],["𝚞","u"],["𝚟","v"],["𝚠","w"],["𝚡","x"],["𝚢","y"],["𝚣","z"],["𝚤","l"],["𝚥","j"],["𝛢","A"],["𝛣","B"],["𝛤","G"],["𝛥","D"],["𝛦","E"],["𝛧","Z"],["𝛨","I"],["𝛩","TH"],["𝛪","I"],["𝛫","K"],["𝛬","L"],["𝛭","M"],["𝛮","N"],["𝛯","KS"],["𝛰","O"],["𝛱","P"],["𝛲","R"],["𝛳","TH"],["𝛴","S"],["𝛵","T"],["𝛶","Y"],["𝛷","F"],["𝛸","x"],["𝛹","PS"],["𝛺","O"],["𝛻","D"],["𝛼","a"],["𝛽","b"],["𝛾","g"],["𝛿","d"],["𝜀","e"],["𝜁","z"],["𝜂","i"],["𝜃","th"],["𝜄","i"],["𝜅","k"],["𝜆","l"],["𝜇","m"],["𝜈","n"],["𝜉","ks"],["𝜊","o"],["𝜋","p"],["𝜌","r"],["𝜍","s"],["𝜎","s"],["𝜏","t"],["𝜐","y"],["𝜑","f"],["𝜒","x"],["𝜓","ps"],["𝜔","o"],["𝜕","d"],["𝜖","E"],["𝜗","TH"],["𝜘","K"],["𝜙","f"],["𝜚","r"],["𝜛","p"],["𝜜","A"],["𝜝","V"],["𝜞","G"],["𝜟","D"],["𝜠","E"],["𝜡","Z"],["𝜢","I"],["𝜣","TH"],["𝜤","I"],["𝜥","K"],["𝜦","L"],["𝜧","M"],["𝜨","N"],["𝜩","KS"],["𝜪","O"],["𝜫","P"],["𝜬","S"],["𝜭","TH"],["𝜮","S"],["𝜯","T"],["𝜰","Y"],["𝜱","F"],["𝜲","X"],["𝜳","PS"],["𝜴","O"],["𝜵","D"],["𝜶","a"],["𝜷","v"],["𝜸","g"],["𝜹","d"],["𝜺","e"],["𝜻","z"],["𝜼","i"],["𝜽","th"],["𝜾","i"],["𝜿","k"],["𝝀","l"],["𝝁","m"],["𝝂","n"],["𝝃","ks"],["𝝄","o"],["𝝅","p"],["𝝆","r"],["𝝇","s"],["𝝈","s"],["𝝉","t"],["𝝊","y"],["𝝋","f"],["𝝌","x"],["𝝍","ps"],["𝝎","o"],["𝝏","a"],["𝝐","e"],["𝝑","i"],["𝝒","k"],["𝝓","f"],["𝝔","r"],["𝝕","p"],["𝝖","A"],["𝝗","B"],["𝝘","G"],["𝝙","D"],["𝝚","E"],["𝝛","Z"],["𝝜","I"],["𝝝","TH"],["𝝞","I"],["𝝟","K"],["𝝠","L"],["𝝡","M"],["𝝢","N"],["𝝣","KS"],["𝝤","O"],["𝝥","P"],["𝝦","R"],["𝝧","TH"],["𝝨","S"],["𝝩","T"],["𝝪","Y"],["𝝫","F"],["𝝬","X"],["𝝭","PS"],["𝝮","O"],["𝝯","D"],["𝝰","a"],["𝝱","v"],["𝝲","g"],["𝝳","d"],["𝝴","e"],["𝝵","z"],["𝝶","i"],["𝝷","th"],["𝝸","i"],["𝝹","k"],["𝝺","l"],["𝝻","m"],["𝝼","n"],["𝝽","ks"],["𝝾","o"],["𝝿","p"],["𝞀","r"],["𝞁","s"],["𝞂","s"],["𝞃","t"],["𝞄","y"],["𝞅","f"],["𝞆","x"],["𝞇","ps"],["𝞈","o"],["𝞉","a"],["𝞊","e"],["𝞋","i"],["𝞌","k"],["𝞍","f"],["𝞎","r"],["𝞏","p"],["𝞐","A"],["𝞑","V"],["𝞒","G"],["𝞓","D"],["𝞔","E"],["𝞕","Z"],["𝞖","I"],["𝞗","TH"],["𝞘","I"],["𝞙","K"],["𝞚","L"],["𝞛","M"],["𝞜","N"],["𝞝","KS"],["𝞞","O"],["𝞟","P"],["𝞠","S"],["𝞡","TH"],["𝞢","S"],["𝞣","T"],["𝞤","Y"],["𝞥","F"],["𝞦","X"],["𝞧","PS"],["𝞨","O"],["𝞩","D"],["𝞪","av"],["𝞫","g"],["𝞬","d"],["𝞭","e"],["𝞮","z"],["𝞯","i"],["𝞰","i"],["𝞱","th"],["𝞲","i"],["𝞳","k"],["𝞴","l"],["𝞵","m"],["𝞶","n"],["𝞷","ks"],["𝞸","o"],["𝞹","p"],["𝞺","r"],["𝞻","s"],["𝞼","s"],["𝞽","t"],["𝞾","y"],["𝞿","f"],["𝟀","x"],["𝟁","ps"],["𝟂","o"],["𝟃","a"],["𝟄","e"],["𝟅","i"],["𝟆","k"],["𝟇","f"],["𝟈","r"],["𝟉","p"],["𝟊","F"],["𝟋","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(b)"],["ⓓ","(c)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["𝟎","0"],["𝟏","1"],["𝟐","2"],["𝟑","3"],["𝟒","4"],["𝟓","5"],["𝟔","6"],["𝟕","7"],["𝟖","8"],["𝟗","9"],["𝟘","0"],["𝟙","1"],["𝟚","2"],["𝟛","3"],["𝟜","4"],["𝟝","5"],["𝟞","6"],["𝟟","7"],["𝟠","8"],["𝟡","9"],["𝟢","0"],["𝟣","1"],["𝟤","2"],["𝟥","3"],["𝟦","4"],["𝟧","5"],["𝟨","6"],["𝟩","7"],["𝟪","8"],["𝟫","9"],["𝟬","0"],["𝟭","1"],["𝟮","2"],["𝟯","3"],["𝟰","4"],["𝟱","5"],["𝟲","6"],["𝟳","7"],["𝟴","8"],["𝟵","9"],["𝟶","0"],["𝟷","1"],["𝟸","2"],["𝟹","3"],["𝟺","4"],["𝟻","5"],["𝟼","6"],["𝟽","7"],["𝟾","8"],["𝟿","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["🙰","&"],["🙱","&"],["🙲","&"],["🙳","&"],["🙴","&"],["🙵","&"],["🙶",'"'],["🙷",'"'],["🙸",'"'],["‽","?!"],["🙹","?!"],["🙺","?!"],["🙻","?!"],["🙼","/"],["🙽","\\"],["🜇","AR"],["🜈","V"],["🜉","V"],["🜆","VR"],["🜅","VF"],["🜩","2"],["🜪","5"],["🝡","f"],["🝢","W"],["🝣","U"],["🝧","V"],["🝨","T"],["🝪","V"],["🝫","MB"],["🝬","VB"],["🝲","3B"],["🝳","3B"],["💯","100"],["🔙","BACK"],["🔚","END"],["🔛","ON!"],["🔜","SOON"],["🔝","TOP"],["🔞","18"],["🔤","abc"],["🔠","ABCD"],["🔡","abcd"],["🔢","1234"],["🔣","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["🔟","10"],["🅰️","A"],["🅱️","B"],["🆎","AB"],["🆑","CL"],["🅾️","O"],["🅿","P"],["🆘","SOS"],["🅲","C"],["🅳","D"],["🅴","E"],["🅵","F"],["🅶","G"],["🅷","H"],["🅸","I"],["🅹","J"],["🅺","K"],["🅻","L"],["🅼","M"],["🅽","N"],["🆀","Q"],["🆁","R"],["🆂","S"],["🆃","T"],["🆄","U"],["🆅","V"],["🆆","W"],["🆇","X"],["🆈","Y"],["🆉","Z"]];function KF(e,t){if("string"!=typeof e)throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const n=new Map([...HF,...t.customReplacements]);return e=(e=((e,t)=>{for(const[n,r]of t)e=e.replace(new RegExp(GF(n),"g"),r);return e})(e=e.normalize(),n)).normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").normalize()}const JF=[["&"," and "],["🦄"," unicorn "],["♥"," love "]];function eW(e,t){if("string"!=typeof e)throw new TypeError(`Expected a string, got \`${typeof e}\``);const n=(t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],...t}).preserveLeadingUnderscore&&e.startsWith("_"),r=t.preserveTrailingDash&&e.endsWith("-");e=KF(e,{customReplacements:new Map([...JF,...t.customReplacements])}),t.decamelize&&(e=(e=>e.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"))(e));const i=(e=>{let t="a-z\\d";if(t+=e.lowercase?"":"A-Z",e.preserveCharacters.length>0)for(const n of e.preserveCharacters){if(n===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=GF(n)}return new RegExp(`[^${t}]+`,"g")})(t);return t.lowercase&&(e=e.toLowerCase()),e=(e=(e=e.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3")).replace(i,t.separator)).replace(/\\/g,""),t.separator&&(e=((e,t)=>{const n=GF(t);return e.replace(new RegExp(`${n}{2,}`,"g"),t).replace(new RegExp(`^${n}|${n}$`,"g"),"")})(e,t.separator)),n&&(e=`_${e}`),r&&(e=`${e}-`),e}function tW(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);return!!o&&(!n||(r.node(o.depth-1).type==e?function(e,t,n,r){let i=e.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new TI(o-1,a,o,a,new rR(HE.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new vR(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));const s=RI(r);if(null==s)return!1;i.lift(r,s);let l=i.doc.resolve(i.mapping.map(o,-1)-1);zI(i.doc,l.pos)&&l.nodeBefore.type==l.nodeAfter.type&&i.join(l.pos);return t(i.scrollIntoView()),!0}(t,n,e,o):function(e,t,n){let r=e.tr,i=n.parent;for(let h=n.end,f=n.endIndex-1,p=n.startIndex;f>p;f--)h-=i.child(f).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=0==n.startIndex,l=n.endIndex==i.childCount,c=o.node(-1),u=o.index(-1);if(!c.canReplace(u+(s?0:1),u+1,a.content.append(l?HE.empty:HE.from(i))))return!1;let O=o.pos,d=O+a.nodeSize;return r.step(new TI(O-(s?1:0),d+(l?1:0),O+1,d-1,new rR((s?HE.empty:HE.from(i.copy(HE.empty))).append(l?HE.empty:HE.from(i.copy(HE.empty))),s?0:1,l?0:1),s?0:1)),t(r.scrollIntoView()),!0}(t,n,o)))}}function nW(e){return String(e||"").toUpperCase()}function rW(){return function(e){const t=function(e){const t=new Map;if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return kU(e,"definition",function(e){const n=nW(e.identifier);n&&!t.get(n)&&t.set(n,e)}),function(e){const n=nW(e);return t.get(n)}}(e);kU(e,function(e,n,r){if("definition"===e.type&&void 0!==r&&"number"==typeof n)return r.children.splice(n,1),[SU,n];if("imageReference"===e.type||"linkReference"===e.type){const i=t(e.identifier);if(i&&r&&"number"==typeof n)return r.children[n]="imageReference"===e.type?{type:"image",url:i.url,title:i.title,alt:e.alt}:{type:"link",url:i.url,title:i.title,children:e.children},[SU,n]}})}}function iW(e,t){var n;if(!(t.childCount>=1&&"hardbreak"===(null==(n=t.lastChild)?void 0:n.type.name)))return void e.next(t.content);const r=[];t.content.forEach((e,n,i)=>{i!==t.childCount-1&&r.push(e)}),e.next(HE.fromArray(r))}function oW(e,t){return Object.assign(e,{meta:{package:"@milkdown/preset-commonmark",...t}}),e}const aW=YF("emphasis");oW(aW,{displayName:"Attr<emphasis>",group:"Emphasis"});const sW=FF("emphasis",e=>({attrs:{marker:{default:e.get(_q).emphasis||"*"}},parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style",getAttrs:e=>"italic"===e}],toDOM:t=>["em",e.get(aW.key)(t)],parseMarkdown:{match:e=>"emphasis"===e.type,runner:(e,t,n)=>{e.openMark(n,{marker:t.marker}),e.next(t.children),e.closeMark(n)}},toMarkdown:{match:e=>"emphasis"===e.type.name,runner:(e,t)=>{e.withMark(t,"emphasis",void 0,{marker:t.attrs.marker})}}}));oW(sW.mark,{displayName:"MarkSchema<emphasis>",group:"Emphasis"}),oW(sW.ctx,{displayName:"MarkSchemaCtx<emphasis>",group:"Emphasis"});const lW=UF("ToggleEmphasis",e=>()=>TN(sW.type(e)));oW(lW,{displayName:"Command<toggleEmphasisCommand>",group:"Emphasis"});const cW=DF(e=>Jz(/(?:^|[^*])\*([^*]+)\*$/,sW.type(e),{getAttr:()=>({marker:"*"}),updateCaptured:({fullMatch:e,start:t})=>e.startsWith("*")?{}:{fullMatch:e.slice(1),start:t+1}}));oW(cW,{displayName:"InputRule<emphasis>|Star",group:"Emphasis"});const uW=DF(e=>Jz(/(?:^|[^_])_([^_]+)_$/,sW.type(e),{getAttr:()=>({marker:"_"}),updateCaptured:({fullMatch:e,start:t})=>e.startsWith("_")?{}:{fullMatch:e.slice(1),start:t+1}}));oW(uW,{displayName:"InputRule<emphasis>|Underscore",group:"Emphasis"});const OW=WF("emphasisKeymap",{ToggleEmphasis:{shortcuts:"Mod-i",command:e=>{const t=e.get(qq);return()=>t.call(lW.key)}}});oW(OW.ctx,{displayName:"KeymapCtx<emphasis>",group:"Emphasis"}),oW(OW.shortcuts,{displayName:"Keymap<emphasis>",group:"Emphasis"});const dW=YF("strong");oW(dW,{displayName:"Attr<strong>",group:"Strong"});const hW=FF("strong",e=>({attrs:{marker:{default:e.get(_q).strong||"*"}},parseDOM:[{tag:"b"},{tag:"strong"},{style:"font-style",getAttrs:e=>"bold"===e}],toDOM:t=>["strong",e.get(dW.key)(t)],parseMarkdown:{match:e=>"strong"===e.type,runner:(e,t,n)=>{e.openMark(n,{marker:t.marker}),e.next(t.children),e.closeMark(n)}},toMarkdown:{match:e=>"strong"===e.type.name,runner:(e,t)=>{e.withMark(t,"strong",void 0,{marker:t.attrs.marker})}}}));oW(hW.mark,{displayName:"MarkSchema<strong>",group:"Strong"}),oW(hW.ctx,{displayName:"MarkSchemaCtx<strong>",group:"Strong"});const fW=UF("ToggleStrong",e=>()=>TN(hW.type(e)));oW(fW,{displayName:"Command<toggleStrongCommand>",group:"Strong"});const pW=DF(e=>Jz(/(?:\*\*|__)([^*_]+)(?:\*\*|__)$/,hW.type(e),{getAttr:e=>({marker:e[0].startsWith("*")?"*":"_"})}));oW(pW,{displayName:"InputRule<strong>",group:"Strong"});const AW=WF("strongKeymap",{ToggleBold:{shortcuts:["Mod-b"],command:e=>{const t=e.get(qq);return()=>t.call(fW.key)}}});oW(AW.ctx,{displayName:"KeymapCtx<strong>",group:"Strong"}),oW(AW.shortcuts,{displayName:"Keymap<strong>",group:"Strong"});const mW=YF("inlineCode");oW(mW,{displayName:"Attr<inlineCode>",group:"InlineCode"});const gW=FF("inlineCode",e=>({priority:100,code:!0,inclusive:!1,parseDOM:[{tag:"code"}],toDOM:t=>["code",e.get(mW.key)(t)],parseMarkdown:{match:e=>"inlineCode"===e.type,runner:(e,t,n)=>{e.openMark(n),e.addText(t.value),e.closeMark(n)}},toMarkdown:{match:e=>"inlineCode"===e.type.name,runner:(e,t,n)=>{e.withMark(t,"inlineCode",n.text||"")}}}));oW(gW.mark,{displayName:"MarkSchema<inlineCode>",group:"InlineCode"}),oW(gW.ctx,{displayName:"MarkSchemaCtx<inlineCode>",group:"InlineCode"});const vW=UF("ToggleInlineCode",e=>()=>(t,n)=>{const{selection:r,tr:i}=t;if(r.empty)return!1;const{from:o,to:a}=r;return t.doc.rangeHasMark(o,a,gW.type(e))?(null==n||n(i.removeMark(o,a,gW.type(e))),!0):(Object.keys(t.schema.marks).filter(e=>e!==gW.type.name).map(e=>t.schema.marks[e]).forEach(e=>{i.removeMark(o,a,e)}),null==n||n(i.addMark(o,a,gW.type(e).create())),!0)});oW(vW,{displayName:"Command<toggleInlineCodeCommand>",group:"InlineCode"});const yW=DF(e=>Jz(/(?:`)([^`]+)(?:`)$/,gW.type(e)));oW(yW,{displayName:"InputRule<inlineCodeInputRule>",group:"InlineCode"});const bW=WF("inlineCodeKeymap",{ToggleInlineCode:{shortcuts:"Mod-e",command:e=>{const t=e.get(qq);return()=>t.call(vW.key)}}});oW(bW.ctx,{displayName:"KeymapCtx<inlineCode>",group:"InlineCode"}),oW(bW.shortcuts,{displayName:"Keymap<inlineCode>",group:"InlineCode"});const wW=YF("link");oW(wW,{displayName:"Attr<link>",group:"Link"});const QW=FF("link",e=>({attrs:{href:{},title:{default:null}},parseDOM:[{tag:"a[href]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM:t=>["a",{...e.get(wW.key)(t),...t.attrs}],parseMarkdown:{match:e=>"link"===e.type,runner:(e,t,n)=>{const r=t.url,i=t.title;e.openMark(n,{href:r,title:i}),e.next(t.children),e.closeMark(n)}},toMarkdown:{match:e=>"link"===e.type.name,runner:(e,t)=>{e.withMark(t,"link",void 0,{title:t.attrs.title,url:t.attrs.href})}}}));oW(QW.mark,{displayName:"MarkSchema<link>",group:"Link"});const $W=UF("ToggleLink",e=>(t={})=>TN(QW.type(e),t));oW($W,{displayName:"Command<toggleLinkCommand>",group:"Link"});const SW=UF("UpdateLink",e=>(t={})=>(n,r)=>{if(!r)return!1;let i,o=-1;const{selection:a}=n,{from:s,to:l}=a;if(n.doc.nodesBetween(s,s===l?l+1:l,(t,n)=>{if(QW.type(e).isInSet(t.marks))return i=t,o=n,!1}),!i)return!1;const c=i.marks.find(({type:t})=>t===QW.type(e));if(!c)return!1;const u=o,O=o+i.nodeSize,{tr:d}=n,h=QW.type(e).create({...c.attrs,...t});return!!h&&(r(d.removeMark(u,O,c).addMark(u,O,h).setSelection(new sz(d.selection.$anchor)).scrollIntoView()),!0)});oW(SW,{displayName:"Command<updateLinkCommand>",group:"Link"});const xW=zF("doc",()=>({content:"block+",parseMarkdown:{match:({type:e})=>"root"===e,runner:(e,t,n)=>{e.injectRoot(t,n)}},toMarkdown:{match:e=>"doc"===e.type.name,runner:(e,t)=>{e.openNode("root"),e.next(t.content)}}}));oW(xW,{displayName:"NodeSchema<doc>",group:"Doc"});const kW=ZF("paragraph");oW(kW,{displayName:"Attr<paragraph>",group:"Paragraph"});const PW=qF("paragraph",e=>({content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:t=>["p",e.get(kW.key)(t),0],parseMarkdown:{match:e=>"paragraph"===e.type,runner:(e,t,n)=>{e.openNode(n),t.children?e.next(t.children):e.addText(t.value||""),e.closeNode()}},toMarkdown:{match:e=>"paragraph"===e.type.name,runner:(e,t)=>{e.openNode("paragraph"),iW(e,t),e.closeNode()}}}));oW(PW.node,{displayName:"NodeSchema<paragraph>",group:"Paragraph"}),oW(PW.ctx,{displayName:"NodeSchemaCtx<paragraph>",group:"Paragraph"});const TW=UF("TurnIntoText",e=>()=>PN(PW.type(e)));oW(TW,{displayName:"Command<turnIntoTextCommand>",group:"Paragraph"});const _W=WF("paragraphKeymap",{TurnIntoText:{shortcuts:"Mod-Alt-0",command:e=>{const t=e.get(qq);return()=>t.call(TW.key)}}});oW(_W.ctx,{displayName:"KeymapCtx<paragraph>",group:"Paragraph"}),oW(_W.shortcuts,{displayName:"Keymap<paragraph>",group:"Paragraph"});const CW=Array(6).fill(0).map((e,t)=>t+1);const EW=VF(function(e){return eW(e.textContent)},"headingIdGenerator");oW(EW,{displayName:"Ctx<HeadingIdGenerator>",group:"Heading"});const RW=ZF("heading");oW(RW,{displayName:"Attr<heading>",group:"Heading"});const XW=qF("heading",e=>{const t=e.get(EW.key);return{content:"inline*",group:"block",defining:!0,attrs:{id:{default:""},level:{default:1}},parseDOM:CW.map(e=>({tag:`h${e}`,getAttrs:t=>{if(!(t instanceof HTMLElement))throw sE(t);return{level:e,id:t.id}}})),toDOM:n=>[`h${n.attrs.level}`,{...e.get(RW.key)(n),id:n.attrs.id||t(n)},0],parseMarkdown:{match:({type:e})=>"heading"===e,runner:(e,t,n)=>{const r=t.depth;e.openNode(n,{level:r}),e.next(t.children),e.closeNode()}},toMarkdown:{match:e=>"heading"===e.type.name,runner:(e,t)=>{e.openNode("heading",void 0,{depth:t.attrs.level}),iW(e,t),e.closeNode()}}}});oW(XW.node,{displayName:"NodeSchema<heading>",group:"Heading"}),oW(XW.ctx,{displayName:"NodeSchemaCtx<heading>",group:"Heading"});const BW=DF(e=>Tz(/^(?<hashes>#+)\s$/,XW.type(e),t=>{var n,r;const i=(null==(r=null==(n=t.groups)?void 0:n.hashes)?void 0:r.length)||0,o=e.get(yq),{$from:a}=o.state.selection,s=a.node();if("heading"===s.type.name){let e=Number(s.attrs.level)+Number(i);return e>6&&(e=6),{level:e}}return{level:i}}));oW(BW,{displayName:"InputRule<wrapInHeadingInputRule>",group:"Heading"});const UW=UF("WrapInHeading",e=>t=>(t??(t=1),t<1?PN(PW.type(e)):PN(XW.type(e),{level:t})));oW(UW,{displayName:"Command<wrapInHeadingCommand>",group:"Heading"});const DW=UF("DowngradeHeading",e=>()=>(t,n,r)=>{const{$from:i}=t.selection,o=i.node();if(o.type!==XW.type(e)||!t.selection.empty||0!==i.parentOffset)return!1;const a=o.attrs.level-1;return a?(null==n||n(t.tr.setNodeMarkup(t.selection.$from.before(),void 0,{...o.attrs,level:a})),!0):PN(PW.type(e))(t,n,r)});oW(DW,{displayName:"Command<downgradeHeadingCommand>",group:"Heading"});const IW=WF("headingKeymap",{TurnIntoH1:{shortcuts:"Mod-Alt-1",command:e=>{const t=e.get(qq);return()=>t.call(UW.key,1)}},TurnIntoH2:{shortcuts:"Mod-Alt-2",command:e=>{const t=e.get(qq);return()=>t.call(UW.key,2)}},TurnIntoH3:{shortcuts:"Mod-Alt-3",command:e=>{const t=e.get(qq);return()=>t.call(UW.key,3)}},TurnIntoH4:{shortcuts:"Mod-Alt-4",command:e=>{const t=e.get(qq);return()=>t.call(UW.key,4)}},TurnIntoH5:{shortcuts:"Mod-Alt-5",command:e=>{const t=e.get(qq);return()=>t.call(UW.key,5)}},TurnIntoH6:{shortcuts:"Mod-Alt-6",command:e=>{const t=e.get(qq);return()=>t.call(UW.key,6)}},DowngradeHeading:{shortcuts:["Delete","Backspace"],command:e=>{const t=e.get(qq);return()=>t.call(DW.key)}}});oW(IW.ctx,{displayName:"KeymapCtx<heading>",group:"Heading"}),oW(IW.shortcuts,{displayName:"Keymap<heading>",group:"Heading"});const zW=ZF("blockquote");oW(zW,{displayName:"Attr<blockquote>",group:"Blockquote"});const NW=qF("blockquote",e=>({content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:t=>["blockquote",e.get(zW.key)(t),0],parseMarkdown:{match:({type:e})=>"blockquote"===e,runner:(e,t,n)=>{e.openNode(n).next(t.children).closeNode()}},toMarkdown:{match:e=>"blockquote"===e.type.name,runner:(e,t)=>{e.openNode("blockquote").next(t.content).closeNode()}}}));oW(NW.node,{displayName:"NodeSchema<blockquote>",group:"Blockquote"}),oW(NW.ctx,{displayName:"NodeSchemaCtx<blockquote>",group:"Blockquote"});const MW=DF(e=>Pz(/^\s*>\s$/,NW.type(e)));oW(MW,{displayName:"InputRule<wrapInBlockquoteInputRule>",group:"Blockquote"});const LW=UF("WrapInBlockquote",e=>()=>kN(NW.type(e)));oW(LW,{displayName:"Command<wrapInBlockquoteCommand>",group:"Blockquote"});const VW=WF("blockquoteKeymap",{WrapInBlockquote:{shortcuts:"Mod-Shift-b",command:e=>{const t=e.get(qq);return()=>t.call(LW.key)}}});oW(VW.ctx,{displayName:"KeymapCtx<blockquote>",group:"Blockquote"}),oW(VW.shortcuts,{displayName:"Keymap<blockquote>",group:"Blockquote"});const qW=ZF("codeBlock",()=>({pre:{},code:{}}));oW(qW,{displayName:"Attr<codeBlock>",group:"CodeBlock"});const FW=qF("code_block",e=>({content:"text*",group:"block",marks:"",defining:!0,code:!0,attrs:{language:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{language:e.dataset.language}}}],toDOM:t=>{const n=e.get(qW.key)(t);return["pre",{...n.pre,"data-language":t.attrs.language},["code",n.code,0]]},parseMarkdown:{match:({type:e})=>"code"===e,runner:(e,t,n)=>{const r=t.lang,i=t.value;e.openNode(n,{language:r}),i&&e.addText(i),e.closeNode()}},toMarkdown:{match:e=>"code_block"===e.type.name,runner:(e,t)=>{var n;e.addNode("code",void 0,(null==(n=t.content.firstChild)?void 0:n.text)||"",{lang:t.attrs.language})}}}));oW(FW.node,{displayName:"NodeSchema<codeBlock>",group:"CodeBlock"}),oW(FW.ctx,{displayName:"NodeSchemaCtx<codeBlock>",group:"CodeBlock"});const WW=DF(e=>Tz(/^```(?<language>[a-z]*)?[\s\n]$/,FW.type(e),e=>{var t;return{language:(null==(t=e.groups)?void 0:t.language)??""}}));oW(WW,{displayName:"InputRule<createCodeBlockInputRule>",group:"CodeBlock"});const ZW=UF("CreateCodeBlock",e=>(t="")=>PN(FW.type(e),{language:t}));oW(ZW,{displayName:"Command<createCodeBlockCommand>",group:"CodeBlock"});const YW=UF("UpdateCodeBlockLanguage",()=>({pos:e,language:t}={pos:-1,language:""})=>(n,r)=>e>=0&&(null==r||r(n.tr.setNodeAttribute(e,"language",t)),!0));oW(YW,{displayName:"Command<updateCodeBlockLanguageCommand>",group:"CodeBlock"});const jW=WF("codeBlockKeymap",{CreateCodeBlock:{shortcuts:"Mod-Alt-c",command:e=>{const t=e.get(qq);return()=>t.call(ZW.key)}}});oW(jW.ctx,{displayName:"KeymapCtx<codeBlock>",group:"CodeBlock"}),oW(jW.shortcuts,{displayName:"Keymap<codeBlock>",group:"CodeBlock"});const GW=ZF("image");oW(GW,{displayName:"Attr<image>",group:"Image"});const HW=qF("image",e=>({inline:!0,group:"inline",selectable:!0,draggable:!0,marks:"",atom:!0,defining:!0,isolating:!0,attrs:{src:{default:""},alt:{default:""},title:{default:""}},parseDOM:[{tag:"img[src]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{src:e.getAttribute("src")||"",alt:e.getAttribute("alt")||"",title:e.getAttribute("title")||e.getAttribute("alt")||""}}}],toDOM:t=>["img",{...e.get(GW.key)(t),...t.attrs}],parseMarkdown:{match:({type:e})=>"image"===e,runner:(e,t,n)=>{const r=t.url,i=t.alt,o=t.title;e.addNode(n,{src:r,alt:i,title:o})}},toMarkdown:{match:e=>"image"===e.type.name,runner:(e,t)=>{e.addNode("image",void 0,void 0,{title:t.attrs.title,url:t.attrs.src,alt:t.attrs.alt})}}}));oW(HW.node,{displayName:"NodeSchema<image>",group:"Image"}),oW(HW.ctx,{displayName:"NodeSchemaCtx<image>",group:"Image"});const KW=UF("InsertImage",e=>(t={})=>(n,r)=>{if(!r)return!0;const{src:i="",alt:o="",title:a=""}=t,s=HW.type(e).create({src:i,alt:o,title:a});return s&&r(n.tr.replaceSelectionWith(s).scrollIntoView()),!0});oW(KW,{displayName:"Command<insertImageCommand>",group:"Image"});const JW=UF("UpdateImage",e=>(t={})=>(n,r)=>{const i=hN(n.selection,HW.type(e));if(!i)return!1;const{node:o,pos:a}=i,s={...o.attrs},{src:l,alt:c,title:u}=t;return void 0!==l&&(s.src=l),void 0!==c&&(s.alt=c),void 0!==u&&(s.title=u),null==r||r(n.tr.setNodeMarkup(a,void 0,s).scrollIntoView()),!0});oW(JW,{displayName:"Command<updateImageCommand>",group:"Image"});const eZ=DF(e=>new xz(/!\[(?<alt>.*?)]\((?<filename>.*?)\s*(?="|\))"?(?<title>[^"]+)?"?\)/,(t,n,r,i)=>{const[o,a,s="",l]=n;return o?t.tr.replaceWith(r,i,HW.type(e).create({src:s,alt:a,title:l})):null}));oW(eZ,{displayName:"InputRule<insertImageInputRule>",group:"Image"});const tZ=ZF("hardbreak",e=>({"data-type":"hardbreak","data-is-inline":e.attrs.isInline}));oW(tZ,{displayName:"Attr<hardbreak>",group:"Hardbreak"});const nZ=qF("hardbreak",e=>({inline:!0,group:"inline",attrs:{isInline:{default:!1}},selectable:!1,parseDOM:[{tag:"br"},{tag:'span[data-type="hardbreak"]',getAttrs:()=>({isInline:!0})}],toDOM:t=>t.attrs.isInline?["span",e.get(tZ.key)(t)," "]:["br",e.get(tZ.key)(t)],parseMarkdown:{match:({type:e})=>"break"===e,runner:(e,t,n)=>{var r;e.addNode(n,{isInline:!(null==(r=t.data)||!r.isInline)})}},leafText:()=>"\n",toMarkdown:{match:e=>"hardbreak"===e.type.name,runner:(e,t)=>{t.attrs.isInline?e.addNode("text",void 0,"\n"):e.addNode("break")}}}));oW(nZ.node,{displayName:"NodeSchema<hardbreak>",group:"Hardbreak"}),oW(nZ.ctx,{displayName:"NodeSchemaCtx<hardbreak>",group:"Hardbreak"});const rZ=UF("InsertHardbreak",e=>()=>(t,n)=>{var r;const{selection:i,tr:o}=t;if(!(i instanceof sz))return!1;if(i.empty){const e=i.$from.node();if(e.childCount>0&&"hardbreak"===(null==(r=e.lastChild)?void 0:r.type.name))return null==n||n(o.replaceRangeWith(i.to-1,i.to,t.schema.node("paragraph")).setSelection(rz.near(o.doc.resolve(i.to))).scrollIntoView()),!0}return null==n||n(o.setMeta("hardbreak",!0).replaceSelectionWith(nZ.type(e).create()).scrollIntoView()),!0});oW(rZ,{displayName:"Command<insertHardbreakCommand>",group:"Hardbreak"});const iZ=WF("hardbreakKeymap",{InsertHardbreak:{shortcuts:"Shift-Enter",command:e=>{const t=e.get(qq);return()=>t.call(rZ.key)}}});oW(iZ.ctx,{displayName:"KeymapCtx<hardbreak>",group:"Hardbreak"}),oW(iZ.shortcuts,{displayName:"Keymap<hardbreak>",group:"Hardbreak"});const oZ=ZF("hr");oW(oZ,{displayName:"Attr<hr>",group:"Hr"});const aZ=qF("hr",e=>({group:"block",parseDOM:[{tag:"hr"}],toDOM:t=>["hr",e.get(oZ.key)(t)],parseMarkdown:{match:({type:e})=>"thematicBreak"===e,runner:(e,t,n)=>{e.addNode(n)}},toMarkdown:{match:e=>"hr"===e.type.name,runner:e=>{e.addNode("thematicBreak")}}}));oW(aZ.node,{displayName:"NodeSchema<hr>",group:"Hr"}),oW(aZ.ctx,{displayName:"NodeSchemaCtx<hr>",group:"Hr"});const sZ=DF(e=>new xz(/^(?:---|___\s|\*\*\*\s)$/,(t,n,r,i)=>{const{tr:o}=t;return n[0]&&o.replaceWith(r-1,i,aZ.type(e).create()),o}));oW(sZ,{displayName:"InputRule<insertHrInputRule>",group:"Hr"});const lZ=UF("InsertHr",e=>()=>(t,n)=>{if(!n)return!0;const r=PW.node.type(e).create(),{tr:i,selection:o}=t,{from:a}=o,s=aZ.type(e).create();if(!s)return!0;const l=i.replaceSelectionWith(s).insert(a,r),c=rz.findFrom(l.doc.resolve(a),1,!0);return c&&n(l.setSelection(c).scrollIntoView()),!0});oW(lZ,{displayName:"Command<insertHrCommand>",group:"Hr"});const cZ=ZF("bulletList");oW(cZ,{displayName:"Attr<bulletList>",group:"BulletList"});const uZ=qF("bullet_list",e=>({content:"listItem+",group:"block",attrs:{spread:{default:!1}},parseDOM:[{tag:"ul",getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{spread:e.dataset.spread}}}],toDOM:t=>["ul",{...e.get(cZ.key)(t),"data-spread":t.attrs.spread},0],parseMarkdown:{match:({type:e,ordered:t})=>"list"===e&&!t,runner:(e,t,n)=>{const r=null!=t.spread?`${t.spread}`:"false";e.openNode(n,{spread:r}).next(t.children).closeNode()}},toMarkdown:{match:e=>"bullet_list"===e.type.name,runner:(e,t)=>{e.openNode("list",void 0,{ordered:!1,spread:"true"===t.attrs.spread}).next(t.content).closeNode()}}}));oW(uZ.node,{displayName:"NodeSchema<bulletList>",group:"BulletList"}),oW(uZ.ctx,{displayName:"NodeSchemaCtx<bulletList>",group:"BulletList"});const OZ=DF(e=>Pz(/^\s*([-+*])\s$/,uZ.type(e)));oW(OZ,{displayName:"InputRule<wrapInBulletListInputRule>",group:"BulletList"});const dZ=UF("WrapInBulletList",e=>()=>kN(uZ.type(e)));oW(dZ,{displayName:"Command<wrapInBulletListCommand>",group:"BulletList"});const hZ=WF("bulletListKeymap",{WrapInBulletList:{shortcuts:"Mod-Alt-8",command:e=>{const t=e.get(qq);return()=>t.call(dZ.key)}}});oW(hZ.ctx,{displayName:"KeymapCtx<bulletListKeymap>",group:"BulletList"}),oW(hZ.shortcuts,{displayName:"Keymap<bulletListKeymap>",group:"BulletList"});const fZ=ZF("orderedList");oW(fZ,{displayName:"Attr<orderedList>",group:"OrderedList"});const pZ=qF("ordered_list",e=>({content:"listItem+",group:"block",attrs:{order:{default:1},spread:{default:!1}},parseDOM:[{tag:"ol",getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{spread:e.dataset.spread,order:e.hasAttribute("start")?Number(e.getAttribute("start")):1}}}],toDOM:t=>["ol",{...e.get(fZ.key)(t),...1===t.attrs.order?{}:t.attrs.order,"data-spread":t.attrs.spread},0],parseMarkdown:{match:({type:e,ordered:t})=>"list"===e&&!!t,runner:(e,t,n)=>{const r=null!=t.spread?`${t.spread}`:"true";e.openNode(n,{spread:r}).next(t.children).closeNode()}},toMarkdown:{match:e=>"ordered_list"===e.type.name,runner:(e,t)=>{e.openNode("list",void 0,{ordered:!0,start:1,spread:"true"===t.attrs.spread}),e.next(t.content),e.closeNode()}}}));oW(pZ.node,{displayName:"NodeSchema<orderedList>",group:"OrderedList"}),oW(pZ.ctx,{displayName:"NodeSchemaCtx<orderedList>",group:"OrderedList"});const AZ=DF(e=>Pz(/^\s*(\d+)\.\s$/,pZ.type(e),e=>({order:Number(e[1])}),(e,t)=>t.childCount+t.attrs.order===Number(e[1])));oW(AZ,{displayName:"InputRule<wrapInOrderedListInputRule>",group:"OrderedList"});const mZ=UF("WrapInOrderedList",e=>()=>kN(pZ.type(e)));oW(mZ,{displayName:"Command<wrapInOrderedListCommand>",group:"OrderedList"});const gZ=WF("orderedListKeymap",{WrapInOrderedList:{shortcuts:"Mod-Alt-7",command:e=>{const t=e.get(qq);return()=>t.call(mZ.key)}}});oW(gZ.ctx,{displayName:"KeymapCtx<orderedList>",group:"OrderedList"}),oW(gZ.shortcuts,{displayName:"Keymap<orderedList>",group:"OrderedList"});const vZ=ZF("listItem");oW(vZ,{displayName:"Attr<listItem>",group:"ListItem"});const yZ=qF("list_item",e=>({group:"listItem",content:"(paragraph|blockquote) block*",attrs:{label:{default:"•"},listType:{default:"bullet"},spread:{default:"true"}},defining:!0,parseDOM:[{tag:"li",getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{label:e.dataset.label,listType:e.dataset.listType,spread:e.dataset.spread}}}],toDOM:t=>["li",{...e.get(vZ.key)(t),"data-label":t.attrs.label,"data-list-type":t.attrs.listType,"data-spread":t.attrs.spread},0],parseMarkdown:{match:({type:e})=>"listItem"===e,runner:(e,t,n)=>{const r=null!=t.label?`${t.label}.`:"•",i=null!=t.label?"ordered":"bullet",o=null!=t.spread?`${t.spread}`:"true";e.openNode(n,{label:r,listType:i,spread:o}),e.next(t.children),e.closeNode()}},toMarkdown:{match:e=>"list_item"===e.type.name,runner:(e,t)=>{e.openNode("listItem",void 0,{spread:"true"===t.attrs.spread}),e.next(t.content),e.closeNode()}}}));oW(yZ.node,{displayName:"NodeSchema<listItem>",group:"ListItem"}),oW(yZ.ctx,{displayName:"NodeSchemaCtx<listItem>",group:"ListItem"});const bZ=UF("SinkListItem",e=>()=>{return t=yZ.type(e),function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,e=>e.childCount>0&&e.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(0==a)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=t)return!1;if(n){let r=l.lastChild&&l.lastChild.type==s.type,i=HE.from(r?t.create():null),a=new rR(HE.from(t.create(null,HE.from(s.type.create(null,i)))),r?3:1,0),c=o.start,u=o.end;n(e.tr.step(new TI(c-(r?3:1),u,c,u,a,1,!0)).scrollIntoView())}return!0};var t});oW(bZ,{displayName:"Command<sinkListItemCommand>",group:"ListItem"});const wZ=UF("LiftListItem",e=>()=>tW(yZ.type(e)));oW(wZ,{displayName:"Command<liftListItemCommand>",group:"ListItem"});const QZ=UF("SplitListItem",e=>()=>{return t=yZ.type(e),function(e,n){let{$from:r,$to:i,node:o}=e.selection;if(o&&o.isBlock||r.depth<2||!r.sameParent(i))return!1;let a=r.node(-1);if(a.type!=t)return!1;if(0==r.parent.content.size&&r.node(-1).childCount==r.indexAfter(-1)){if(3==r.depth||r.node(-3).type!=t||r.index(-2)!=r.node(-2).childCount-1)return!1;if(n){let i=HE.empty,o=r.index(-1)?1:r.index(-2)?2:3;for(let e=r.depth-o;e>=r.depth-3;e--)i=HE.from(r.node(e).copy(i));let a=r.indexAfter(-1)<r.node(-2).childCount?1:r.indexAfter(-2)<r.node(-3).childCount?2:3;i=i.append(HE.from(t.createAndFill()));let s=r.before(r.depth-(o-1)),l=e.tr.replace(s,r.after(-a),new rR(i,4-o,0)),c=-1;l.doc.nodesBetween(s,l.doc.content.size,(e,t)=>{if(c>-1)return!1;e.isTextblock&&0==e.content.size&&(c=t+1)}),c>-1&&l.setSelection(rz.near(l.doc.resolve(c))),n(l.scrollIntoView())}return!0}let s=i.pos==r.end()?a.contentMatchAt(0).defaultType:null,l=e.tr.delete(r.pos,i.pos),c=s?[null,{type:s}]:void 0;return!!II(l.doc,r.pos,2,c)&&(n&&n(l.split(r.pos,2,c).scrollIntoView()),!0)};var t});oW(QZ,{displayName:"Command<splitListItemCommand>",group:"ListItem"});const $Z=UF("LiftFirstListItem",e=>()=>function(e){return(t,n,r)=>{const{selection:i}=t;if(!(i instanceof sz))return!1;const{empty:o,$from:a}=i;if(!o||0!==a.parentOffset)return!1;const s=a.node(-1);return!(s.type!==yZ.type(e)||s.firstChild!==a.node()||a.node(-2).childCount>1)&&tW(yZ.type(e))(t,n,r)}}(e));oW($Z,{displayName:"Command<liftFirstListItemCommand>",group:"ListItem"});const SZ=WF("listItemKeymap",{NextListItem:{shortcuts:"Enter",command:e=>{const t=e.get(qq);return()=>t.call(QZ.key)}},SinkListItem:{shortcuts:["Tab","Mod-]"],command:e=>{const t=e.get(qq);return()=>t.call(bZ.key)}},LiftListItem:{shortcuts:["Shift-Tab","Mod-["],command:e=>{const t=e.get(qq);return()=>t.call(wZ.key)}},LiftFirstListItem:{shortcuts:["Backspace","Delete"],command:e=>{const t=e.get(qq);return()=>t.call($Z.key)}}});oW(SZ.ctx,{displayName:"KeymapCtx<listItem>",group:"ListItem"}),oW(SZ.shortcuts,{displayName:"Keymap<listItem>",group:"ListItem"});const xZ=zF("text",()=>({group:"inline",parseMarkdown:{match:({type:e})=>"text"===e,runner:(e,t)=>{e.addText(t.value)}},toMarkdown:{match:e=>"text"===e.type.name,runner:(e,t)=>{e.addNode("text",void 0,t.text)}}}));oW(xZ,{displayName:"NodeSchema<text>",group:"Text"});const kZ=ZF("html");oW(kZ,{displayName:"Attr<html>",group:"Html"});const PZ=qF("html",e=>({atom:!0,group:"inline",inline:!0,attrs:{value:{default:""}},toDOM:t=>{const n=document.createElement("span"),r={...e.get(kZ.key)(t),"data-value":t.attrs.value,"data-type":"html"};return n.textContent=t.attrs.value,["span",r,t.attrs.value]},parseDOM:[{tag:'span[data-type="html"]',getAttrs:e=>({value:e.dataset.value??""})}],parseMarkdown:{match:({type:e})=>"html"===e,runner:(e,t,n)=>{e.addNode(n,{value:t.value})}},toMarkdown:{match:e=>"html"===e.type.name,runner:(e,t)=>{e.addNode("html",void 0,t.attrs.value)}}}));oW(PZ.node,{displayName:"NodeSchema<html>",group:"Html"}),oW(PZ.ctx,{displayName:"NodeSchemaCtx<html>",group:"Html"});const TZ=[xW,kW,PW,EW,RW,XW,tZ,nZ,zW,NW,qW,FW,oZ,aZ,GW,HW,cZ,uZ,fZ,pZ,vZ,yZ,aW,sW,dW,hW,mW,gW,wW,QW,kZ,PZ,xZ].flat(),_Z=[MW,OZ,AZ,WW,sZ,BW].flat(),CZ=[cW,uW,yW,pW],EZ=[TW,LW,UW,DW,ZW,rZ,lZ,KW,JW,mZ,dZ,bZ,QZ,wZ,$Z,lW,vW,fW,$W,SW],RZ=[VW,jW,iZ,IW,SZ,gZ,hZ,_W,OW,bW,AW].flat(),XZ=jF("remarkAddOrderInList",()=>()=>e=>{kU(e,"list",e=>{if(e.ordered){const t=e.start??1;e.children.forEach((e,n)=>{e.label=n+t})}})});oW(XZ.plugin,{displayName:"Remark<remarkAddOrderInListPlugin>",group:"Remark"}),oW(XZ.options,{displayName:"RemarkConfig<remarkAddOrderInListPlugin>",group:"Remark"});const BZ=jF("remarkLineBreak",()=>()=>e=>{const t=/[\t ]*(?:\r?\n|\r)/g;kU(e,"text",(e,n,r)=>{if(!e.value||"string"!=typeof e.value)return;const i=[];let o=0;t.lastIndex=0;let a=t.exec(e.value);for(;a;){const n=a.index;o!==n&&i.push({type:"text",value:e.value.slice(o,n)}),i.push({type:"break",data:{isInline:!0}}),o=n+a[0].length,a=t.exec(e.value)}return i.length>0&&r&&"number"==typeof n?(o<e.value.length&&i.push({type:"text",value:e.value.slice(o)}),r.children.splice(n,1,...i),n+i.length):void 0})});oW(BZ.plugin,{displayName:"Remark<remarkLineBreak>",group:"Remark"}),oW(BZ.options,{displayName:"RemarkConfig<remarkLineBreak>",group:"Remark"});const UZ=jF("remarkInlineLink",()=>rW);oW(UZ.plugin,{displayName:"Remark<remarkInlineLinkPlugin>",group:"Remark"}),oW(UZ.options,{displayName:"RemarkConfig<remarkInlineLinkPlugin>",group:"Remark"});const DZ=jF("remarkHTMLTransformer",()=>()=>e=>{!function(e,t){(function e(n,r,i){if((e=>!!e.children)(n)){const t=[];for(let r=0,i=n.children.length;r<i;r++){const i=n.children[r];if(i){const o=e(i,r,n);if(o)for(let e=0,n=o.length;e<n;e++){const n=o[e];n&&t.push(n)}}}n.children=t}return t(n,r,i)})(e,0,null)[0]}(e,(e,t,n)=>(e=>"html"===e.type)(e)?("root"===(null==n?void 0:n.type)&&(e.children=[{...e}],delete e.value,e.type="paragraph"),[e]):[e])});oW(DZ.plugin,{displayName:"Remark<remarkHtmlTransformer>",group:"Remark"}),oW(DZ.options,{displayName:"RemarkConfig<remarkHtmlTransformer>",group:"Remark"});const IZ=jF("remarkMarker",()=>()=>(e,t)=>{kU(e,e=>["strong","emphasis"].includes(e.type),e=>{e.marker=(e=>t.value.charAt(e.position.start.offset))(e)})});oW(IZ.plugin,{displayName:"Remark<remarkMarker>",group:"Remark"}),oW(IZ.options,{displayName:"RemarkConfig<remarkMarker>",group:"Remark"});const zZ=NF(()=>{let e=!1;const t=new Sz("MILKDOWN_INLINE_NODES_CURSOR"),n=new wz({key:t,state:{init:()=>!1,apply(e){if(!e.selection.empty)return!1;const t=e.selection.$from,n=t.nodeBefore,r=t.nodeAfter;return!(!(n&&r&&n.isInline&&!n.isText&&r.isInline)||r.isText)}},props:{handleDOMEvents:{compositionend:(t,r)=>!!e&&(e=!1,requestAnimationFrame(()=>{if(n.getState(t.state)){const e=t.state.selection.from;r.preventDefault(),t.dispatch(t.state.tr.insertText(r.data||"",e))}}),!0),compositionstart:t=>(n.getState(t.state)&&(e=!0),!1),beforeinput:(t,r)=>{if(n.getState(t.state)&&r instanceof InputEvent&&r.data&&!e){const e=t.state.selection.from;return r.preventDefault(),t.dispatch(t.state.tr.insertText(r.data||"",e)),!0}return!1}},decorations(e){if(n.getState(e)){const t=e.selection.$from.pos,n=document.createElement("span"),r=XV.widget(t,n,{side:-1}),i=document.createElement("span"),o=XV.widget(t,i);return setTimeout(()=>{n.contentEditable="true",i.contentEditable="true"}),DV.create(e.doc,[r,o])}return DV.empty}}});return n});oW(zZ,{displayName:"Prose<inlineNodesCursorPlugin>",group:"Prose"});const NZ=NF(e=>new wz({key:new Sz("MILKDOWN_HARDBREAK_MARKS"),appendTransaction:(t,n,r)=>{if(!t.length)return;const[i]=t;if(!i)return;const[o]=i.steps;if(i.getMeta("hardbreak")){if(!(o instanceof PI))return;const{from:t}=o;return r.tr.setNodeMarkup(t,nZ.type(e),void 0,[])}if(o instanceof $I){let t=r.tr;const{from:n,to:i}=o;return r.doc.nodesBetween(n,i,(n,r)=>{n.type===nZ.type(e)&&(t=t.setNodeMarkup(r,nZ.type(e),void 0,[]))}),t}}}));oW(NZ,{displayName:"Prose<hardbreakClearMarkPlugin>",group:"Prose"});const MZ=VF(["table","code_block"],"hardbreakFilterNodes");oW(MZ,{displayName:"Ctx<hardbreakFilterNodes>",group:"Prose"});const LZ=NF(e=>{const t=e.get(MZ.key);return new wz({key:new Sz("MILKDOWN_HARDBREAK_FILTER"),filterTransaction:(e,n)=>{const r=e.getMeta("hardbreak"),[i]=e.steps;if(r&&i){const{from:e}=i,r=n.doc.resolve(e);let o=r.depth,a=!0;for(;o>0;)t.includes(r.node(o).type.name)&&(a=!1),o--;return a}return!0}})});oW(LZ,{displayName:"Prose<hardbreakFilterPlugin>",group:"Prose"});const VZ=NF(e=>{const t=new Sz("MILKDOWN_HEADING_ID"),n=n=>{if(n.composing)return;const r=e.get(EW.key),i=n.state.tr.setMeta("addToHistory",!1);let o=!1;const a={};n.state.doc.descendants((n,s)=>{if(n.type===XW.type(e)){if(0===n.textContent.trim().length)return;const e=n.attrs;let l=r(n);a[l]?(a[l]+=1,l+=`-#${a[l]}`):a[l]=1,e.id!==l&&(o=!0,i.setMeta(t,!0).setNodeMarkup(s,void 0,{...e,id:l}))}}),o&&n.dispatch(i)};return new wz({key:t,view:e=>(n(e),{update:(e,t)=>{e.state.doc.eq(t.doc)||n(e)}})})});oW(VZ,{displayName:"Prose<syncHeadingIdPlugin>",group:"Prose"});const qZ=NF(e=>{const t=t=>{if(t.composing||!t.editable)return;const n=pZ.type(e),r=uZ.type(e),i=yZ.type(e),o=t.state,a=(e,t)=>{let n=!1;const r=`${t+1}.`;return e.label!==r&&(e.label=r,n=!0),n};let s=o.tr,l=!1;o.doc.descendants((e,t,o,c)=>{if(e.type===r){const r=e.maybeChild(0);(null==r?void 0:r.type)===i&&"ordered"===r.attrs.listType&&(l=!0,s.setNodeMarkup(t,n,{spread:"true"}),e.descendants((e,t,n,r)=>{if(e.type===i){const n={...e.attrs};a(n,r)&&(s=s.setNodeMarkup(t,void 0,n))}return!1}))}else if(e.type===i&&(null==o?void 0:o.type)===n){const n={...e.attrs};let r=!1;"ordered"!==n.listType&&(n.listType="ordered",r=!0),(null==o?void 0:o.maybeChild(0))&&(r=a(n,c)),r&&(s=s.setNodeMarkup(t,void 0,n),l=!0)}}),l&&t.dispatch(s.setMeta("addToHistory",!1))};return new wz({key:new Sz("MILKDOWN_KEEP_LIST_ORDER"),view:e=>(t(e),{update:e=>{t(e)}})})});oW(qZ,{displayName:"Prose<syncListOrderPlugin>",group:"Prose"});const FZ=[TZ,_Z,CZ,EZ,RZ,[NZ,MZ,LZ,zZ,XZ,UZ,BZ,DZ,IZ,VZ,qZ].flat()].flat();let WZ,ZZ;if("undefined"!=typeof WeakMap){let e=new WeakMap;WZ=t=>e.get(t),ZZ=(t,n)=>(e.set(t,n),n)}else{const e=[],t=10;let n=0;WZ=t=>{for(let n=0;n<e.length;n+=2)if(e[n]==t)return e[n+1]},ZZ=(r,i)=>(n==t&&(n=0),e[n++]=r,e[n++]=i)}var YZ=class{constructor(e,t,n,r){this.width=e,this.height=t,this.map=n,this.problems=r}findCell(e){for(let t=0;t<this.map.length;t++){const n=this.map[t];if(n!=e)continue;const r=t%this.width,i=t/this.width|0;let o=r+1,a=i+1;for(let e=1;o<this.width&&this.map[t+e]==n;e++)o++;for(let e=1;a<this.height&&this.map[t+this.width*e]==n;e++)a++;return{left:r,top:i,right:o,bottom:a}}throw new RangeError(`No cell with offset ${e} found`)}colCount(e){for(let t=0;t<this.map.length;t++)if(this.map[t]==e)return t%this.width;throw new RangeError(`No cell with offset ${e} found`)}nextCell(e,t,n){const{left:r,right:i,top:o,bottom:a}=this.findCell(e);return"horiz"==t?(n<0?0==r:i==this.width)?null:this.map[o*this.width+(n<0?r-1:i)]:(n<0?0==o:a==this.height)?null:this.map[r+this.width*(n<0?o-1:a)]}rectBetween(e,t){const{left:n,right:r,top:i,bottom:o}=this.findCell(e),{left:a,right:s,top:l,bottom:c}=this.findCell(t);return{left:Math.min(n,a),top:Math.min(i,l),right:Math.max(r,s),bottom:Math.max(o,c)}}cellsInRect(e){const t=[],n={};for(let r=e.top;r<e.bottom;r++)for(let i=e.left;i<e.right;i++){const o=r*this.width+i,a=this.map[o];n[a]||(n[a]=!0,i==e.left&&i&&this.map[o-1]==a||r==e.top&&r&&this.map[o-this.width]==a||t.push(a))}return t}positionAt(e,t,n){for(let r=0,i=0;;r++){const o=i+n.child(r).nodeSize;if(r==e){let n=t+e*this.width;const r=(e+1)*this.width;for(;n<r&&this.map[n]<i;)n++;return n==r?o-1:this.map[n]}i=o}}static get(e){return WZ(e)||ZZ(e,function(e){if("table"!=e.type.spec.tableRole)throw new RangeError("Not a table node: "+e.type.name);const t=function(e){let t=-1,n=!1;for(let r=0;r<e.childCount;r++){const i=e.child(r);let o=0;if(n)for(let t=0;t<r;t++){const n=e.child(t);for(let e=0;e<n.childCount;e++){const i=n.child(e);t+i.attrs.rowspan>r&&(o+=i.attrs.colspan)}}for(let e=0;e<i.childCount;e++){const t=i.child(e);o+=t.attrs.colspan,t.attrs.rowspan>1&&(n=!0)}-1==t?t=o:t!=o&&(t=Math.max(t,o))}return t}(e),n=e.childCount,r=[];let i=0,o=null;const a=[];for(let c=0,u=t*n;c<u;c++)r[c]=0;for(let c=0,u=0;c<n;c++){const s=e.child(c);u++;for(let e=0;;e++){for(;i<r.length&&0!=r[i];)i++;if(e==s.childCount)break;const l=s.child(e),{colspan:O,rowspan:d,colwidth:h}=l.attrs;for(let e=0;e<d;e++){if(e+c>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:d-e});break}const s=i+e*t;for(let e=0;e<O;e++){0==r[s+e]?r[s+e]=u:(o||(o=[])).push({type:"collision",row:c,pos:u,n:O-e});const n=h&&h[e];if(n){const r=(s+e)%t*2,i=a[r];null==i||i!=n&&1==a[r+1]?(a[r]=n,a[r+1]=1):i==n&&a[r+1]++}}}i+=O,u+=l.nodeSize}const l=(c+1)*t;let O=0;for(;i<l;)0==r[i++]&&O++;O&&(o||(o=[])).push({type:"missing",row:c,n:O}),u++}0!==t&&0!==n||(o||(o=[])).push({type:"zero_sized"});const s=new YZ(t,n,r,o);let l=!1;for(let c=0;!l&&c<a.length;c+=2)null!=a[c]&&a[c+1]<n&&(l=!0);l&&function(e,t,n){e.problems||(e.problems=[]);const r={};for(let i=0;i<e.map.length;i++){const o=e.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 n=0;n<l.colspan;n++){const r=t[(i+n)%e.width*2];null==r||l.colwidth&&l.colwidth[n]==r||((s||(s=jZ(l)))[n]=r)}s&&e.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}(s,a,e);return s}(e))}};function jZ(e){if(e.colwidth)return e.colwidth.slice();const t=[];for(let n=0;n<e.colspan;n++)t.push(0);return t}function GZ(e,t){if("string"==typeof e)return{};const n=e.getAttribute("data-colwidth"),r=n&&/^\d+(,\d+)*$/.test(n)?n.split(",").map(e=>Number(e)):null,i=Number(e.getAttribute("colspan")||1),o={colspan:i,rowspan:Number(e.getAttribute("rowspan")||1),colwidth:r&&r.length==i?r:null};for(const a in t){const n=t[a].getFromDOM,r=n&&n(e);null!=r&&(o[a]=r)}return o}function HZ(e,t){const n={};1!=e.attrs.colspan&&(n.colspan=e.attrs.colspan),1!=e.attrs.rowspan&&(n.rowspan=e.attrs.rowspan),e.attrs.colwidth&&(n["data-colwidth"]=e.attrs.colwidth.join(","));for(const r in t){const i=t[r].setDOMAttr;i&&i(e.attrs[r],n)}return n}function KZ(e){if(null!==e){if(!Array.isArray(e))throw new TypeError("colwidth must be null or an array");for(const t of e)if("number"!=typeof t)throw new TypeError("colwidth must be null or an array of numbers")}}function JZ(e){let t=e.cached.tableNodeTypes;if(!t){t=e.cached.tableNodeTypes={};for(const n in e.nodes){const r=e.nodes[n],i=r.spec.tableRole;i&&(t[i]=r)}}return t}const eY=new Sz("selectingCells");function tY(e){for(let t=e.depth-1;t>0;t--)if("row"==e.node(t).type.spec.tableRole)return e.node(0).resolve(e.before(t+1));return null}function nY(e){const t=e.selection.$head;for(let n=t.depth;n>0;n--)if("row"==t.node(n).type.spec.tableRole)return!0;return!1}function rY(e){const t=e.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&"cell"==t.node.type.spec.tableRole)return t.$anchor;const n=tY(t.$head)||function(e){for(let t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){const r=t.type.spec.tableRole;if("cell"==r||"header_cell"==r)return e.doc.resolve(n)}for(let t=e.nodeBefore,n=e.pos;t;t=t.lastChild,n--){const r=t.type.spec.tableRole;if("cell"==r||"header_cell"==r)return e.doc.resolve(n-t.nodeSize)}}(t.$head);if(n)return n;throw new RangeError(`No cell found around position ${t.head}`)}function iY(e){return"row"==e.parent.type.spec.tableRole&&!!e.nodeAfter}function oY(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function aY(e,t,n){const r=e.node(-1),i=YZ.get(r),o=e.start(-1),a=i.nextCell(e.pos-o,t,n);return null==a?null:e.node(0).resolve(o+a)}function sY(e,t,n=1){const r={...e,colspan:e.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(t,n),r.colwidth.some(e=>e>0)||(r.colwidth=null)),r}function lY(e,t,n=1){const r={...e,colspan:e.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let e=0;e<n;e++)r.colwidth.splice(t,0,0)}return r}var cY=class e extends rz{constructor(e,t=e){const n=e.node(-1),r=YZ.get(n),i=e.start(-1),o=r.rectBetween(e.pos-i,t.pos-i),a=e.node(0),s=r.cellsInRect(o).filter(e=>e!=t.pos-i);s.unshift(t.pos-i);const l=s.map(e=>{const t=n.nodeAt(e);if(!t)throw new RangeError(`No cell with offset ${e} found`);const r=i+e+1;return new iz(a.resolve(r),a.resolve(r+t.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=e,this.$headCell=t}map(t,n){const r=t.resolve(n.map(this.$anchorCell.pos)),i=t.resolve(n.map(this.$headCell.pos));if(iY(r)&&iY(i)&&oY(r,i)){const t=this.$anchorCell.node(-1)!=r.node(-1);return t&&this.isRowSelection()?e.rowSelection(r,i):t&&this.isColSelection()?e.colSelection(r,i):new e(r,i)}return sz.between(r,i)}content(){const e=this.$anchorCell.node(-1),t=YZ.get(e),n=this.$anchorCell.start(-1),r=t.rectBetween(this.$anchorCell.pos-n,this.$headCell.pos-n),i={},o=[];for(let s=r.top;s<r.bottom;s++){const n=[];for(let o=s*t.width+r.left,a=r.left;a<r.right;a++,o++){const a=t.map[o];if(i[a])continue;i[a]=!0;const s=t.findCell(a);let l=e.nodeAt(a);if(!l)throw new RangeError(`No cell with offset ${a} found`);const c=r.left-s.left,u=s.right-r.right;if(c>0||u>0){let e=l.attrs;if(c>0&&(e=sY(e,0,c)),u>0&&(e=sY(e,e.colspan-u,u)),s.left<r.left){if(l=l.type.createAndFill(e),!l)throw new RangeError(`Could not create cell with attrs ${JSON.stringify(e)}`)}else l=l.type.create(e,l.content)}if(s.top<r.top||s.bottom>r.bottom){const e={...l.attrs,rowspan:Math.min(s.bottom,r.bottom)-Math.max(s.top,r.top)};l=s.top<r.top?l.type.createAndFill(e):l.type.create(e,l.content)}n.push(l)}o.push(e.child(s).copy(HE.from(n)))}const a=this.isColSelection()&&this.isRowSelection()?e:o;return new rR(HE.from(a),1,1)}replace(e,t=rR.empty){const n=e.steps.length,r=this.ranges;for(let o=0;o<r.length;o++){const{$from:i,$to:a}=r[o],s=e.mapping.slice(n);e.replace(s.map(i.pos),s.map(a.pos),o?rR.empty:t)}const i=rz.findFrom(e.doc.resolve(e.mapping.slice(n).map(this.to)),-1);i&&e.setSelection(i)}replaceWith(e,t){this.replace(e,new rR(HE.from(t),0,0))}forEachCell(e){const t=this.$anchorCell.node(-1),n=YZ.get(t),r=this.$anchorCell.start(-1),i=n.cellsInRect(n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r));for(let o=0;o<i.length;o++)e(t.nodeAt(i[o]),r+i[o])}isColSelection(){const e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(Math.min(e,t)>0)return!1;const n=e+this.$anchorCell.nodeAfter.attrs.rowspan,r=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(n,r)==this.$headCell.node(-1).childCount}static colSelection(t,n=t){const r=t.node(-1),i=YZ.get(r),o=t.start(-1),a=i.findCell(t.pos-o),s=i.findCell(n.pos-o),l=t.node(0);return a.top<=s.top?(a.top>0&&(t=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&&(t=l.resolve(o+i.map[i.width*(i.height-1)+a.right-1]))),new e(t,n)}isRowSelection(){const e=this.$anchorCell.node(-1),t=YZ.get(e),n=this.$anchorCell.start(-1),r=t.colCount(this.$anchorCell.pos-n),i=t.colCount(this.$headCell.pos-n);if(Math.min(r,i)>0)return!1;const o=r+this.$anchorCell.nodeAfter.attrs.colspan,a=i+this.$headCell.nodeAfter.attrs.colspan;return Math.max(o,a)==t.width}eq(t){return t instanceof e&&t.$anchorCell.pos==this.$anchorCell.pos&&t.$headCell.pos==this.$headCell.pos}static rowSelection(t,n=t){const r=t.node(-1),i=YZ.get(r),o=t.start(-1),a=i.findCell(t.pos-o),s=i.findCell(n.pos-o),l=t.node(0);return a.left<=s.left?(a.left>0&&(t=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&&(t=l.resolve(o+i.map[i.width*(a.top+1)-1]))),new e(t,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(t,n){return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){return new e(t.resolve(n),t.resolve(r))}getBookmark(){return new uY(this.$anchorCell.pos,this.$headCell.pos)}};cY.prototype.visible=!1,rz.jsonID("cell",cY);var uY=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){const t=e.resolve(this.anchor),n=e.resolve(this.head);return"row"==t.parent.type.spec.tableRole&&"row"==n.parent.type.spec.tableRole&&t.index()<t.parent.childCount&&n.index()<n.parent.childCount&&oY(t,n)?new cY(t,n):rz.near(n,1)}};function OY(e){if(!(e.selection instanceof cY))return null;const t=[];return e.selection.forEachCell((e,n)=>{t.push(XV.node(n,n+e.nodeSize,{class:"selectedCell"}))}),DV.create(e.doc,t)}const dY=new Sz("fix-tables");function hY(e,t,n,r){const i=e.childCount,o=t.childCount;e:for(let a=0,s=0;a<o;a++){const o=t.child(a);for(let t=s,r=Math.min(i,a+3);t<r;t++)if(e.child(t)==o){s=t+1,n+=o.nodeSize;continue e}r(o,n),s<i&&e.child(s).sameMarkup(o)?hY(e.child(s),o,n+1,r):o.nodesBetween(0,o.content.size,r,n+1),n+=o.nodeSize}}function fY(e,t){let n;const r=(t,r)=>{"table"==t.type.spec.tableRole&&(n=function(e,t,n,r){const i=YZ.get(t);if(!i.problems)return r;r||(r=e.tr);const o=[];for(let l=0;l<i.height;l++)o.push(0);for(let l=0;l<i.problems.length;l++){const e=i.problems[l];if("collision"==e.type){const i=t.nodeAt(e.pos);if(!i)continue;const a=i.attrs;for(let t=0;t<a.rowspan;t++)o[e.row+t]+=e.n;r.setNodeMarkup(r.mapping.map(n+1+e.pos),null,sY(a,a.colspan-e.n,e.n))}else if("missing"==e.type)o[e.row]+=e.n;else if("overlong_rowspan"==e.type){const i=t.nodeAt(e.pos);if(!i)continue;r.setNodeMarkup(r.mapping.map(n+1+e.pos),null,{...i.attrs,rowspan:i.attrs.rowspan-e.n})}else if("colwidth mismatch"==e.type){const i=t.nodeAt(e.pos);if(!i)continue;r.setNodeMarkup(r.mapping.map(n+1+e.pos),null,{...i.attrs,colwidth:e.colwidth})}else if("zero_sized"==e.type){const e=r.mapping.map(n);r.delete(e,e+t.nodeSize)}}let a,s;for(let l=0;l<o.length;l++)o[l]&&(null==a&&(a=l),s=l);for(let l=0,c=n+1;l<i.height;l++){const n=t.child(l),i=c+n.nodeSize,u=o[l];if(u>0){let t="cell";n.firstChild&&(t=n.firstChild.type.spec.tableRole);const o=[];for(let n=0;n<u;n++){const n=JZ(e.schema)[t].createAndFill();n&&o.push(n)}const O=0!=l&&a!=l-1||s!=l?i-1:c+1;r.insert(r.mapping.map(O),o)}c=i}return r.setMeta(dY,{fixTables:!0})}(e,t,r,n))};return t?t.doc!=e.doc&&hY(t.doc,e.doc,0,r):e.doc.descendants(r),n}function pY(e){const t=e.selection,n=rY(e),r=n.node(-1),i=n.start(-1),o=YZ.get(r);return{...t instanceof cY?o.rectBetween(t.$anchorCell.pos-i,t.$headCell.pos-i):o.findCell(n.pos-i),tableStart:i,map:o,table:r}}function AY(e,{map:t,tableStart:n,table:r},i){let o=i>0?-1:0;(function(e,t,n){const r=JZ(t.type.schema).header_cell;for(let i=0;i<e.height;i++)if(t.nodeAt(e.map[n+i*e.width]).type!=r)return!1;return!0})(t,r,i+o)&&(o=0==i||i==t.width?null:0);for(let a=0;a<t.height;a++){const s=a*t.width+i;if(i>0&&i<t.width&&t.map[s-1]==t.map[s]){const o=t.map[s],l=r.nodeAt(o);e.setNodeMarkup(e.mapping.map(n+o),null,lY(l.attrs,i-t.colCount(o))),a+=l.attrs.rowspan-1}else{const l=null==o?JZ(r.type.schema).cell:r.nodeAt(t.map[s+o]).type,c=t.positionAt(a,i,r);e.insert(e.mapping.map(n+c),l.createAndFill())}}return e}function mY(e,t){if(!nY(e))return!1;if(t){const n=pY(e);t(AY(e.tr,n,n.left))}return!0}function gY(e,t){if(!nY(e))return!1;if(t){const n=pY(e);t(AY(e.tr,n,n.right))}return!0}function vY(e,{map:t,table:n,tableStart:r},i){const o=e.mapping.maps.length;for(let a=0;a<t.height;){const s=a*t.width+i,l=t.map[s],c=n.nodeAt(l),u=c.attrs;if(i>0&&t.map[s-1]==l||i<t.width-1&&t.map[s+1]==l)e.setNodeMarkup(e.mapping.slice(o).map(r+l),null,sY(u,i-t.colCount(l)));else{const t=e.mapping.slice(o).map(r+l);e.delete(t,t+c.nodeSize)}a+=u.rowspan}}function yY(e,{map:t,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=e.mapping.maps.length;e.delete(o+r,a+r);const l=new Set;for(let c=0,u=i*t.width;c<t.width;c++,u++){const o=t.map[u];if(!l.has(o))if(l.add(o),i>0&&o==t.map[u-t.width]){const t=n.nodeAt(o).attrs;e.setNodeMarkup(e.mapping.slice(s).map(o+r),null,{...t,rowspan:t.rowspan-1}),c+=t.colspan-1}else if(i<t.height&&o==t.map[u+t.width]){const a=n.nodeAt(o),l=a.attrs,u=a.type.create({...l,rowspan:a.attrs.rowspan-1},a.content),O=t.positionAt(i+1,c,n);e.insert(e.mapping.slice(s).map(r+O),u),c+=l.colspan-1}}}function bY(e,t,n){const r=t.map.cellsInRect({left:0,top:0,right:"row"==e?t.map.width:1,bottom:"column"==e?t.map.height:1});for(let i=0;i<r.length;i++){const e=t.table.nodeAt(r[i]);if(e&&e.type!==n.header_cell)return!1}return!0}function wY(e,t){return(t=t||{useDeprecatedLogic:!1}).useDeprecatedLogic?function(e){return function(t,n){if(!nY(t))return!1;if(n){const r=JZ(t.schema),i=pY(t),o=t.tr,a=i.map.cellsInRect("column"==e?{left:i.left,top:0,right:i.right,bottom:i.map.height}:"row"==e?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(e=>i.table.nodeAt(e));for(let e=0;e<a.length;e++)s[e].type==r.header_cell&&o.setNodeMarkup(i.tableStart+a[e],r.cell,s[e].attrs);if(0===o.steps.length)for(let e=0;e<a.length;e++)o.setNodeMarkup(i.tableStart+a[e],r.header_cell,s[e].attrs);n(o)}return!0}}(e):function(t,n){if(!nY(t))return!1;if(n){const r=JZ(t.schema),i=pY(t),o=t.tr,a=bY("row",i,r),s=bY("column",i,r),l=("column"===e?a:"row"===e&&s)?1:0,c="column"==e?{left:0,top:l,right:1,bottom:i.map.height}:"row"==e?{left:l,top:0,right:i.map.width,bottom:1}:i,u="column"==e?s?r.cell:r.header_cell:"row"==e?a?r.cell:r.header_cell:r.cell;i.map.cellsInRect(c).forEach(e=>{const t=e+i.tableStart,n=o.doc.nodeAt(t);n&&o.setNodeMarkup(t,u,n.attrs)}),n(o)}return!0}}function QY(e){return function(t,n){if(!nY(t))return!1;const r=function(e,t){if(t<0){const t=e.nodeBefore;if(t)return e.pos-t.nodeSize;for(let n=e.index(-1)-1,r=e.before();n>=0;n--){const t=e.node(-1).child(n),i=t.lastChild;if(i)return r-1-i.nodeSize;r-=t.nodeSize}}else{if(e.index()<e.parent.childCount-1)return e.pos+e.nodeAfter.nodeSize;const t=e.node(-1);for(let n=e.indexAfter(-1),r=e.after();n<t.childCount;n++){const e=t.child(n);if(e.childCount)return r+1;r+=e.nodeSize}}return null}(rY(t),e);if(null==r)return!1;if(n){const e=t.doc.resolve(r);n(t.tr.setSelection(sz.between(e,(i=e,i.node(0).resolve(i.pos+i.nodeAfter.nodeSize)))).scrollIntoView())}var i;return!0}}function $Y(e,t){const n=e.selection;if(!(n instanceof cY))return!1;if(t){const r=e.tr,i=JZ(e.schema).cell.createAndFill().content;n.forEachCell((e,t)=>{e.content.eq(i)||r.replace(r.mapping.map(t+1),r.mapping.map(t+e.nodeSize-1),new rR(i,0,0))}),r.docChanged&&t(r)}return!0}function SY(e){if(0===e.size)return null;let{content:t,openStart:n,openEnd:r}=e;for(;1==t.childCount&&(n>0&&r>0||"table"==t.child(0).type.spec.tableRole);)n--,r--,t=t.child(0).content;const i=t.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if("row"==o)for(let l=0;l<t.childCount;l++){let e=t.child(l).content;const i=l?0:Math.max(0,n-1),o=l<t.childCount-1?0:Math.max(0,r-1);(i||o)&&(e=xY(JZ(a).row,new rR(e,i,o)).content),s.push(e)}else{if("cell"!=o&&"header_cell"!=o)return null;s.push(n||r?xY(JZ(a).row,new rR(t,n,r)).content:t)}return function(e,t){const n=[];for(let i=0;i<t.length;i++){const e=t[i];for(let t=e.childCount-1;t>=0;t--){const{rowspan:r,colspan:o}=e.child(t).attrs;for(let e=i;e<i+r;e++)n[e]=(n[e]||0)+o}}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>=t.length&&t.push(HE.empty),n[i]<r){const o=JZ(e).cell.createAndFill(),a=[];for(let e=n[i];e<r;e++)a.push(o);t[i]=t[i].append(HE.from(a))}return{height:t.length,width:r,rows:t}}(a,s)}function xY(e,t){const n=e.createAndFill();return new tz(n).replace(0,n.content.size,t).doc}function kY(e,t,n,r,i,o,a,s){if(0==a||a==t.height)return!1;let l=!1;for(let c=i;c<o;c++){const i=a*t.width+c,o=t.map[i];if(t.map[i-t.width]==o){l=!0;const i=n.nodeAt(o),{top:u,left:O}=t.findCell(o);e.setNodeMarkup(e.mapping.slice(s).map(o+r),null,{...i.attrs,rowspan:a-u}),e.insert(e.mapping.slice(s).map(t.positionAt(a,O,n)),i.type.createAndFill({...i.attrs,rowspan:u+i.attrs.rowspan-a})),c+=i.attrs.colspan-1}}return l}function PY(e,t,n,r,i,o,a,s){if(0==a||a==t.width)return!1;let l=!1;for(let c=i;c<o;c++){const i=c*t.width+a,o=t.map[i];if(t.map[i-1]==o){l=!0;const i=n.nodeAt(o),u=t.colCount(o),O=e.mapping.slice(s).map(o+r);e.setNodeMarkup(O,null,sY(i.attrs,a-u,i.attrs.colspan-(a-u))),e.insert(O+i.nodeSize,i.type.createAndFill(sY(i.attrs,0,a-u))),c+=i.attrs.rowspan-1}}return l}function TY(e,t,n,r,i){let o=n?e.doc.nodeAt(n-1):e.doc;if(!o)throw new Error("No table found");let a=YZ.get(o);const{top:s,left:l}=r,c=l+i.width,u=s+i.height,O=e.tr;let d=0;function h(){if(o=n?O.doc.nodeAt(n-1):O.doc,!o)throw new Error("No table found");a=YZ.get(o),d=O.mapping.maps.length}(function(e,t,n,r,i,o,a){const s=JZ(e.doc.type.schema);let l,c;if(i>t.width)for(let u=0,O=0;u<t.height;u++){const o=n.child(u);O+=o.nodeSize;const d=[];let h;h=null==o.lastChild||o.lastChild.type==s.cell?l||(l=s.cell.createAndFill()):c||(c=s.header_cell.createAndFill());for(let e=t.width;e<i;e++)d.push(h);e.insert(e.mapping.slice(a).map(O-1+r),d)}if(o>t.height){const u=[];for(let e=0,r=(t.height-1)*t.width;e<Math.max(t.width,i);e++){const i=!(e>=t.width)&&n.nodeAt(t.map[r+e]).type==s.header_cell;u.push(i?c||(c=s.header_cell.createAndFill()):l||(l=s.cell.createAndFill()))}const O=s.row.create(null,HE.from(u)),d=[];for(let e=t.height;e<o;e++)d.push(O);e.insert(e.mapping.slice(a).map(r+n.nodeSize-2),d)}return!(!l&&!c)})(O,a,o,n,c,u,d)&&h(),kY(O,a,o,n,l,c,s,d)&&h(),kY(O,a,o,n,l,c,u,d)&&h(),PY(O,a,o,n,s,u,l,d)&&h(),PY(O,a,o,n,s,u,c,d)&&h();for(let f=s;f<u;f++){const e=a.positionAt(f,l,o),t=a.positionAt(f,c,o);O.replace(O.mapping.slice(d).map(e+n),O.mapping.slice(d).map(t+n),new rR(i.rows[f-s],0,0))}h(),O.setSelection(new cY(O.doc.resolve(n+a.positionAt(s,l,o)),O.doc.resolve(n+a.positionAt(u-1,c-1,o)))),t(O)}wY("row",{useDeprecatedLogic:!0}),wY("column",{useDeprecatedLogic:!0}),wY("cell",{useDeprecatedLogic:!0});const _Y=YN({ArrowLeft:EY("horiz",-1),ArrowRight:EY("horiz",1),ArrowUp:EY("vert",-1),ArrowDown:EY("vert",1),"Shift-ArrowLeft":RY("horiz",-1),"Shift-ArrowRight":RY("horiz",1),"Shift-ArrowUp":RY("vert",-1),"Shift-ArrowDown":RY("vert",1),Backspace:$Y,"Mod-Backspace":$Y,Delete:$Y,"Mod-Delete":$Y});function CY(e,t,n){return!n.eq(e.selection)&&(t&&t(e.tr.setSelection(n).scrollIntoView()),!0)}function EY(e,t){return(n,r,i)=>{if(!i)return!1;const o=n.selection;if(o instanceof cY)return CY(n,r,rz.near(o.$headCell,t));if("horiz"!=e&&!o.empty)return!1;const a=DY(i,e,t);if(null==a)return!1;if("horiz"==e)return CY(n,r,rz.near(n.doc.resolve(o.head+t),t));{const i=n.doc.resolve(a),o=aY(i,e,t);let s;return s=o?rz.near(o,1):t<0?rz.near(n.doc.resolve(i.before(-1)),-1):rz.near(n.doc.resolve(i.after(-1)),1),CY(n,r,s)}}}function RY(e,t){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof cY)a=o;else{const r=DY(i,e,t);if(null==r)return!1;a=new cY(n.doc.resolve(r))}const s=aY(a.$headCell,e,t);return!!s&&CY(n,r,new cY(a.$anchorCell,s))}}function XY(e,t){const n=tY(e.state.doc.resolve(t));return!!n&&(e.dispatch(e.state.tr.setSelection(new cY(n))),!0)}function BY(e,t,n){if(!nY(e.state))return!1;let r=SY(n);const i=e.state.selection;if(i instanceof cY){r||(r={width:1,height:1,rows:[HE.from(xY(JZ(e.state.schema).cell,n))]});const t=i.$anchorCell.node(-1),o=i.$anchorCell.start(-1),a=YZ.get(t).rectBetween(i.$anchorCell.pos-o,i.$headCell.pos-o);return r=function({width:e,height:t,rows:n},r,i){if(e!=r){const t=[],i=[];for(let e=0;e<n.length;e++){const o=n[e],a=[];for(let n=t[e]||0,i=0;n<r;i++){let s=o.child(i%o.childCount);n+s.attrs.colspan>r&&(s=s.type.createChecked(sY(s.attrs,s.attrs.colspan,n+s.attrs.colspan-r),s.content)),a.push(s),n+=s.attrs.colspan;for(let n=1;n<s.attrs.rowspan;n++)t[e+n]=(t[e+n]||0)+s.attrs.colspan}i.push(HE.from(a))}n=i,e=r}if(t!=i){const e=[];for(let r=0,o=0;r<i;r++,o++){const a=[],s=n[o%t];for(let e=0;e<s.childCount;e++){let t=s.child(e);r+t.attrs.rowspan>i&&(t=t.type.create({...t.attrs,rowspan:Math.max(1,i-t.attrs.rowspan)},t.content)),a.push(t)}e.push(HE.from(a))}n=e,t=i}return{width:e,height:t,rows:n}}(r,a.right-a.left,a.bottom-a.top),TY(e.state,e.dispatch,o,a,r),!0}if(r){const t=rY(e.state),n=t.start(-1);return TY(e.state,e.dispatch,n,YZ.get(t.node(-1)).findCell(t.pos-n),r),!0}return!1}function UY(e,t){var n;if(0!=t.button)return;if(t.ctrlKey||t.metaKey)return;const r=IY(e,t.target);let i;if(t.shiftKey&&e.state.selection instanceof cY)o(e.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&r&&null!=(i=tY(e.state.selection.$anchor))&&(null===(n=zY(e,t))||void 0===n?void 0:n.pos)!=i.pos)o(i,t),t.preventDefault();else if(!r)return;function o(t,n){let r=zY(e,n);const i=null==eY.getState(e.state);if(!r||!oY(t,r)){if(!i)return;r=t}const o=new cY(t,r);if(i||!e.state.selection.eq(o)){const n=e.state.tr.setSelection(o);i&&n.setMeta(eY,t.pos),e.dispatch(n)}}function a(){e.root.removeEventListener("mouseup",a),e.root.removeEventListener("dragstart",a),e.root.removeEventListener("mousemove",s),null!=eY.getState(e.state)&&e.dispatch(e.state.tr.setMeta(eY,-1))}function s(n){const i=n,s=eY.getState(e.state);let l;if(null!=s)l=e.state.doc.resolve(s);else if(IY(e,i.target)!=r&&(l=zY(e,t),!l))return a();l&&o(l,i)}e.root.addEventListener("mouseup",a),e.root.addEventListener("dragstart",a),e.root.addEventListener("mousemove",s)}function DY(e,t,n){if(!(e.state.selection instanceof sz))return null;const{$head:r}=e.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("cell"==o.type.spec.tableRole||"header_cell"==o.type.spec.tableRole){const o=r.before(i),a="vert"==t?n>0?"down":"up":n>0?"right":"left";return e.endOfTextblock(a)?o:null}}return null}function IY(e,t){for(;t&&t!=e.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t;return null}function zY(e,t){const n=e.posAtCoords({left:t.clientX,top:t.clientY});if(!n)return null;let{inside:r,pos:i}=n;return r>=0&&tY(e.state.doc.resolve(r))||tY(e.state.doc.resolve(i))}var NY=class{constructor(e,t){this.node=e,this.defaultCellMinWidth=t,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",`${t}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),MY(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type==this.node.type&&(this.node=e,MY(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return"attributes"==e.type&&(e.target==this.table||this.colgroup.contains(e.target))}};function MY(e,t,n,r,i,o){let a=0,s=!0,l=t.firstChild;const c=e.firstChild;if(c){for(let e=0,n=0;e<c.childCount;e++){const{colspan:u,colwidth:O}=c.child(e).attrs;for(let e=0;e<u;e++,n++){const c=i==n?o:O&&O[e],u=c?c+"px":"";if(a+=c||r,c||(s=!1),l)l.style.width!=u&&(l.style.width=u),l=l.nextSibling;else{const e=document.createElement("col");e.style.width=u,t.appendChild(e)}}}for(;l;){var u;const e=l.nextSibling;null===(u=l.parentNode)||void 0===u||u.removeChild(l),l=e}s?(n.style.width=a+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=a+"px")}}const LY=new Sz("tableColumnResizing");function VY({handleWidth:e=5,cellMinWidth:t=25,defaultCellMinWidth:n=100,View:r=NY,lastColumnResizable:i=!0}={}){const o=new wz({key:LY,state:{init(e,t){var i;const a=null===(i=o.spec)||void 0===i||null===(i=i.props)||void 0===i?void 0:i.nodeViews,s=JZ(t.schema).table.name;return r&&a&&(a[s]=(e,t)=>new r(e,n,t)),new qY(-1,!1)},apply:(e,t)=>t.apply(e)},props:{attributes:e=>{const t=LY.getState(e);return t&&t.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(t,n)=>{!function(e,t,n,r){if(!e.editable)return;const i=LY.getState(e.state);if(!i)return;if(!i.dragging){const o=function(e){for(;e&&"TD"!=e.nodeName&&"TH"!=e.nodeName;)e=e.classList&&e.classList.contains("ProseMirror")?null:e.parentNode;return e}(t.target);let a=-1;if(o){const{left:r,right:i}=o.getBoundingClientRect();t.clientX-r<=n?a=FY(e,t,"left",n):i-t.clientX<=n&&(a=FY(e,t,"right",n))}if(a!=i.activeHandle){if(!r&&-1!==a){const t=e.state.doc.resolve(a),n=t.node(-1),r=YZ.get(n),i=t.start(-1);if(r.colCount(t.pos-i)+t.nodeAfter.attrs.colspan-1==r.width-1)return}ZY(e,a)}}}(t,n,e,i)},mouseleave:e=>{!function(e){if(!e.editable)return;const t=LY.getState(e.state);t&&t.activeHandle>-1&&!t.dragging&&ZY(e,-1)}(e)},mousedown:(e,r)=>{!function(e,t,n,r){var i;if(!e.editable)return!1;const o=null!==(i=e.dom.ownerDocument.defaultView)&&void 0!==i?i:window,a=LY.getState(e.state);if(!a||-1==a.activeHandle||a.dragging)return!1;const s=e.state.doc.nodeAt(a.activeHandle),l=function(e,t,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=e.domAtPos(t);let a=o.node.childNodes[o.offset].offsetWidth,s=n;if(r)for(let l=0;l<n;l++)r[l]&&(a-=r[l],s--);return a/s}(e,a.activeHandle,s.attrs);function c(t){o.removeEventListener("mouseup",c),o.removeEventListener("mousemove",u);const r=LY.getState(e.state);(null==r?void 0:r.dragging)&&(!function(e,t,n){const r=e.state.doc.resolve(t),i=r.node(-1),o=YZ.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,l=e.state.tr;for(let c=0;c<o.height;c++){const e=c*o.width+s;if(c&&o.map[e]==o.map[e-o.width])continue;const t=o.map[e],r=i.nodeAt(t).attrs,u=1==r.colspan?0:s-o.colCount(t);if(r.colwidth&&r.colwidth[u]==n)continue;const O=r.colwidth?r.colwidth.slice():jY(r.colspan);O[u]=n,l.setNodeMarkup(a+t,null,{...r,colwidth:O})}l.docChanged&&e.dispatch(l)}(e,r.activeHandle,WY(r.dragging,t,n)),e.dispatch(e.state.tr.setMeta(LY,{setDragging:null})))}function u(t){if(!t.which)return c(t);const i=LY.getState(e.state);if(i&&i.dragging){const o=WY(i.dragging,t,n);YY(e,i.activeHandle,o,r)}}e.dispatch(e.state.tr.setMeta(LY,{setDragging:{startX:t.clientX,startWidth:l}})),YY(e,a.activeHandle,l,r),o.addEventListener("mouseup",c),o.addEventListener("mousemove",u),t.preventDefault()}(e,r,t,n)}},decorations:e=>{const t=LY.getState(e);if(t&&t.activeHandle>-1)return function(e,t){const n=[],r=e.doc.resolve(t),i=r.node(-1);if(!i)return DV.empty;const o=YZ.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1;for(let c=0;c<o.height;c++){const t=s+c*o.width;if(!(s!=o.width-1&&o.map[t]==o.map[t+1]||0!=c&&o.map[t]==o.map[t-o.width])){var l;const r=o.map[t],s=a+r+i.nodeAt(r).nodeSize-1,c=document.createElement("div");c.className="column-resize-handle",(null===(l=LY.getState(e))||void 0===l?void 0:l.dragging)&&n.push(XV.node(a+r,a+r+i.nodeAt(r).nodeSize,{class:"column-resize-dragging"})),n.push(XV.widget(s,c))}}return DV.create(e.doc,n)}(e,t.activeHandle)},nodeViews:{}}});return o}var qY=class e{constructor(e,t){this.activeHandle=e,this.dragging=t}apply(t){const n=this,r=t.getMeta(LY);if(r&&null!=r.setHandle)return new e(r.setHandle,!1);if(r&&void 0!==r.setDragging)return new e(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&t.docChanged){let r=t.mapping.map(n.activeHandle,-1);return iY(t.doc.resolve(r))||(r=-1),new e(r,n.dragging)}return n}};function FY(e,t,n,r){const i="right"==n?-r:r,o=e.posAtCoords({left:t.clientX+i,top:t.clientY});if(!o)return-1;const{pos:a}=o,s=tY(e.state.doc.resolve(a));if(!s)return-1;if("right"==n)return s.pos;const l=YZ.get(s.node(-1)),c=s.start(-1),u=l.map.indexOf(s.pos-c);return u%l.width==0?-1:c+l.map[u-1]}function WY(e,t,n){const r=t.clientX-e.startX;return Math.max(n,e.startWidth+r)}function ZY(e,t){e.dispatch(e.state.tr.setMeta(LY,{setHandle:t}))}function YY(e,t,n,r){const i=e.state.doc.resolve(t),o=i.node(-1),a=i.start(-1),s=YZ.get(o).colCount(i.pos-a)+i.nodeAfter.attrs.colspan-1;let l=e.domAtPos(i.start(-1)).node;for(;l&&"TABLE"!=l.nodeName;)l=l.parentNode;l&&MY(o,l.firstChild,l,r,s,n)}function jY(e){return Array(e).fill(0)}function GY({allowTableNodeSelection:e=!1}={}){return new wz({key:eY,state:{init:()=>null,apply(e,t){const n=e.getMeta(eY);if(null!=n)return-1==n?null:n;if(null==t||!e.docChanged)return t;const{deleted:r,pos:i}=e.mapping.mapResult(t);return r?null:i}},props:{decorations:OY,handleDOMEvents:{mousedown:UY},createSelectionBetween:e=>null!=eY.getState(e.state)?e.state.selection:null,handleTripleClick:XY,handleKeyDown:_Y,handlePaste:BY},appendTransaction:(t,n,r)=>function(e,t,n){const r=(t||e).selection,i=(t||e).doc;let o,a;if(r instanceof cz&&(a=r.node.type.spec.tableRole)){if("cell"==a||"header_cell"==a)o=cY.create(i,r.from);else if("row"==a){const e=i.resolve(r.from+1);o=cY.rowSelection(e,e)}else if(!n){const e=YZ.get(r.node),t=r.from+1,n=t+e.map[e.width*e.height-1];o=cY.create(i,t+1,n)}}else r instanceof sz&&function({$from:e,$to:t}){if(e.pos==t.pos||e.pos<t.pos-6)return!1;let n=e.pos,r=t.pos,i=e.depth;for(;i>=0&&!(e.after(i+1)<e.end(i));i--,n++);for(let o=t.depth;o>=0&&!(t.before(o+1)>t.start(o));o--,r--);return n==r&&/row|table/.test(e.node(i).type.spec.tableRole)}(r)?o=sz.create(i,r.from):r instanceof sz&&function({$from:e,$to:t}){let n,r;for(let i=e.depth;i>0;i--){const t=e.node(i);if("cell"===t.type.spec.tableRole||"header_cell"===t.type.spec.tableRole){n=t;break}}for(let i=t.depth;i>0;i--){const e=t.node(i);if("cell"===e.type.spec.tableRole||"header_cell"===e.type.spec.tableRole){r=e;break}}return n!==r&&0===t.parentOffset}(r)&&(o=sz.create(i,r.$from.start(),r.$from.end()));return o&&(t||(t=e.tr)).setSelection(o),t}(r,fY(r,n),e)})}var HY="undefined"!=typeof navigator?navigator:null,KY=HY&&HY.userAgent||"",JY=/Edge\/(\d+)/.exec(KY),ej=/MSIE \d/.exec(KY),tj=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(KY),nj=!!!(ej||tj||JY)&&!!HY&&/Apple Computer/.test(HY.vendor),rj=new Sz("safari-ime-span"),ij=!1;function oj(e){const t=e.dom.ownerDocument.createElement("span");return t.className="ProseMirror-safari-ime-span",t}var aj=new wz(nj?{key:rj,props:{decorations:function(e){const{$from:t,$to:n,to:r}=e.selection;if(ij&&t.sameParent(n)){const t=XV.widget(r,oj,{ignoreSelection:!0,key:"safari-ime-span"});return DV.create(e.doc,[t])}},handleDOMEvents:{compositionstart:()=>{ij=!0},compositionend:()=>{ij=!1}}}}:{key:rj});function sj(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}function lj(e,t,n){const r=vU((n||{}).ignore||[]),i=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([cj(e[0]),uj(e[1])])}return t}(t);let o=-1;for(;++o<i.length;)xU(e,"text",a);function a(e,t){let n,a=-1;for(;++a<t.length;){const e=t[a],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=i[o][0],a=i[o][1];let s=0;const l=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let O=r.exec(e.value);for(;O;){const n=O.index,i={index:O.index,input:O.input,stack:[...t,e]};let o=a(...O,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=n+O[0].length,c=!0),!r.global)break;O=r.exec(e.value)}c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e];return l+u.length}(e,t)}}function cj(e){return"string"==typeof e?new RegExp(GF(e),"g"):e}function uj(e){return"function"==typeof e?e:function(){return e}}const Oj="phrasing",dj=["autolink","link","image","label"];function hj(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function fj(e){this.config.enter.autolinkProtocol.call(this,e)}function pj(e){this.config.exit.autolinkProtocol.call(this,e)}function Aj(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function mj(e){this.config.exit.autolinkEmail.call(this,e)}function gj(e){this.exit(e)}function vj(e){lj(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,yj],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),bj]],{ignore:["link","linkReference"]})}function yj(e,t,n,r,i){let o="";if(!wj(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=sj(e,"(");let o=sj(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function bj(e,t,n,r){return!(!wj(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function wj(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||TX(n)||PX(n))&&(!t||47!==n)}function Qj(){this.buffer()}function $j(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Sj(){this.buffer()}function xj(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function kj(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=mX(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Pj(e){this.exit(e)}function Tj(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=mX(this.sliceSerialize(e)).toLowerCase(),n.label=t}function _j(e){this.exit(e)}function Cj(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),s(),a(),o+=i.move("]"),o}function Ej(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,i){const o=r.createTracker(i);let a=o.move("[^");const s=r.enter("footnoteDefinition"),l=r.enter("label");a+=o.move(r.safe(r.associationId(e),{before:a,after:"]"})),l(),a+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),a+=o.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,o.current()),t?Xj:Rj)));return s(),a},footnoteReference:Cj},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function Rj(e,t,n){return 0===t?e:Xj(e,t,n)}function Xj(e,t,n){return(n?"":" ")+e}Cj.peek=function(){return"["};const Bj=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Uj(e){this.enter({type:"delete",children:[]},e)}function Dj(e){this.exit(e)}function Ij(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function zj(e){return e.length}function Nj(e){return null==e?"":String(e)}function Mj(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Lj(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function Vj(e){this.exit(e),this.data.inTable=void 0}function qj(e){this.enter({type:"tableRow",children:[]},e)}function Fj(e){this.exit(e)}function Wj(e){this.enter({type:"tableCell",children:[]},e)}function Zj(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Yj));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Yj(e,t){return"|"===t?t:e}function jj(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=NU.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("table");for(;++i<r.length;)o[i]=l(r[i],t,n);return a(),o}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const i=s([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function a(e,t,n,r){const i=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:o,after:o});return a(),i(),s}function s(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||zj,o=[],a=[],s=[],l=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let o=-1;for(e[u].length>c&&(c=e[u].length);++o<e[u].length;){const a=Nj(e[u][o]);if(!1!==n.alignDelimiters){const e=i(a);r[o]=e,(void 0===l[o]||e>l[o])&&(l[o]=e)}t.push(a)}a[u]=t,s[u]=r}let O=-1;if("object"==typeof r&&"length"in r)for(;++O<c;)o[O]=Mj(r[O]);else{const e=Mj(r);for(;++O<c;)o[O]=e}O=-1;const d=[],h=[];for(;++O<c;){const e=o[O];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,l[O]-t.length-r.length);const a=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&(i=t.length+i+r.length,i>l[O]&&(l[O]=i),h[O]=i),d[O]=a}a.splice(1,0,d),s.splice(1,0,h),u=-1;const f=[];for(;++u<a.length;){const e=a[u],t=s[u];O=-1;const r=[];for(;++O<c;){const i=e[O]||"";let a="",s="";if(!1!==n.alignDelimiters){const e=l[O]-(t[O]||0),n=o[O];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),s=a):s=" ".repeat(e)}!1===n.delimiterStart||O||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===i||!1===n.delimiterStart&&!O||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(i),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&O===c-1||r.push("|")}f.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){const r=e.children;let i=-1;const o=[],s=t.enter("tableRow");for(;++i<r.length;)o[i]=a(r[i],0,t,n);return s(),o}}function Gj(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Hj(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let i,o=-1;for(;++o<r.length;){const e=r[o];if("paragraph"===e.type){i=e;break}}i===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Kj(e,t,n,r){const i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let l=NU.listItem(e,t,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),l}Ij.peek=function(){return"~"};const Jj={tokenize:function(e,t,n){let r=0;return function t(o){if((87===o||119===o)&&r<3)return r++,e.consume(o),t;if(46===o&&3===r)return e.consume(o),i;return n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},eG={tokenize:function(e,t,n){let r,i,o;return a;function a(t){return 46===t||95===t?e.check(nG,l,s)(t):null===t||xX(t)||TX(t)||45!==t&&PX(t)?l(t):(o=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},tG={tokenize:function(e,t){let n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r<n?o(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(nG,t,o)(a):null===a||xX(a)||TX(a)?t(a):(e.consume(a),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},nG={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),o):93===a?(e.consume(a),i):60===a||null===a||xX(a)||TX(a)?t(a):n(a)}function i(e){return null===e||40===e||91===e||xX(e)||TX(e)?t(e):r(e)}function o(e){return gX(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):gX(t)?(e.consume(t),a):n(t)}},partial:!0},rG={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return vX(e)?n(e):t(e)}},partial:!0},iG={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){if(87!==t&&119!==t||!cG.call(r,r.previous)||hG(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Jj,e.attempt(eG,e.attempt(tG,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:cG},oG={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let i="",o=!1;return function(t){if((72===t||104===t)&&uG.call(r,r.previous)&&!hG(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(gX(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),o?l:(o=!0,s)):n(t)}function l(t){return null===t||bX(t)||xX(t)||TX(t)||PX(t)?n(t):e.attempt(eG,e.attempt(tG,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:uG},aG={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let i,o;return function(t){if(!dG(t)||!OG.call(r,r.previous)||hG(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return dG(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(rG,c,l)(t):45===t||95===t||vX(t)?(o=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),i=!0,s}function c(a){return o&&i&&gX(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:OG},sG={};let lG=48;for(;lG<123;)sG[lG]=aG,lG++,58===lG?lG=65:91===lG&&(lG=97);function cG(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||xX(e)}function uG(e){return!gX(e)}function OG(e){return!(47===e||dG(e))}function dG(e){return 43===e||45===e||46===e||95===e||vX(e)}function hG(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}sG[43]=aG,sG[45]=aG,sG[46]=aG,sG[95]=aG,sG[72]=[aG,oG],sG[104]=[aG,oG],sG[87]=[aG,iG],sG[119]=[aG,iG];const fG={tokenize:function(e,t,n){const r=this;return CX(e,function(e){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function pG(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=mX(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.codePointAt(0)||!o.includes(s.slice(1)))return n(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function AG(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function mG(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!o||null===s||91===s||xX(s))return n(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return i.includes(mX(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return xX(s)||(o=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function gG(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||xX(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=mX(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),O}return xX(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function O(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(o)||i.push(o),CX(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return t(e)}}function vG(e,t,n){return e.check(NX,t,e.attempt(fG,t,n))}function yG(e){e.exit("gfmFootnoteDefinition")}function bG(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const i=this.previous,o=this.events;let a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const l=BX(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=BX(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&uX(a,a.length,0,UX(s,e.slice(r+1,n),t)),uX(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),uX(e,r-1,n-r+3,a),n=r+a.length-2;break}}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class wG{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0===n&&0===r.length)return;for(;i<e.map.length;){if(e.map[i][0]===t)return e.map[i][1]+=n,void e.map[i][2].push(...r);i+=1}e.map.push([t,n,r])}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0}}function QG(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}function $G(e,t,n){const r=this;let i,o=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?y:s;if(o===y&&r.parser.lazy[r.now().line])return n(e);return o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return i=!0,a+=1,l(e)}(t)}function l(t){return null===t?n(t):SX(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O):n(t):kX(t)?CX(e,l,"whitespace")(t):(a+=1,i&&(i=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||xX(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function O(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,kX(t)?CX(e,d,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):d(t))}function d(t){return 45===t||58===t?f(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):v(t)}function h(t){return kX(t)?CX(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),p):45===t?(a+=1,p(t)):null===t||SX(t)?g(t):v(t)}function p(t){return 45===t?(e.enter("tableDelimiterFiller"),A(t)):v(t)}function A(t){return 45===t?(e.consume(t),A):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):(e.exit("tableDelimiterFiller"),m(t))}function m(t){return kX(t)?CX(e,g,"whitespace")(t):g(t)}function g(n){return 124===n?d(n):(null===n||SX(n))&&i&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):v(n)}function v(e){return n(e)}function y(t){return e.enter("tableRow"),b(t)}function b(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),b):null===n||SX(n)?(e.exit("tableRow"),t(n)):kX(n)?CX(e,b,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||xX(t)?(e.exit("data"),b(t)):(e.consume(t),92===t?Q:w)}function Q(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function SG(e,t){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,O=0;const d=new wG;for(;++o<e.length;){const h=e[o],f=h[1];"enter"===h[0]?"tableHead"===f.type?(u=!1,0!==O&&(kG(d,t,O,n,r),r=void 0,O=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},d.add(o,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},d.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],i=xG(d,t,l,s,void 0,i)),l=c,c=[l[1],o,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=xG(d,t,l,s,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableHead"===f.type?(u=!0,O=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(O=o,0!==l[1]?(c[0]=c[1],i=xG(d,t,l,s,o,i)):0!==c[1]&&(i=xG(d,t,c,s,o,i)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=o)}for(0!==O&&kG(d,t,O,n,r),d.consume(t.events),o=-1;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=QG(t.events,o))}return e}function xG(e,t,n,r,i,o){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},PG(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const s=PG(t.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){const i=PG(t.events,n[2]),o=PG(t.events,n[3]),a={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==i&&(o.end=Object.assign({},PG(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function kG(e,t,n,r,i){const o=[],a=PG(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function PG(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const TG={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return xX(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return SX(r)?t(r):kX(r)?e.check({tokenize:_G},t,n)(r):n(r)}}};function _G(e,t,n){return CX(e,function(e){return null===e?n(e):t(e)},"whitespace")}const CG={};function EG(e){const t=e||CG,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return hX([{text:sG},{document:{91:{name:"gfmFootnoteDefinition",tokenize:gG,continuation:{tokenize:vG},exit:yG}},text:{91:{name:"gfmFootnoteCall",tokenize:mG},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pG,resolveTo:AG}}},bG(e),{flow:{null:{name:"table",tokenize:$G,resolveAll:SG}}},{text:{91:TG}}])}(t)),i.push([{transforms:[vj],enter:{literalAutolink:hj,literalAutolinkEmail:fj,literalAutolinkHttp:fj,literalAutolinkWww:fj},exit:{literalAutolink:gj,literalAutolinkEmail:mj,literalAutolinkHttp:pj,literalAutolinkWww:Aj}},{enter:{gfmFootnoteCallString:Qj,gfmFootnoteCall:$j,gfmFootnoteDefinitionLabelString:Sj,gfmFootnoteDefinition:xj},exit:{gfmFootnoteCallString:kj,gfmFootnoteCall:Pj,gfmFootnoteDefinitionLabelString:Tj,gfmFootnoteDefinition:_j}},{canContainEols:["delete"],enter:{strikethrough:Uj},exit:{strikethrough:Dj}},{enter:{table:Lj,tableData:Wj,tableHeader:Wj,tableRow:qj},exit:{codeText:Zj,table:Vj,tableData:Fj,tableHeader:Fj,tableRow:Fj}},{exit:{taskListCheckValueChecked:Gj,taskListCheckValueUnchecked:Gj,paragraph:Hj}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Oj,notInConstruct:dj},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Oj,notInConstruct:dj},{character:":",before:"[ps]",after:"\\/",inConstruct:Oj,notInConstruct:dj}]},Ej(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Bj}],handlers:{delete:Ij}},jj(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Kj}}]}}(t))}function RG(e,t){return Object.assign(e,{meta:{package:"@milkdown/preset-gfm",...t}}),e}const XG=YF("strike_through");RG(XG,{displayName:"Attr<strikethrough>",group:"Strikethrough"});const BG=FF("strike_through",e=>({parseDOM:[{tag:"del"},{style:"text-decoration",getAttrs:e=>"line-through"===e}],toDOM:t=>["del",e.get(XG.key)(t)],parseMarkdown:{match:e=>"delete"===e.type,runner:(e,t,n)=>{e.openMark(n),e.next(t.children),e.closeMark(n)}},toMarkdown:{match:e=>"strike_through"===e.type.name,runner:(e,t)=>{e.withMark(t,"delete")}}}));RG(BG.mark,{displayName:"MarkSchema<strikethrough>",group:"Strikethrough"}),RG(BG.ctx,{displayName:"MarkSchemaCtx<strikethrough>",group:"Strikethrough"});const UG=UF("ToggleStrikeThrough",e=>()=>TN(BG.type(e)));RG(UG,{displayName:"Command<ToggleStrikethrough>",group:"Strikethrough"});const DG=DF(e=>Jz(/~([^~]+)~$/,BG.type(e)));RG(DG,{displayName:"InputRule<strikethrough>",group:"Strikethrough"});const IG=WF("strikeThroughKeymap",{ToggleStrikethrough:{shortcuts:"Mod-Alt-x",command:e=>{const t=e.get(qq);return()=>t.call(UG.key)}}});RG(IG.ctx,{displayName:"KeymapCtx<strikethrough>",group:"Strikethrough"}),RG(IG.shortcuts,{displayName:"Keymap<strikethrough>",group:"Strikethrough"});const zG=function(e){const t=e.cellAttributes||{},n={colspan:{default:1,validate:"number"},rowspan:{default:1,validate:"number"},colwidth:{default:null,validate:KZ}};for(const r in t)n[r]={default:t[r].default,validate:t[r].validate};return{table:{content:"table_row+",tableRole:"table",isolating:!0,group:e.tableGroup,parseDOM:[{tag:"table"}],toDOM:()=>["table",["tbody",0]]},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM:()=>["tr",0]},table_cell:{content:e.cellContent,attrs:n,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:e=>GZ(e,t)}],toDOM:e=>["td",HZ(e,t),0]},table_header:{content:e.cellContent,attrs:n,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:e=>GZ(e,t)}],toDOM:e=>["th",HZ(e,t),0]}}}({tableGroup:"block",cellContent:"paragraph",cellAttributes:{alignment:{default:"left",getFromDOM:e=>e.style.textAlign||"left",setDOMAttr:(e,t)=>{t.style=`text-align: ${e||"left"}`}}}}),NG=qF("table",()=>({...zG.table,content:"table_header_row table_row+",disableDropCursor:!0,parseMarkdown:{match:e=>"table"===e.type,runner:(e,t,n)=>{const r=t.align,i=t.children.map((e,t)=>({...e,align:r,isHeader:0===t}));e.openNode(n),e.next(i),e.closeNode()}},toMarkdown:{match:e=>"table"===e.type.name,runner:(e,t)=>{var n;const r=null==(n=t.content.firstChild)?void 0:n.content;if(!r)return;const i=[];r.forEach(e=>{i.push(e.attrs.alignment)}),e.openNode("table",void 0,{align:i}),e.next(t.content),e.closeNode()}}}));RG(NG.node,{displayName:"NodeSchema<table>",group:"Table"}),RG(NG.ctx,{displayName:"NodeSchemaCtx<table>",group:"Table"});const MG=qF("table_header_row",()=>({...zG.table_row,disableDropCursor:!0,content:"(table_header)*",parseDOM:[{tag:"tr[data-is-header]"}],toDOM:()=>["tr",{"data-is-header":!0},0],parseMarkdown:{match:e=>!("tableRow"!==e.type||!e.isHeader),runner:(e,t,n)=>{const r=t.align,i=t.children.map((e,n)=>({...e,align:r[n],isHeader:t.isHeader}));e.openNode(n),e.next(i),e.closeNode()}},toMarkdown:{match:e=>"table_header_row"===e.type.name,runner:(e,t)=>{e.openNode("tableRow",void 0,{isHeader:!0}),e.next(t.content),e.closeNode()}}}));RG(MG.node,{displayName:"NodeSchema<tableHeaderRow>",group:"Table"}),RG(MG.ctx,{displayName:"NodeSchemaCtx<tableHeaderRow>",group:"Table"});const LG=qF("table_row",()=>({...zG.table_row,disableDropCursor:!0,content:"(table_cell)*",parseMarkdown:{match:e=>"tableRow"===e.type,runner:(e,t,n)=>{const r=t.align,i=t.children.map((e,t)=>({...e,align:r[t]}));e.openNode(n),e.next(i),e.closeNode()}},toMarkdown:{match:e=>"table_row"===e.type.name,runner:(e,t)=>{e.openNode("tableRow"),e.next(t.content),e.closeNode()}}}));RG(LG.node,{displayName:"NodeSchema<tableRow>",group:"Table"}),RG(LG.ctx,{displayName:"NodeSchemaCtx<tableRow>",group:"Table"});const VG=qF("table_cell",()=>({...zG.table_cell,disableDropCursor:!0,parseMarkdown:{match:e=>"tableCell"===e.type&&!e.isHeader,runner:(e,t,n)=>{const r=t.align;e.openNode(n,{alignment:r}).openNode(e.schema.nodes.paragraph).next(t.children).closeNode().closeNode()}},toMarkdown:{match:e=>"table_cell"===e.type.name,runner:(e,t)=>{e.openNode("tableCell").next(t.content).closeNode()}}}));RG(VG.node,{displayName:"NodeSchema<tableCell>",group:"Table"}),RG(VG.ctx,{displayName:"NodeSchemaCtx<tableCell>",group:"Table"});const qG=qF("table_header",()=>({...zG.table_header,disableDropCursor:!0,parseMarkdown:{match:e=>"tableCell"===e.type&&!!e.isHeader,runner:(e,t,n)=>{const r=t.align;e.openNode(n,{alignment:r}),e.openNode(e.schema.nodes.paragraph),e.next(t.children),e.closeNode(),e.closeNode()}},toMarkdown:{match:e=>"table_header"===e.type.name,runner:(e,t)=>{e.openNode("tableCell"),e.next(t.content),e.closeNode()}}}));function FG(e,t=3,n=3){const r=Array(n).fill(0).map(()=>VG.type(e).createAndFill()),i=Array(n).fill(0).map(()=>qG.type(e).createAndFill()),o=Array(t).fill(0).map((t,n)=>0===n?MG.type(e).create(null,i):LG.type(e).create(null,r));return NG.type(e).create(null,o)}function WG(e){return dN(e=>"table"===e.type.spec.tableRole)(e)}function ZG(e,t){const n=WG(t.$from);if(!n)return;const r=YZ.get(n.node);return e<0||e>=r.width?void 0:r.cellsInRect({left:e,right:e+1,top:0,bottom:r.height}).map(e=>{const t=n.node.nodeAt(e);if(!t)return;const r=e+n.start;return{pos:r,start:r+1,node:t}}).filter(e=>null!=e)}function YG(e,t){const n=WG(t.$from);if(!n)return;const r=YZ.get(n.node);return e<0||e>=r.height?void 0:r.cellsInRect({left:0,right:r.width,top:e,bottom:e+1}).map(e=>{const t=n.node.nodeAt(e);if(!t)return;const r=e+n.start;return{pos:r,start:r+1,node:t}}).filter(e=>null!=e)}function jG(e){const t=function(e){const t=WG(e.$from);if(!t)return;const n=YZ.get(t.node);return n.cellsInRect({left:0,right:n.width,top:0,bottom:n.height}).map(e=>{const n=t.node.nodeAt(e),r=e+t.start;return{pos:r,start:r+1,node:n}})}(e.selection);if(t&&t[0]){const n=e.doc.resolve(t[0].pos),r=t[t.length-1];if(r){const t=e.doc.resolve(r.pos);return cN(e.setSelection(new cY(t,n)))}}return e}function GG(e,t,{map:n,tableStart:r,table:i},o){const a=Array(o).fill(0).reduce((e,t,n)=>e+i.child(n).nodeSize,r),s=Array(n.width).fill(0).map((t,r)=>{const o=i.nodeAt(n.map[r]);return VG.type(e).createAndFill({alignment:null==o?void 0:o.attrs.alignment})});return t.insert(a,LG.type(e).create(null,s)),t}function HG(e){return(t,n)=>r=>{n=n??r.selection.from;const i=r.doc.resolve(n),o=dN(e=>"table"===e.type.name)(i),a=o?{node:o.node,from:o.start}:void 0,s="row"===e;if(a){const e=YZ.get(a.node);if(t>=0&&t<(s?e.height:e.width)){const n=e.positionAt(s?t:e.height-1,s?e.width-1:t,a.node),i=r.doc.resolve(a.from+n),o=s?cY.rowSelection:cY.colSelection,l=e.positionAt(s?t:0,s?0:t,a.node),c=r.doc.resolve(a.from+l);return cN(r.setSelection(o(i,c)))}}return r}}RG(qG.node,{displayName:"NodeSchema<tableHeader>",group:"Table"}),RG(qG.ctx,{displayName:"NodeSchemaCtx<tableHeader>",group:"Table"});const KG=HG("row"),JG=HG("col");function eH(e){return e[0].map((t,n)=>e.map(e=>e[n]))}function tH(e,t){const n=[],r=YZ.get(e);for(let i=0;i<r.height;i++){const o=e.child(i),a=[];for(let n=0;n<r.width;n++){if(!t[i][n])continue;const o=r.map[i*r.width+n],s=t[i][n],l=e.nodeAt(o).type.createChecked(Object.assign({},s.attrs),s.content,s.marks);a.push(l)}n.push(o.type.createChecked(o.attrs,a,o.marks))}return e.type.createChecked(e.attrs,n,e.marks)}function nH(e){const t=YZ.get(e),n=[];for(let r=0;r<t.height;r++){const i=[],o={};for(let n=0;n<t.width;n++){const a=t.map[r*t.width+n],s=e.nodeAt(a),l=t.findCell(a);o[a]||l.top!==r?i.push(null):(o[a]=!0,i.push(s))}n.push(i)}return n}function rH(e,t,n,r){const i=t[0]>n[0]?-1:1,o=e.splice(t[0],t.length),a=o.length%2==0?1:0;let s;return s=-1===i?n[0]:n[n.length-1]-a,e.splice(s,0,...o),e}function iH(e,t){let n=e,r=e;for(let c=e;c>=0;c--){const e=ZG(c,t.selection);e&&e.forEach(e=>{const t=e.node.attrs.colspan+c-1;t>=n&&(n=c),t>r&&(r=t)})}for(let c=e;c<=r;c++){const e=ZG(c,t.selection);e&&e.forEach(e=>{const t=e.node.attrs.colspan+c-1;e.node.attrs.colspan>1&&t>r&&(r=t)})}const i=[];for(let c=n;c<=r;c++){const e=ZG(c,t.selection);e&&e.length&&i.push(c)}n=i[0],r=i[i.length-1];const o=ZG(n,t.selection),a=YG(0,t.selection),s=t.doc.resolve(o[o.length-1].pos);let l;for(let c=r;c>=n;c--){const e=ZG(c,t.selection);if(e&&e.length){for(let t=a.length-1;t>=0;t--)if(a[t].pos===e[0].pos){l=e[0];break}if(l)break}}return{$anchor:s,$head:t.doc.resolve(l.pos),indexes:i}}function oH(e,t){let n=e,r=e;for(let c=e;c>=0;c--)YG(c,t.selection).forEach(e=>{const t=e.node.attrs.rowspan+c-1;t>=n&&(n=c),t>r&&(r=t)});for(let c=e;c<=r;c++)YG(c,t.selection).forEach(e=>{const t=e.node.attrs.rowspan+c-1;e.node.attrs.rowspan>1&&t>r&&(r=t)});const i=[];for(let c=n;c<=r;c++){const e=YG(c,t.selection);e&&e.length&&i.push(c)}n=i[0],r=i[i.length-1];const o=YG(n,t.selection),a=ZG(0,t.selection),s=t.doc.resolve(o[o.length-1].pos);let l;for(let c=r;c>=n;c--){const e=YG(c,t.selection);if(e&&e.length){for(let t=a.length-1;t>=0;t--)if(a[t].pos===e[0].pos){l=e[0];break}if(l)break}}return{$anchor:s,$head:t.doc.resolve(l.pos),indexes:i}}function aH(e){const{tr:t,origin:n,target:r,select:i=!0,pos:o}=e,a=WG(null!=o?t.doc.resolve(o):t.selection.$from);if(!a)return t;const{indexes:s}=iH(n,t),{indexes:l}=iH(r,t);if(s.includes(r))return t;const c=function(e,t,n){let r=eH(nH(e.node));return r=rH(r,t,n),r=eH(r),tH(e.node,r)}(a,s,l),u=cN(t).replaceWith(a.pos,a.pos+a.node.nodeSize,c);if(!i)return u;const O=YZ.get(c),d=a.start,h=r,f=O.positionAt(O.height-1,h,c),p=u.doc.resolve(d+f),A=cY.colSelection,m=O.positionAt(0,h,c),g=u.doc.resolve(d+m);return u.setSelection(A(p,g))}function sH(e){const{tr:t,origin:n,target:r,select:i=!0,pos:o}=e,a=WG(null!=o?t.doc.resolve(o):t.selection.$from);if(!a)return t;const{indexes:s}=oH(n,t),{indexes:l}=oH(r,t);if(s.includes(r))return t;const c=function(e,t,n){let r=nH(e.node);return r=rH(r,t,n),tH(e.node,r)}(a,s,l),u=cN(t).replaceWith(a.pos,a.pos+a.node.nodeSize,c);if(!i)return u;const O=YZ.get(c),d=a.start,h=r,f=O.positionAt(h,O.width-1,c),p=u.doc.resolve(d+f),A=cY.rowSelection,m=O.positionAt(h,0,c),g=u.doc.resolve(d+m);return u.setSelection(A(p,g))}const lH=UF("GoToPrevTableCell",()=>()=>QY(-1));RG(lH,{displayName:"Command<goToPrevTableCellCommand>",group:"Table"});const cH=UF("GoToNextTableCell",()=>()=>QY(1));RG(cH,{displayName:"Command<goToNextTableCellCommand>",group:"Table"});const uH=UF("ExitTable",e=>()=>(t,n)=>{if(!nY(t))return!1;const{$head:r}=t.selection,i=(o=r,a=NG.type(e),uN(e=>e.type===a)(o));var o,a;if(!i)return!1;const{to:s}=i,l=t.tr.replaceWith(s,s,PW.type(e).createAndFill());return l.setSelection(rz.near(l.doc.resolve(s),1)).scrollIntoView(),null==n||n(l),!0});RG(uH,{displayName:"Command<breakTableCommand>",group:"Table"});const OH=UF("InsertTable",e=>({row:t,col:n}={})=>(r,i)=>{const{selection:o,tr:a}=r,{from:s}=o,l=FG(e,t,n),c=a.replaceSelectionWith(l),u=rz.findFrom(c.doc.resolve(s),1,!0);return u&&c.setSelection(u),null==i||i(c),!0});RG(OH,{displayName:"Command<insertTableCommand>",group:"Table"});const dH=UF("MoveRow",()=>({from:e,to:t,pos:n}={})=>(r,i)=>{const{tr:o}=r;return!!(null==i?void 0:i(sH({tr:o,origin:e??0,target:t??0,pos:n,select:!0})))});RG(dH,{displayName:"Command<moveRowCommand>",group:"Table"});const hH=UF("MoveCol",()=>({from:e,to:t,pos:n}={})=>(r,i)=>{const{tr:o}=r;return!!(null==i?void 0:i(aH({tr:o,origin:e??0,target:t??0,pos:n,select:!0})))});RG(hH,{displayName:"Command<moveColCommand>",group:"Table"});const fH=UF("SelectRow",()=>(e={index:0})=>(t,n)=>{const{tr:r}=t;return!!(null==n?void 0:n(KG(e.index,e.pos)(r)))});RG(fH,{displayName:"Command<selectRowCommand>",group:"Table"});const pH=UF("SelectCol",()=>(e={index:0})=>(t,n)=>{const{tr:r}=t;return!!(null==n?void 0:n(JG(e.index,e.pos)(r)))});RG(pH,{displayName:"Command<selectColCommand>",group:"Table"});const AH=UF("SelectTable",()=>()=>(e,t)=>{const{tr:n}=e;return!!(null==t?void 0:t(jG(n)))});RG(AH,{displayName:"Command<selectTableCommand>",group:"Table"});const mH=UF("DeleteSelectedCells",()=>()=>(e,t)=>{const{selection:n}=e;if(!(n instanceof cY))return!1;const r=n.isRowSelection(),i=n.isColSelection();return r&&i?function(e,t){const n=e.selection.$anchor;for(let r=n.depth;r>0;r--)if("table"==n.node(r).type.spec.tableRole)return t&&t(e.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}(e,t):i?function(e,t){if(!nY(e))return!1;if(t){const n=pY(e),r=e.tr;if(0==n.left&&n.right==n.map.width)return!1;for(let e=n.right-1;vY(r,n,e),e!=n.left;e--){const e=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!e)throw new RangeError("No table found");n.table=e,n.map=YZ.get(e)}t(r)}return!0}(e,t):function(e,t){if(!nY(e))return!1;if(t){const n=pY(e),r=e.tr;if(0==n.top&&n.bottom==n.map.height)return!1;for(let e=n.bottom-1;yY(r,n,e),e!=n.top;e--){const e=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!e)throw new RangeError("No table found");n.table=e,n.map=YZ.get(n.table)}t(r)}return!0}(e,t)});RG(mH,{displayName:"Command<deleteSelectedCellsCommand>",group:"Table"});const gH=UF("AddColBefore",()=>()=>mY);RG(gH,{displayName:"Command<addColBeforeCommand>",group:"Table"});const vH=UF("AddColAfter",()=>()=>gY);RG(vH,{displayName:"Command<addColAfterCommand>",group:"Table"});const yH=UF("AddRowBefore",e=>()=>(t,n)=>{if(!nY(t))return!1;if(n){const r=pY(t);n(GG(e,t.tr,r,r.top))}return!0});RG(yH,{displayName:"Command<addRowBeforeCommand>",group:"Table"});const bH=UF("AddRowAfter",e=>()=>(t,n)=>{if(!nY(t))return!1;if(n){const r=pY(t);n(GG(e,t.tr,r,r.bottom))}return!0});RG(bH,{displayName:"Command<addRowAfterCommand>",group:"Table"});const wH=UF("SetAlign",()=>(e="left")=>{return t="alignment",n=e,function(e,r){if(!nY(e))return!1;const i=rY(e);if(i.nodeAfter.attrs[t]===n)return!1;if(r){const o=e.tr;e.selection instanceof cY?e.selection.forEachCell((e,r)=>{e.attrs[t]!==n&&o.setNodeMarkup(r,null,{...e.attrs,[t]:n})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[t]:n}),r(o)}return!0};var t,n});RG(wH,{displayName:"Command<setAlignCommand>",group:"Table"});const QH=DF(e=>new xz(/^\|(?<col>\d+)[xX](?<row>\d+)\|\s$/,(t,n,r,i)=>{var o,a;const s=t.doc.resolve(r);if(!s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),NG.type(e)))return null;const l=FG(e,Number(null==(o=n.groups)?void 0:o.row),Number(null==(a=n.groups)?void 0:a.col)),c=t.tr.replaceRangeWith(r,i,l);return c.setSelection(sz.create(c.doc,r+3)).scrollIntoView()}));RG(QH,{displayName:"InputRule<insertTableInputRule>",group:"Table"});const $H=WF("tableKeymap",{NextCell:{shortcuts:["Mod-]","Tab"],command:e=>{const t=e.get(qq);return()=>t.call(cH.key)}},PrevCell:{shortcuts:["Mod-[","Shift-Tab"],command:e=>{const t=e.get(qq);return()=>t.call(lH.key)}},ExitTable:{shortcuts:["Mod-Enter"],command:e=>{const t=e.get(qq);return()=>t.call(uH.key)}}});RG($H.ctx,{displayName:"KeymapCtx<table>",group:"Table"}),RG($H.shortcuts,{displayName:"Keymap<table>",group:"Table"});const SH="footnote_definition",xH="footnoteDefinition",kH=qF("footnote_definition",()=>({group:"block",content:"block+",defining:!0,attrs:{label:{default:""}},parseDOM:[{tag:`dl[data-type="${SH}"]`,getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{label:e.dataset.label}},contentElement:"dd"}],toDOM:e=>{const t=e.attrs.label;return["dl",{"data-label":t,"data-type":SH},["dt",t],["dd",0]]},parseMarkdown:{match:({type:e})=>e===xH,runner:(e,t,n)=>{e.openNode(n,{label:t.label}).next(t.children).closeNode()}},toMarkdown:{match:e=>e.type.name===SH,runner:(e,t)=>{e.openNode(xH,void 0,{label:t.attrs.label,identifier:t.attrs.label}).next(t.content).closeNode()}}}));RG(kH.ctx,{displayName:"NodeSchemaCtx<footnodeDef>",group:"footnote"}),RG(kH.node,{displayName:"NodeSchema<footnodeDef>",group:"footnote"});const PH="footnote_reference",TH=qF("footnote_reference",()=>({group:"inline",inline:!0,atom:!0,attrs:{label:{default:""}},parseDOM:[{tag:`sup[data-type="${PH}"]`,getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{label:e.dataset.label}}}],toDOM:e=>{const t=e.attrs.label;return["sup",{"data-label":t,"data-type":PH},t]},parseMarkdown:{match:({type:e})=>"footnoteReference"===e,runner:(e,t,n)=>{e.addNode(n,{label:t.label})}},toMarkdown:{match:e=>e.type.name===PH,runner:(e,t)=>{e.addNode("footnoteReference",void 0,void 0,{label:t.attrs.label,identifier:t.attrs.label})}}}));RG(TH.ctx,{displayName:"NodeSchemaCtx<footnodeRef>",group:"footnote"}),RG(TH.node,{displayName:"NodeSchema<footnodeRef>",group:"footnote"});const _H=yZ.extendSchema(e=>t=>{const n=e(t);return{...n,attrs:{...n.attrs,checked:{default:null}},parseDOM:[{tag:'li[data-item-type="task"]',getAttrs:e=>{if(!(e instanceof HTMLElement))throw sE(e);return{label:e.dataset.label,listType:e.dataset.listType,spread:e.dataset.spread,checked:e.dataset.checked?"true"===e.dataset.checked:null}}},...(null==n?void 0:n.parseDOM)||[]],toDOM:e=>n.toDOM&&null==e.attrs.checked?n.toDOM(e):["li",{"data-item-type":"task","data-label":e.attrs.label,"data-list-type":e.attrs.listType,"data-spread":e.attrs.spread,"data-checked":e.attrs.checked},0],parseMarkdown:{match:({type:e})=>"listItem"===e,runner:(e,t,r)=>{if(null==t.checked)return void n.parseMarkdown.runner(e,t,r);const i=null!=t.label?`${t.label}.`:"•",o=null!=t.checked?!!t.checked:null,a=null!=t.label?"ordered":"bullet",s=null!=t.spread?`${t.spread}`:"true";e.openNode(r,{label:i,listType:a,spread:s,checked:o}),e.next(t.children),e.closeNode()}},toMarkdown:{match:e=>"list_item"===e.type.name,runner:(e,t)=>{if(null==t.attrs.checked)return void n.toMarkdown.runner(e,t);const r=t.attrs.label,i=t.attrs.listType,o="true"===t.attrs.spread,a=t.attrs.checked;e.openNode("listItem",void 0,{label:r,listType:i,spread:o,checked:a}),e.next(t.content),e.closeNode()}}}});RG(_H,{displayName:"NodeSchema<listItem>",group:"ListItem"});const CH=DF(()=>new xz(/^\[(?<checked>\s|x)\]\s$/,(e,t,n,r)=>{var i;const o=e.doc.resolve(n);let a=0,s=o.node(a);for(;s&&"list_item"!==s.type.name;)a--,s=o.node(a);if(!s||null!=s.attrs.checked)return null;const l="x"===(null==(i=t.groups)?void 0:i.checked),c=o.before(a),u=e.tr;return u.deleteRange(n,r).setNodeMarkup(c,void 0,{...s.attrs,checked:l}),u}));RG(CH,{displayName:"InputRule<wrapInTaskListInputRule>",group:"ListItem"});const EH=[IG,$H].flat(),RH=[QH,CH],XH=[DG],BH=NF(()=>aj);RG(BH,{displayName:"Prose<autoInsertSpanPlugin>",group:"Prose"});RG(NF(()=>VY({})),{displayName:"Prose<columnResizingPlugin>",group:"Prose"});const UH=NF(()=>GY({allowTableNodeSelection:!0}));RG(UH,{displayName:"Prose<tableEditingPlugin>",group:"Prose"});const DH=jF("remarkGFM",()=>EG);RG(DH.plugin,{displayName:"Remark<remarkGFMPlugin>",group:"Remark"}),RG(DH.options,{displayName:"RemarkConfig<remarkGFMPlugin>",group:"Remark"});const IH=new Sz("MILKDOWN_KEEP_TABLE_ALIGN_PLUGIN");const zH=NF(()=>new wz({key:IH,appendTransaction:(e,t,n)=>{let r;return t.doc!==n.doc&&n.doc.descendants((e,t)=>{if(r||(r=n.tr),"table_cell"!==e.type.name)return;const i=n.doc.resolve(t),o=i.node(i.depth),a=i.node(i.depth-1).firstChild;if(!a)return;const s=function(e,t){let n=0;return t.forEach((t,r,i)=>{t===e&&(n=i)}),n}(e,o),l=a.maybeChild(s);if(!l)return;const c=l.attrs.alignment;c!==e.attrs.alignment&&r.setNodeMarkup(t,void 0,{...e.attrs,alignment:c})}),r}}));RG(zH,{displayName:"Prose<keepTableAlignPlugin>",group:"Prose"});const NH=[zH,BH,DH,UH].flat(),MH=[[_H,NG,MG,LG,qG,VG,kH,TH,XG,BG].flat(),RH,XH,EH,[cH,lH,uH,OH,dH,hH,fH,pH,AH,mH,yH,bH,gH,vH,wH,UG],NH].flat();var LH=200,VH=function(){};VH.prototype.append=function(e){return e.length?(e=VH.from(e),!this.length&&e||e.length<LH&&this.leafAppend(e)||this.length<LH&&e.leafPrepend(this)||this.appendInner(e)):this},VH.prototype.prepend=function(e){return e.length?VH.from(e).append(this):this},VH.prototype.appendInner=function(e){return new FH(this,e)},VH.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?VH.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},VH.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},VH.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},VH.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach(function(t,n){return r.push(e(t,n))},t,n),r},VH.from=function(e){return e instanceof VH?e:e&&e.length?new qH(e):VH.empty};var qH=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i<n;i++)if(!1===e(this.values[i],r+i))return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var i=t-1;i>=n;i--)if(!1===e(this.values[i],r+i))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=LH)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=LH)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(VH);VH.empty=new qH([]);var FH=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var i=this.left.length;return!(t<i&&!1===this.left.forEachInner(e,t,Math.min(n,i),r))&&(!(n>i&&!1===this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;return!(t>i&&!1===this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i))&&(!(n<i&&!1===this.left.forEachInvertedInner(e,Math.min(t,i),n,r))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(VH);class WH{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(0==this.eventCount)return null;let n,r,i=this.items.length;for(;;i--){if(this.items.get(i-1).selection){--i;break}}t&&(n=this.remapping(i,this.items.length),r=n.maps.length);let o,a,s=e.tr,l=[],c=[];return this.items.forEach((e,t)=>{if(!e.step)return n||(n=this.remapping(i,t+1),r=n.maps.length),r--,void c.push(e);if(n){c.push(new ZH(e.map));let t,i=e.step.map(n.slice(r));i&&s.maybeStep(i).doc&&(t=s.mapping.maps[s.mapping.maps.length-1],l.push(new ZH(t,void 0,void 0,l.length+c.length))),r--,t&&n.appendMap(t,r)}else s.maybeStep(e.step);return e.selection?(o=n?e.selection.map(n.slice(r)):e.selection,a=new WH(this.items.slice(0,i).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0},this.items.length,0),{remaining:a,transform:s,selection:o}}addTransform(e,t,n,r){let i=[],o=this.eventCount,a=this.items,s=!r&&a.length?a.get(a.length-1):null;for(let c=0;c<e.steps.length;c++){let n,l=e.steps[c].invert(e.docs[c]),u=new ZH(e.mapping.maps[c],l,t);(n=s&&s.merge(u))&&(u=n,c?i.pop():a=a.slice(0,a.length-1)),i.push(u),t&&(o++,t=void 0),r||(s=u)}let l=o-n.depth;return l>jH&&(a=function(e,t){let n;return e.forEach((e,r)=>{if(e.selection&&0==t--)return n=r,!1}),e.slice(n)}(a,l),o-=l),new WH(a.append(i),o)}remapping(e,t){let n=new vI;return this.items.forEach((t,r)=>{let i=null!=t.mirrorOffset&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)},e,t),n}addMaps(e){return 0==this.eventCount?this:new WH(this.items.append(e.map(e=>new ZH(e))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-t),i=e.mapping,o=e.steps.length,a=this.eventCount;this.items.forEach(e=>{e.selection&&a--},r);let s=t;this.items.forEach(t=>{let r=i.getMirror(--s);if(null==r)return;o=Math.min(o,r);let l=i.maps[r];if(t.step){let o=e.steps[r].invert(e.docs[r]),c=t.selection&&t.selection.map(i.slice(s+1,r));c&&a++,n.push(new ZH(l,o,c))}else n.push(new ZH(l))},r);let l=[];for(let O=t;O<o;O++)l.push(new ZH(i.maps[O]));let c=this.items.slice(0,r).append(l).append(n),u=new WH(c,a);return u.emptyItemCount()>500&&(u=u.compress(this.items.length-n.length)),u}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,r=[],i=0;return this.items.forEach((o,a)=>{if(a>=e)r.push(o),o.selection&&i++;else if(o.step){let e=o.step.map(t.slice(n)),a=e&&e.getMap();if(n--,a&&t.appendMap(a,n),e){let s=o.selection&&o.selection.map(t.slice(n));s&&i++;let l,c=new ZH(a.invert(),e,s),u=r.length-1;(l=r.length&&r[u].merge(c))?r[u]=l:r.push(c)}}else o.map&&n--},this.items.length,0),new WH(VH.from(r.reverse()),i)}}WH.empty=new WH(VH.empty,0);class ZH{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new ZH(t.getMap().invert(),t,this.selection)}}}let YH=class{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}};const jH=20;function GH(e){let t=[];for(let n=e.length-1;n>=0&&0==t.length;n--)e[n].forEach((e,n,r,i)=>t.push(r,i));return t}function HH(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let i=t.map(e[r],1),o=t.map(e[r+1],-1);i<=o&&n.push(i,o)}return n}let KH=!1,JH=null;function eK(e){let t=e.plugins;if(JH!=t){KH=!1,JH=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){KH=!0;break}}return KH}const tK=new Sz("history"),nK=new Sz("closeHistory");function rK(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new wz({key:tK,state:{init:()=>new YH(WH.empty,WH.empty,null,0,-1),apply:(t,n,r)=>function(e,t,n,r){let i,o=n.getMeta(tK);if(o)return o.historyState;n.getMeta(nK)&&(e=new YH(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(a&&a.getMeta(tK))return a.getMeta(tK).redo?new YH(e.done.addTransform(n,void 0,r,eK(t)),e.undone,GH(n.mapping.maps),e.prevTime,e.prevComposition):new YH(e.done,e.undone.addTransform(n,void 0,r,eK(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(i=n.getMeta("rebased"))?new YH(e.done.rebased(n,i),e.undone.rebased(n,i),HH(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new YH(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),HH(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let i=n.getMeta("composition"),o=0==e.prevTime||!a&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((e,r)=>{for(let i=0;i<t.length;i+=2)e<=t[i+1]&&r>=t[i]&&(n=!0)}),n}(n,e.prevRanges)),s=a?HH(e.prevRanges,n.mapping):GH(n.mapping.maps);return new YH(e.done.addTransform(n,o?t.selection.getBookmark():void 0,r,eK(t)),WH.empty,s,n.time,null==i?e.prevComposition:i)}}(n,r,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r="historyUndo"==n?oK:"historyRedo"==n?aK:null;return!(!r||!e.editable)&&(t.preventDefault(),r(e.state,e.dispatch))}}}})}function iK(e,t){return(n,r)=>{let i=tK.getState(n);if(!i||0==(e?i.undone:i.done).eventCount)return!1;if(r){let o=function(e,t,n){let r=eK(t),i=tK.get(t).spec.config,o=(n?e.undone:e.done).popEvent(t,r);if(!o)return null;let a=o.selection.resolve(o.transform.doc),s=(n?e.done:e.undone).addTransform(o.transform,t.selection.getBookmark(),i,r),l=new YH(n?s:o.remaining,n?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(tK,{redo:n,historyState:l})}(i,n,e);o&&r(t?o.scrollIntoView():o)}return!0}}const oK=iK(!1,!0),aK=iK(!0,!0);function sK(e,t){return Object.assign(e,{meta:{package:"@milkdown/plugin-history",...t}}),e}const lK=UF("Undo",()=>()=>oK);sK(lK,{displayName:"Command<undo>"});const cK=UF("Redo",()=>()=>aK);sK(cK,{displayName:"Command<redo>"});const uK=VF({},"historyProviderConfig");sK(uK,{displayName:"Ctx<historyProviderConfig>"});const OK=NF(e=>rK(e.get(uK.key)));sK(OK,{displayName:"Ctx<historyProviderPlugin>"});const dK=WF("historyKeymap",{Undo:{shortcuts:"Mod-z",command:e=>{const t=e.get(qq);return()=>t.call(lK.key)}},Redo:{shortcuts:["Mod-y","Shift-Mod-z"],command:e=>{const t=e.get(qq);return()=>t.call(cK.key)}}});sK(dK.ctx,{displayName:"KeymapCtx<history>"}),sK(dK.shortcuts,{displayName:"Keymap<history>"});const hK=[uK,OK,dK,lK,cK].flat();const fK=VF({type:"space",size:2},"indentConfig");fK.meta={package:"@milkdown/plugin-indent",displayName:"Ctx<indentConfig>"};const pK=MF(e=>({Tab:(t,n)=>{const r=e.get(fK.key),{tr:i}=t,o=function(e,t){const{doc:n,selection:r}=e;if(!n||!r||!(r instanceof sz||r instanceof Oz))return e;const{to:i}=r,o="space"===t.type?Array(t.size).fill(" ").join(""):"\t";return e.insertText(o,i)}(i,r);return!!o.docChanged&&(null==n||n(o),!0)}}));pK.meta={package:"@milkdown/plugin-indent",displayName:"Shortcut<indent>"};const AK=[fK,pK];function mK(e){if(!e)return!1;if(Array.isArray(e))return!(e.length>1)&&mK(e[0]);const t=e.content;return t?mK(t):"text"===e.type}const gK=NF(e=>{const t=e.get(Uq);e.update(fF,e=>({...e,editable:e.editable??(()=>!0)}));const n=new Sz("MILKDOWN_CLIPBOARD");return new wz({key:n,props:{handlePaste:(n,r)=>{var i,o;const a=e.get(Gq),s=null==(o=(i=n.props).editable)?void 0:o.call(i,n.state),{clipboardData:l}=r;if(!s||!l||n.state.selection.$from.node().type.spec.code)return!1;const c=l.getData("text/plain"),u=l.getData("vscode-editor-data");if(u){const e=JSON.parse(u),r=null==e?void 0:e.mode;if(c&&r){const{tr:e}=n.state,i=ON("code_block",t);return e.replaceSelectionWith(i.create({language:r})).setSelection(sz.near(e.doc.resolve(Math.max(0,e.selection.from-2)))).insertText(c.replace(/\r\n?/g,"\n")),n.dispatch(e),!0}}const O=l.getData("text/html");if(0===O.length&&0===c.length)return!1;const d=LR.fromSchema(t);let h;if(0===O.length){const e=a(c);if(!e||"string"==typeof e)return!1;h=KR.fromSchema(t).serializeFragment(e.content)}else{const e=document.createElement("template");e.innerHTML=O,h=e.content.cloneNode(!0),e.remove()}const f=d.parseSlice(h),p=function(e){if(1===e.content.childCount){const t=e.content.firstChild;if("text"===(null==t?void 0:t.type.name)&&0===t.marks.length)return t;if("paragraph"===(null==t?void 0:t.type.name)&&1===t.childCount){const e=t.firstChild;if("text"===(null==e?void 0:e.type.name)&&0===e.marks.length)return e}}return!1}(f);return p?(n.dispatch(n.state.tr.replaceSelectionWith(p,!0)),!0):(n.dispatch(n.state.tr.replaceSelection(f)),!0)},clipboardTextSerializer:n=>{const r=e.get(nF);if(mK(n.content.toJSON()))return n.content.textBetween(0,n.content.size,"\n\n");const i=t.topNodeType.createAndFill(void 0,n.content);return i?r(i):""}}})});gK.meta={displayName:"Prose<clipboard>",package:"@milkdown/plugin-clipboard"};const vK=VF({shouldAppend:e=>!(!e||["heading","paragraph"].includes(e.type.name)),getNode:e=>e.schema.nodes.paragraph.create()},"trailingConfig");vK.meta={package:"@milkdown/plugin-trailing",displayName:"Ctx<trailingConfig>"};const yK=NF(e=>{const t=new Sz("MILKDOWN_TRAILING"),{shouldAppend:n,getNode:r}=e.get(vK.key),i=new wz({key:t,state:{init:(e,t)=>{const r=t.tr.doc.lastChild;return n(r,t)},apply:(e,t,r,i)=>{if(!e.docChanged)return t;const o=e.doc.lastChild;return n(o,i)}},appendTransaction:(e,t,n)=>{const{doc:o,tr:a}=n,s=null==r?void 0:r(n),l=i.getState(n),c=o.content.size;if(l&&s)return a.insert(c,s)}});return i});yK.meta={package:"@milkdown/plugin-trailing",displayName:"Prose<trailing>"};const bK=[vK,yK];var wK=(e=>(e.CodeMirror="code-mirror",e.ListItem="list-item",e.LinkTooltip="link-tooltip",e.Cursor="cursor",e.ImageBlock="image-block",e.BlockEdit="block-edit",e.Toolbar="toolbar",e.Placeholder="placeholder",e.Table="table",e))(wK||{});const QK={cursor:!0,"list-item":!0,"link-tooltip":!0,"image-block":!0,"block-edit":!0,placeholder:!0,toolbar:!0,"code-mirror":!0,table:!0};const $K=yE([],"FeaturesCtx");var SK,xK,kK,PK,TK,_K,CK=e=>{throw TypeError(e)},EK=(e,t,n)=>t.has(e)||CK("Cannot "+n),RK=(e,t,n)=>(EK(e,t,"read from private field"),n?n.call(e):t.get(e)),XK=(e,t,n)=>t.has(e)?CK("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),BK=(e,t,n,r)=>(EK(e,t,"write to private field"),t.set(e,n),n);class UK{constructor({root:e,features:t={},featureConfigs:n={},defaultValue:r=""}){var i;XK(this,SK),XK(this,xK),XK(this,kK),XK(this,PK,!0);const o=Object.entries({...QK,...t}).filter(([,e])=>e).map(([e])=>e);BK(this,kK,null!=(i="string"==typeof e?document.querySelector(e):e)?i:document.body),BK(this,SK,BF.make().config(function(e){return t=>{t.inject($K,e)}}(o)).config(e=>{e.set(pF,RK(this,kK)),e.set(iF,r),e.set(fF,{editable:()=>RK(this,PK)}),e.update(fK.key,e=>({...e,size:4}))}).use(FZ).use(hK).use(AK).use(bK).use(gK).use(MH));const a=[];o.forEach(e=>{const t=n[e];a.push(async function(e,t,n){switch(e){case"code-mirror":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>aFe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"list-item":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>vFe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"link-tooltip":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>yFe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"image-block":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>eWe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"cursor":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>pWe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"block-edit":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>OYe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"placeholder":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>fYe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"toolbar":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>xYe);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}case"table":{const{defineFeature:e}=await Uu(async()=>{const{defineFeature:e}=await Promise.resolve().then(()=>ije);return{defineFeature:e}},void 0,import.meta.url);return e(t,n)}}}(e,RK(this,SK),t))}),BK(this,xK,Promise.all(a))}async create(){return await RK(this,xK),RK(this,SK).create()}async destroy(){return await RK(this,xK),RK(this,SK).destroy()}get editor(){return RK(this,SK)}setReadonly(e){return BK(this,PK,!e),this}getMarkdown(){return RK(this,SK).action(e=>{const t=e.get(yq);return e.get(nF)(t.state.doc)})}}SK=new WeakMap,xK=new WeakMap,kK=new WeakMap,PK=new WeakMap,UK.Feature=wK;var DK=function(){if(_K)return TK;_K=1;var e=/^\s+|\s+$/g,t=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,i=parseInt,o="object"==typeof Av&&Av&&Av.Object===Object&&Av,a="object"==typeof self&&self&&self.Object===Object&&self,s=o||a||Function("return this")(),l=Object.prototype.toString,c=Math.max,u=Math.min,O=function(){return s.Date.now()};function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(o){if("number"==typeof o)return o;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(o))return NaN;if(d(o)){var a="function"==typeof o.valueOf?o.valueOf():o;o=d(a)?a+"":a}if("string"!=typeof o)return 0===o?o:+o;o=o.replace(e,"");var s=n.test(o);return s||r.test(o)?i(o.slice(2),s?2:8):t.test(o)?NaN:+o}return TK=function(e,t,n){var r,i,o,a,s,l,f=0,p=!1,A=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,o=i;return r=i=void 0,f=t,a=e.apply(o,n)}function v(e){var n=e-l;return void 0===l||n>=t||n<0||A&&e-f>=o}function y(){var e=O();if(v(e))return b(e);s=setTimeout(y,function(e){var n=t-(e-l);return A?u(n,o-(e-f)):n}(e))}function b(e){return s=void 0,m&&r?g(e):(r=i=void 0,a)}function w(){var e=O(),n=v(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return f=e,s=setTimeout(y,t),p?g(e):a}(l);if(A)return s=setTimeout(y,t),g(l)}return void 0===s&&(s=setTimeout(y,t)),a}return t=h(t)||0,d(n)&&(p=!!n.leading,o=(A="maxWait"in n)?c(h(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==s&&clearTimeout(s),f=0,r=l=i=s=void 0},w.flush=function(){return void 0===s?a:b(O())},w},TK}();const IK=mv(DK);let zK=class{constructor(){this.beforeMountedListeners=[],this.mountedListeners=[],this.updatedListeners=[],this.markdownUpdatedListeners=[],this.blurListeners=[],this.focusListeners=[],this.destroyListeners=[],this.beforeMount=e=>(this.beforeMountedListeners.push(e),this),this.mounted=e=>(this.mountedListeners.push(e),this),this.updated=e=>(this.updatedListeners.push(e),this)}get listeners(){return{beforeMount:this.beforeMountedListeners,mounted:this.mountedListeners,updated:this.updatedListeners,markdownUpdated:this.markdownUpdatedListeners,blur:this.blurListeners,focus:this.focusListeners,destroy:this.destroyListeners}}markdownUpdated(e){return this.markdownUpdatedListeners.push(e),this}blur(e){return this.blurListeners.push(e),this}focus(e){return this.focusListeners.push(e),this}destroy(e){return this.destroyListeners.push(e),this}};const NK=yE(new zK,"listener"),MK=new Sz("MILKDOWN_LISTENER"),LK=e=>(e.inject(NK,new zK),async()=>{await e.wait(Eq);const t=e.get(NK),{listeners:n}=t;n.beforeMount.forEach(t=>t(e)),await e.wait(Jq);const r=e.get(nF);let i=null,o=null;const a=new wz({key:MK,view:()=>({destroy:()=>{n.destroy.forEach(t=>t(e))}}),props:{handleDOMEvents:{focus:()=>(n.focus.forEach(t=>t(e)),!1),blur:()=>(n.blur.forEach(t=>t(e)),!1)}},state:{init:(e,t)=>{i=t.doc,o=r(t.doc)},apply:t=>t.docChanged&&!1!==t.getMeta("addToHistory")?IK(()=>{const{doc:a}=t;if(n.updated.length>0&&i&&!i.eq(a)&&n.updated.forEach(t=>{t(e,a,i)}),n.markdownUpdated.length>0&&i&&!i.eq(a)){const t=r(a);n.markdownUpdated.forEach(n=>{n(e,t,o)}),o=t}i=a},200)():void 0}});e.update(Sq,e=>e.concat(a)),await e.wait(dF),n.mounted.forEach(t=>t(e))});LK.meta={package:"@milkdown/plugin-listener",displayName:"Listener"};const VK=VF({uploader:async(e,t)=>{const n=[];for(let i=0;i<e.length;i++){const t=e.item(i);t&&t.type.includes("image")&&n.push(t)}const{image:r}=t.nodes;if(!r)throw lE("image");return(await Promise.all(n.map(e=>function(e){return new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t({alt:e.name,src:n.result})},!1),n.readAsDataURL(e)})}(e)))).map(({alt:e,src:t})=>r.createAndFill({src:t,alt:e}))},enableHtmlFileUploader:!1,uploadWidgetFactory:(e,t)=>{const n=document.createElement("span");return n.textContent="Upload in progress...",XV.widget(e,n,t)}},"uploadConfig");VK.meta={package:"@milkdown/plugin-upload",displayName:"Ctx<uploadConfig>"};const qK=NF(e=>{const t=new Sz("MILKDOWN_UPLOAD"),n=(n,r,i)=>{var o;if(!i||i.length<=0)return!1;const a=Symbol("upload symbol"),s=e.get(Uq),{tr:l}=n.state,c=r instanceof DragEvent?(null==(o=n.posAtCoords({left:r.clientX,top:r.clientY}))?void 0:o.pos)??l.selection.from:l.selection.from;n.dispatch(l.setMeta(t,{add:{id:a,pos:c}}));const{uploader:u}=e.get(VK.key);return u(i,s).then(e=>{const r=((e,n)=>{var r;const i=t.getState(e);if(!i)return-1;const o=i.find(void 0,void 0,e=>e.id===n);return o.length?(null==(r=o[0])?void 0:r.from)??-1:-1})(n.state,a);r<0||n.dispatch(n.state.tr.replaceWith(r,r,e).setMeta(t,{remove:{id:a}}))}).catch(e=>{}),!0};return new wz({key:t,state:{init:()=>DV.empty,apply(t,n){const r=n.map(t.mapping,t.doc),i=t.getMeta(this);if(!i)return r;if(i.add){const{uploadWidgetFactory:n}=e.get(VK.key),o=n(i.add.pos,{id:i.add.id});return r.add(t.doc,[o])}if(i.remove){const e=r.find(void 0,void 0,e=>e.id===i.remove.id);return r.remove(e)}return r}},props:{decorations(e){return this.getState(e)},handlePaste:(t,r)=>{var i,o;const{enableHtmlFileUploader:a}=e.get(VK.key);return!(!(r instanceof ClipboardEvent)||!a&&null!=(i=r.clipboardData)&&i.getData("text/html"))&&n(t,r,null==(o=r.clipboardData)?void 0:o.files)},handleDrop:(e,t)=>{var r;return t instanceof DragEvent&&n(e,t,null==(r=t.dataTransfer)?void 0:r.files)}}})});qK.meta={package:"@milkdown/plugin-upload",displayName:"Prose<upload>"};const FK=[VK,qK];var WK,ZK,YK,jK,GK,HK,KK,JK,eJ,tJ=e=>{throw TypeError(e)},nJ=(e,t,n)=>t.has(e)||tJ("Cannot "+n),rJ=(e,t,n)=>(nJ(e,t,"read from private field"),n?n.call(e):t.get(e)),iJ=(e,t,n)=>t.has(e)?tJ("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),oJ=(e,t,n,r)=>(nJ(e,t,"write to private field"),t.set(e,n),n);class aJ{constructor(e){iJ(this,JK),iJ(this,WK),iJ(this,ZK),iJ(this,YK),iJ(this,jK),iJ(this,GK),iJ(this,HK),iJ(this,KK),oJ(this,GK,!1),this.onShow=()=>{},this.onHide=()=>{},oJ(this,KK,(e,t)=>{var n;const{state:r,composing:i}=e,{selection:o,doc:a}=r,{ranges:s}=o,l=Math.min(...s.map(e=>e.$from.pos)),c=Math.max(...s.map(e=>e.$to.pos)),u=t&&t.doc.eq(a)&&t.selection.eq(o);rJ(this,GK)||(null==(n=e.dom.parentElement)||n.appendChild(this.element),oJ(this,GK,!0)),i||u||(rJ(this,ZK).call(this,e,t)?(Qg({getBoundingClientRect:()=>lN(e,l,c)},this.element,{placement:"top",middleware:[bg(),vg(rJ(this,HK)),yg(),...rJ(this,YK)]}).then(({x:e,y:t})=>{Object.assign(this.element.style,{left:`${e}px`,top:`${t}px`})}),this.show()):this.hide())}),this.update=(e,t)=>{IK(rJ(this,KK),rJ(this,WK))(e,t)},this.destroy=()=>{},this.show=e=>{this.element.dataset.show="true",e&&Qg(e,this.element,{placement:"top",middleware:[bg(),vg(rJ(this,HK))],...rJ(this,jK)}).then(({x:e,y:t})=>{Object.assign(this.element.style,{left:`${e}px`,top:`${t}px`})}),this.onShow()},this.hide=()=>{"false"!==this.element.dataset.show&&(this.element.dataset.show="false",this.onHide())},this.element=e.content,oJ(this,WK,e.debounce??200),oJ(this,ZK,e.shouldShow??((e,t,n)=>(nJ(e,t,"access private method"),n))(this,JK,eJ)),oJ(this,HK,e.offset),oJ(this,YK,e.middleware??[]),oJ(this,jK,e.floatingUIOptions??{}),this.element.dataset.show="false"}}function sJ(e){const t=VF({},`${e}_TOOLTIP_SPEC`),n=NF(n=>{const r=n.get(t.key);return new wz({key:new Sz(`${e}_TOOLTIP`),...r})}),r=[t,n];return r.key=t.key,r.pluginKey=n.key,t.meta={package:"@milkdown/plugin-tooltip",displayName:`Ctx<tooltipSpec>|${e}`},n.meta={package:"@milkdown/plugin-tooltip",displayName:`Prose<tooltip>|${e}`},r}WK=new WeakMap,ZK=new WeakMap,YK=new WeakMap,jK=new WeakMap,GK=new WeakMap,HK=new WeakMap,KK=new WeakMap,JK=new WeakSet,eJ=function(e){const{doc:t,selection:n}=e.state,{empty:r,from:i,to:o}=n,a=!t.textBetween(i,o).length&&e.state.selection instanceof sz,s=this.element.contains(document.activeElement),l=!e.hasFocus()&&!s,c=!e.editable;return!(l||r||a||c)};class lJ{constructor(n){s(this,e),s(this,t,new Set),l(this,e,n)}get current(){return a(this,e)}set current(n){a(this,e)!=n&&(l(this,e,n),a(this,t).forEach(e=>e(n)))}on(e){return a(this,t).add(e),()=>a(this,t).delete(e)}}e=new WeakMap,t=new WeakMap;const cJ=e=>new lJ(e),uJ=Symbol.for("atomico.hooks");globalThis[uJ]=globalThis[uJ]||{};let OJ=globalThis[uJ];const dJ=Symbol.for("Atomico.suspense"),hJ=Symbol.for("Atomico.effect"),fJ=Symbol.for("Atomico.layoutEffect"),pJ=Symbol.for("Atomico.insertionEffect"),AJ=(e,t,n)=>{const{i:r,hooks:i}=OJ.c,o=i[r]=i[r]||{};return o.value=e(o.value),o.effect=t,o.tag=n,OJ.c.i++,i[r].value},mJ=e=>AJ((t=cJ(e))=>t),gJ=()=>AJ((e=cJ(OJ.c.host))=>e),vJ=()=>OJ.c.update,yJ=Symbol.for;function bJ(e,t){const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++){if(e[r]!==t[r])return!1}return!0}const wJ=e=>"function"==typeof e,QJ=e=>"object"==typeof e,{isArray:$J}=Array,SJ=(e,t)=>(!t||e instanceof HTMLStyleElement)&&"hydrate"in((null==e?void 0:e.dataset)||{});function xJ(e,t){let n;const r=e=>{let{length:i}=e;for(let o=0;o<i;o++){const i=e[o];if(i&&Array.isArray(i))r(i);else{const e=typeof i;if(null==i||"function"===e||"boolean"===e)continue;"string"===e||"number"===e?(null==n&&(n=""),n+=i):(null!=n&&(t(n),n=null),t(i))}}};r(e),null!=n&&t(n)}const kJ=(e,t,n)=>(e.addEventListener(t,n),()=>e.removeEventListener(t,n));let PJ=class{constructor(e,t,n){this.message=t,this.target=e,this.value=n}};class TJ extends PJ{}class _J extends PJ{}const CJ="Custom",EJ={true:1,"":1,1:1};function RJ(e,t,n,r,i){const{type:o,reflect:a,event:s,value:l,attr:c=BJ(t)}=(null==n?void 0:n.name)!=CJ&&QJ(n)&&null!=n?n:{type:n},u=(null==o?void 0:o.name)===CJ&&o.map,O=null!=l?o!=Function&&wJ(l)?l:()=>l:null;Object.defineProperty(e,t,{configurable:!0,set(e){const n=this[t];O&&o!=Boolean&&null==e&&(e=O());const{error:r,value:i}=(u?DJ:IJ)(o,e);if(r&&null!=i)throw new TJ(this,`The value defined for prop '${t}' must be of type '${o.name}'`,i);n!=i&&(this._props[t]=null==i?void 0:i,this.update(),s&&XJ(this,s),this.updated.then(()=>{a&&(this._ignoreAttr=c,UJ(this,o,c,this[t]),this._ignoreAttr=null)}))},get(){return this._props[t]}}),O&&(i[t]=O()),r[c]={prop:t,type:o}}const XJ=(e,{type:t,base:n=CustomEvent,...r})=>e.dispatchEvent(new n(t,r)),BJ=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase(),UJ=(e,t,n,r)=>null==r||t==Boolean&&!r?e.removeAttribute(n):e.setAttribute(n,(null==t?void 0:t.name)===CJ&&(null==t?void 0:t.serialize)?null==t?void 0:t.serialize(r):QJ(r)?JSON.stringify(r):t==Boolean?"":r),DJ=({map:e},t)=>{try{return{value:e(t),error:!1}}catch{return{value:t,error:!0}}},IJ=(e,t)=>null==e||null==t?{value:t,error:!1}:e!=String&&""===t?{value:void 0,error:!1}:e==Object||e==Array||e==Symbol?{value:t,error:{}.toString.call(t)!==`[object ${e.name}]`}:t instanceof e?{value:t,error:e==Number&&Number.isNaN(t.valueOf())}:e==String||e==Number||e==Boolean?{value:t,error:e==Number?"number"!=typeof t||Number.isNaN(t):e==String?"string"!=typeof t:"boolean"!=typeof t}:{value:t,error:!0};let zJ=0;const NJ=(e,t=HTMLElement)=>{const n={},r={},i="prototype"in t&&t.prototype instanceof Element,o=i?t:"base"in t?t.base:HTMLElement,{props:a,styles:s}=i?e:t;return class extends o{constructor(){super(),this._setup(),this._render=()=>e({...this._props});for(const e in r)this[e]=r[e]}static get styles(){return[super.styles,s]}async _setup(){if(this._props)return;let e,t;this._props={},this.mounted=new Promise(n=>this.mount=()=>{n(),e!=this.parentNode&&(t!=e?this.unmounted.then(this.update):this.update()),e=this.parentNode}),this.unmounted=new Promise(r=>this.unmount=()=>{r(),e==this.parentNode&&this.isConnected||(n.cleanEffects(!0)()(),t=this.parentNode,e=null)}),this.symbolId=this.symbolId||Symbol(),this.symbolIdParent=Symbol();const n=((e,t,n=0)=>{let r={},i=!1;const o=(e,t)=>{for(const n in r){const i=r[n];i.effect&&i.tag===e&&(i.value=i.effect(i.value,t))}};return{load:o=>{let a;OJ.c={host:t,hooks:r,update:e,i:0,id:n};try{i=!1,a=o()}catch(sy){if(sy!==dJ)throw sy;i=!0}finally{OJ.c=null}return a},cleanEffects:e=>(o(pJ,e),()=>(o(fJ,e),()=>{o(hJ,e)})),isSuspense:()=>i}})(()=>this.update(),this,(null==(i=(null==(r=this)?void 0:r.dataset)||{})?void 0:i.hydrate)||"c"+zJ++);var r,i;let o,a=!0;const s=SJ(this);this.update=()=>(o||(o=!0,this.updated=(this.updated||this.mounted).then(()=>{try{const e=n.load(this._render),t=n.cleanEffects();return e&&e.render(this,this.symbolId,s),o=!1,a&&!n.isSuspense()&&(a=!1,!s&&function(e){const{styles:t}=e.constructor,{shadowRoot:n}=e;if(n&&t.length){const e=[];xJ(t,t=>{t&&(t instanceof Element?n.appendChild(t.cloneNode(!0)):e.push(t))}),e.length&&(n.adoptedStyleSheets=e)}}(this)),t()}finally{o=!1}}).then(e=>{e&&e()})),this.updated),this.update()}connectedCallback(){this.mount(),super.connectedCallback&&super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.unmount()}attributeChangedCallback(e,t,r){if(n[e]){if(e===this._ignoreAttr||t===r)return;const{prop:i,type:o}=n[e];try{this[i]=((e,t)=>e==Boolean?!!EJ[t]:e==Number?Number(t):e==String?t:e==Array||e==Object?JSON.parse(t):e.name==CJ?t:new e(t))(o,r)}catch(sy){throw new _J(this,`The value defined as attr '${e}' cannot be parsed by type '${o.name}'`,r)}}else super.attributeChangedCallback(e,t,r)}static get props(){return{...super.props,...a}}static get observedAttributes(){const e=super.observedAttributes||[];for(const t in a)RJ(this.prototype,t,a[t],n,r);return Object.keys(n).concat(e)}}};const MJ=e=>(t,n)=>{AJ(([e,t]=[])=>(!t&&t||(t&&bJ(t,n)?e=e||!0:(wJ(e)&&e(),e=null)),[e,n]),([e,n],r)=>r?(wJ(e)&&e(),[]):[e||t(),n],e)},LJ=MJ(fJ),VJ=MJ(hJ),qJ=MJ(pJ);let FJ=class extends Array{constructor(e,t){let n=!0;const r=e=>{try{t(e,this,n)}finally{n=!1}};super(void 0,r,t),r(e)}};const WJ=e=>{const t=vJ();return AJ((n=new FJ(e,(e,n,r)=>{(e=wJ(e)?e(n[0]):e)!==n[0]&&(n[0]=e,r||t())}))=>n)},ZJ=(e,t)=>{const[n]=AJ(([n,r,i=0]=[])=>((!r||r&&!bJ(r,t))&&(n=e()),[n,t,i]));return n},YJ=(e,t)=>ZJ(()=>e,t),jJ=yJ("atomico/options");globalThis[jJ]=globalThis[jJ]||{sheet:!!document.adoptedStyleSheets};const GJ=globalThis[jJ];new Promise(e=>{GJ.ssr||("loading"===document.readyState?kJ(document,"DOMContentLoaded",e):e())});const HJ={checked:1,value:1,selected:1},KJ={list:1,type:1,size:1,form:1,width:1,height:1,src:1,href:1,slot:1},JJ={shadowDom:1,staticNode:1,cloneNode:1,children:1,key:1},e1={},t1=[];class n1 extends Text{}const r1=yJ("atomico/id"),i1=yJ("atomico/type"),o1=yJ("atomico/ref"),a1=yJ("atomico/vnode"),s1=()=>{};function l1(e,t,n){return u1(this,e,t,n)}const c1=(e,t,...n)=>{const r=t||e1;let{children:i}=r;if(i=null!=i?i:n.length?n:t1,e===s1)return i;const o=e?e instanceof Node?1:e.prototype instanceof HTMLElement&&2:0;if(!1===o&&e instanceof Function)return e(i!=t1?{children:i,...r}:r);const a=GJ.render||l1;return{[i1]:a1,type:e,props:r,children:i,key:r.key,shadow:r.shadowDom,static:r.staticNode,raw:o,is:r.is,clone:r.cloneNode,render:a}};function u1(e,t,n=r1,r,i){let o;if(t&&t[n]&&t[n].vnode==e||e[i1]!=a1)return t;!e&&t||(i=i||"svg"==e.type,o="host"!=e.type&&(1==e.raw?(t&&e.clone?t[o1]:t)!=e.type:2==e.raw?!(t instanceof e.type):t?t[o1]||t.localName!=e.type:!t),o&&null!=e.type&&(1==e.raw&&e.clone?(r=!0,(t=e.type.cloneNode(!0))[o1]=e.type):t=1==e.raw?e.type:2==e.raw?new e.type:i?document.createElementNS("http://www.w3.org/2000/svg",e.type):document.createElement(e.type,e.is?{is:e.is}:void 0)));const a=t[n]?t[n]:e1,{vnode:s=e1,cycle:l=0}=a;let{fragment:c,handlers:u}=a;const{children:O=t1,props:d=e1}=s;if(u=o?{}:u||{},e.static&&!o)return t;if(e.shadow&&!t.shadowRoot&&t.attachShadow({mode:"open",...e.shadow}),e.props!=d&&function(e,t,n,r,i){for(const o in t)!(o in n)&&O1(e,o,t[o],null,i,r);for(const o in n)O1(e,o,t[o],n[o],i,r)}(t,d,e.props,u,i),e.children!==O){const o=e.shadow?t.shadowRoot:t;c=function(e,t,n,r,i,o){e=null==e?null:$J(e)?e:[e];const a=t||function(e,t){const n=new n1(""),r=new n1("");let i;if(e[t?"prepend":"append"](n),t){let{lastElementChild:t}=e;for(;t;){const{previousElementSibling:e}=t;if(SJ(t,!0)&&!SJ(e,!0)){i=t;break}t=e}}i?i.before(r):e.append(r);return{markStart:n,markEnd:r}}(n,i),{markStart:s,markEnd:l,keyes:c}=a;let u;const O=c&&new Set;let d=s;if(e&&xJ(e,e=>{if("object"==typeof e&&!e[i1])return;const t=e[i1]&&e.key,a=c&&null!=t&&c.get(t);d!=l&&d===a?O.delete(d):d=d==l?l:d.nextSibling;const s=c?a:d;let h=s;if(e[i1])h=u1(e,s,r,i,o);else{const t=e+"";!(h instanceof Text)||h instanceof n1?h=new Text(t):h.data!=t&&(h.data=t)}h!=d&&(c&&O.delete(h),!s||c?(n.insertBefore(h,d),c&&d!=l&&O.add(d)):s==l?n.insertBefore(h,l):(n.replaceChild(h,s),d=h)),null!=t&&(u=u||new Map,u.set(t,h))}),d=d==l?l:d.nextSibling,t&&d!=l)for(;d!=l;){const e=d;d=d.nextSibling,e.remove()}return O&&O.forEach(e=>e.remove()),a.keyes=u,a}(e.children,c,o,n,!l&&r,(!i||"foreignObject"!=e.type)&&i)}return t[n]={vnode:e,handlers:u,fragment:c,cycle:l+1},t}function O1(e,t,n,r,i,o){if(n=null==n?null:n,r=null==r?null:r,(t="class"!=t||i?t:"className")in e&&HJ[t]&&(n=e[t]),r!==n&&!JJ[t]&&"_"!=t[0])if("slot"===e.localName&&"assignNode"===t&&"assign"in e)e.assign(r);else if("o"==t[0]&&"n"==t[1]&&(wJ(r)||wJ(n)))!function(e,t,n,r){r.handleEvent||(r.handleEvent=t=>r[t.type].call(e,t));if(n){if(!r[t]){const i=n.capture||n.once||n.passive?Object.assign({},n):null;e.addEventListener(t,r,i)}r[t]=n}else r[t]&&(e.removeEventListener(t,r),delete r[t])}(e,t.slice(2),r,o);else if("ref"==t)r&&(wJ(r)?r(e):r.current=e);else if("style"==t){const{style:t}=e;r=r||"";const i=QJ(n=n||""),o=QJ(r);if(i)for(const e in n){if(!o)break;!(e in r)&&d1(t,e,null)}if(o)for(const e in r){const o=r[e];i&&n[e]===o||d1(t,e,o)}else t.cssText=r}else{const o="$"==t[0]?t.slice(1):t;o===t&&(!i&&!KJ[t]&&t in e||wJ(r)||wJ(n))?e[t]=null==r?"":r:null==r?e.removeAttribute(o):e.setAttribute(o,QJ(r)?JSON.stringify(r):r)}}function d1(e,t,n){let r="setProperty";null==n&&(r="removeProperty",n=null),~t.indexOf("-")?e[r](t,n):e[t]=n}const h1=c1("host",{style:"display: contents"});(e=>{const t=NJ(({value:e})=>(((e,t)=>{const n=gJ(),r=mJ();qJ(()=>kJ(n.current,"ConnectContext",t=>{t.composedPath().at(0)!==t.currentTarget&&e===t.detail.id&&(t.stopPropagation(),t.detail.connect(r))}),[e]),r.current=t})(t,e),h1),{props:{value:{type:Object,value:()=>e}}});t.value=e})({dispatch(e,t){}});const f1=(e,t,n,r)=>{let i;t[0]=0;for(let o=1;o<t.length;o++){const a=t[o++],s=t[o]?(t[0]|=a?1:2,n[t[o++]]):t[++o];3===a?r[0]=s:4===a?r[1]=Object.assign(r[1]||{},s):5===a?(r[1]=r[1]||{})[t[++o]]=s:6===a?r[1][t[++o]]+=s+"":a?(i=e.apply(s,f1(e,s,n,["",null])),r.push(i),s[0]?t[0]|=2:(t[o-2]=0,t[o]=i)):r.push(s)}return r},p1=new Map;function A1(e){let t=p1;return t=f1(c1,t.get(e)||(t.set(e,t=function(e){let t,n,r=1,i="",o="",a=[0];const s=e=>{1===r&&(e||(i=i.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?a.push(0,e,i):3===r&&(e||i)?(a.push(3,e,i),r=2):2===r&&"..."===i&&e?a.push(4,e,0):2===r&&i&&!e?a.push(5,0,!0,i):r>=5&&((i||!e&&5===r)&&(a.push(r,0,i,n),r=6),e&&(a.push(r,e,0,n),r=6)),i=""};for(let l=0;l<e.length;l++){l&&(1===r&&s(),s(l));for(let c=0;c<e[l].length;c++)t=e[l][c],1===r?"<"===t?(s(),a=[a],r=3):i+=t:4===r?"--"===i&&">"===t?(r=1,i=""):i=t+i[0]:o?t===o?o="":i+=t:'"'===t||"'"===t?o=t:">"===t?(s(),r=1):r&&("="===t?(r=5,n=i,i=""):"/"===t&&(r<5||">"===e[l][c+1])?(s(),3===r&&(a=a[0]),r=a,(a=a[0]).push(2,0,r),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(s(),r=2):i+=t),3===r&&"!--"===i&&(r=4,a=a[0])}return s(),a}(e)),t),arguments,[]),t.length>1?t:t[0]}function m1(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=m1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function g1(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=m1(e))&&(r&&(r+=" "),r+=t);return r}var v1=Object.defineProperty,y1=Object.getOwnPropertySymbols,b1=Object.prototype.hasOwnProperty,w1=Object.prototype.propertyIsEnumerable,Q1=(e,t,n)=>t in e?v1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$1=(e,t)=>{for(var n in t||(t={}))b1.call(t,n)&&Q1(e,n,t[n]);if(y1)for(var n of y1(t))w1.call(t,n)&&Q1(e,n,t[n]);return e};function S1(e,t){return Object.assign(e,{meta:$1({package:"@milkdown/components"},t)}),e}var x1=Object.defineProperty,k1=Object.getOwnPropertySymbols,P1=Object.prototype.hasOwnProperty,T1=Object.prototype.propertyIsEnumerable,_1=(e,t,n)=>t in e?x1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,C1=(e,t)=>{for(var n in t||(t={}))P1.call(t,n)&&_1(e,n,t[n]);if(k1)for(var n of k1(t))T1.call(t,n)&&_1(e,n,t[n]);return e};const E1=VF(C1({},{mode:"preview"}),"linkTooltipStateCtx");S1(E1,{displayName:"State<link-tooltip>",group:"LinkTooltip"});const R1=VF(C1({},{addLink:()=>{},editLink:()=>{},removeLink:()=>{}}),"linkTooltipAPICtx");S1(E1,{displayName:"API<link-tooltip>",group:"LinkTooltip"});const X1=VF(C1({},{linkIcon:()=>"🔗",editButton:()=>"✎",removeButton:()=>"⌫",confirmButton:()=>A1`Confirm ⏎`,onCopyLink:()=>{},inputPlaceholder:"Paste link..."}),"linkTooltipConfigCtx");S1(E1,{displayName:"Config<link-tooltip>",group:"LinkTooltip"});const B1=sJ("LINK_PREVIEW");S1(B1[0],{displayName:"PreviewTooltipSpec<link-tooltip>",group:"LinkTooltip"}),S1(B1[1],{displayName:"PreviewTooltipPlugin<link-tooltip>",group:"LinkTooltip"});const U1=sJ("LINK_EDIT");function D1(e,t){const n=customElements.get(e);null!=n||customElements.define(e,t)}S1(U1[0],{displayName:"EditTooltipSpec<link-tooltip>",group:"LinkTooltip"}),S1(U1[1],{displayName:"EditTooltipPlugin<link-tooltip>",group:"LinkTooltip"});const I1=({config:e,src:t,onEdit:n,onRemove:r})=>A1`
2 <host>
3 <div class="link-preview" onmousedown=${n=>{n.preventDefault(),navigator.clipboard&&t&&navigator.clipboard.writeText(t).then(()=>{null==e||e.onCopyLink(t)}).catch(e=>{throw e})}}>
4 <span class="link-icon"> ${null==e?void 0:e.linkIcon()} </span>
5 <a href=${t} target="_blank" class="link-display">${t}</a>
6 <span class="button link-edit-button" onmousedown=${e=>{e.stopPropagation(),e.preventDefault(),null==n||n()}}>
7 ${null==e?void 0:e.editButton()}
8 </span>
9 <span
10 class="button link-remove-button"
11 onmousedown=${e=>{e.stopPropagation(),e.preventDefault(),null==r||r()}}
12 >
13 ${null==e?void 0:e.removeButton()}
14 </span>
15 </div>
16 </host>
17 `;I1.props={config:Object,src:String,onEdit:Function,onRemove:Function};const z1=NJ(I1);var N1,M1,L1,V1,q1,F1,W1,Z1,Y1=e=>{throw TypeError(e)},j1=(e,t,n)=>t.has(e)||Y1("Cannot "+n),G1=(e,t,n)=>(j1(e,t,"read from private field"),n?n.call(e):t.get(e)),H1=(e,t,n)=>t.has(e)?Y1("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K1=(e,t,n,r)=>(j1(e,t,"write to private field"),t.set(e,n),n);class J1{constructor(e,t){this.ctx=e,H1(this,N1,new z1),H1(this,M1),H1(this,L1,this.ctx.use(E1.key)),H1(this,V1,!1),H1(this,q1,({mode:e})=>{"edit"===e&&G1(this,Z1).call(this)}),H1(this,F1,()=>{K1(this,V1,!0)}),H1(this,W1,()=>{K1(this,V1,!1)}),H1(this,Z1,()=>{G1(this,M1).hide(),G1(this,M1).element.removeEventListener("mouseenter",G1(this,F1)),G1(this,M1).element.removeEventListener("mouseleave",G1(this,W1))}),this.show=(e,t,n,r)=>{G1(this,N1).config=this.ctx.get(X1.key),G1(this,N1).src=e.attrs.href,G1(this,N1).onEdit=()=>{this.ctx.get(R1.key).editLink(e,t,n)},G1(this,N1).onRemove=()=>{this.ctx.get(R1.key).removeLink(t,n),G1(this,Z1).call(this)},G1(this,M1).show({getBoundingClientRect:()=>r}),G1(this,M1).element.addEventListener("mouseenter",G1(this,F1)),G1(this,M1).element.addEventListener("mouseleave",G1(this,W1))},this.hide=()=>{G1(this,V1)||G1(this,Z1).call(this)},this.update=()=>{},this.destroy=()=>{G1(this,L1).off(G1(this,q1)),G1(this,M1).destroy(),G1(this,N1).remove()},K1(this,M1,new aJ({debounce:0,content:G1(this,N1),shouldShow:()=>!1})),G1(this,M1).update(t),K1(this,L1,e.use(E1.key)),G1(this,L1).on(G1(this,q1))}}function e0(e){let t;const n=IK((n,r)=>{if(!t)return;if(!n.hasFocus())return;if("edit"===e.get(E1.key).mode)return;const i=function(e,t,n){const r=t.posAtCoords({left:n.clientX,top:n.clientY});if(!r)return;const{pos:i}=r,o=t.state.doc.nodeAt(i);if(!o)return;const a=o.marks.find(t=>t.type===QW.mark.type(e));if(!a)return;return B1.pluginKey()?{show:!0,pos:i,node:o,mark:a}:void 0}(e,n,r);if(i){const e=n.state.doc.resolve(i.pos),r=function(e,t,n,r,i){let o={start:-1,end:-1};return n.nodesBetween(r,i,(n,r)=>{if(o.start>-1)return!1;-1===o.start&&e.isInSet(n.marks)&&t===n&&(o={start:r,end:r+Math.max(n.textContent.length,1)})}),o}(i.mark,i.node,n.state.doc,e.before(),e.after()),o=r.start,a=r.end;return void t.show(i.mark,o,a,lN(n,o,a))}t.hide()},200);e.set(B1.key,{props:{handleDOMEvents:{mousemove:n,mouseleave:()=>{setTimeout(()=>{null==t||t.hide()},200)}}},view:n=>(t=new J1(e,n),t)})}N1=new WeakMap,M1=new WeakMap,L1=new WeakMap,V1=new WeakMap,q1=new WeakMap,F1=new WeakMap,W1=new WeakMap,Z1=new WeakMap,D1("milkdown-link-preview",z1);const t0=({src:e,onConfirm:t,onCancel:n,config:r})=>{const i=mJ(),[o,a]=WJ(e);VJ(()=>{a(null!=e?e:"")},[e]);return A1`
18 <host>
19 <div class="link-edit">
20 <input
21 class="input-area"
22 placeholder=${null==r?void 0:r.inputPlaceholder}
23 ref=${i}
24 onkeydown=${e=>{var r,o;e.stopPropagation(),"Enter"===e.key&&(null==t||t(null!=(o=null==(r=i.current)?void 0:r.value)?o:""),e.preventDefault()),"Escape"===e.key&&(null==n||n(),e.preventDefault())}}
25 oninput=${e=>a(e.target.value)}
26 value=${o}
27 />
28 <span
29 class=${g1("button confirm",!o&&"hidden")}
30 onclick=${()=>{var e,n;null==t||t(null!=(n=null==(e=i.current)?void 0:e.value)?n:"")}}
31 >
32 ${null==r?void 0:r.confirmButton()}
33 </span>
34 </div>
35 </host>
36 `};t0.props={config:Object,src:String,onConfirm:Function,onCancel:Function};const n0=NJ(t0);var r0,i0,o0,a0,s0,l0,c0=Object.defineProperty,u0=Object.defineProperties,O0=Object.getOwnPropertyDescriptors,d0=Object.getOwnPropertySymbols,h0=Object.prototype.hasOwnProperty,f0=Object.prototype.propertyIsEnumerable,p0=e=>{throw TypeError(e)},A0=(e,t,n)=>t in e?c0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m0=(e,t)=>{for(var n in t||(t={}))h0.call(t,n)&&A0(e,n,t[n]);if(d0)for(var n of d0(t))f0.call(t,n)&&A0(e,n,t[n]);return e},g0=(e,t)=>u0(e,O0(t)),v0=(e,t,n)=>t.has(e)||p0("Cannot "+n),y0=(e,t,n)=>(v0(e,t,"read from private field"),n?n.call(e):t.get(e)),b0=(e,t,n)=>t.has(e)?p0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),w0=(e,t,n,r)=>(v0(e,t,"write to private field"),t.set(e,n),n);const Q0={from:-1,to:-1,mark:null};class $0{constructor(e,t){this.ctx=e,b0(this,r0,new n0),b0(this,i0),b0(this,o0,m0({},Q0)),b0(this,a0,()=>{y0(this,i0).hide(),this.ctx.update(E1.key,e=>g0(m0({},e),{mode:"preview"})),w0(this,o0,m0({},Q0))}),b0(this,s0,e=>{const t=this.ctx.get(yq),{from:n,to:r,mark:i}=y0(this,o0),o=QW.type(this.ctx);if(i&&i.attrs.href===e)return void y0(this,a0).call(this);const a=t.state.tr;i&&a.removeMark(n,r,i),a.addMark(n,r,o.create({href:e})),t.dispatch(a),y0(this,a0).call(this)}),b0(this,l0,(e,t,n)=>{const r=this.ctx.get(X1.key);y0(this,r0).config=r,y0(this,r0).src=e,this.ctx.update(E1.key,e=>g0(m0({},e),{mode:"edit"}));const i=this.ctx.get(yq);i.dispatch(i.state.tr.setSelection(sz.create(i.state.doc,t,n))),y0(this,i0).show({getBoundingClientRect:()=>lN(i,t,n)}),requestAnimationFrame(()=>{var e;null==(e=y0(this,r0).querySelector("input"))||e.focus()})}),this.update=e=>{const{state:t}=e,{selection:n}=t;if(!(n instanceof sz))return;const{from:r,to:i}=n;r===y0(this,o0).from&&i===y0(this,o0).to||y0(this,a0).call(this)},this.destroy=()=>{y0(this,i0).destroy(),y0(this,r0).remove()},this.addLink=(e,t)=>{w0(this,o0,{from:e,to:t,mark:null}),y0(this,l0).call(this,"",e,t)},this.editLink=(e,t,n)=>{w0(this,o0,{from:t,to:n,mark:e}),y0(this,l0).call(this,e.attrs.href,t,n)},this.removeLink=(e,t)=>{const n=this.ctx.get(yq),r=n.state.tr;r.removeMark(e,t,QW.type(this.ctx)),n.dispatch(r),y0(this,a0).call(this)},w0(this,i0,new aJ({content:y0(this,r0),debounce:0,shouldShow:()=>!1})),y0(this,i0).onHide=()=>{y0(this,r0).update().catch(e=>{throw e}),t.dom.focus({preventScroll:!0})},y0(this,i0).update(t),y0(this,r0).onConfirm=y0(this,s0),y0(this,r0).onCancel=y0(this,a0)}}r0=new WeakMap,i0=new WeakMap,o0=new WeakMap,a0=new WeakMap,s0=new WeakMap,l0=new WeakMap;var S0=Object.defineProperty,x0=Object.defineProperties,k0=Object.getOwnPropertyDescriptors,P0=Object.getOwnPropertySymbols,T0=Object.prototype.hasOwnProperty,_0=Object.prototype.propertyIsEnumerable,C0=(e,t,n)=>t in e?S0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function E0(e){let t;e.update(R1.key,e=>{return n=((e,t)=>{for(var n in t||(t={}))T0.call(t,n)&&C0(e,n,t[n]);if(P0)for(var n of P0(t))_0.call(t,n)&&C0(e,n,t[n]);return e})({},e),x0(n,k0({addLink:(e,n)=>{null==t||t.addLink(e,n)},editLink:(e,n,r)=>{null==t||t.editLink(e,n,r)},removeLink:(e,n)=>{null==t||t.removeLink(e,n)}}));var n}),e.set(U1.key,{view:n=>(t=new $0(e,n),t)})}function R0(e){e0(e),E0(e)}D1("milkdown-link-edit",n0);const X0=[E1,R1,X1,B1,U1].flat();function B0(e,t){return Array(t+1).join(e)}function U0(e){return e.replace(/^\n*/,"")}function D0(e){for(var t=e.length;t>0&&"\n"===e[t-1];)t--;return e.substring(0,t)}function I0(e){return D0(U0(e))}var z0=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function N0(e){return q0(e,z0)}var M0=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function L0(e){return q0(e,M0)}var V0=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function q0(e,t){return t.indexOf(e.nodeName)>=0}function F0(e,t){return e.getElementsByTagName&&t.some(function(t){return e.getElementsByTagName(t).length})}var W0=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function Z0(e){return W0.reduce(function(e,t){return e.replace(t[0],t[1])},e)}var Y0={};function j0(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function G0(e){var t=e.replace(/([<>()])/g,"\\$1");return t.indexOf(" ")>=0?"<"+t+">":t}function H0(e){return e.replace(/"/g,'\\"')}function K0(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function J0(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(e2(i,t,n))return i}}function e2(e,t,n){var r=e.filter;if("string"==typeof r){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())>-1)return!0}else{if("function"!=typeof r)throw new TypeError("`filter` needs to be a string, array, or function");if(r.call(e,t,n))return!0}}function t2(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function n2(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}Y0.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},Y0.lineBreak={filter:"br",replacement:function(e,t,n){return n.br+"\n"}},Y0.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var r=Number(t.nodeName.charAt(1));return"setext"===n.headingStyle&&r<3?"\n\n"+e+"\n"+B0(1===r?"=":"-",e.length)+"\n\n":"\n\n"+B0("#",r)+" "+e+"\n\n"}},Y0.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=I0(e).replace(/^/gm,"> "))+"\n\n"}},Y0.list={filter:["ul","ol"],replacement:function(e,t){var n=t.parentNode;return"LI"===n.nodeName&&n.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},Y0.listItem={filter:"li",replacement:function(e,t,n){var r=n.bulletListMarker+" ",i=t.parentNode;if("OL"===i.nodeName){var o=i.getAttribute("start"),a=Array.prototype.indexOf.call(i.children,t);r=(o?Number(o)+a:a+1)+". "}var s=/\n$/.test(e);return r+(e=(e=I0(e)+(s?"\n":"")).replace(/\n/gm,"\n"+" ".repeat(r.length)))+(t.nextSibling?"\n":"")}},Y0.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){return"\n\n "+t.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},Y0.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var r,i=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],o=t.firstChild.textContent,a=n.fence.charAt(0),s=3,l=new RegExp("^"+a+"{3,}","gm");r=l.exec(o);)r[0].length>=s&&(s=r[0].length+1);var c=B0(a,s);return"\n\n"+c+i+"\n"+o.replace(/\n$/,"")+"\n"+c+"\n\n"}},Y0.horizontalRule={filter:"hr",replacement:function(e,t,n){return"\n\n"+n.hr+"\n\n"}},Y0.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var n=G0(t.getAttribute("href")),r=H0(j0(t.getAttribute("title")));return"["+e+"]("+n+(r?' "'+r+'"':"")+")"}},Y0.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,n){var r,i,o=G0(t.getAttribute("href")),a=j0(t.getAttribute("title"));switch(a&&(a=' "'+H0(a)+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",i="["+e+"]: "+o+a;break;case"shortcut":r="["+e+"]",i="["+e+"]: "+o+a;break;default:var s=this.references.length+1;r="["+e+"]["+s+"]",i="["+s+"]: "+o+a}return this.references.push(i),r},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},Y0.emphasis={filter:["em","i"],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:""}},Y0.strong={filter:["strong","b"],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:""}},Y0.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!n},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",n="`",r=e.match(/`+/gm)||[];-1!==r.indexOf(n);)n+="`";return n+t+e+t+n}},Y0.image={filter:"img",replacement:function(e,t){var n=Z0(j0(t.getAttribute("alt"))),r=G0(t.getAttribute("src")||""),i=j0(t.getAttribute("title")),o=i?' "'+H0(i)+'"':"";return r?"!["+n+"]("+r+o+")":""}},K0.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){return e.isBlank?this.blankRule:(t=J0(this.array,e,this.options))||(t=J0(this._keep,e,this.options))||(t=J0(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};var r2="undefined"!=typeof window?window:{};var i2,o2,a2=function(){var e=r2.DOMParser,t=!1;try{(new e).parseFromString("","text/html")&&(t=!0)}catch(sy){}return t}()?r2.DOMParser:(i2=function(){},function(){var e=!1;try{document.implementation.createHTMLDocument("").open()}catch(sy){r2.ActiveXObject&&(e=!0)}return e}()?i2.prototype.parseFromString=function(e){var t=new window.ActiveXObject("htmlfile");return t.designMode="on",t.open(),t.write(e),t.close(),t}:i2.prototype.parseFromString=function(e){var t=document.implementation.createHTMLDocument("");return t.open(),t.write(e),t.close(),t},i2);function s2(e,t){var n;"string"==typeof e?n=(o2=o2||new a2).parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):n=e.cloneNode(!0);return function(e){var t=e.element,n=e.isBlock,r=e.isVoid,i=e.isPre||function(e){return"PRE"===e.nodeName};if(t.firstChild&&!i(t)){for(var o=null,a=!1,s=null,l=n2(s,t,i);l!==t;){if(3===l.nodeType||4===l.nodeType){var c=l.data.replace(/[ \r\n\t]+/g," ");if(o&&!/ $/.test(o.data)||a||" "!==c[0]||(c=c.substr(1)),!c){l=t2(l);continue}l.data=c,o=l}else{if(1!==l.nodeType){l=t2(l);continue}n(l)||"BR"===l.nodeName?(o&&(o.data=o.data.replace(/ $/,"")),o=null,a=!1):r(l)||i(l)?(o=null,a=!0):o&&(a=!1)}var u=n2(s,l,i);s=l,l=u}o&&(o.data=o.data.replace(/ $/,""),o.data||t2(o))}}({element:n,isBlock:N0,isVoid:L0,isPre:t.preformattedCode?l2:null}),n}function l2(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function c2(e,t){return e.isBlock=N0(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!L0(e)&&!function(e){return q0(e,V0)}(e)&&/^\s*$/i.test(e.textContent)&&!function(e){return F0(e,M0)}(e)&&!function(e){return F0(e,V0)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var n=(r=e.textContent,i=r.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/),{leading:i[1],leadingAscii:i[2],leadingNonAscii:i[3],trailing:i[4],trailingNonAscii:i[5],trailingAscii:i[6]});var r,i;n.leadingAscii&&u2("left",e,t)&&(n.leading=n.leadingNonAscii);n.trailingAscii&&u2("right",e,t)&&(n.trailing=n.trailingNonAscii);return{leading:n.leading,trailing:n.trailing}}(e,t),e}function u2(e,t,n){var r,i,o;return"left"===e?(r=t.previousSibling,i=/ $/):(r=t.nextSibling,i=/^ /),r&&(3===r.nodeType?o=i.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?o=!1:1!==r.nodeType||N0(r)||(o=i.test(r.textContent))),o}var O2=Array.prototype.reduce;function d2(e){if(!(this instanceof d2))return new d2(e);var t={rules:Y0,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}({},t,e),this.rules=new K0(this.options)}function h2(e){var t=this;return O2.call(e.childNodes,function(e,n){var r="";return 3===(n=new c2(n,t.options)).nodeType?r=n.isCode?n.nodeValue:t.escape(n.nodeValue):1===n.nodeType&&(r=p2.call(t,n)),A2(e,r)},"")}function f2(e){var t=this;return this.rules.forEach(function(n){"function"==typeof n.append&&(e=A2(e,n.append(t.options)))}),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function p2(e){var t=this.rules.forNode(e),n=h2.call(this,e),r=e.flankingWhitespace;return(r.leading||r.trailing)&&(n=n.trim()),r.leading+t.replacement(n,e,this.options)+r.trailing}function A2(e,t){var n=D0(e),r=U0(t),i=Math.max(e.length-n.length,t.length-r.length);return n+"\n\n".substring(0,i)+r}d2.prototype={turndown:function(e){if(!function(e){return null!=e&&("string"==typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";var t=h2.call(this,new s2(e,this.options));return f2.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else{if("function"!=typeof e)throw new TypeError("plugin must be a Function or an Array of Functions");e(this)}return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return Z0(e)}};var m2=Object.defineProperty,g2=(e,t,n)=>((e,t,n)=>t in e?m2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);const v2={"zh-CN":{dateNotSet:"未设置",taskName:"任务名称",resourceName:"资源名称",predecessor:"前置任务",assignee:"分配人",startDate:"开始日期",endDate:"结束日期",plannedStartDate:"预计开始日期",plannedEndDate:"预计结束日期",actualStartDate:"实际开始日期",actualEndDate:"实际结束日期",childrenEarliestStart:"子任务最早开始",childrenLatestEnd:"子任务最晚结束",childrenOverflow:"子任务已超出父级计划范围",estimatedHours:"预计工时(hr)",actualHours:"实际工时(hr)",progress:"进度",type:"类型",description:"描述",csvHeaders:{id:"ID",taskName:"任务名称",predecessor:"前置任务",assignee:"分配人",startDate:"开始日期",endDate:"结束日期",plannedStartDate:"预计开始日期",plannedEndDate:"预计结束日期",actualStartDate:"实际开始日期",actualEndDate:"实际结束日期",estimatedHours:"预计工时(hr)",actualHours:"实际工时(hr)",progress:"进度(%)",type:"类型",description:"描述"},yearMonthFormat:(e,t)=>`${e}年${String(t).padStart(2,"0")}月`,monthFormat:e=>`${e}月`,monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],weekDays:["日","一","二","三","四","五","六"],milestone:"里程碑",targetDate:"目标日期",today:"今天",milestoneDetails:"里程碑详情",milestoneName:"里程碑名称",milestoneDate:"里程碑日期",milestoneIcon:"里程碑图标",diamond:"菱形",rocket:"火箭",enterMilestoneName:"请输入里程碑名称",enterAssignee:"请输入负责人",enterDescription:"请输入描述信息",milestoneNameRequired:"里程碑名称为必填项",milestoneDateRequired:"里程碑日期为必填项",save:"保存",close:"关闭",confirm:"确认",delete:"删除",confirmDelete:"确定要删除这个里程碑吗?",addTask:"新增需求/任务",addMilestone:"新增里程碑",todayLocate:"今日",todayLocateTooltip:"定位到今天",exportCsv:"导出 CSV",exportPdf:"导出 PDF",expandAll:"全部展开",collapseAll:"全部折叠",taskView:"任务视图",language:"中文",languageTooltip:"选择语言",lightMode:"明亮模式",darkMode:"暗黑模式",fullscreen:"全屏",exitFullscreen:"退出全屏",githubDocs:"查看Github文档",giteeDocs:"查看Gitee文档",timeScaleHour:"时",timeScaleDay:"日",timeScaleWeek:"周",timeScaleMonth:"月",timeScaleQuarter:"季",timeScaleYear:"年",timeScaleTooltip:"切换时间刻度",halfYearFirst:"上半年",halfYearSecond:"下半年",confirmDialogMessage:"是否需要保留该设置?",newTask:"新建任务",taskNamePlaceholder:"请输入任务名称",assigneePlaceholder:"请输入负责人",progressPlaceholder:"0-100",hoursPlaceholder:"工时",descriptionPlaceholder:"请输入任务描述...",hours:"小时",create:"创建",taskNameRequired:"任务名称不能为空",startDateRequired:"开始日期不能为空",endDateRequired:"结束日期不能为空",endDateInvalid:"结束日期不能早于开始日期",plannedStartDateRequired:"预计开始日期不能为空",plannedEndDateRequired:"预计结束日期不能为空",plannedEndDateInvalid:"预计结束日期不能早于预计开始日期",actualEndDateInvalid:"实际结束日期不能早于实际开始日期",statusPending:"待处理",statusOngoing:"进行中",statusDelayed:"已逾期",statusCompleted:"已完成",newMilestone:"新建里程碑",editMilestone:"编辑里程碑",cancel:"取消",startTimer:"开始计时",stopTimer:"停止计时",timerStarted:"任务计时已开始",timerStopped:"任务计时已停止",addPredecessor:"添加前置任务",addSuccessor:"添加后置任务",pdfExportLoading:"正在生成PDF,请稍候...",pdfExportTitle:"甘特图导出",pdfExportDate:"导出日期",milestoneGroup:"里程碑",collapseTaskList:"收起任务列表",expandTaskList:"展开任务列表",taskType:"任务类型",taskTypeRequired:"请选择任务类型",taskTypeMap:{task:"任务",milestone:"里程碑",story:"需求",epic:"史诗",bug:"缺陷"},editTask:"编辑任务",parentTask:"上级任务",time:"时间",selectTime:"选择时间",hour:"时",minute:"分",selectDate:"请选择日期",to:"至",noParentTask:"无上级任务",update:"更新",taskNameTooLong:"任务名称不能超过50个字符",predecessorPlaceholder:"请选择前置任务",selectPredecessor:"选择前置任务",removePredecessor:"移除前置任务",deleteLinks:"删除链接",noLinks:"无链接",predecessorLink:"前置: {name}",successorLink:"后置: {name}",operationFailed:"操作失败,请重试",taskUpdateSuccess:"任务更新成功",taskCreateSuccess:"任务创建成功",confirmDeleteTask:'确定要删除任务"{name}"吗?此操作不可撤销。',taskDeleteFailed:"删除失败,请重试",confirmDeleteStory:"是否删除该需求{name}及其所有的子任务?该操作不可撤回",storyDeleteYes:"是, 继续",storyDeleteNo:"不,仅删除需求",storyDeleteAllSuccess:"已删除需求【{name}】及其所有子任务",storyDeleteOnlySuccess:"已删除需求【{name}】,{count}个子任务已升级保留",storyNotFound:"未找到要删除的需求,ID:{id}",milestoneDeleteSuccess:"里程碑删除成功",taskDeletedSuccess:"已删除任务",selectAssignee:"请选择负责人",resourceAllocation:"资源分配",selectResource:"选择资源",addResource:"添加资源",percentMinError:"最小占比为20%",percentMaxWarning:"占比超过100%将标记为超负荷",customCsvExportCalled:"自定义CSV导出被调用",languageSwitchedTo:"语言切换到:{language}",themeSwitchedTo:"主题切换到:{theme}",lightModeText:"明亮模式",darkModeText:"暗黑模式",taskNotFound:"未找到要更新的任务,ID:{id}",newParentTaskNotFound:"未找到新父任务,ID:{parentId},将作为顶级任务添加",inPlaceUpdateFailed:"就地更新失败,未找到任务,ID:{id}",taskToDeleteNotFound:"未找到要删除的任务,ID:{id}",milestoneIconUpdateNotFound:"未找到要更新图标的里程碑,ID:{id}",overtime:"超",overdue:"逾期",days:"天",timerConfirmPrefix:"即将为任务",timerConfirmSuffix:"计时,若有特殊说明请完善下面的描述",timerConfirmPlaceholder:"请输入计时说明",configDemo:"配置演示",taskListConfig:{title:"TaskList 配置",columns:{title:"列显示(默认渲染模式下生效)",renderMode:"渲染模式",renderModeDefault:"默认(通过 TaskListColumnConfig 设置)",renderModeDeclarative:"声明式(使用 TaskListColumn 设置可见列)"},width:{title:"宽度设置",defaultWidth:"默认宽度",minWidth:"最小宽度",maxWidth:"最大宽度",pixelsModel:"像素 (px)",percentageModel:"百分比 (%)"},collapsible:{title:"展开/收起控制",enableCollapsible:"启用任务列可折叠",enableCollapsibleHint:"启用后任务列可展开/收起",visible:"任务列显示状态",visibleExpanded:"展开",visibleCollapsed:"收起",visibleHint:"通过 prop 控制任务列初始/当前显示状态"}},taskBarConfig:{title:"TaskBar 配置",display:{title:"显示选项",showAvatar:"显示头像 (Avatar)",showTitle:"显示标题 (Title)",showProgress:"显示进度 (Progress)"},mistouch:{title:"防误触配置",dragThreshold:"拖拽阈值 (px)",dragThresholdHint:"移动超过此距离才触发拖拽",resizeHandleWidth:"拉伸手柄宽度 (px)",resizeHandleWidthHint:"调整手柄的可点击宽度 (5-15px)",enableDragDelay:"启用拖拽延迟",enableDragDelayHint:"按住一段时间后才能拖拽",dragDelayTime:"延迟时间 (ms)",dragDelayTimeHint:"延迟启动拖拽的时间",allowDragOnClick:"允许拖拽和拉伸 TaskBar 和 Milestone",allowDragOnClickHint:"控制是否允许拖拽 TaskBar 和 Milestone,以及拉伸 TaskBar 的长度"}},disableTaskbarFocusMode:"关闭聚焦功能",dataSourceAlreadyLoaded:"{name} 已是当前数据源",dataSourceLoadSuccess:"已加载 {name}",dataSourceLoadFailed:"{name} 加载失败",dataSourceSwitch:{title:"数据源切换",subtitle:"对比常规与超大数据集的初始化体验",loading:"数据加载中,请稍候...",alreadyLoaded:"{name} 已是当前数据源",loadSuccess:"已加载 {name}",loadFailed:"{name} 加载失败",sources:{normal:{label:"常规数据源",description:"data.json · 含完整前/后置依赖,适合功能演示",badge:"data.json"},medium:{label:"中等数据源",description:"data-100.json · 含完整前/后置依赖,适合功能演示",badge:"data-100.json"},large:{label:"超大数据源",description:"data-large-1m.json · 百万级任务,验证虚拟渲染性能",badge:"data-large-1m.json"}}},resourceView:{desc:"资源视图",capacity:"利用率",overloaded:"超负荷",duration:"时间周期",overloadWarning:"资源超负荷警告",conflictDuration:"冲突时段",conflictWith:"与",conflictSuffix:"冲突"}},"en-US":{dateNotSet:"Not set",taskName:"Task Name",resourceName:"Resource Name",predecessor:"Predecessor",assignee:"Assignee",startDate:"Start Date",endDate:"End Date",plannedStartDate:"Planned Start Date",plannedEndDate:"Planned End Date",actualStartDate:"Actual Start Date",actualEndDate:"Actual End Date",childrenEarliestStart:"Children Earliest Start",childrenLatestEnd:"Children Latest End",childrenOverflow:"Children exceed parent boundaries",estimatedHours:"Est. Hours",actualHours:"Act. Hours",progress:"Progress",type:"Type",csvHeaders:{id:"ID",taskName:"Task Name",predecessor:"Predecessor",assignee:"Assignee",startDate:"Start Date",endDate:"End Date",plannedStartDate:"Planned Start Date",plannedEndDate:"Planned End Date",actualStartDate:"Actual Start Date",actualEndDate:"Actual End Date",estimatedHours:"Est. Hours",actualHours:"Act. Hours",progress:"Progress (%)",type:"Type",description:"Description"},yearMonthFormat:(e,t)=>`${e}/${String(t).padStart(2,"0")}`,monthFormat:e=>`${String(e).padStart(2,"0")}`,monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],milestone:"Milestone",today:"Today",targetDate:"Target Date",milestoneDetails:"Milestone Details",milestoneName:"Milestone Name",milestoneDate:"Milestone Date",milestoneIcon:"Milestone Icon",diamond:"Diamond",rocket:"Rocket",enterMilestoneName:"Enter milestone name",enterAssignee:"Enter assignee",enterDescription:"Enter description",milestoneNameRequired:"Milestone name is required",milestoneDateRequired:"Milestone date is required",save:"Save",close:"Close",confirm:"Confirm",description:"Description",delete:"Delete",confirmDelete:"Are you sure you want to delete this milestone?",addTask:"Add Requirement/Task",addMilestone:"Add Milestone",todayLocate:"Today",todayLocateTooltip:"Locate to today",exportCsv:"Export CSV",exportPdf:"Export PDF",expandAll:"Expand All",collapseAll:"Collapse All",taskView:"Task View",language:"English",languageTooltip:"Select language",lightMode:"Light Mode",darkMode:"Dark Mode",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",githubDocs:"GitHub Docs",giteeDocs:"Gitee Docs",timeScaleHour:"Hour",timeScaleDay:"Day",timeScaleWeek:"Week",timeScaleMonth:"Month",timeScaleQuarter:"Quarter",timeScaleYear:"Year",timeScaleTooltip:"Switch Time Scale",halfYearFirst:"First Half",halfYearSecond:"Second Half",confirmDialogMessage:"Do you want to save this setting?",taskNamePlaceholder:"Enter task name",assigneePlaceholder:"Enter assignee",progressPlaceholder:"0-100",hoursPlaceholder:"Hours",descriptionPlaceholder:"Enter task description...",hours:"Hours",create:"Create",taskNameRequired:"Task name is required",startDateRequired:"Start date is required",endDateRequired:"End date is required",endDateInvalid:"End date cannot be earlier than start date",plannedStartDateRequired:"Planned start date is required",plannedEndDateRequired:"Planned end date is required",plannedEndDateInvalid:"Planned end date cannot be earlier than planned start date",actualEndDateInvalid:"Actual end date cannot be earlier than actual start date",statusPending:"Pending",statusOngoing:"Ongoing",statusDelayed:"Delayed",statusCompleted:"Completed",newMilestone:"New Milestone",editMilestone:"Edit Milestone",cancel:"Cancel",timerStarted:"Timer Started",timerStopped:"Timer Stopped",startTimer:"Start Timer",stopTimer:"Stop Timer",addPredecessor:"Add Predecessor",addSuccessor:"Add Successor",pdfExportLoading:"Generating PDF, please wait...",pdfExportTitle:"Gantt Chart Export",pdfExportDate:"Export Date",milestoneGroup:"Milestone",collapseTaskList:"Collapse Task List",expandTaskList:"Expand Task List",taskType:"Task Type",taskTypeRequired:"Please select task type",taskTypeMap:{task:"Task",milestone:"Milestone",story:"Story",epic:"Epic",bug:"Bug"},editTask:"Edit Task",newTask:"New Task",parentTask:"Parent Task",time:"Time",selectTime:"Select Time",hour:"Hour",minute:"Minute",selectDate:"Select date",to:"to",noParentTask:"No Parent Task",update:"Update",taskNameTooLong:"Task name cannot exceed 50 characters",predecessorPlaceholder:"Select predecessor",selectPredecessor:"Select Predecessor",removePredecessor:"Remove Predecessor",deleteLinks:"Delete Links",noLinks:"No Links",predecessorLink:"Predecessor: {name}",successorLink:"Successor: {name}",operationFailed:"Operation failed, please try again",taskUpdateSuccess:"Task updated successfully",taskCreateSuccess:"Task created successfully",confirmDeleteTask:'Are you sure you want to delete task "{name}"? This action cannot be undone.',taskDeleteFailed:"Delete failed, please try again",confirmDeleteStory:"Do you want to delete the requirement {name} and all its subtasks? This action cannot be undone",storyDeleteYes:"Yes, Continue",storyDeleteNo:"No, Delete Requirement Only",storyDeleteAllSuccess:"Deleted requirement [{name}] and all its subtasks",storyDeleteOnlySuccess:"Deleted requirement [{name}], {count} subtasks have been promoted",storyNotFound:"Requirement not found, ID: {id}",milestoneDeleteSuccess:"Milestone deleted successfully",taskDeletedSuccess:"Task deleted",selectAssignee:"Select assignee",resourceAllocation:"Resource Allocation",selectResource:"Select resource",addResource:"Add Resource",percentMinError:"Minimum percentage is 20%",percentMaxWarning:"Percentage over 100% will be marked as overloaded",customCsvExportCalled:"Custom CSV export called",languageSwitchedTo:"Language switched to: {language}",themeSwitchedTo:"Theme switched to: {theme}",lightModeText:"Light Mode",darkModeText:"Dark Mode",taskNotFound:"Task not found for update, ID: {id}",newParentTaskNotFound:"New parent task not found, ID: {parentId}, will be added as top-level task",inPlaceUpdateFailed:"In-place update failed, task not found, ID: {id}",taskToDeleteNotFound:"Task to delete not found, ID: {id}",milestoneIconUpdateNotFound:"Milestone not found for icon update, ID: {id}",overtime:"Over",overdue:"Overdue",days:" days",timerConfirmPrefix:"About to start timing for",timerConfirmSuffix:". If there are special notes, please complete the description below.",timerConfirmPlaceholder:"Please enter timer description",configDemo:"Configuration Demo",taskListConfig:{title:"TaskList Configuration",columns:{title:"Columns(默effective in default render mode)",renderMode:"Render Mode",renderModeDefault:"Default (via TaskListColumnConfig)",renderModeDeclarative:"Declarative (via TaskListColumn)"},width:{title:"Width Settings",defaultWidth:"Default Width",minWidth:"Min Width",maxWidth:"Max Width",pixelsModel:"pixels (px)",percentageModel:"percentage (%)"},collapsible:{title:"Collapsible Control",enableCollapsible:"Enable collapsible task list",enableCollapsibleHint:"Allow task list to expand/collapse when enabled",visible:"Task list visibility",visibleExpanded:"Expanded",visibleCollapsed:"Collapsed",visibleHint:"Controls initial/current visibility state of the task list"}},taskBarConfig:{title:"TaskBar Configuration",display:{title:"Display Options",showAvatar:"Show Avatar",showTitle:"Show Title",showProgress:"Show Progress"},mistouch:{title:"Mistouch Prevention",dragThreshold:"Drag Threshold (px)",dragThresholdHint:"Distance to trigger dragging",resizeHandleWidth:"Resize Handle Width (px)",resizeHandleWidthHint:"Clickable width of resize handle (5-15px)",enableDragDelay:"Enable Drag Delay",enableDragDelayHint:"Hold to drag after a delay",dragDelayTime:"Delay Time (ms)",dragDelayTimeHint:"Delay time before dragging starts",allowDragOnClick:"Allow dragging and resizing of TaskBars and Milestones",allowDragOnClickHint:"Controls whether to allow dragging of TaskBars and Milestones, as well as resizing the length of TaskBars"}},disableTaskbarFocusMode:"Disable Focus Mode",dataSourceAlreadyLoaded:"{name} is already active",dataSourceLoadSuccess:"{name} loaded successfully",dataSourceLoadFailed:"{name} failed to load",dataSourceSwitch:{title:"Data Sources",subtitle:"Compare default vs. mega dataset initialization",loading:"Loading data, please wait…",alreadyLoaded:"{name} is already active",loadSuccess:"{name} loaded successfully",loadFailed:"{name} failed to load",sources:{normal:{label:"Standard Dataset",description:"data.json · Full predecessor graph for feature demos",badge:"data.json"},medium:{label:"Medium Dataset",description:"data-100.json · Full predecessor graph for feature demos",badge:"data-100.json"},large:{label:"Massive Dataset",description:"data-large-1m.json · Million-level tasks to stress virtual rendering",badge:"data-large-1m.json"}}},resourceView:{desc:"Resource View",capacity:"capacity",overloaded:"overLoaded",duration:"duration",overloadWarning:"Overload Warning",conflictDuration:"conflict duration",conflictWith:"conflict with",conflictSuffix:""}}};function y2(e,t){v2[e]&&(v2[e]={...v2[e],...t},b2.value===e&&window.dispatchEvent(new CustomEvent("locale-changed",{detail:{locale:e}})))}const b2=cn((()=>{if(typeof window<"u"){const e=localStorage.getItem("gantt-locale");if(e&&("zh-CN"===e||"en-US"===e))return e}return"zh-CN"})());function w2(){const e=Ha(()=>v2[b2.value]),t=(t,n)=>{const r=t.split(".");let i=e.value;for(const e of r){if(!i||"object"!=typeof i||!(e in i))return n||t;i=i[e]}return"string"==typeof i?i:n||t},n=Ha(()=>b2.value);return{t:e,getTranslation:t,formatTranslation:(e,n)=>{let r=t(e);return Object.keys(n).forEach(e=>{r=r.replace(new RegExp(`{${e}}`,"g"),String(n[e]))}),r},locale:n,setLocale:e=>{b2.value=e,window.dispatchEvent(new CustomEvent("locale-changed",{detail:{locale:e}}))},formatYearMonth:(t,n)=>e.value.yearMonthFormat(t,n),formatMonth:t=>e.value.monthFormat(t)}}function Q2(){const e=sr("gantt-view-mode",cn("task")),t=sr("gantt-data-source",Ha(()=>[])),n=sr("gantt-list-config",Ha(()=>null)),r=Ha(()=>"resource"===e.value),i=Ha(()=>"task"===e.value);return{viewMode:e,dataSource:t,listConfig:n,isResourceView:r,isTaskView:i}}function $2(e){return e?Array.isArray(e)&&"number"==typeof e[0]?e:Array.isArray(e)?e.filter(e=>e&&e.toString().trim()).map(e=>Number(e.toString().trim())).filter(e=>!isNaN(e)):e.split(",").map(e=>e.trim()).filter(e=>e).map(e=>Number(e)).filter(e=>!isNaN(e)):[]}function S2(e){const t=$2(e);return t.length>0?t.join(", "):"-"}function x2(e,t,n){const r=e.filter(e=>!e.resources||0===e.resources.length||e.resources.some(e=>String(e.id)===String(t)));if(r.length<2)return[];let i;return i=r.length>100?function(e,t,n){var r;const i=new E2;for(const s of e)i.insert(s);const o=[],a=new Set;for(const s of e){const e=C2(s.startDate),l=C2(s.endDate);if(!e||!l)continue;const c=i.query(e.getTime(),l.getTime());if(c.length<2)continue;let u=0;const O=c.map(e=>{var n;const r=null==(n=e.resources)?void 0:n.find(e=>String(e.id)===String(t)),i=e.resources&&0!==e.resources.length?(null==r?void 0:r.capacity)||0:100;return u+=i,{id:e.id,name:e.name||"未命名任务",capacity:i}});if(u<=100)continue;const d=c.filter(e=>{var n;if(!e.resources||0===e.resources.length)return!0;const r=null==(n=e.resources)?void 0:n.find(e=>String(e.id)===String(t));return r&&r.capacity&&r.capacity>0}),h=864e5,f="hour"===n,p=f?0:h,A=new Set;A.add(e.getTime()),A.add(l.getTime()+p);for(const t of d){const e=C2(t.startDate),n=C2(t.endDate);e&&n&&(A.add(e.getTime()),A.add(n.getTime()+p))}const m=Array.from(A).sort((e,t)=>e-t),g=[];for(let n=0;n<m.length-1;n++){const e=m[n],i=m[n+1];let o=0;for(const n of d){const i=C2(n.startDate),a=C2(n.endDate);if(!i||!a)continue;const s=a.getTime()+p;if(i.getTime()<=e&&s>e){const e=null==(r=n.resources)?void 0:r.find(e=>String(e.id)===String(t));o+=n.resources&&0!==n.resources.length?(null==e?void 0:e.capacity)||0:100}}o>100&&g.push({start:e,end:i})}if(0===g.length)continue;const v=g[0].start;let y=g[0].end;for(let t=1;t<g.length;t++)g[t].start===y&&(y=g[t].end);y=f?y:y-h;const b=`${v}-${y}`;a.has(b)||(a.add(b),o.push({startDate:new Date(v),endDate:new Date(y),totalPercent:u,level:_2(u),tasks:O}))}return k2(o)}(r,t,n):function(e,t,n){var r;const i=[],o=new Set;for(let a=0;a<e.length;a++)for(let s=a+1;s<e.length;s++){const l=T2(e[a],e[s],n);if(!l)continue;const c=e=>{const t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0"),o=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0");return"hour"===n?`${t}-${r}-${i} ${o}:${a}`:`${t}-${r}-${i}`},u=e.filter(e=>null!==T2({startDate:c(l.start),endDate:c(l.end)},e,n));let O=0;const d=u.map(e=>{var n;const r=null==(n=e.resources)?void 0:n.find(e=>String(e.id)===String(t)),i=e.resources&&0!==e.resources.length?(null==r?void 0:r.capacity)||0:100;return O+=i,{id:e.id,name:e.name||"未命名任务",capacity:i}});if(O<=100)continue;const h=u.filter(e=>{var n;if(!e.resources||0===e.resources.length)return!0;const r=null==(n=e.resources)?void 0:n.find(e=>String(e.id)===String(t));return r&&r.capacity&&r.capacity>0}),f=864e5,p="hour"===n,A=p?0:f,m=new Set;for(const e of h){const t=C2(e.startDate),n=C2(e.endDate);if(t&&n){const e=Math.max(t.getTime(),l.start.getTime()),r=Math.min(n.getTime(),l.end.getTime());m.add(e),m.add(r+A)}}const g=Array.from(m).sort((e,t)=>e-t),v=[];for(let e=0;e<g.length-1;e++){const n=g[e],i=g[e+1];let o=0;for(const e of h){const i=C2(e.startDate),a=C2(e.endDate);if(!i||!a)continue;const s=a.getTime()+A;if(i.getTime()<=n&&s>n){const n=null==(r=e.resources)?void 0:r.find(e=>String(e.id)===String(t));o+=e.resources&&0!==e.resources.length?(null==n?void 0:n.capacity)||0:100}}o>100&&v.push({start:n,end:i})}if(0===v.length)continue;const y=v[0].start;let b=v[0].end;for(let e=1;e<v.length;e++)v[e].start===b&&(b=v[e].end);b=p?b:b-f;const w=`${y}-${b}`;o.has(w)||(o.add(w),i.push({startDate:new Date(y),endDate:new Date(b),totalPercent:O,level:_2(O),tasks:d}))}return k2(i)}(r,t,n),i}function k2(e){if(0===e.length)return[];const t=[...e].sort((e,t)=>e.startDate.getTime()-t.startDate.getTime()),n=[];let r=t[0];for(let i=1;i<t.length;i++){const e=t[i];r.endDate>=e.startDate?r={startDate:r.startDate,endDate:new Date(Math.max(r.endDate.getTime(),e.endDate.getTime())),totalPercent:Math.max(r.totalPercent,e.totalPercent),level:_2(Math.max(r.totalPercent,e.totalPercent)),tasks:P2(r.tasks,e.tasks)}:(n.push(r),r=e)}return n.push(r),n}function P2(e,t){const n=new Map;for(const r of e)n.set(r.id,r);for(const r of t)if(n.has(r.id)){const e=n.get(r.id);r.capacity>e.capacity&&n.set(r.id,r)}else n.set(r.id,r);return Array.from(n.values())}function T2(e,t,n){const r=C2(e.startDate),i=C2(e.endDate),o=C2(t.startDate),a=C2(t.endDate);if(!(r&&i&&o&&a))return null;if("hour"===n){if(r.getTime()>=a.getTime()||o.getTime()>=i.getTime())return null;return{start:new Date(Math.max(r.getTime(),o.getTime())),end:new Date(Math.min(i.getTime(),a.getTime()))}}const s=new Date(i.getTime()+864e5);if(r>=new Date(a.getTime()+864e5)||o>=s)return null;return{start:new Date(Math.max(r.getTime(),o.getTime())),end:new Date(Math.min(i.getTime(),a.getTime()))}}function _2(e){return e>150?"severe":e>120?"medium":"light"}function C2(e){if(!e)return null;if("string"==typeof e){if(/^\d{4}-\d{2}-\d{2}$/.test(e)){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}if(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/.test(e)){const[t,n]=e.split(" "),[r,i,o]=t.split("-").map(Number),[a,s]=n.split(":").map(Number);return new Date(r,i-1,o,a,s)}}const t=new Date(e);return isNaN(t.getTime())?null:t}class E2{constructor(){g2(this,"root",null)}insert(e){const t=C2(e.startDate),n=C2(e.endDate);if(!t||!n)return;const r={start:t.getTime(),end:n.getTime(),max:n.getTime(),task:e,left:null,right:null};this.root?this.insertNode(this.root,r):this.root=r}insertNode(e,t){t.end>e.max&&(e.max=t.end),t.start<e.start?null===e.left?e.left=t:this.insertNode(e.left,t):null===e.right?e.right=t:this.insertNode(e.right,t)}query(e,t){const n=[];return this.queryNode(this.root,e,t,n),n}queryNode(e,t,n,r){e&&(e.start<=n&&e.end>=t&&r.push(e.task),e.left&&e.left.max>=t&&this.queryNode(e.left,t,n,r),e.right&&e.start<=n&&this.queryNode(e.right,t,n,r))}}function R2(e){const t={id:e.id,name:e.name,type:e.type,avatar:e.avatar,description:e.description,department:e.department,skills:e.skills,capacity:e.capacity,color:e.color,tasks:e.tasks||[]};return Object.keys(e).forEach(n=>{n in t||(t[n]=e[n])}),t}const X2={class:"confirm-timer-dialog-overlay"},B2={class:"confirm-timer-dialog"},U2={class:"dialog-message"},D2={class:"task-name-highlight"},I2=["placeholder"],z2={class:"dialog-actions"},N2=Vr({__name:"ConfirmTimerDialog",props:{visible:Boolean,title:{type:String,default:""},message:{type:String,default:""},defaultDesc:{type:String,default:""},placeholder:{type:String,default:""}},emits:["confirm","cancel"],setup(e,{emit:t}){const n=e,r=t,{getTranslation:i}=w2(),o=cn(n.defaultDesc);hr(()=>n.visible,e=>{e&&(o.value=n.defaultDesc)});const a=()=>r("confirm",o.value),s=Ha(()=>{if(n.message){const e=n.message.match(/任务([\S\s]+?)计时|Task ([\S\s]+?) timing/);if(e&&(e[1]||e[2]))return e[1]||e[2]}return n.defaultDesc});return(e,t)=>(la(),ha("div",X2,[va("div",B2,[va("div",U2,[va("span",null,Te(fn(i)("timerConfirmPrefix")),1),va("span",D2,Te(s.value),1),va("span",null,Te(fn(i)("timerConfirmSuffix")),1)]),ir(va("textarea",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:"dialog-textarea",placeholder:fn(i)("timerConfirmPlaceholder"),rows:"3"},null,8,I2),[[$l,o.value]]),va("div",z2,[va("button",{class:"gantt-btn gantt-btn-default",onClick:t[1]||(t[1]=t=>e.$emit("cancel"))},Te(fn(i)("cancel")),1),va("button",{class:"gantt-btn gantt-btn-confirm",onClick:a},Te(fn(i)("startTimer")),1)])])]))}}),M2=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},L2=M2(N2,[["__scopeId","data-v-b12dbe17"]]),V2={class:"gantt-confirm-header"},q2={class:"gantt-confirm-title"},F2={class:"gantt-confirm-content"},W2={class:"gantt-confirm-footer"},Z2={class:"gantt-confirm-footer-right"},Y2=Vr({__name:"GanttConfirmDialog",props:{visible:Boolean,title:{type:String,default:"确认"},message:{type:String,default:""},confirmText:{type:String,default:"确认"},cancelText:{type:String,default:"取消"},yesText:{type:String,default:"是"},noText:{type:String,default:"否"},type:{type:String,default:"confirm-cancel"}},emits:["confirm","cancel","yes","no"],setup(e,{emit:t}){const n=e,r=t,i=()=>r("confirm"),o=()=>r("cancel"),a=()=>r("yes"),s=()=>r("no");return(t,r)=>e.visible?(la(),ha("div",{key:0,class:"gantt-confirm-overlay",onClick:o},[va("div",{class:"gantt-confirm-dialog",onClick:r[0]||(r[0]=Dl(()=>{},["stop"]))},[va("div",V2,[va("h4",q2,Te(n.title),1)]),va("div",F2,[va("p",null,Te(n.message),1)]),va("div",W2,["yes-no-cancel"===n.type?(la(),ha(na,{key:0},[va("button",{type:"button",class:"gantt-btn gantt-btn-default",onClick:o},Te(n.cancelText),1),va("div",Z2,[va("button",{type:"button",class:"gantt-btn gantt-btn-warning",onClick:s},Te(n.noText),1),va("button",{type:"button",class:"gantt-btn gantt-btn-danger",onClick:a},Te(n.yesText),1)])],64)):(la(),ha(na,{key:1},[va("button",{type:"button",class:"gantt-btn gantt-btn-default",onClick:o},Te(n.cancelText),1),r[1]||(r[1]=Qa("    ")),va("button",{type:"button",class:"gantt-btn gantt-btn-danger",onClick:i},Te(n.confirmText),1)],64))])])])):Sa("",!0)}}),j2=M2(Y2,[["__scopeId","data-v-096d9bfd"]]),G2=["data-theme"],H2={class:"icon-wrapper"},K2=["onClick"],J2=["innerHTML"],e5=Vr({__name:"TaskContextMenu",props:{visible:{type:Boolean},position:{},task:{},allTasks:{}},emits:["start-timer","stop-timer","add-predecessor","add-successor","delete","delete-link","close"],setup(e,{expose:t,emit:n}){const r=e,i=n,{t:o}=w2(),a=sr("gantt-theme"),s=cn(null),l=cn({x:0,y:0}),c=cn({display:"none",left:"50%",top:"-8px",transform:"rotate(0deg)"}),u=cn(!1),O=cn(""),d=cn(!1),h=Ha(()=>{var e;return"story"===(null==(e=r.task)?void 0:e.type)?"yes-no-cancel":"confirm-cancel"}),f=Ha(()=>{var e,t,n;return"story"===(null==(e=r.task)?void 0:e.type)?o.value.confirmDeleteStory.replace("{name}",(null==(t=r.task)?void 0:t.name)||""):o.value.confirmDeleteTask.replace("{name}",(null==(n=r.task)?void 0:n.name)||"")});function p(){u.value=!1}function A(e){if(u.value=!1,r.task&&"object"==typeof r.task){i("close");const t=Date.now();Object.assign(r.task,{timerStartDesc:e||"",isTimerRunning:!0,timerStartTime:t,timerElapsedTime:0}),i("start-timer",r.task)}}function m(){d.value=!0}const g=()=>{d.value=!1,r.task&&(i("delete",r.task),i("close"))},v=()=>{d.value=!1},y=()=>{d.value=!1,r.task&&(i("delete",r.task,!0),k())},b=()=>{d.value=!1,r.task&&(i("delete",r.task,!1),k())},w=Ha(()=>{var e;return"story"!==(null==(e=r.task)?void 0:e.type)}),Q=cn(!1);let $=null;const S=Ha(()=>{const e=[];if(!r.task||!r.allTasks)return e;if(r.task.predecessor){const t=$2(r.task.predecessor);for(const n of t){const t=r.allTasks.find(e=>e.id===n);t&&e.push({type:"predecessor",taskId:n,taskName:t.name||`任务 ${n}`})}}for(const t of r.allTasks)t.predecessor&&t.id!==r.task.id&&$2(t.predecessor).includes(r.task.id)&&e.push({type:"successor",taskId:t.id,taskName:t.name||`任务 ${t.id}`});return e}),x=Ha(()=>S.value.length>0);hr([()=>r.visible,()=>r.position],([e,t])=>{e&&t&&qn(()=>{if(s.value){const e=window.innerWidth,n=window.innerHeight,r=s.value.offsetWidth,i=s.value.offsetHeight;let o=t.x-r/2,a=t.y+10,u="50%",O="-8px",d="rotate(0deg)";if(o+r>e){const t=o+r-e+5;o-=t,u=`calc(50% + ${t}px)`}if(o<5){const e=5-o;o=5,u=`calc(50% - ${e}px)`}a+i>n&&(a=t.y-i-10,O="100%",d="rotate(180deg)"),l.value={x:o,y:a},c.value={display:"block",left:u,top:O,transform:d}}})},{immediate:!0,deep:!0});const k=()=>{i("close")},P=()=>{var e;null!=(e=r.task)&&e.isTimerRunning?(i("close"),Object.assign(r.task,{isTimerRunning:!1,timerEndTime:Date.now(),timerElapsedTime:(r.task.timerElapsedTime||0)+(Date.now()-(r.task.timerStartTime||Date.now()))}),i("stop-timer",r.task)):function(){var e;O.value=(null==(e=r.task)?void 0:e.name)||"",u.value=!0}()},T=()=>{r.task&&(i("close"),qn(()=>{i("add-predecessor",r.task)}))},_=()=>{r.task&&(i("close"),qn(()=>{i("add-successor",r.task)}))},C=()=>{$&&(clearTimeout($),$=null),Q.value=!0},E=()=>{$=window.setTimeout(()=>{Q.value=!1},200)},R=e=>{s.value&&!s.value.contains(e.target)&&k()},X=e=>{"Escape"===e.key&&k()};return vi(()=>{document.addEventListener("mousedown",R),document.addEventListener("keydown",X)}),Qi(()=>{document.removeEventListener("mousedown",R),document.removeEventListener("keydown",X),$&&clearTimeout($)}),t({menuRef:s}),(e,t)=>{var n,O,k,R;return la(),fa(xr,{to:"body"},[e.visible?(la(),ha("div",{key:0,ref_key:"menuRef",ref:s,class:"task-context-menu","data-theme":fn(a),style:re({left:`${l.value.x}px`,top:`${l.value.y}px`,zIndex:1e4,position:"fixed"})},[va("div",{class:"menu-arrow",style:re({display:c.value.display,left:c.value.left,top:c.value.top,transform:c.value.transform})},null,4),w.value?(la(),ha("div",{key:0,class:"menu-item",onClick:P},[va("div",H2,[va("i",{class:le(["menu-icon",null!=(n=r.task)&&n.isTimerRunning?"stop-icon":"timer-icon"])},null,2)]),Qa(" "+Te(null!=(O=r.task)&&O.isTimerRunning?fn(o).stopTimer:fn(o).startTimer),1)])):Sa("",!0),va("div",{class:"menu-item",onClick:T},[t[0]||(t[0]=va("div",{class:"icon-wrapper"},[va("i",{class:"menu-icon predecessor-icon"})],-1)),Qa(" "+Te(fn(o).addPredecessor),1)]),va("div",{class:"menu-item",onClick:_},[t[1]||(t[1]=va("div",{class:"icon-wrapper"},[va("i",{class:"menu-icon successor-icon"})],-1)),Qa(" "+Te(fn(o).addSuccessor),1)]),x.value?(la(),ha("div",{key:1,class:"menu-item menu-item-with-submenu",onMouseenter:C,onMouseleave:E},[t[2]||(t[2]=va("div",{class:"icon-wrapper"},[va("i",{class:"menu-icon link-delete-icon"})],-1)),Qa(" "+Te(fn(o).deleteLinks)+" ",1),t[3]||(t[3]=va("i",{class:"submenu-arrow"},"›",-1)),Q.value?(la(),ha("div",{key:0,class:"submenu",onMouseenter:C,onMouseleave:E},[(la(!0),ha(na,null,Bi(S.value,e=>(la(),ha("div",{key:`${e.type}-${e.taskId}`,class:"menu-item submenu-item",onClick:Dl(t=>(e=>{$&&(clearTimeout($),$=null),Q.value=!1,i("delete-link",{sourceTaskId:"predecessor"===e.type?e.taskId:r.task.id,targetTaskId:"predecessor"===e.type?r.task.id:e.taskId}),i("close")})(e),["stop"])},[va("span",{innerHTML:"predecessor"===e.type?fn(o).predecessorLink.replace("{name}",e.taskName):fn(o).successorLink.replace("{name}",e.taskName)},null,8,J2)],8,K2))),128))],32)):Sa("",!0)],32)):Sa("",!0),t[5]||(t[5]=va("div",{class:"menu-divider"},null,-1)),va("div",{class:"menu-item menu-item-danger",onClick:m},[t[4]||(t[4]=va("div",{class:"icon-wrapper"},[va("i",{class:"menu-icon delete-icon"})],-1)),Qa(" "+Te(fn(o).delete),1)]),ya(j2,{visible:d.value,title:fn(o).delete,type:h.value,message:f.value,"confirm-text":fn(o).confirm,"cancel-text":fn(o).cancel,"yes-text":fn(o).storyDeleteYes,"no-text":fn(o).storyDeleteNo,onConfirm:g,onYes:y,onNo:b,onCancel:v},null,8,["visible","title","type","message","confirm-text","cancel-text","yes-text","no-text"]),u.value?(la(),fa(L2,{key:2,visible:u.value,title:fn(o).startTimer,message:`${fn(o).timerConfirmPrefix}${null==(k=r.task)?void 0:k.name}${fn(o).timerConfirmSuffix}`,"default-desc":(null==(R=r.task)?void 0:R.name)||"",onConfirm:A,onCancel:p},null,8,["visible","title","message","default-desc"])):Sa("",!0)],12,G2)):Sa("",!0)])}}}),t5=M2(e5,[["__scopeId","data-v-7a8253df"]]),n5={width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},r5={key:0,points:"9,18 15,12 9,6"},i5={key:1,points:"18,15 12,9 6,15"},o5=Vr({__name:"TaskRowCollapseButton",props:{collapsed:{type:Boolean},visible:{type:Boolean}},emits:["toggle"],setup:e=>(e,t)=>e.visible?(la(),ha("span",{key:0,class:"collapse-btn",onClick:t[0]||(t[0]=Dl(t=>e.$emit("toggle"),["stop"]))},[(la(),ha("svg",n5,[e.collapsed?(la(),ha("polyline",r5)):(la(),ha("polyline",i5))]))])):Sa("",!0)}),a5=M2(o5,[["__scopeId","data-v-b8f89457"]]),s5={key:0,class:"task-icon"},l5={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"milestone-group-icon"},c5={key:1,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},u5={key:2,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},O5=Vr({__name:"TaskRowIcon",props:{isMilestoneGroup:{type:Boolean},isParentTask:{type:Boolean},hasChildren:{type:Boolean},isStoryTask:{type:Boolean},showIcon:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.showIcon?(la(),ha("span",s5,[e.isMilestoneGroup?(la(),ha("svg",l5,t[0]||(t[0]=[va("polygon",{points:"12,2 22,12 12,22 2,12"},null,-1)]))):e.isStoryTask||e.hasChildren?(la(),ha("svg",c5,t[1]||(t[1]=[va("path",{d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-5l-2-2H5a2 2 0 00-2 2z"},null,-1)]))):(la(),ha("svg",u5,t[2]||(t[2]=[$a('<path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" data-v-4f02d5e2></path><polyline points="14,2 14,8 20,8" data-v-4f02d5e2></polyline><line x1="16" y1="13" x2="8" y2="13" data-v-4f02d5e2></line><line x1="16" y1="17" x2="8" y2="17" data-v-4f02d5e2></line><polyline points="10,9 9,9 8,9" data-v-4f02d5e2></polyline>',5)])))])):Sa("",!0)}),d5=M2(O5,[["__scopeId","data-v-4f02d5e2"]]),h5={key:0,class:"timer-dot"},f5={key:1,class:"status-badge overtime"},p5={key:2,class:"status-badge overdue"},A5=Vr({__name:"TaskRowBadges",props:{formattedTimer:{},isTimerRunning:{type:Boolean},timerElapsedTime:{},isOvertime:{type:Boolean},overdueDays:{},overtimeText:{},overdueText:{},daysText:{}},setup:e=>(e,t)=>(la(),ha(na,null,[e.isTimerRunning||e.timerElapsedTime?(la(),ha("span",{key:0,class:le(["timer-badge",{"timer-active":e.isTimerRunning}])},[e.isTimerRunning?(la(),ha("span",h5)):Sa("",!0),Qa(" "+Te(e.formattedTimer),1)],2)):Sa("",!0),e.isOvertime?(la(),ha("span",f5,Te(e.overtimeText),1)):Sa("",!0),e.overdueDays>0?(la(),ha("span",p5,Te(e.overdueText)+Te(e.overdueDays>0?e.overdueDays+e.daysText:""),1)):Sa("",!0)],64))}),m5=M2(A5,[["__scopeId","data-v-890f023b"]]),g5=["title"],v5=["title"],y5=Vr({__name:"TaskRowNameContent",props:{task:{},isParentTask:{type:Boolean},hasChildren:{type:Boolean},isStoryTask:{type:Boolean},isMilestoneGroup:{type:Boolean},isMilestoneTask:{type:Boolean},showTaskIcon:{type:Boolean},formattedTimer:{},isOvertime:{type:Boolean},overdueDays:{},overtimeText:{},overdueText:{},daysText:{},hasContentSlot:{type:Boolean},renderColumnSlot:{type:Function},hasColumnSlot:{type:Function}},setup(e){const t=e;return(e,n)=>{var r;return null!=(r=e.hasColumnSlot)&&r.call(e,"name")?(la(),fa(Ci(()=>{var n;return null==(n=e.renderColumnSlot)?void 0:n.call(e,"name",{task:t.task,column:{key:"name"},value:t.task.name,isParentTask:e.isParentTask,hasChildren:e.hasChildren,isStoryTask:e.isStoryTask,isMilestoneGroup:e.isMilestoneGroup,isMilestoneTask:e.isMilestoneTask,showTaskIcon:e.showTaskIcon,formattedTimer:e.formattedTimer,isOvertime:e.isOvertime,overdueDays:e.overdueDays,overtimeText:e.overtimeText,overdueText:e.overdueText,daysText:e.daysText})}),{key:0})):e.hasContentSlot?(la(),ha(na,{key:1},[ya(d5,{"is-milestone-group":e.isMilestoneGroup,"is-parent-task":e.isParentTask,"has-children":e.hasChildren,"is-story-task":e.isStoryTask,"show-icon":e.showTaskIcon},null,8,["is-milestone-group","is-parent-task","has-children","is-story-task","show-icon"]),va("span",{class:le(["task-name-text",{"parent-task":e.isParentTask}]),title:e.task.name},[Di(e.$slots,"custom-task-content",{},void 0,!0),ya(m5,{"formatted-timer":e.formattedTimer,"is-timer-running":!!e.task.isTimerRunning,"timer-elapsed-time":e.task.timerElapsedTime,"is-overtime":e.isOvertime,"overdue-days":e.overdueDays,"overtime-text":e.overtimeText,"overdue-text":e.overdueText,"days-text":e.daysText},null,8,["formatted-timer","is-timer-running","timer-elapsed-time","is-overtime","overdue-days","overtime-text","overdue-text","days-text"])],10,g5)],64)):(la(),ha(na,{key:2},[ya(d5,{"is-milestone-group":e.isMilestoneGroup,"is-parent-task":e.isParentTask,"has-children":e.hasChildren,"is-story-task":e.isStoryTask,"show-icon":e.showTaskIcon},null,8,["is-milestone-group","is-parent-task","has-children","is-story-task","show-icon"]),va("span",{class:le(["task-name-text",{"parent-task":e.isParentTask}]),title:e.task.name},[Qa(Te(e.task.name)+" ",1),ya(m5,{"formatted-timer":e.formattedTimer,"is-timer-running":!!e.task.isTimerRunning,"timer-elapsed-time":e.task.timerElapsedTime,"is-overtime":e.isOvertime,"overdue-days":e.overdueDays,"overtime-text":e.overtimeText,"overdue-text":e.overdueText,"days-text":e.daysText},null,8,["formatted-timer","is-timer-running","timer-elapsed-time","is-overtime","overdue-days","overtime-text","overdue-text","days-text"])],10,v5)],64))}}}),b5=M2(y5,[["__scopeId","data-v-f7324841"]]);const w5=new Map;function Q5(e){const{taskId:t,event:n}=e.detail,r=w5.get(t);r&&r(n)}function $5(e,t,n,r,i,o,a,s,l,c,u){const O=()=>{i.value=!0},d=()=>{i.value=!1},h=t=>{!a.value||!o.value||!u||u(e.value,o.value,t)};return vi(()=>{window.addEventListener("splitter-drag-start",O),window.addEventListener("splitter-drag-end",d),function(e,t){const n=0===w5.size;w5.set(e,t),n&&window.addEventListener("task-row-drag-over",Q5)}(e.value.id,h)}),Qi(()=>{window.removeEventListener("splitter-drag-start",O),window.removeEventListener("splitter-drag-end",d),function(e){w5.delete(e),0===w5.size&&window.removeEventListener("task-row-drag-over",Q5)}(e.value.id)}),{handleToggle:()=>{l&&l("toggle",e.value)},handleRowClick:()=>{(t.value||n.value)&&!r.value&&l&&l("toggle",e.value)},handleTaskRowDoubleClick:t=>{t.stopPropagation(),l&&l("dblclick",e.value)},handleMouseEnter:()=>{i.value||s&&s(e.value.id)},handleMouseLeave:()=>{i.value||s&&s(null)},handleMouseDown:t=>{if(!a.value)return;const n=t.target;"BUTTON"===n.tagName||"INPUT"===n.tagName||"SELECT"===n.tagName||"TEXTAREA"===n.tagName||n.closest(".collapse-btn")||n.closest(".task-context-menu")||o.value&&c&&c(e.value,o.value,t)}}}const S5=["data-task-id"],x5={key:0,class:"milestone-spacer"},k5={key:1,class:"leaf-spacer"},P5={key:0,class:"milestone-spacer"},T5={key:1,class:"leaf-spacer"},_5={key:2,class:"resource-row-name"},C5={key:0,class:"resource-warning-icon",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E5={key:1,class:"resource-avatar"},R5=["src","alt"],X5={class:"resource-name-text"},B5={key:0,class:"milestone-empty-col"},U5={key:4,class:"assignee-info"},D5={class:"assignee-avatars-container"},I5=["src","alt"],z5={key:1,class:"avatar-text"},N5=["title"],M5=Vr({__name:"TaskRow",props:{task:{},level:{},rowIndex:{},isHovered:{type:Boolean},hoveredTaskId:{},onHover:{},columns:{},declarativeColumns:{},renderMode:{default:"default"},getColumnWidthStyle:{},disableChildrenRender:{type:Boolean},showTaskIcon:{type:Boolean},enableDrag:{type:Boolean},dragStart:{},dragOver:{},taskListRowClassName:{},taskListRowStyle:{type:[Boolean,null,String,Object,Array,Function]}},emits:["toggle","dblclick","contextmenu","start-timer","stop-timer","add-predecessor","add-successor","delete"],setup(e,{emit:t}){const n=e,r=t,{t:i}=w2(),o=Ha(()=>{var e;return(null==(e=i.value)?void 0:e.overtime)??""}),a=Ha(()=>{var e;return(null==(e=i.value)?void 0:e.overdue)??""}),s=Ha(()=>{var e;return(null==(e=i.value)?void 0:e.days)??""}),l=Fi(),c=Ha(()=>!!l["custom-task-content"]),{viewMode:u}=Q2(),O=sr("resourceTaskLayouts",Ha(()=>new Map)),d=Ha(()=>"resource"===u.value&&"tasks"in n.task),h=Ha(()=>{if(!d.value)return!1;return function(e){return!(e.tasks.length<2)&&x2(e.tasks,e.id).length>0}(n.task)}),f=sr("gantt-row-height",Ha(()=>51)),p=Ha(()=>{if(d.value){const e=String(n.task.id),t=O.value.get(e);return(null==t?void 0:t.totalHeight)||f.value+5}return f.value}),A=sr("enable-task-list-context-menu",Ha(()=>!0)),m=sr("task-list-context-menu-slot",Ha(()=>!1)),g=sr("declarative-task-list-context-menu",Ha(()=>null)),v=Ha(()=>!!A.value),y=Ha(()=>!!A.value&&!m.value),b=Ha(()=>{if(!A.value||!m.value)return!1;const e=g.value;if(void 0!==(null==e?void 0:e.taskType)){const t=n.task.type||"task";return(Array.isArray(e.taskType)?e.taskType:[e.taskType]).includes(t)}return!0}),w=Qn(n,"task"),Q=Qn(n,"level"),{indent:$,hasChildren:S,isStoryTask:x,isMilestoneGroup:k,isMilestoneTask:P,isParentTask:T,isOvertime:_,overdueDays:C,progressClass:E,customRowClass:R,customRowStyle:X}=function(e,t,n,r,i){const o=Ha(()=>{const n=e.value.type,r=e.value.children,i=!!(r&&r.length>0),o="story"===n,a="milestone-group"===n,s="milestone"===n,l=o||i||a;return{indent:10+20*t.value+"px",hasChildren:i,isStoryTask:o,isMilestoneGroup:a,isMilestoneTask:s,isParentTask:l}}),a=()=>{const t=e.value.progress||0,n=new Date,r=e.value.endDate?new Date(e.value.endDate):null;return r&&n>r&&t<100?"progress-danger":t>=100?"progress-success":t>0?"progress-warning":""},s=Ha(()=>a()),l=Ha(()=>null!=r&&r.value?"function"==typeof r.value?r.value(e.value,(null==n?void 0:n.value)??0):r.value:""),c=Ha(()=>null!=i&&i.value?"function"==typeof i.value?i.value(e.value,(null==n?void 0:n.value)??0):i.value:{});return{indent:Ha(()=>o.value.indent),hasChildren:Ha(()=>o.value.hasChildren),isStoryTask:Ha(()=>o.value.isStoryTask),isMilestoneGroup:Ha(()=>o.value.isMilestoneGroup),isMilestoneTask:Ha(()=>o.value.isMilestoneTask),isParentTask:Ha(()=>o.value.isParentTask),getProgressClass:a,isOvertime:()=>e.value.actualHours&&e.value.estimatedHours&&e.value.actualHours>e.value.estimatedHours,overdueDays:()=>{const t=new Date,n=e.value.endDate?new Date(e.value.endDate):null,r=e.value.progress||0;if(n&&t>n&&r<100){const e=new Date(t.getFullYear(),t.getMonth(),t.getDate()),r=new Date(n.getFullYear(),n.getMonth(),n.getDate());return Math.floor((e.getTime()-r.getTime())/864e5)}return 0},progressClass:s,customRowClass:l,customRowStyle:c}}(w,Q,Ha(()=>n.rowIndex),Ha(()=>n.taskListRowClassName),Ha(()=>n.taskListRowStyle)),{hasColumnSlot:B,renderColumnSlot:U}=function(){const e=sr("gantt-column-slots",{});return{columnSlots:e,hasColumnSlot:t=>!!e[`column-${t}`],renderColumnSlot:(t,n)=>{const r=e[`column-${t}`];return r?r(n):null}}}(),{isFirstColumn:D,getDeclarativeColumnAlign:I,renderDeclarativeColumn:z}=function(e,t,n,r,i,o,a){const s=e=>0===e;return{isFirstColumn:s,getDeclarativeColumnAlign:e=>({justifyContent:"center"===e.align?"center":"right"===e.align?"flex-end":"flex-start",textAlign:e.align||"left"}),renderDeclarativeColumn:(l,c)=>{if(s(c)){const s=l.prop?e.value[l.prop]:e.value.name;return l.defaultSlot?Ka("div",{class:"task-name-content"},[Ka("span",{class:["task-name-text",{"parent-task":t.value}],title:s},[l.defaultSlot({row:e.value,$index:a.value??-1})])]):Ka("div",{class:"task-name-content"},[!1!==o.value?Ka("span",{class:"task-icon"},n.value?Ka("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,class:"milestone-group-icon"},Ka("polygon",{points:"12,2 22,12 12,22 2,12"})):r.value||i.value?Ka("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2},Ka("path",{d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-5l-2-2H5a2 2 0 00-2 2z"})):Ka("svg",{width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2},[Ka("path",{d:"M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"}),Ka("polyline",{points:"14,2 14,8 20,8"}),Ka("line",{x1:16,y1:13,x2:8,y2:13}),Ka("line",{x1:16,y1:17,x2:8,y2:17}),Ka("polyline",{points:"10,9 9,9 8,9"})])):null,Ka("span",{class:["task-name-text",{"parent-task":t.value}],title:String(s)},String(s||"-"))])}return l.defaultSlot?l.defaultSlot({row:e.value,$index:a.value??-1}):l.prop?e.value[l.prop]??"-":"-"}}}(w,T,k,x,S,Ha(()=>n.showTaskIcon),Ha(()=>n.rowIndex)),N=cn(null),{contextMenuVisible:M,contextMenuPosition:L,contextMenuTask:V,handleContextMenu:q,closeContextMenu:F,handleTaskDelete:W,timerElapsed:Z,formattedTimer:Y}=function(e,t,n){const r=cn(!1),i=cn({x:0,y:0}),o=Ha(()=>e.value),a=cn(0),s=cn(null);let l=null;const c=Ha(()=>{const e=Math.floor(a.value/1e3),t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60;return`${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}),u=()=>{if(e.value.isTimerRunning&&e.value.timerStartTime){const t=e.value.timerElapsedTime||0;a.value=Date.now()-e.value.timerStartTime+t}else e.value.timerElapsedTime?a.value=e.value.timerElapsedTime:a.value=0};(e.value.isTimerRunning||e.value.timerElapsedTime)&&(l||(l=hr(()=>[e.value.isTimerRunning,e.value.timerStartTime,e.value.timerElapsedTime],()=>{s.value&&(clearInterval(s.value),s.value=null),e.value.isTimerRunning?(u(),s.value=window.setInterval(u,1e3)):u()},{immediate:!0})));const O=()=>{r.value=!1},d=e=>{var t;if(!r.value)return;const i=e.target,o=null==(t=null==n?void 0:n.value)?void 0:t.menuRef;o&&o.contains(i)||O()};return vi(()=>{window.addEventListener("close-all-taskbar-menus",O),document.addEventListener("click",d)}),Qi(()=>{window.removeEventListener("close-all-taskbar-menus",O),document.removeEventListener("click",d),s.value&&clearInterval(s.value),l&&l()}),{contextMenuVisible:r,contextMenuPosition:i,contextMenuTask:o,handleContextMenu:t=>{window.dispatchEvent(new CustomEvent("close-all-taskbar-menus"));const n=e.value.type||"task";if("task"!==n&&"story"!==n)return t.preventDefault(),void(r.value=!1);t.preventDefault(),r.value=!0,i.value={x:t.clientX,y:t.clientY}},closeContextMenu:O,handleTaskDelete:(e,n)=>{t("delete",e,n),O()},timerElapsed:a,formattedTimer:c}}(w,r,N),j=e=>{v.value?q(e):e.preventDefault()},G=cn(null),H=cn(!1),{handleToggle:K,handleRowClick:J,handleTaskRowDoubleClick:ee,handleMouseEnter:te,handleMouseLeave:ne,handleMouseDown:ie}=$5(w,x,S,k,H,G,Ha(()=>n.enableDrag),n.onHover,r,n.dragStart,n.dragOver),oe=Ha(()=>"declarative"===n.renderMode&&n.declarativeColumns?n.declarativeColumns:n.columns),ae=Ha(()=>({isRowContent:!0,task:n.task,level:n.level,indent:$.value,isHovered:n.isHovered??!1,hoveredTaskId:n.hoveredTaskId??null,isParent:T.value,hasChildren:S.value,collapsed:!!n.task.collapsed,formattedTimer:Y.value,timerRunning:!!n.task.isTimerRunning,timerElapsed:Z.value,isOvertime:_(),overdueDays:C(),overtimeText:o.value,overdueText:a.value,daysText:s.value,progressClass:E.value})),se=Ha(()=>{if(d.value){const e=n.task;if(e.color)return e.color}return n.task.barColor?n.task.barColor:null}),ce=Ha(()=>se.value?{borderLeftColor:`${se.value} !important`,borderLeftWidth:"3px",borderLeftStyle:"solid"}:{}),ue=Ha(()=>{const e=n.task,t=e.avatar,r=e.assignee;let i=[];t&&(i=Array.isArray(t)?t:[t]);let o=[];r&&(o=Array.isArray(r)?r:[r]);const a=i.length>0?i.map(e=>({type:"image",url:e})):o.map(e=>({type:"text",name:e}));return{avatars:a,nameText:o.join("\n")||"-",hasMultiple:a.length>1}});return(e,t)=>{var r;return la(),ha("div",null,[va("div",{ref_key:"taskRowRef",ref:G,class:le(["task-row",{"task-row-hovered":e.isHovered,"task-type-resource":d.value,"parent-task":fn(T),"milestone-group-row":fn(k),"task-type-story":fn(x),"task-type-task":"task"===n.task.type,"task-type-milestone":fn(P),[fn(R)]:fn(R)}]),"data-task-id":n.task.id,style:re([fn(X),ce.value,{height:`${p.value}px`}]),onClick:t[0]||(t[0]=(...e)=>fn(J)&&fn(J)(...e)),onDblclick:t[1]||(t[1]=(...e)=>fn(ee)&&fn(ee)(...e)),onMousedown:t[2]||(t[2]=(...e)=>fn(ie)&&fn(ie)(...e)),onMouseenter:t[3]||(t[3]=(...e)=>fn(te)&&fn(te)(...e)),onMouseleave:t[4]||(t[4]=(...e)=>fn(ne)&&fn(ne)(...e)),onContextmenu:j},["declarative"===e.renderMode&&e.declarativeColumns?(la(!0),ha(na,{key:0},Bi(oe.value,(t,r)=>(la(),ha("div",{key:r,class:le(["col",[t.cssClass,{"col-name":fn(D)(r)}]]),style:re([e.getColumnWidthStyle?e.getColumnWidthStyle(t):{},fn(I)(t)])},[fn(D)(r)?(la(),ha("div",{key:0,style:re({paddingLeft:fn($)}),class:"first-col-wrapper"},[ya(a5,{collapsed:!!n.task.collapsed,visible:(fn(x)||fn(S))&&!fn(k),onToggle:fn(K)},null,8,["collapsed","visible","onToggle"]),fn(k)?(la(),ha("span",x5)):Sa("",!0),fn(T)||fn(k)||!1!==e.showTaskIcon?Sa("",!0):(la(),ha("span",k5)),(la(),fa(Ci(()=>fn(z)(t,r))))],4)):(la(),fa(Ci(()=>fn(z)(t,r)),{key:1}))],6))),128)):(la(),ha(na,{key:1},[va("div",{class:"col col-name",style:re({paddingLeft:fn($)})},[ya(a5,{collapsed:!!n.task.collapsed,visible:(fn(x)||fn(S))&&!fn(k),onToggle:fn(K)},null,8,["collapsed","visible","onToggle"]),fn(k)?(la(),ha("span",P5)):Sa("",!0),fn(T)||fn(k)||!1!==e.showTaskIcon||d.value?Sa("",!0):(la(),ha("span",T5)),d.value?(la(),ha("div",_5,[h.value?(la(),ha("svg",C5,t[9]||(t[9]=[va("path",{d:"M12 2L2 20h20L12 2z",fill:"var(--gantt-danger, #f56c6c)"},null,-1),va("path",{d:"M12 8v6M12 16h.01",stroke:"#fff","stroke-width":"2","stroke-linecap":"round"},null,-1)]))):Sa("",!0),n.task.avatar?(la(),ha("div",E5,[va("img",{src:n.task.avatar,alt:n.task.name},null,8,R5)])):Sa("",!0),va("span",X5,Te(n.task.name||"-"),1)])):(la(),fa(b5,{key:3,task:n.task,"is-parent-task":fn(T),"has-children":fn(S),"is-story-task":fn(x),"is-milestone-group":fn(k),"is-milestone-task":fn(P),"show-task-icon":!1!==e.showTaskIcon,"formatted-timer":fn(Y),"is-overtime":!!fn(_)(),"overdue-days":fn(C)(),"overtime-text":o.value,"overdue-text":a.value,"days-text":s.value,"has-content-slot":c.value,"render-column-slot":fn(U),"has-column-slot":fn(B)},{"custom-task-content":rr(()=>[Di(e.$slots,"custom-task-content",Ta(ae.value,{type:"task-row"}),void 0,!0)]),_:3},8,["task","is-parent-task","has-children","is-story-task","is-milestone-group","is-milestone-task","show-task-icon","formatted-timer","is-overtime","overdue-days","overtime-text","overdue-text","days-text","has-content-slot","render-column-slot","has-column-slot"]))],4),(la(!0),ha(na,null,Bi(e.columns,t=>(la(),ha("div",{key:t.key,class:le(["col",t.cssClass||`col-${t.key}`]),style:re(e.getColumnWidthStyle?e.getColumnWidthStyle(t):void 0)},[fn(k)?(la(),ha("div",B5)):(la(),ha(na,{key:1},[fn(B)(t.key)?(la(),fa(Ci(()=>fn(U)(t.key,{task:n.task,column:t,value:n.task[t.key]})),{key:0})):t.formatter?(la(),ha(na,{key:1},[Qa(Te(t.formatter(n.task,t)),1)],64)):d.value?(la(),ha(na,{key:2},[Qa(Te(n.task[t.key]||"-"),1)],64)):"predecessor"===t.key?(la(),ha(na,{key:3},[Qa(Te(fn(S2)(n.task.predecessor)),1)],64)):"assignee"===t.key?(la(),ha("div",U5,[va("div",D5,[(la(!0),ha(na,null,Bi(ue.value.avatars,(e,t)=>(la(),ha("div",{key:t,class:"avatar",style:re({zIndex:t+1,marginLeft:t>0?"-8px":"0"})},["image"===e.type?(la(),ha("img",{key:0,src:e.url,alt:`avatar-${t}`},null,8,I5)):(la(),ha("span",z5,Te(e.name.charAt(0).toUpperCase()),1))],4))),128))]),va("span",{class:"assignee-name",title:ue.value.nameText},Te(ue.value.nameText),9,N5)])):"startDate"===t.key?(la(),ha(na,{key:5},[Qa(Te(n.task.startDate||"-"),1)],64)):"endDate"===t.key?(la(),ha(na,{key:6},[Qa(Te(n.task.endDate||"-"),1)],64)):"estimatedHours"===t.key?(la(),ha(na,{key:7},[Qa(Te(n.task.estimatedHours||"-"),1)],64)):"actualHours"===t.key?(la(),ha(na,{key:8},[Qa(Te(n.task.actualHours||"-"),1)],64)):"progress"===t.key?(la(),ha("span",{key:9,class:le(["progress-value",fn(E)])},Te(null!=n.task.progress?n.task.progress+"%":"-"),3)):(la(),ha(na,{key:10},[Qa(Te(n.task[t.key]||"-"),1)],64))],64))],6))),128))],64))],46,S5),y.value?(la(),fa(t5,{key:0,ref_key:"taskContextMenuRef",ref:N,visible:fn(M),task:fn(V),position:fn(L),onClose:fn(F),onStartTimer:t[5]||(t[5]=t=>e.$emit("start-timer",n.task)),onStopTimer:t[6]||(t[6]=t=>e.$emit("stop-timer",n.task)),onAddPredecessor:t[7]||(t[7]=t=>e.$emit("add-predecessor",n.task)),onAddSuccessor:t[8]||(t[8]=t=>e.$emit("add-successor",n.task)),onDelete:fn(W)},null,8,["visible","task","position","onClose","onDelete"])):Sa("",!0),(la(),fa(xr,{to:"body"},[b.value&&fn(M)&&null!=(r=fn(g))&&r.defaultSlot?(la(),ha("div",{key:0,class:"gantt-context-menu-wrapper",style:re({position:"fixed",left:`${fn(L).x}px`,top:`${fn(L).y}px`,zIndex:9999})},[(la(),fa(Ci(fn(g).defaultSlot),{row:fn(V),$index:n.rowIndex??-1},null,8,["row","$index"]))],4)):Sa("",!0)]))])}}}),L5=M2(M5,[["__scopeId","data-v-872d1d86"]]);function V5(e,t,n){if(null==e)return n;if("number"==typeof e)return e;if("string"==typeof e){const n=e.trim();if(n.endsWith("%")){const e=parseFloat(n);if(!isNaN(e))return Math.round(t*e/100)}const r=parseFloat(n);if(!isNaN(r))return r}return n}const q5=[{type:"name",key:"taskName",label:"任务名称",cssClass:"col-name",visible:!0},{type:"predecessor",key:"predecessor",label:"前置任务",cssClass:"col-pre",visible:!0},{type:"assignee",key:"assignee",label:"负责人",cssClass:"col-assignee",visible:!0},{type:"startDate",key:"startDate",label:"开始日期",cssClass:"col-date",visible:!0},{type:"endDate",key:"endDate",label:"结束日期",cssClass:"col-date",visible:!0},{type:"estimatedHours",key:"estimatedHours",label:"预估工时",cssClass:"col-hours",visible:!0},{type:"actualHours",key:"actualHours",label:"实际工时",cssClass:"col-hours",visible:!0},{type:"progress",key:"progress",label:"进度",cssClass:"col-progress",visible:!0}],F5=[{type:"name",key:"resourceName",label:"资源名称",cssClass:"col-name",visible:!0},{type:"type",key:"resourceType",label:"资源类型",cssClass:"col-type",visible:!0},{type:"department",key:"department",label:"部门",cssClass:"col-department",visible:!0},{type:"capacity",key:"capacity",label:"利用率",cssClass:"col-capacity",visible:!0}];function W5(e){const t=e.dragThreshold??5,n=cn({isDragging:!1,isPreparing:!1,draggedTask:null,draggedElement:null,ghostElement:null,dropTargetTask:null,dropPosition:null,startX:0,startY:0}),r=e=>{if(n.value.ghostElement){const t=n.value.ghostElement;t.style.left=`${e.clientX+10}px`,t.style.top=e.clientY-25+"px"}},i=()=>{n.value.dropTargetTask=null,n.value.dropPosition=null,document.querySelectorAll(".task-row-drop-target").forEach(e=>{e.classList.remove("task-row-drop-target","drop-after","drop-child")})},o=()=>{if(n.value.isPreparing&&!n.value.isDragging)return n.value.isPreparing=!1,n.value.draggedTask=null,void(n.value.draggedElement=null);if(!n.value.isDragging)return;const t=n.value.draggedTask,r=n.value.dropTargetTask,o=n.value.dropPosition;n.value.draggedElement&&(n.value.draggedElement.style.opacity=""),n.value.ghostElement&&n.value.ghostElement.parentElement&&n.value.ghostElement.parentElement.removeChild(n.value.ghostElement),i(),document.body.style.userSelect="",document.body.style.webkitUserSelect="",document.body.style.cursor="",window.dispatchEvent(new CustomEvent("task-row-drag-end")),t&&r&&o&&e.onDrop&&e.onDrop(t,r,o),n.value={isDragging:!1,isPreparing:!1,draggedTask:null,draggedElement:null,ghostElement:null,dropTargetTask:null,dropPosition:null,startX:0,startY:0}},a=i=>{if(n.value.isPreparing&&!n.value.isDragging){const o=Math.abs(i.clientX-n.value.startX),a=Math.abs(i.clientY-n.value.startY);return void(Math.sqrt(o*o+a*a)>t&&(t=>{if(!n.value.isPreparing||n.value.isDragging)return;const i=n.value.draggedTask,o=n.value.draggedElement;n.value.isDragging=!0,n.value.isPreparing=!1;const a=o.cloneNode(!0);a.style.position="fixed",a.style.left="-9999px",a.style.top="-9999px",a.style.width=`${o.offsetWidth}px`,a.style.height=`${o.offsetHeight}px`,a.style.opacity="0.6",a.style.pointerEvents="none",a.style.zIndex="999999",a.style.boxShadow="0 8px 24px rgba(0, 0, 0, 0.3)",a.classList.add("task-row-dragging"),(document.querySelector(".gantt-fullscreen")||document.body).appendChild(a),n.value.ghostElement=a,o.style.opacity="0.4",document.body.style.userSelect="none",document.body.style.webkitUserSelect="none",document.body.style.cursor="move",window.dispatchEvent(new CustomEvent("task-row-drag-start",{detail:{task:i}})),e.onDragStart&&e.onDragStart(i),r(t)})(i))}if(n.value.isDragging){r(i);const e=n.value.ghostElement;e&&(e.style.display="none");const t=document.elementFromPoint(i.clientX,i.clientY);if(e&&(e.style.display=""),t){const e=t.closest(".task-row");if(e&&e.dataset.taskId){const t=Number(e.dataset.taskId);window.dispatchEvent(new CustomEvent("task-row-drag-over",{detail:{taskId:t,event:i}}))}}}},s=()=>{(n.value.isDragging||n.value.isPreparing)&&o()},l=(e,t)=>{if(!e.children)return!1;for(const n of e.children)if(n.id===t.id||l(n,t))return!0;return!1};return vi(()=>{document.addEventListener("mousemove",a),document.addEventListener("mouseup",s)}),Qi(()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",s),n.value.ghostElement&&n.value.ghostElement.parentElement&&n.value.ghostElement.parentElement.removeChild(n.value.ghostElement)}),{dragState:n,startDrag:(t,r,i)=>{e.enabled&&("milestone-group"===t.type||"milestone"===t.type||(i.preventDefault(),i.stopPropagation(),n.value.isPreparing=!0,n.value.draggedTask=t,n.value.draggedElement=r,n.value.startX=i.clientX,n.value.startY=i.clientY))},handleDragOver:(t,r,o)=>{if(!n.value.isDragging||!n.value.draggedTask)return;if(t.id===n.value.draggedTask.id)return void i();if(l(n.value.draggedTask,t))return void i();o.preventDefault(),o.stopPropagation();const a=t.children&&t.children.length>0?"child":"after";n.value.dropTargetTask=t,n.value.dropPosition=a,document.querySelectorAll(".task-row-drop-target").forEach(e=>{e.classList.remove("task-row-drop-target","drop-after","drop-child")}),r.classList.add("task-row-drop-target"),"after"===a?r.classList.add("drop-after"):r.classList.add("drop-child"),e.onDragOver&&e.onDragOver(t,a)},endDrag:o}}function Z5(e){let t=!1;if("object"==typeof e.type){const n=e.type;t="TaskListColumn"===n.name||"TaskListColumn"===n.__name||n.__file&&n.__file.includes("TaskListColumn")}if(!t)return null;const n=e.props||{},r=e.children,i=null==r?void 0:r.header,o=null==r?void 0:r.default;return{prop:n.prop,label:n.label,width:n.width,align:n.align||"left",cssClass:n.cssClass,headerSlot:i,defaultSlot:o}}function Y5(e){var t;const n=null==(t=e.default)?void 0:t.call(e);if(!n||!Array.isArray(n))return[];const r=[],i=e=>{for(const t of e){if(!t)continue;if("symbol"==typeof t.type){t.children&&Array.isArray(t.children)&&i(t.children);continue}const e=Z5(t);e&&r.push(e),t.children&&Array.isArray(t.children)&&i(t.children)}};return i(n),r}function j5(e,t=!1){if(!e)return;const n=e=>{e.forEach(e=>{if(e.children&&e.children.length>0){n(e.children);const r=function(e){if(!e.children||0===e.children.length)return{progress:e.progress||0,startDate:e.startDate||"",endDate:e.endDate||""};const t=[],n=e=>{e.forEach(e=>{t.push(e),e.children&&e.children.length>0&&n(e.children)})};n(e.children);const r=t.reduce((e,t)=>e+(t.progress||0),0),i=t.length>0?Math.round(r/t.length):0,o=t.filter(e=>e.startDate&&e.endDate);if(0===o.length)return{progress:i,startDate:e.startDate||"",endDate:e.endDate||""};const a=o.map(e=>new Date(e.startDate)),s=o.map(e=>new Date(e.endDate)),l=new Date(Math.min(...a.map(e=>e.getTime()))),c=new Date(Math.max(...s.map(e=>e.getTime())));return{progress:i,startDate:l.toISOString().split("T")[0],endDate:c.toISOString().split("T")[0]}}(e);e.progress=r.progress,t||(e.startDate=r.startDate,e.endDate=r.endDate)}})};n(e)}function G5(e){const{tasks:t,hoveredTaskId:n,isSplitterDragging:r,taskListScrollTop:i,taskListBodyRef:o,updateContainerWidth:a,onTaskUpdate:s,enableParentTaskAutoSchedule:l}=e,c=e=>{n.value=e.detail},u=e=>{(e=>{if(!t.value)return;const n=t=>{for(const r of t){if(r.id===e.id)return Object.assign(r,e),e.children,!0;if(r.children&&n(r.children))return!0}return!1};n(t.value);const r=!((null==l?void 0:l.value)??1);j5(t.value,r),s&&s(e)})(e.detail)},O=e=>{const n=e.detail;t.value&&t.value.push(n),j5(t.value)},d=()=>{const e=function(e){const t=[],n=e=>{e.forEach(e=>{t.push(e),e.children&&e.children.length>0&&n(e.children)})};return n(e),t}(t.value);window.dispatchEvent(new CustomEvent("task-list-updated",{detail:e}))},h=e=>{const{milestoneId:n,icon:r}=e.detail,i=e=>{for(const t of e){if("milestone-group"===t.type&&t.children){const e=t.children.find(e=>e.id===n);if(e)return e.icon=r,!0}if(t.children&&i(t.children))return!0}return!1};i(t.value)};let f=!1;const p=e=>{const{scrollTop:t}=e.detail,n=o.value;i.value=t,n&&Math.abs(n.scrollTop-t)>1&&(f=!0,n.scrollTop=t,Promise.resolve().then(()=>{f=!1}))},A=()=>{r.value=!0},m=()=>{r.value=!1,a()};return{handleTaskRowHover:e=>{r.value||(n.value=e,window.dispatchEvent(new CustomEvent("task-list-hover",{detail:e})))},handleTaskRowDoubleClick:e=>{"milestone"===e.type||"milestone-group"===e.type||window.dispatchEvent(new CustomEvent("task-row-double-click",{detail:e}))},handleTaskListScroll:e=>{const t=e.target;if(!t)return;const n=t.scrollTop;i.value=n,!f&&(window.dispatchEvent(new CustomEvent("close-all-taskbar-menus")),window.dispatchEvent(new CustomEvent("task-list-vertical-scroll",{detail:{scrollTop:n}})))},handleTaskRowContextMenu:e=>{try{window.dispatchEvent(new CustomEvent("context-menu",{detail:e}))}catch(t){}},registerEventListeners:()=>{window.addEventListener("task-updated",u),window.addEventListener("task-added",O),window.addEventListener("request-task-list",d),window.addEventListener("timeline-task-hover",c),window.addEventListener("timeline-vertical-scroll",p),window.addEventListener("milestone-icon-changed",h),window.addEventListener("splitter-drag-start",A),window.addEventListener("splitter-drag-end",m)},unregisterEventListeners:()=>{window.removeEventListener("task-updated",u),window.removeEventListener("task-added",O),window.removeEventListener("request-task-list",d),window.removeEventListener("timeline-task-hover",c),window.removeEventListener("timeline-vertical-scroll",p),window.removeEventListener("milestone-icon-changed",h),window.removeEventListener("splitter-drag-start",A),window.removeEventListener("splitter-drag-end",m)}}}const H5={class:"task-list-header"},K5={class:"col col-name"},J5=Vr({__name:"TaskList",props:{tasks:{},useDefaultDrawer:{type:Boolean},taskListConfig:{},taskListColumnRenderMode:{default:"default"},enableTaskRowMove:{type:Boolean},taskListRowClassName:{},taskListRowStyle:{type:[Boolean,null,String,Object,Array,Function]},enableParentTaskAutoSchedule:{type:Boolean}},emits:["task-collapse-change","start-timer","stop-timer","add-predecessor","add-successor","delete","task-row-moved","resource-click"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=Fi(),a=Ha(()=>!!o["custom-task-content"]),{viewMode:s,dataSource:l,listConfig:c}=Q2(),u=sr("gantt-column-slots",{}),{t:O}=w2(),d=Ha(()=>"resource"===s.value?F5:q5),h=Ha(()=>{const e=c.value||r.taskListConfig;return(null==e?void 0:e.columns)||d.value}),{declarativeColumns:f,getColumnWidthStyle:p}=function(e,t,n){const r=()=>"string"==typeof e?e:e.value,i=un("declarative"===r()?Y5(t):[]);hr(()=>"declarative"===r()?t.default??null:null,()=>{i.value="declarative"===r()?Y5(t):[]});const o=Ha(()=>"declarative"===("string"==typeof e?e:e.value)?i.value:n||[]);return{declarativeColumns:i,finalColumns:o,getColumnWidthStyle:(e,t)=>{if(!e.width)return{};let n;if("string"==typeof e.width&&e.width.includes("%")){if(!(t&&t>0))return{};{const r=parseFloat(e.width)/100;n=`${Math.floor(t*r)}px`}}else n="number"==typeof e.width?`${e.width}px`:"string"==typeof e.width?/\d+(px|rem|em|%)/.test(e.width)?e.width:`${e.width}px`:String(e.width);return{flex:`0 0 ${n}`,minWidth:n,maxWidth:n}},getColumnAlignStyle:e=>e&&"left"!==e?{justifyContent:"center"===e?"center":"flex-end",textAlign:e}:{}}}(Ha(()=>r.taskListColumnRenderMode||"default"),o,h.value),A=Ha(()=>{var e;return"declarative"===r.taskListColumnRenderMode?f.value:((null==(e=r.taskListConfig)?void 0:e.columns)||q5).filter(e=>!1!==e.visible)}),m=Ha(()=>"declarative"===r.taskListColumnRenderMode?[]:h.value.filter(e=>!1!==e.visible)),g=Ha(()=>"resource"===s.value?l.value||[]:r.tasks||[]),{taskListScrollTop:v,taskListBodyHeight:y,visibleTasks:b,startSpacerHeight:w,endSpacerHeight:Q}=function(e){const t=cn(0),n=cn(0),r=sr("gantt-view-mode",cn("task")),i=sr("gantt-data-source",Ha(()=>[])),o=sr("resourceTaskLayouts",Ha(()=>new Map)),a=sr("gantt-row-height",Ha(()=>51)),s=(e,t=0)=>{const n=[];for(const r of e)n.push({task:r,level:t}),"milestone-group"!==r.type&&r.children&&r.children.length>0&&!r.collapsed&&n.push(...s(r.children,t+1));return n},l=Ha(()=>s(e.value)),c=Ha(()=>{if("resource"!==r.value)return[];const e=i.value,t=[0];let n=0;return e.forEach(e=>{const r=o.value.get(e.id),i=(null==r?void 0:r.totalHeight)||a.value;n+=i,t.push(n)}),t}),u=e=>{const t=c.value;let n=0,r=t.length-1;for(;n<r;){const i=Math.floor((n+r)/2);t[i]<=e?n=i+1:r=i}return Math.max(0,n-1)},O=Ha(()=>{const e=t.value,o=n.value||600;if("resource"===r.value){const t=c.value;if(t.length<=1)return{startIndex:0,endIndex:0};const n=i.value.length;let r=Math.max(0,u(e)-5);const a=e+o;let s=Math.min(t.length-1,u(a)+5+1);return{startIndex:Math.min(r,n),endIndex:Math.min(s,n)}}{const t=l.value.length;return 0===t?{startIndex:0,endIndex:0}:{startIndex:Math.max(0,Math.floor(e/a.value)-5),endIndex:Math.min(t,Math.ceil((e+o)/a.value)+5)}}}),d=Ha(()=>{const{startIndex:e,endIndex:t}=O.value;return l.value.slice(e,t).map((t,n)=>({...t,rowIndex:e+n}))}),h=Ha(()=>{if("resource"===r.value){const e=c.value;return e.length>0?e[e.length-1]:0}return l.value.length*a.value}),f=Ha(()=>"resource"===r.value?c.value[O.value.startIndex]||0:O.value.startIndex*a.value),p=Ha(()=>{if("resource"===r.value){const e=O.value.endIndex,t=c.value[e]||0;return Math.max(0,h.value-t)}return Math.max(0,(l.value.length-O.value.endIndex)*a.value)});return{taskListScrollTop:t,taskListBodyHeight:n,flattenedTasks:l,visibleTaskRange:O,visibleTasks:d,totalContentHeight:h,startSpacerHeight:f,endSpacerHeight:p,getFlattenedVisibleTasks:s}}(g),$=cn(null),S=cn(!1),{taskListRef:x,taskListBodyRef:k,cachedContainerWidth:P,initializeResizeObservers:T,cleanupResizeObservers:_,updateContainerWidth:C}=function(e,t,n){const r=cn(null),i=cn(null),o=cn(0);let a=null,s=null;const l=()=>{if(r.value){const e=r.value.offsetWidth;Math.abs(e-o.value)>1&&(o.value=e)}};return hr(e,e=>{if(!e&&(l(),i.value)){const e=i.value.clientHeight;Math.abs(e-n.value)>1&&(n.value=e)}}),{taskListRef:r,taskListBodyRef:i,cachedContainerWidth:o,initializeResizeObservers:()=>{r.value&&(a=new ResizeObserver(t=>{if(!e.value)for(const e of t)o.value=e.contentRect.width}),a.observe(r.value)),i.value&&(n.value=i.value.clientHeight,t.value=i.value.scrollTop,s=new ResizeObserver(t=>{if(!e.value)for(const e of t)n.value=e.contentRect.height}),s.observe(i.value))},cleanupResizeObservers:()=>{a&&(a.disconnect(),a=null),s&&(s.disconnect(),s=null)},updateContainerWidth:l}}(S,v,y),E=e=>{if("declarative"===r.taskListColumnRenderMode)return p(e,P.value);if(!e.width)return{};let t;if("string"==typeof e.width&&e.width.includes("%")){const n=P.value||0;if(!(n>0))return{};{const r=parseFloat(e.width)/100;t=`${Math.floor(n*r)}px`}}else t=`${e.width}px`;return{flex:`0 0 ${t}`,minWidth:t,maxWidth:t}},{handleTaskRowHover:R,handleTaskRowDoubleClick:X,handleTaskListScroll:B,handleTaskRowContextMenu:U,registerEventListeners:D,unregisterEventListeners:I}=G5({tasks:g,hoveredTaskId:$,isSplitterDragging:S,taskListScrollTop:v,taskListBodyRef:k,updateContainerWidth:C,enableParentTaskAutoSchedule:Ha(()=>r.enableParentTaskAutoSchedule??!0)});function z(e){e.collapsed=!e.collapsed,i("task-collapse-change",e)}const N=e=>{i("start-timer",e)},M=e=>{i("stop-timer",e)},L=e=>{i("add-predecessor",e)},V=e=>{i("add-successor",e)},q=(e,t)=>{i("delete",e,t)},{startDrag:F,handleDragOver:W}=W5({enabled:r.enableTaskRowMove??!1,onDrop:(e,t,n)=>{(e=>{const{draggedTask:t,targetTask:n,position:o}=e;r.tasks&&i("task-row-moved",{draggedTask:t,targetTask:n,position:o,oldParent:null,newParent:null})})({draggedTask:e,targetTask:t,position:n})}});return vi(async()=>{T(),D(),j5(r.tasks,!(r.enableParentTaskAutoSchedule??1))}),Qi(()=>{_(),I()}),t({getHeaderScrollWidth:()=>{var e;const t=null==(e=x.value)?void 0:e.querySelector(".task-list-header");if(!t)return null;const n=t.scrollWidth;return n>0?n:null}}),(e,t)=>(la(),ha("div",{ref_key:"taskListRef",ref:x,class:"task-list"},[va("div",H5,["declarative"===e.taskListColumnRenderMode?(la(!0),ha(na,{key:0},Bi(A.value,(e,t)=>(la(),ha("div",{key:t,class:le(["col",e.cssClass]),style:re({...E(e),justifyContent:"center"===e.align?"center":"right"===e.align?"flex-end":"flex-start",textAlign:e.align||"left"})},[e.headerSlot?(la(),fa(Ci(e.headerSlot),{key:0})):(la(),ha(na,{key:1},[Qa(Te(e.label),1)],64))],6))),128)):(la(),ha(na,{key:1},[va("div",K5,[fn(u)["header-name"]?(la(),fa(Ci(fn(u)["header-name"]),{key:0})):(la(),ha(na,{key:1},[Qa(Te("resource"===fn(s)?fn(O).resourceName||"资源名称":fn(O).taskName||"任务名称"),1)],64))]),(la(!0),ha(na,null,Bi(m.value,e=>(la(),ha("div",{key:e.key,class:le(["col",e.cssClass||`col-${e.key}`]),style:re(E(e))},[fn(u)[`header-${e.key}`]?(la(),fa(Ci(fn(u)[`header-${e.key}`]),{key:0})):(la(),ha(na,{key:1},[Qa(Te(fn(O)[e.key]||e.label),1)],64))],6))),128))],64))]),va("div",{ref_key:"taskListBodyRef",ref:k,class:"task-list-body",onScroll:t[2]||(t[2]=(...e)=>fn(B)&&fn(B)(...e))},[va("div",{class:"task-list-body-spacer",style:re({height:`${fn(w)}px`})},null,4),(la(!0),ha(na,null,Bi(fn(b),({task:t,level:n,rowIndex:i},s,l,c)=>{var u;const O=[t.id,t.name,t.collapsed,$.value===t.id,t.startDate,t.endDate,t.progress];if(c&&c.key===t.id&&Ja(c,O))return c;const d=(la(),fa(L5,{key:t.id,task:t,level:n,"row-index":i,"is-hovered":$.value===t.id,"hovered-task-id":$.value,"on-hover":fn(R),columns:"declarative"===e.taskListColumnRenderMode?[]:m.value,"declarative-columns":"declarative"===e.taskListColumnRenderMode?A.value:void 0,"render-mode":e.taskListColumnRenderMode,"get-column-width-style":E,"disable-children-render":!0,"show-task-icon":null==(u=r.taskListConfig)?void 0:u.showTaskIcon,"enable-drag":r.enableTaskRowMove,"drag-start":fn(F),"drag-over":fn(W),"task-list-row-class-name":r.taskListRowClassName,"task-list-row-style":r.taskListRowStyle,onToggle:z,onDblclick:fn(X),onContextmenu:fn(U),onStartTimer:N,onStopTimer:M,onAddPredecessor:L,onAddSuccessor:V,onDelete:q},Ui({_:2},[a.value?{name:"custom-task-content",fn:rr(t=>[Di(e.$slots,"custom-task-content",Ta({ref_for:!0},t),void 0,!0)]),key:"0"}:void 0,fn(o)["task-list-context-menu"]?{name:"task-list-context-menu",fn:rr(t=>[Di(e.$slots,"task-list-context-menu",Ta({ref_for:!0},t),void 0,!0)]),key:"1"}:void 0]),1032,["task","level","row-index","is-hovered","hovered-task-id","on-hover","columns","declarative-columns","render-mode","show-task-icon","enable-drag","drag-start","drag-over","task-list-row-class-name","task-list-row-style","onDblclick","onContextmenu"]));return d.memo=O,d},t,0),128)),va("div",{class:"task-list-body-spacer",style:re({height:`${fn(Q)}px`})},null,4)],544)],512))}}),e4=M2(J5,[["__scopeId","data-v-dccb9e58"]]),t4={HOUR:"hour",DAY:"day",WEEK:"week",MONTH:"month",QUARTER:"quarter",YEAR:"year"},n4={hour:{scale:t4.HOUR,cellWidth:40,minCellWidth:40,maxCellWidth:120,headerLevels:2,formatters:{primary:"yyyy年MM月dd日",secondary:"HH:mm"}},day:{scale:t4.DAY,cellWidth:30,minCellWidth:30,maxCellWidth:120,headerLevels:2,formatters:{primary:"yyyy年MM月",secondary:"dd"}},week:{scale:t4.WEEK,cellWidth:60,minCellWidth:60,maxCellWidth:240,headerLevels:2,formatters:{primary:"yyyy年MM月",secondary:"d"}},month:{scale:t4.MONTH,cellWidth:60,minCellWidth:60,maxCellWidth:180,headerLevels:2,formatters:{primary:"yyyy年",secondary:"MM月"}},quarter:{scale:t4.QUARTER,cellWidth:60,minCellWidth:60,maxCellWidth:120,headerLevels:2,formatters:{primary:"yyyy年",secondary:"Q季度"}},year:{scale:t4.YEAR,cellWidth:180,minCellWidth:180,maxCellWidth:720,headerLevels:2,formatters:{primary:"yyyy年",secondary:"上半年|下半年"}}},r4={key:0,class:"anchor-tooltip"},i4=Vr({__name:"LinkAnchor",props:{type:{},taskId:{},visible:{type:Boolean,default:!1},isDragSource:{type:Boolean,default:!1},isDragTarget:{type:Boolean,default:!1},isValidTarget:{type:Boolean,default:!0},enabled:{type:Boolean,default:!0},globalDragging:{type:Boolean,default:!1}},emits:["drag-start","drag-move","drag-end"],setup(e,{emit:t}){const n=e,r=t,i=sr("gantt-view-mode",{value:"task"}),o=cn(!1),a=Ha(()=>"resource"!==i.value&&(n.visible||n.globalDragging||n.isDragSource||n.isDragTarget||o.value));let s=null,l=null,c=!1;function u(e){n.enabled&&(e.stopPropagation(),e.preventDefault(),c=!0,r("drag-start",{taskId:n.taskId,type:n.type,x:e.clientX,y:e.clientY}),s=e=>{c&&r("drag-move",{x:e.clientX,y:e.clientY})},l=()=>{c&&(r("drag-end",{taskId:n.taskId,type:n.type}),h())},document.addEventListener("mousemove",s),document.addEventListener("mouseup",l))}function O(){n.enabled&&(o.value=!0)}function d(){n.enabled&&(o.value=!1)}function h(){c=!1,s&&(document.removeEventListener("mousemove",s),s=null),l&&(document.removeEventListener("mouseup",l),l=null)}return Qi(()=>{h()}),(e,t)=>e.enabled&&a.value?(la(),ha("div",{key:0,class:le(["link-anchor",{"anchor-predecessor":"predecessor"===e.type,"anchor-successor":"successor"===e.type,"drag-source":e.isDragSource,"drag-target":e.isDragTarget,"valid-target":e.isDragTarget&&e.isValidTarget,"invalid-target":e.isDragTarget&&!e.isValidTarget,visible:a.value}]),onMousedown:u,onMouseenter:O,onMouseleave:d},[e.isDragSource||e.isDragTarget||e.globalDragging?Sa("",!0):(la(),ha("div",r4,Te("predecessor"===e.type?"添加前置任务":"添加后置任务"),1))],34)):Sa("",!0)}}),o4=M2(i4,[["__scopeId","data-v-9f46aee9"]]),a4={class:"expanded-content"},s4={class:"expanded-title"},l4=["src"],c4={class:"resource-name"},u4={class:"expanded-body"},O4={class:"expanded-row"},d4={class:"info-label"},h4={class:"info-value"},f4={class:"expanded-row"},p4={class:"info-label"},A4={class:"info-value"},m4={key:0,class:"conflict-section"},g4={class:"conflict-header"},v4={class:"conflict-title"},y4={class:"total-overload"},b4={class:"conflict-list-container"},w4={class:"conflict-task-name"},Q4={class:"conflict-detail"},$4={class:"conflict-label"},S4={class:"conflict-value"},x4={class:"conflict-detail"},k4={class:"conflict-label"},P4={class:"conflict-value"},T4=Vr({__name:"TaskBarTab",props:{task:{},currentResourceId:{},resourceColor:{},resourceCapacity:{},resourceName:{},taskBarWidth:{default:void 0},taskBarLeft:{default:void 0},scrollLeft:{default:0},containerWidth:{default:0},hasConflict:{type:Boolean,default:!1},conflictTasks:{default:()=>[]},resources:{}},emits:["hover-change"],setup(e,{emit:t}){const n=e,r=t,{t:i}=w2(),o=cn(!1),a=cn(null);let s=null,l=null;const c=Ha(()=>`${Math.round(n.resourceCapacity)}%`),u=Ha(()=>{if(!n.taskBarWidth)return 30;const e=Math.min(2,.1*n.taskBarWidth);return Math.min(n.taskBarWidth-e,50)}),O=Ha(()=>{if(void 0===n.taskBarLeft||void 0===n.scrollLeft)return 0;const e=n.taskBarLeft,t=n.scrollLeft;if(e>t+(n.containerWidth||0))return 0;if(e<t){const r=t-e,i=Math.max(0,(n.taskBarWidth||0)-u.value);return Math.min(r,i)}return 0}),d=Ha(()=>({backgroundColor:`${n.resourceColor} !important`,width:`${u.value}px`,left:`${O.value}px`})),h=Ha(()=>n.resources&&n.currentResourceId?n.resources.find(e=>String(e.id)===String(n.currentResourceId)):null),f=Ha(()=>{var e;return(null==(e=h.value)?void 0:e.name)||n.resourceName||""}),p=Ha(()=>{var e;return(null==(e=h.value)?void 0:e.avatar)||null}),A=Ha(()=>f.value.charAt(0).toUpperCase()||"R"),m=Ha(()=>({backgroundColor:n.resourceColor,color:x(n.resourceColor)})),g=Ha(()=>{if(!a.value)return{};const e=a.value.getBoundingClientRect(),t=window.innerHeight,r=120+80*y.value.length,i=e.top,o=t-e.bottom;return i>=r||i>o?{position:"fixed",bottom:t-e.top+2+"px",left:`${e.left}px`,maxHeight:`${Math.min(i-10,400)}px`,backgroundColor:n.resourceColor}:{position:"fixed",top:`${e.bottom+2}px`,left:`${e.left}px`,maxHeight:`${Math.min(o-10,400)}px`,backgroundColor:n.resourceColor}}),v=Ha(()=>{if(!n.task.startDate||!n.task.endDate)return"-";const e=new Date(n.task.startDate),t=new Date(n.task.endDate),r=e=>`${e.getFullYear()}/${String(e.getMonth()+1).padStart(2,"0")}/${String(e.getDate()).padStart(2,"0")}`;return`${r(e)} ~ ${r(t)}`}),y=Ha(()=>{if(!n.hasConflict||!n.conflictTasks||0===n.conflictTasks.length)return[];const e=n.task;if(!e.startDate||!e.endDate)return[];const t=new Date(e.startDate).getTime(),r=new Date(e.endDate).getTime();return n.conflictTasks.map(e=>{if(!e.startDate||!e.endDate)return null;const i=new Date(e.startDate).getTime(),o=new Date(e.endDate).getTime();let a=100;if(e.resources&&Array.isArray(e.resources)){const t=e.resources.find(e=>String(e.id)===String(n.currentResourceId));t&&void 0!==t.capacity&&(a=Math.max(20,Math.min(100,t.capacity)))}const s=Math.max(t,i),l=Math.min(r,o),c=e=>{const t=new Date(e);return`${t.getFullYear()}/${t.getMonth()+1}/${t.getDate()}`};return{taskName:e.name,overlapStart:c(s),overlapEnd:c(l),conflictPercent:a}}).filter(Boolean)}),b=Ha(()=>{if(!n.hasConflict||!n.conflictTasks||0===n.conflictTasks.length)return 0;const e=n.task;if(!e.startDate||!e.endDate)return 0;const t=n.resourceCapacity||100,r=864e5;let i=t;const o=[e,...n.conflictTasks];return o.forEach((e,t)=>{if(!e.startDate||!e.endDate)return;const a=new Date(e.startDate).getTime(),s=new Date(e.endDate).getTime(),l=s+r;o.forEach((e,c)=>{if(t>=c||!e.startDate||!e.endDate)return;const u=new Date(e.startDate).getTime(),O=new Date(e.endDate).getTime();if(a<O+r&&u<l){const e=Math.max(a,u),t=Math.min(s,O)+r;let l=0;o.forEach(i=>{if(!i.startDate||!i.endDate)return;const o=new Date(i.startDate).getTime(),a=new Date(i.endDate).getTime()+r;if(o<t&&a>e){let e=100;if(i.resources&&Array.isArray(i.resources)){const t=i.resources.find(e=>String(e.id)===String(n.currentResourceId));t&&void 0!==t.capacity&&(e=t.capacity)}l+=e}}),i=Math.max(i,l)}})}),Math.max(0,i-100)}),w=()=>{null!==s&&(clearTimeout(s),s=null),null!==l&&clearTimeout(l),l=window.setTimeout(()=>{o.value=!0,r("hover-change",!0),l=null},50)},Q=()=>{null!==l&&(clearTimeout(l),l=null),s=window.setTimeout(()=>{o.value=!1,r("hover-change",!1),s=null},100)},$=()=>{null!==s&&(clearTimeout(s),s=null),o.value=!0},S=()=>{s=window.setTimeout(()=>{o.value=!1,r("hover-change",!1),s=null},100)},x=e=>{const t=e.replace("#","");return(299*parseInt(t.substring(0,2),16)+587*parseInt(t.substring(2,4),16)+114*parseInt(t.substring(4,6),16))/1e3>128?"#333":"#fff"};return Qi(()=>{null!==s&&(clearTimeout(s),s=null),null!==l&&(clearTimeout(l),l=null),o.value=!1,r("hover-change",!1)}),(e,t)=>(la(),ha("div",{ref_key:"tabElement",ref:a,class:"task-bar-tab",style:re(d.value),onMouseenter:w,onMouseleave:Q,onClick:t[0]||(t[0]=Dl(()=>{},["stop"]))},[(la(),fa(xr,{to:"body"},[o.value?(la(),ha("div",{key:0,class:"tab-expanded",style:re(g.value),onMouseenter:$,onMouseleave:S},[va("div",a4,[va("div",s4,[p.value?(la(),ha("div",{key:0,class:"resource-avatar",style:re(m.value)},[va("img",{src:p.value,alt:"avatar",class:"avatar-img"},null,8,l4)],4)):(la(),ha("div",{key:1,class:"resource-avatar",style:re(m.value)},Te(A.value),5)),va("span",c4,Te(f.value),1)]),va("div",u4,[va("div",O4,[va("span",d4,Te(fn(i).resourceView.capacity),1),va("span",h4,Te(c.value),1)]),va("div",f4,[va("span",p4,Te(fn(i).resourceView.duration),1),va("span",A4,Te(v.value),1)]),e.hasConflict&&y.value.length>0?(la(),ha("div",m4,[va("div",g4,[t[1]||(t[1]=va("svg",{class:"warning-icon",viewBox:"0 0 24 24",width:"14",height:"14"},[va("path",{fill:"currentColor",d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})],-1)),va("span",v4,Te(fn(i).resourceView.overloadWarning),1),va("span",y4,"▲ "+Te(b.value)+"%",1)]),va("div",b4,[(la(!0),ha(na,null,Bi(y.value,(e,t)=>(la(),ha("div",{key:t,class:"conflict-item"},[va("div",w4,Te(fn(i).resourceView.conflictWith)+"《"+Te(e?e.taskName:"")+"》"+Te(fn(i).resourceView.conflictSuffix),1),va("div",Q4,[va("span",$4,Te(fn(i).resourceView.conflictDuration)+":",1),va("span",S4,Te(e?e.overlapStart:"")+" ~ "+Te(e?e.overlapEnd:""),1)]),va("div",x4,[va("span",k4,Te(fn(i).resourceView.capacity)+": ",1),va("span",P4,Te(e?e.conflictPercent:"")+"%",1)])]))),128))])])):Sa("",!0)])])],36)):Sa("",!0)]))],36))}}),_4=M2(T4,[["__scopeId","data-v-5417f4e4"]]),C4={showAvatar:!0,showTitle:!0,showProgress:!0,dragThreshold:5,resizeHandleWidth:5,enableDragDelay:!1,dragDelayTime:150},E4=["data-task-id"],R4={class:"actual-progress"},X4={key:1,class:"actual-progress-badge"},B4={key:2,class:"actual-bar-trailing"},U4={key:0,class:"actual-avatars-container"},D4={key:0,class:"avatar-text"},I4=["src","alt"],z4={key:2,class:"avatar-icon",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N4=["innerHTML"],M4=["data-task-id"],L4={key:0,class:"parent-label-inner"},V4={key:0,class:"avatar-text"},q4=["src","alt"],F4={key:2,class:"avatar-icon",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},W4={key:1,class:"task-name"},Z4={class:"tooltip-title"},Y4={class:"tooltip-content"},j4={key:0,class:"tooltip-row"},G4={class:"tooltip-label"},H4={class:"tooltip-value"},K4={class:"tooltip-row"},J4={class:"tooltip-label"},e3={class:"tooltip-value"},t3={class:"tooltip-row"},n3={class:"tooltip-label"},r3={class:"tooltip-value"},i3={class:"tooltip-row"},o3={class:"tooltip-label"},a3={class:"tooltip-value"},s3={class:"tooltip-row"},l3={class:"tooltip-label"},c3={class:"tooltip-value"},u3={class:"tooltip-row"},O3={class:"tooltip-label"},d3={class:"tooltip-value"},h3={key:1,class:"tooltip-row tooltip-warning"},f3={class:"tooltip-label"},p3={class:"drag-tooltip-content"},A3={class:"tooltip-row"},m3={class:"tooltip-label"},g3={class:"tooltip-value"},v3={class:"tooltip-row"},y3={class:"tooltip-label"},b3={class:"tooltip-value"},w3={class:"drag-preview-content"},Q3=Vr({inheritAttrs:!1,__name:"TaskBar",props:{task:{},rowHeight:{},dayWidth:{},startDate:{},isParent:{type:Boolean},onClick:{type:Function},rowIndex:{},scrollLeft:{},containerWidth:{},hideBubbles:{type:Boolean},timelineData:{},currentTimeScale:{},taskBarConfig:{},allowDragAndResize:{type:Boolean},showActualTaskbar:{type:Boolean},enableTaskBarTooltip:{type:Boolean},pendingTaskBackgroundColor:{},delayTaskBackgroundColor:{},completeTaskBackgroundColor:{},ongoingTaskBackgroundColor:{},isHighlighted:{type:Boolean},isPrimaryHighlight:{type:Boolean},isInHighlightMode:{type:Boolean},dragLinkMode:{},isLinkDragSource:{type:Boolean},isValidLinkTarget:{type:Boolean},isInvalidLinkTarget:{type:Boolean},allTasks:{},hasResourceConflict:{type:Boolean},conflictTasks:{},resourceAllocationPercent:{},currentResourceId:{},taskSubRow:{},rowHeights:{},resources:{},enableParentTaskAutoSchedule:{type:Boolean}},emits:["update:task","bar-mounted","click","dblclick","drag-end","resize-end","scroll-to-position","start-timer","stop-timer","add-predecessor","add-successor","delete","delete-link","context-menu","long-press","link-drag-start","link-drag-move","link-drag-end","tooltip-show","tooltip-hide"],setup(e,{emit:t}){const n=e,r=t,i=sr("enable-link-anchor",Ha(()=>!0)),o=Ha(()=>{if(void 0!==n.resourceAllocationPercent){const e=Number(n.resourceAllocationPercent);if(Number.isFinite(e)&&e>0)return Math.max(0,Math.min(100,e))}if("resource"===c.value&&n.currentResourceId&&n.task.resources){const e=n.task.resources.find(e=>String(e.id)===String(n.currentResourceId));if(e&&void 0!==e.capacity){const t=Number(e.capacity);if(Number.isFinite(t)&&t>=0)return Math.max(0,Math.min(100,t))}}return 100}),a=Ha(()=>{if("resource"===c.value&&n.currentResourceId&&n.resources){const e=n.resources.find(e=>String(e.id)===String(n.currentResourceId));return(null==e?void 0:e.color)||"#85ce61"}return"#85ce61"}),s=Ha(()=>{var e;if(!n.currentResourceId)return"";const t=null==(e=n.resources)?void 0:e.find(e=>e.id===n.currentResourceId);return(null==t?void 0:t.name)||""}),l=Fi(),c=sr("gantt-view-mode",cn("task")),u=sr("gantt-show-taskbar-tab",Ha(()=>!0)),O=sr("resourceRowPositions",Ha(()=>new Map)),d=sr("resourceTaskLayouts",Ha(()=>new Map)),h=sr("positionCache",null),f=sr("enable-task-bar-context-menu",Ha(()=>!0)),p=sr("task-bar-context-menu-slot",Ha(()=>!1)),A=sr("declarative-task-bar-context-menu",Ha(()=>null)),m=sr("gantt-has-taskbar-tooltip-slot",Ha(()=>!1)),g=Ha(()=>!!f.value),v=Ha(()=>!!f.value&&!p.value),y=Ha(()=>{if(!f.value||!p.value)return!1;const e=A.value;if(void 0!==(null==e?void 0:e.taskType)){const t=n.task.type||"task";return(Array.isArray(e.taskType)?e.taskType:[e.taskType]).includes(t)}return!0}),{getTranslation:b}=w2(),w=e=>b(e),Q=Ha(()=>!!l["custom-task-content"]),$=Ha(()=>({...C4,...n.taskBarConfig})),S=e=>{if(!e)return null;if(e instanceof Date)return e;if("string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}if("string"==typeof e&&/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/.test(e)){const[t,n]=e.split(" "),[r,i,o]=t.split("-").map(Number),[a,s]=n.split(":").map(Number);return new Date(r,i-1,o,a,s)}const t=new Date(e);return isNaN(t.getTime())?null:t},x=()=>{const e=new Date;return new Date(e.getFullYear(),e.getMonth(),e.getDate())},k=cn(x());let P=null;vi(()=>{P=window.setInterval(()=>{k.value=x()},6e4)}),Qi(()=>{null!==P&&(clearInterval(P),P=null)});const T=e=>{const t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0");if(n.currentTimeScale===t4.HOUR){return`${t}-${r}-${i} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}`}return`${t}-${r}-${i}`},_=(e,t)=>{const n=new Date(e);return n.setDate(n.getDate()+t),n},C=(e,t)=>{const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n},E=(e,t)=>Math.round((t.getTime()-e.getTime())/6e4),R=Ha(()=>!1===n.task.isEditable),X=cn(!1),B=cn(!1),U=cn(!1),D=cn(!1),I=cn(0),z=cn(0),N=cn(0),M=cn(0),L=cn(0),V=cn(0),q=cn(0),F=sr("isDraggingTaskBar",cn(!1)),W=sr("isDraggingTimeline",cn(!1)),Z=cn(!1),Y=cn({x:0,y:0}),j=cn(0),G=cn(0),H=cn(null),K=cn(null),J=cn(null),ee=cn(!1),te=cn(!1),ne=cn(!1),ie=Ha(()=>ne.value&&"resource"===c.value?a.value:xe.value.borderColor),oe=Ha(()=>$.value.dragThreshold??5),ae=cn(!1),se=cn(null),ue=cn(null),Oe=cn(!1),de=cn(0),he=cn(null),fe=cn(null),pe=cn(null),Ae=cn(null),me=cn(0),ge=Ha(()=>{var e,t;if(fe.value&&n.currentTimeScale===t4.QUARTER){const e=n.rowHeight-10,t=(n.rowHeight-e-4)/2;return{left:`${fe.value.left??0}px`,width:`${fe.value.width??100}px`,height:`${e}px`,top:`${t}px`}}const r=(null==(e=he.value)?void 0:e.startDate)||n.task.startDate,i=(null==(t=he.value)?void 0:t.endDate)||n.task.endDate,o=we.value,a=n.isParent&&(n.enableParentTaskAutoSchedule??!0)&&null!==Qe.value,s=a&&Qe.value?Qe.value.minStart:S(r),l=a&&Qe.value?Qe.value.maxEnd:S(i);if(!s&&!l){const e=n.rowHeight-10;return{left:"0px",width:"0px",height:`${e}px`,top:`${(n.rowHeight-e-4)/2}px`}}const u=s||l,O=l||s,d=o;if(!u||!O||!d){const e=n.rowHeight-10;return{left:"0px",width:"0px",height:`${e}px`,top:`${(n.rowHeight-e-4)/2}px`}}let f=0,p=0;if("resource"!==c.value&&X.value&&null!==K.value){f=K.value;const e=S(r),t=S(i);if(e&&t){const r=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-r.getTime(),o=Math.round(i/864e5);p=(0===o?1:o+1)*n.dayWidth}else p=n.dayWidth}else if("resource"===c.value&&null!==H.value)if(f=H.value,n.currentTimeScale===t4.HOUR){const e=S(r),t=S(i);if(e&&t){const r=E(e,t),i=n.dayWidth/1440;p=Math.max(4,r*i)}else p=n.dayWidth/24}else{const e=S(r),t=S(i);if(e&&t){const r=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-r.getTime(),o=Math.round(i/864e5);p=(0===o?1:o+1)*n.dayWidth}else p=n.dayWidth}else if(n.currentTimeScale===t4.HOUR){const e=new Date(d);e.setHours(0,0,0,0);let t=u,o=O;const a=r||n.task.startDate,s=i||n.task.endDate;"string"==typeof a&&/^\d{4}-\d{2}-\d{2}$/.test(a.trim())&&(t=new Date(u),t.setHours(0,0,0,0)),"string"==typeof s&&/^\d{4}-\d{2}-\d{2}$/.test(s.trim())&&(o=new Date(O),o.setDate(o.getDate()+1),o.setHours(0,0,0,0));const l=E(e,t),c=E(e,o),h=n.dayWidth/1440;f=Math.max(0,l*h),p=Math.max(4,(c-l)*h)}else{const e=new Date(u.getFullYear(),u.getMonth(),u.getDate()),t=new Date(O.getFullYear(),O.getMonth(),O.getDate()),r=new Date(d.getFullYear(),d.getMonth(),d.getDate());if(n.timelineData&&n.currentTimeScale&&(n.currentTimeScale===t4.WEEK||n.currentTimeScale===t4.MONTH||n.currentTimeScale===t4.QUARTER||n.currentTimeScale===t4.YEAR)){let r,i;if(h){const o=h.getPosition(e,n.currentTimeScale);r=null!==o?o:kt(e,n.timelineData,n.currentTimeScale);const a=new Date(t);a.setDate(a.getDate()+1);const s=h.getPosition(a,n.currentTimeScale);i=null!==s?s:kt(a,n.timelineData,n.currentTimeScale)}else{r=kt(e,n.timelineData,n.currentTimeScale);const o=new Date(t);o.setDate(o.getDate()+1),i=kt(o,n.timelineData,n.currentTimeScale)}i===r&&(i=kt(t,n.timelineData,n.currentTimeScale)+n.dayWidth),f=r,p=Math.max(i-r,4)}else if(n.timelineData&&n.currentTimeScale===t4.DAY){let r,i;if(h){const o=h.getPosition(e,n.currentTimeScale);r=null!==o?o:kt(e,n.timelineData,n.currentTimeScale);const a=new Date(t);a.setDate(a.getDate()+1);const s=h.getPosition(a,n.currentTimeScale);i=null!==s?s:kt(a,n.timelineData,n.currentTimeScale)}else{r=kt(e,n.timelineData,n.currentTimeScale);const o=new Date(t);o.setDate(o.getDate()+1),i=kt(o,n.timelineData,n.currentTimeScale)}i===r&&(i=kt(t,n.timelineData,n.currentTimeScale)+n4.day.cellWidth),f=r,p=Math.max(i-r,4)}else{const i=Math.floor((e.getTime()-r.getTime())/864e5),o=t.getTime()-e.getTime(),a=Math.round(o/864e5),s=0===a?1:a+1;f=i*n.dayWidth,p=s*n.dayWidth}}const A=n.rowHeight-10;let m=(n.rowHeight-A-4)/2;if("resource"===c.value&&void 0!==n.taskSubRow&&n.rowHeights&&n.rowHeights.length>0){const e=n.taskSubRow,t=n.rowHeights,r=t[e]||51;let i=0;for(let n=0;n<e;n++)i+=t[n]||51;m=0===e?i+5+(r-5-A-4)/2:i+(r-A-4)/2}return{left:`${f}px`,width:`${p}px`,height:`${A}px`,top:`${m}px`}}),ve=Ha(()=>{const e=ge.value.left;return parseFloat(e)||0}),ye=cn({left:0,top:0,width:0,height:0,timestamp:0}),be=Ha(()=>S(n.task.endDate||"")),we=Ha(()=>S(n.startDate)),Qe=Ha(()=>{var e;if(!n.isParent||null==(e=n.task.children)||!e.length)return null;const t=e=>{var n;let r=null,i=null;for(const o of e){const e=S(o.startDate),a=S(o.endDate);if(e&&(!r||e<r)&&(r=e),a&&(!i||a>i)&&(i=a),null!=(n=o.children)&&n.length){const e=t(o.children);e.min&&(!r||e.min<r)&&(r=e.min),e.max&&(!i||e.max>i)&&(i=e.max)}}return{min:r,max:i}},{min:r,max:i}=t(n.task.children);return r&&i?{minStart:r,maxEnd:i}:null}),$e=Ha(()=>{var e,t;const r=(null==(e=he.value)?void 0:e.startDate)||n.task.startDate,i=(null==(t=he.value)?void 0:t.endDate)||n.task.endDate;return!(!r&&!i)}),Se=Ha(()=>{const e=parseFloat(ge.value.width);return isNaN(e)?0:e}),xe=Ha(()=>{if(n.task.barColor){const e=(e=>{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:64,g:158,b:255}})(n.task.barColor);if(n.isParent)return{type:"custom-parent",color:n.task.barColor,bgColor:n.task.barColor,borderColor:n.task.barColor};const t=`rgb(${Math.round(242.25+.05*e.r)}, ${Math.round(242.25+.05*e.g)}, ${Math.round(242.25+.05*e.b)})`,r=`rgb(${Math.round(178.5+.3*e.r)}, ${Math.round(178.5+.3*e.g)}, ${Math.round(178.5+.3*e.b)})`;return{type:"custom",color:n.task.barColor,bgColor:t,borderColor:r}}if(n.isParent)return{type:"parent",color:"#409eff",bgColor:"#409eff",borderColor:"#409eff"};const e=e=>{const t=(e=>{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:64,g:158,b:255}})(e);return{bgColor:`rgb(${Math.round(242.25+.05*t.r)}, ${Math.round(242.25+.05*t.g)}, ${Math.round(242.25+.05*t.b)})`,borderColor:`rgb(${Math.round(178.5+.3*t.r)}, ${Math.round(178.5+.3*t.g)}, ${Math.round(178.5+.3*t.b)})`}},t=k.value,r=be.value,i=n.task.progress||0,o=n.task.actualStartDate?new Date(n.task.actualStartDate):null;if(i>=100){const t=n.completeTaskBackgroundColor||"#909399",r=e(t);return{type:"completed",color:t,bgColor:r.bgColor,borderColor:r.borderColor}}if(r&&r<t&&i<100){const t=n.delayTaskBackgroundColor||"#f56c6c",r=e(t);return{type:"delayed",color:t,bgColor:r.bgColor,borderColor:r.borderColor}}if(o&&i<100&&r&&r>=t){const t=n.ongoingTaskBackgroundColor||"#e6a23c",r=e(t);return{type:"ongoing",color:t,bgColor:r.bgColor,borderColor:r.borderColor}}if(!o&&(!r||r>=t)){const t=n.pendingTaskBackgroundColor||"#409eff",r=e(t);return{type:"pending",color:t,bgColor:r.bgColor,borderColor:r.borderColor}}return{type:"default",color:"#409eff",bgColor:"#ecf5ff",borderColor:"#b3d8ff"}}),ke=Ha(()=>({type:"task-bar",task:n.task,status:xe.value,statusType:xe.value.type,isParent:n.isParent??!1,progress:n.task.progress||0,currentTimeScale:n.currentTimeScale,rowHeight:n.rowHeight,dayWidth:n.dayWidth})),Pe=Ha(()=>{if("resource"===c.value&&n.currentResourceId&&n.resources){const e=n.resources.find(e=>String(e.id)===String(n.currentResourceId));if(e)return e.avatar?[e.avatar]:e.name?[{isText:!0,name:e.name}]:[]}const e=n.task.avatar,t=n.task.assignee;return e?Array.isArray(e)?e:[e]:t?(Array.isArray(t)?t:[t]).map(e=>({isText:!0,name:e})):[]}),_e=Ha(()=>(n.task.progress||0)>=100),Ce=Ha(()=>!!n.showActualTaskbar&&n.rowHeight<30),Ee=Ha(()=>Math.max(12,Math.min(22,n.rowHeight-8))),Re=Ha(()=>n.isInHighlightMode&&!n.isHighlighted&&!n.isPrimaryHighlight),Xe=Ha(()=>(n.task.progress||0)/100*parseInt(ge.value.width)+"px"),Be=Ha(()=>n.currentTimeScale===t4.WEEK),Ue=Ha(()=>parseFloat(ge.value.width||"0")<n4.day.cellWidth),De=Ha(()=>!(!n.task.actualStartDate&&!n.task.actualEndDate)),Ie=Ha(()=>{if(!n.showActualTaskbar||!n.task.actualStartDate||n.isParent)return null;const e=S(n.task.actualStartDate),t=S(n.task.actualEndDate),r=S(n.task.startDate),i=we.value;if(!i)return null;const o=e||r,a=t||(e?x():null);if(!o||!a)return null;let s=0,l=100;if(n.timelineData&&n.currentTimeScale&&(n.currentTimeScale===t4.WEEK||n.currentTimeScale===t4.MONTH||n.currentTimeScale===t4.QUARTER||n.currentTimeScale===t4.YEAR)){const e=kt(o,n.timelineData,n.currentTimeScale),t=new Date(a);t.setDate(t.getDate()+1);let r=kt(t,n.timelineData,n.currentTimeScale);r===e&&(r=kt(a,n.timelineData,n.currentTimeScale)+n.dayWidth),s=e,l=Math.max(r-e,4)}else if(n.timelineData&&n.currentTimeScale===t4.DAY){const e=kt(o,n.timelineData,n.currentTimeScale),t=new Date(a);t.setDate(t.getDate()+1);let r=kt(t,n.timelineData,n.currentTimeScale);r===e&&(r=kt(a,n.timelineData,n.currentTimeScale)+n4.day.cellWidth),s=e,l=Math.max(r-e,4)}else{const e=Math.floor((o.getTime()-i.getTime())/864e5),t=a.getTime()-o.getTime(),r=Math.round(t/864e5),c=0===r?1:r+1;s=e*n.dayWidth,l=c*n.dayWidth}const c=n.rowHeight<30?5:Math.round((n.rowHeight-10)/2);return{left:`${s}px`,width:`${l}px`,height:`${c}px`,top:`${(n.rowHeight-c)/2}px`}}),ze=Ha(()=>{if(!n.isParent||!1!==n.enableParentTaskAutoSchedule||!Qe.value)return null;const{minStart:e,maxEnd:t}=Qe.value,r=S(n.task.startDate),i=S(n.task.endDate);if(!(r&&e<r||i&&t>i))return null;const o=we.value;if(!o)return null;const a=new Date(e.getFullYear(),e.getMonth(),e.getDate()),s=new Date(t.getFullYear(),t.getMonth(),t.getDate()),l=new Date(o.getFullYear(),o.getMonth(),o.getDate());let c=0,u=4;if(n.timelineData&&n.currentTimeScale&&(n.currentTimeScale===t4.WEEK||n.currentTimeScale===t4.MONTH||n.currentTimeScale===t4.QUARTER||n.currentTimeScale===t4.YEAR)){const e=kt(a,n.timelineData,n.currentTimeScale),t=new Date(s);t.setDate(t.getDate()+1);let r=kt(t,n.timelineData,n.currentTimeScale);r===e&&(r=kt(s,n.timelineData,n.currentTimeScale)+n.dayWidth),c=e,u=Math.max(r-e,4)}else if(n.timelineData&&n.currentTimeScale===t4.DAY){const e=kt(a,n.timelineData,n.currentTimeScale),t=new Date(s);t.setDate(t.getDate()+1);let r=kt(t,n.timelineData,n.currentTimeScale);r===e&&(r=kt(s,n.timelineData,n.currentTimeScale)+n.dayWidth),c=e,u=Math.max(r-e,4)}else{const e=Math.floor((a.getTime()-l.getTime())/864e5),t=s.getTime()-a.getTime(),r=Math.round(t/864e5),i=0===r?1:r+1;c=e*n.dayWidth,u=i*n.dayWidth}return{left:`${c}px`,width:`${u}px`,height:"4px",top:`${(n.rowHeight-15)/2-4}px`}}),Ne=Ha(()=>Be.value&&Ue.value),Me=(e,t)=>{if(W.value||n.isHighlighted||n.isPrimaryHighlight||!1===n.allowDragAndResize||_e.value||n.isParent||R.value||(e.preventDefault(),e.stopPropagation(),he.value=null,K.value=null,ae.value=!1,Oe.value=!1,se.value=t,ee.value=!1,J.value&&(clearTimeout(J.value),J.value=null),"drag"===t&&(J.value=window.setTimeout(()=>{!ae.value&&!X.value&&!B.value&&!U.value&&(ee.value=!0,r("long-press",n.task.id)),J.value=null},1e3)),$.value.enableDragDelay&&$.value.dragDelayTime?ue.value=window.setTimeout(()=>{Oe.value=!0,ue.value=null},$.value.dragDelayTime):Oe.value=!0,!document.querySelector(".timeline")||!pe.value))return;const i=pe.value.getBoundingClientRect();de.value=e.clientX-i.left,j.value=e.clientX-i.left,I.value=e.clientX,z.value=e.clientY,N.value=parseInt(ge.value.left),M.value=parseInt(ge.value.width),("resize-left"===t||"resize-right"===t)&&(L.value=e.clientX,V.value=parseInt(ge.value.width),q.value=parseInt(ge.value.left)),window.addEventListener("timeline-auto-scroll",Le),document.addEventListener("mousemove",Ye),document.addEventListener("mouseup",je)},Le=e=>{const{scrollDelta:t}=e.detail;X.value?I.value-=t:(B.value||U.value)&&(L.value-=t)};let Ve=!1;function qe(){Ve||(Ve=!0,requestAnimationFrame(()=>{if(Ve=!1,!pe.value)return;const e=Date.now();if(e-ye.value.timestamp<100)return void r("bar-mounted",{id:n.task.id,left:ye.value.left,top:ye.value.top,width:ye.value.width,height:ye.value.height});const t=pe.value.getBoundingClientRect(),i={left:t.left,top:t.top,width:t.width,height:t.height};ye.value={...i,timestamp:e},r("bar-mounted",{id:n.task.id,...i})}))}const Fe=cn(!1),We=cn({x:0,y:0}),Ze=cn({startDate:"",endDate:""}),Ye=e=>{if("resource"===c.value){window.lastDragMouseY=e.clientY;const t=document.querySelector(".timeline-body");let r=!1;if(t&&X.value&&ae.value&&n.currentResourceId){const i=t.getBoundingClientRect(),o=e.clientY-i.top+t.scrollTop,a=String(n.currentResourceId),s=O.value.get(a)||0,l=d.value.get(a),c=(null==l?void 0:l.totalHeight)||51;r=o<s||o>=s+c,r?(Z.value=!0,Y.value={x:e.clientX-j.value,y:e.clientY-n.rowHeight/2}):Z.value=!1}}if(!n.isHighlighted&&!n.isPrimaryHighlight&&(!$.value.enableDragDelay||Oe.value)){if(!ae.value){const t=Math.abs(e.clientX-I.value),n=Math.abs(e.clientY-z.value);if(("resource"===c.value&&"drag"===se.value?Math.max(t,n):t)<oe.value)return;ae.value=!0,"drag"===se.value?X.value=!0:"resize-left"===se.value?B.value=!0:"resize-right"===se.value&&(U.value=!0)}if(ae.value)if(window.dispatchEvent(new CustomEvent("drag-boundary-check",{detail:{mouseX:e.clientX,mouseY:e.clientY,taskId:n.task.id,rowIndex:n.rowIndex,isDragging:X.value||B.value||U.value,isResourceView:"resource"===c.value}})),(X.value||B.value||U.value)&&(Fe.value=!0,We.value={x:e.clientX+15,y:e.clientY-60}),X.value){const t=e.clientX-I.value;if("resource"===c.value){const r=e.clientX-j.value,i=document.querySelector(".timeline-body");if(i){const e=i.getBoundingClientRect(),o=i.scrollLeft,a=r-e.left+o;if(n.currentTimeScale===t4.HOUR){const e=n.dayWidth/1440,r=15*e,i=Math.round(Math.max(0,N.value+t)/r)*r;H.value=i;const o=Math.round(i/e),a=new Date(n.startDate);a.setHours(0,0,0,0);const s=C(a,o),l=S(n.task.startDate)||n.startDate,c=S(n.task.endDate)||n.startDate;let u;if(n.task.startDate&&n.task.startDate.includes(" ")||n.task.endDate&&n.task.endDate.includes(" "))u=E(l,c);else{const e=c.getTime()-l.getTime();u=24*Math.max(1,Math.round(e/864e5)+1)*60}const O=C(s,u);Ze.value={startDate:T(s),endDate:T(O)},he.value={startDate:T(s),endDate:T(O)}}else{H.value=a;let e=null;n.timelineData&&(n.currentTimeScale===t4.DAY||n.currentTimeScale===t4.MONTH||n.currentTimeScale===t4.QUARTER||n.currentTimeScale===t4.YEAR)&&(e=Pt(a,n.timelineData,n.currentTimeScale)),e||(e=_(n.startDate,a/n.dayWidth));const t=S(n.task.startDate)||n.startDate,r=S(n.task.endDate)||n.startDate,i=new Date(t.getFullYear(),t.getMonth(),t.getDate()),o=new Date(r.getFullYear(),r.getMonth(),r.getDate()),s=Math.round((o.getTime()-i.getTime())/864e5),l=new Date(e);l.setDate(l.getDate()+Math.max(0,s)),Ze.value={startDate:T(e),endDate:T(l)},he.value={startDate:T(e),endDate:T(l)}}}return}if(n.currentTimeScale===t4.HOUR){const e=n.dayWidth/1440,r=15*e,i=Math.max(0,N.value+t),o=Math.round(i/r)*r,a=Math.round(o/e),s=new Date(n.startDate);s.setHours(0,0,0,0);const l=C(s,a),c=S(n.task.startDate)||n.startDate,u=S(n.task.endDate)||n.startDate;let O;if(n.task.startDate&&n.task.startDate.includes(" ")||n.task.endDate&&n.task.endDate.includes(" "))O=E(c,u);else{const e=u.getTime()-c.getTime();O=24*Math.max(1,Math.round(e/864e5)+1)*60}const d=C(l,O);he.value={startDate:T(l),endDate:T(d)},Ze.value={startDate:T(l),endDate:T(d)}}else if(n.currentTimeScale===t4.QUARTER){const e=Math.max(0,N.value+t);fe.value={left:e,width:M.value};const r=90*n.dayWidth/90,i=Math.round(t/r),o=S(n.task.startDate)||n.startDate,a=S(n.task.endDate)||n.startDate,s=new Date(o);s.setDate(s.getDate()+i);const l=a.getTime()-o.getTime(),c=Math.ceil(l/864e5),u=new Date(s);u.setDate(u.getDate()+Math.max(0,c)),he.value={startDate:T(s),endDate:T(u)},Ze.value={startDate:T(s),endDate:T(u)}}else{const e=Math.max(0,N.value+t);if(K.value=e,n.currentTimeScale!==t4.DAY&&n.currentTimeScale!==t4.MONTH&&n.currentTimeScale!==t4.QUARTER&&n.currentTimeScale!==t4.YEAR||!n.timelineData){const t=_(n.startDate,e/n.dayWidth),r=S(n.task.startDate)||n.startDate,i=S(n.task.endDate)||n.startDate,o=new Date(r.getFullYear(),r.getMonth(),r.getDate()),a=new Date(i.getFullYear(),i.getMonth(),i.getDate()),s=Math.round((a.getTime()-o.getTime())/864e5),l=_(t,s);he.value={startDate:T(t),endDate:T(l)},Ze.value={startDate:T(t),endDate:T(l)}}else{const t=Pt(e,n.timelineData,n.currentTimeScale);if(t){const e=S(n.task.startDate)||n.startDate,r=S(n.task.endDate)||n.startDate,i=new Date(e.getFullYear(),e.getMonth(),e.getDate()),o=new Date(r.getFullYear(),r.getMonth(),r.getDate()),a=Math.round((o.getTime()-i.getTime())/864e5),s=new Date(t);s.setDate(s.getDate()+Math.max(0,a)),he.value={startDate:T(t),endDate:T(s)},Ze.value={startDate:T(t),endDate:T(s)}}}}}else if(B.value){const t=e.clientX-L.value;if(n.currentTimeScale===t4.HOUR){const e=n.dayWidth/1440,r=15*e,i=Math.max(0,q.value+t),o=Math.round(i/r)*r,a=Math.round(o/e),s=new Date(n.startDate);s.setHours(0,0,0,0);const l=C(s,a);he.value={startDate:T(l),endDate:n.task.endDate},Ze.value={startDate:T(l),endDate:n.task.endDate||""}}else if(n.currentTimeScale===t4.QUARTER){const e=Math.max(0,q.value+t),r=Math.max(10,V.value-t);fe.value={left:e,width:r};const i=90*n.dayWidth/90,o=Math.round(t/i),a=S(n.task.startDate)||n.startDate,s=new Date(a);s.setDate(s.getDate()+o),he.value={startDate:T(s),endDate:n.task.endDate},Ze.value={startDate:T(s),endDate:n.task.endDate||""}}else{const e=Math.max(0,q.value+t);if(n.currentTimeScale!==t4.DAY&&n.currentTimeScale!==t4.MONTH&&n.currentTimeScale!==t4.QUARTER&&n.currentTimeScale!==t4.YEAR||!n.timelineData){const t=_(n.startDate,e/n.dayWidth);he.value={startDate:T(t),endDate:n.task.endDate},Ze.value={startDate:T(t),endDate:n.task.endDate||""}}else{const t=Pt(e,n.timelineData,n.currentTimeScale);t&&(he.value={startDate:T(t),endDate:n.task.endDate},Ze.value={startDate:T(t),endDate:n.task.endDate||""})}}}else if(U.value){const t=e.clientX-L.value;if(n.currentTimeScale===t4.HOUR){const e=n.dayWidth/1440,r=15*e,i=Math.max(r,V.value+t),o=Math.round(i/r)*r,a=Math.round(o/e),s=S(n.task.startDate)||n.startDate,l=C(s,a);he.value={startDate:n.task.startDate,endDate:T(l)},Ze.value={startDate:n.task.startDate||"",endDate:T(l)}}else if(n.currentTimeScale===t4.QUARTER){const e=Math.max(10,V.value+t);fe.value={left:q.value,width:e};const r=90*n.dayWidth/90,i=Math.round(t/r),o=S(n.task.endDate)||n.startDate,a=new Date(o);a.setDate(a.getDate()+i),he.value={startDate:n.task.startDate,endDate:T(a)},Ze.value={startDate:n.task.startDate||"",endDate:T(a)}}else{const e=Math.max(n.dayWidth,V.value+t);if(n.currentTimeScale!==t4.DAY&&n.currentTimeScale!==t4.MONTH&&n.currentTimeScale!==t4.QUARTER&&n.currentTimeScale!==t4.YEAR||!n.timelineData){const t=e/n.dayWidth,r=_(n.startDate,q.value/n.dayWidth+t-1);he.value={startDate:n.task.startDate,endDate:T(r)},Ze.value={startDate:n.task.startDate||"",endDate:T(r)}}else{const t=q.value+e,r=Pt(t,n.timelineData,n.currentTimeScale);r&&(he.value={startDate:n.task.startDate,endDate:T(r)},Ze.value={startDate:n.task.startDate||"",endDate:T(r)})}}}}},je=()=>{var e,t,i;null!==ue.value&&(window.clearTimeout(ue.value),ue.value=null),null!==J.value&&(clearTimeout(J.value),J.value=null),Fe.value=!1,fe.value=null,window.dispatchEvent(new CustomEvent("drag-boundary-check",{detail:{mouseX:0,isDragging:!1}}));let o=!1;if("resource"===c.value&&X.value&&ae.value&&n.currentResourceId){G.value=(null==(e=window.event)?void 0:e.clientX)||0;const r=document.querySelector(".timeline-body");if(r){const e=r.getBoundingClientRect(),t=(window.lastDragMouseY||0)-e.top+r.scrollTop,i=String(n.currentResourceId),a=O.value.get(i)||0,s=d.value.get(i),l=(null==s?void 0:s.totalHeight)||51;o=t<a||t>=a+l}o&&window.dispatchEvent(new CustomEvent("resource-taskbar-drop",{detail:{taskId:n.task.id,task:n.task,sourceRowIndex:n.rowIndex,mouseY:window.lastDragMouseY||0,calculatedStartDate:null==(t=he.value)?void 0:t.startDate,calculatedEndDate:null==(i=he.value)?void 0:i.endDate}})),Z.value=!1}if(ae.value&&he.value&&("resource"!==c.value||!o)){const e={...n.task,...he.value};X.value?r("drag-end",e):(B.value||U.value)&&r("resize-end",e),r("update:task",e),he.value=null,qn(()=>{qe()})}window.removeEventListener("timeline-auto-scroll",Le),(X.value||B.value||U.value)&&(D.value=!0,setTimeout(()=>{D.value=!1},200)),X.value=!1,B.value=!1,U.value=!1,ae.value=!1,Oe.value=!1,se.value=null,H.value=null,K.value=null,document.removeEventListener("mousemove",Ye),document.removeEventListener("mouseup",je)};let Ge=null;vi(()=>{qn(()=>{qe(),Ae.value&&(Ge=new ResizeObserver(e=>{for(const t of e)me.value=t.contentRect.width}),Ge.observe(Ae.value))});const e=e=>{e.detail.taskId===n.task.id&&(he.value=null,H.value=null)};window.addEventListener("resource-drag-cancel",e);const t=()=>{qn(()=>{qe()})},r=()=>{qn(()=>{setTimeout(()=>{qe()},10)})};window.addEventListener("timeline-scale-updated",t),window.addEventListener("timeline-force-recalculate",r),window.addEventListener("close-all-taskbar-menus",Rt),document.addEventListener("click",Xt),Qi(()=>{Ge&&(Ge.disconnect(),Ge=null),window.removeEventListener("timeline-scale-updated",t),window.removeEventListener("timeline-force-recalculate",r),window.removeEventListener("close-all-taskbar-menus",Rt),window.removeEventListener("resource-drag-cancel",e),document.removeEventListener("click",Xt),null!==J.value&&(clearTimeout(J.value),J.value=null),null!==He&&(clearTimeout(He),He=null)})}),hr(()=>[n.task.startDate,n.task.endDate],()=>{qn(()=>{qe()})},{deep:!0}),hr(()=>[n.isHighlighted,n.isPrimaryHighlight],([e,t])=>{if(e||t){const e=X.value||B.value||U.value;X.value=!1,B.value=!1,U.value=!1,ae.value=!1,Oe.value=!1,se.value=null,Fe.value=!1,document.removeEventListener("mousemove",Ye),document.removeEventListener("mouseup",je),window.removeEventListener("timeline-auto-scroll",Le),J.value&&(clearTimeout(J.value),J.value=null),ue.value&&(clearTimeout(ue.value),ue.value=null),!e&&!D.value&&window.dispatchEvent(new CustomEvent("taskbar-highlighted",{detail:{taskId:n.task.id}}))}});let He=null;const Ke=e=>{if(!(X.value||B.value||U.value||D.value)){if(ee.value)return void(ee.value=!1);null===He&&(He=window.setTimeout(()=>{He=null,n.onClick&&"function"==typeof n.onClick?n.onClick(n.task,e):r("click",n.task,e)},250))}},Je=e=>{e.stopPropagation(),e.preventDefault(),null!==He&&(clearTimeout(He),He=null),X.value=!1,B.value=!1,U.value=!1,he.value=null,document.removeEventListener("mousemove",Ye),document.removeEventListener("mouseup",je),r("dblclick",n.task,e)},et=Ha(()=>{const e=n.scrollLeft||0,t=n.containerWidth||0;if(!e&&!t)return{nameLeft:"",namePosition:"",nameTop:"",progressLeft:"",progressPosition:"",progressTop:"",avatarLeft:"",avatarPosition:""};const r=parseInt(ge.value.left),i=parseInt(ge.value.width),o=r+i,a=r+i/2,s=e,l=e+t;let c="",u="",O="",d="",h="",f="",p="",A="";const m=Math.max(me.value,40),g=Ee.value,v=Pe.value.length,y=v>0?1===v?g:g+(v-1)*Math.round(.82*g):0,b=xt.value,w=b+3,Q=r+w+y,S=r+w<s&&o>s||a<s&&o>s,x=Math.max(m,35);let k=0;if(S)p=`${s-r+b+3}px`,A="absolute",k=y+8;else if(Q+x+15>l&&r<l){p=l-r-Math.max(m,35)-b-3-y-15+"px",A="absolute",k=-(y+15)}const P=a-m/2,T=a+m/2,_=$.value.showAvatar;let C=!1;if(_){C=P<s+(y+15)&&o>s}else C=P<s&&o>s&&a<s;if(C){c=`${s-r+b+3+(S?k:0)}px`,u="absolute",O="2px"}else T>l&&r<l&&a>l&&(c=l-r-m-b-10+"px",u="absolute",O="2px");const E=a-17.5;let R=!1;if(_){R=E<s+(y+15)&&o>s}else R=E<s&&o>s&&a<s;if(R){d=`${s-r+b+3+(S?k:0)}px`,h="absolute",f="18px"}else a+17.5>l&&r<l&&a>l&&(d=l-r-35-b-3+"px",h="absolute",f="18px");return{nameLeft:c,namePosition:u,nameTop:O,progressLeft:d,progressPosition:h,progressTop:f,avatarLeft:p,avatarPosition:A}}),tt=Ha(()=>{const e=n.scrollLeft||0,t=n.containerWidth||0;if(!t||t<=0)return{show:!1,left:"0px",side:"left",color:"#409eff",animationType:"none"};if(lt.value||ut.value||n.hideBubbles)return{show:!1,left:"0px",side:"left",color:xe.value.color,animationType:"none"};const r=parseInt(ge.value.left),i=e+t,o=r>=i;return r+parseInt(ge.value.width)<=e?{show:!0,left:e-r-4+"px",side:"left",color:xe.value.color,animationType:"morphToSemiCircle"}:o?{show:!0,left:i-r-8+"px",side:"right",color:xe.value.color,animationType:"morphToSemiCircle"}:{show:!1,left:"0px",side:"left",color:xe.value.color,animationType:"none"}}),nt=cn(!1),rt=cn({x:0,y:0});let it=null;const ot=cn(!1),at=cn(null),st=cn(!1),lt=cn(!0),ct=cn(!1),ut=cn(!1),Ot=e=>{e.stopPropagation(),e.preventDefault();const t=n.scrollLeft||0,i=n.containerWidth||0;if(!t&&!i)return;const o=parseInt(ge.value.left)+parseInt(ge.value.width)/2-i/2;ct.value=!0,ut.value=!0,nt.value=!1,r("scroll-to-position",o)};hr(()=>[n.scrollLeft,n.containerWidth],(e,t)=>{const[n,r]=e,[i,o]=t||[0,0],a=n||0,s=r||0,l=i||0,c=o||0;if(Math.abs(s-c)>1&&c>0)return st.value=!0,qn(()=>{}),lt.value&&setTimeout(()=>{lt.value=!1},300),void setTimeout(()=>{st.value=!1},500);lt.value&&a>=0&&s>0&&setTimeout(()=>{lt.value=!1},1e3),a!==l&&!st.value&&(ot.value=!0,at.value&&clearTimeout(at.value),at.value=setTimeout(()=>{ot.value=!1,ct.value&&(ct.value=!1,setTimeout(()=>{ut.value=!1},300))},200))},{immediate:!0}),hr(()=>n.hideBubbles,(e,t)=>{t&&!e&&qn(()=>{})}),hr(()=>tt.value.show,()=>{});const dt=()=>{st.value=!0,qn(()=>{}),setTimeout(()=>{st.value=!1},300)};vi(()=>{window.addEventListener("resize",dt),window.addEventListener("zoom",dt)}),Qi(()=>{document.removeEventListener("mousemove",Ye),document.removeEventListener("mouseup",je),window.removeEventListener("resize",dt),window.removeEventListener("zoom",dt)});const ht=e=>{if(e.stopPropagation(),r("tooltip-hide"),it&&(window.clearTimeout(it),it=null),m.value){const t=e.currentTarget;return void r("tooltip-show",{task:n.task,taskStatus:xe.value,resourcePercent:o.value,hasResourceConflict:n.hasResourceConflict??!1,targetRect:t.getBoundingClientRect(),parentAutoSchedule:n.isParent?{enabled:n.enableParentTaskAutoSchedule??!0,childrenRange:Qe.value,hasOverflow:!!ze.value}:void 0})}nt.value=!0;const t="right"===tt.value.side,i=document.querySelector(".gantt-panel-right"),a=null==i?void 0:i.getBoundingClientRect();let s=e.clientX,l=e.clientY-10;if(a){let e=s+(t?-180:15);const n=a.left,r=a.right;e<n?e=n:e>r&&(e=r),e<n&&(e=n),s=e;const i=a.top,o=a.bottom-200;l<i?l=i:l>o&&(l=o)}else s+=t?-180:15;rt.value={x:s,y:l}},ft=e=>{e.stopPropagation(),m.value?r("tooltip-hide"):nt.value=!1},pt=e=>{e.stopPropagation(),nt.value=!1},At=e=>{if(te.value=!0,!(ne.value||!1===n.enableTaskBarTooltip||X.value||B.value||U.value)){const t=e.currentTarget;e.clientX,e.clientY,it=window.setTimeout(()=>{const e=t.getBoundingClientRect();r("tooltip-show",{task:n.task,taskStatus:xe.value,resourcePercent:o.value,hasResourceConflict:n.hasResourceConflict??!1,targetRect:e,parentAutoSchedule:n.isParent?{enabled:n.enableParentTaskAutoSchedule??!0,childrenRange:Qe.value,hasOverflow:!!ze.value}:void 0})},300)}},mt=()=>{te.value=!1,it&&(clearTimeout(it),it=null),r("tooltip-hide")};hr([X,B,U],([e,t,n])=>{(e||t||n)&&(r("tooltip-hide"),it&&(clearTimeout(it),it=null));const i=e||t||n;F.value!==i&&(F.value=i)},{flush:"sync"}),hr(ne,e=>{e&&(r("tooltip-hide"),it&&(clearTimeout(it),it=null))});const gt=e=>{if(!e)return w("dateNotSet");const t=S(e);if(!t)return w("dateNotSet");return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`},vt=Ha(()=>{const e=S(n.task.startDate),t=S(n.task.endDate);let r=0;if(e&&t){const n=Math.abs(t.getTime()-e.getTime());r=8*Math.ceil(n/864e5)}const i=n.task.progress||0;return{total:r,used:Math.round(r*i/100)}}),yt=Ha(()=>!0),bt=()=>{const e=et.value,t={};return e.nameLeft&&(t.left=e.nameLeft),e.namePosition&&(t.position=e.namePosition),e.nameTop&&(t.top=e.nameTop),t},wt=()=>{const e=et.value,t={};return e.progressLeft&&(t.left=e.progressLeft),e.progressPosition&&(t.position=e.progressPosition),e.progressTop&&(t.top=e.progressTop),t},Qt=()=>{const e=et.value,t={};return e.avatarLeft&&(t.left=e.avatarLeft),e.avatarPosition&&(t.position=e.avatarPosition),t},$t=Ha(()=>parseInt(ge.value.width)-10<Ee.value),St=Ha(()=>({width:`${Math.min($.value.resizeHandleWidth??5,15)}px`})),xt=Ha(()=>Math.min($.value.resizeHandleWidth??5,15)),kt=(e,t,r)=>{var i;let o=0;for(const a of t)if(r===t4.DAY){const t=a.days||[];for(let r=0;r<t.length;r++){const i=t[r],a=new Date(i.date);if(a.getFullYear()===e.getFullYear()&&a.getMonth()===e.getMonth()&&a.getDate()===e.getDate())return o+r*n.dayWidth}o+=t.length*n.dayWidth}else if(r===t4.QUARTER){const t=a.quarters||[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate);if(e>=t&&e<=i){const r=90*n.dayWidth/(Math.round((i.getTime()-t.getTime())/864e5)+1);return o+Math.round((e.getTime()-t.getTime())/864e5)*r}o+=90*n.dayWidth}}else if(r===t4.WEEK){const t=a.weeks||[];for(const r of t){const t=new Date(r.weekStart),i=new Date(r.weekEnd);if(e>=t&&e<=i){const t=7*n.dayWidth,i=r.subDays||[],a=t/7;for(let n=0;n<i.length;n++){const t=i[n],r=new Date(t.date);if(r.getFullYear()===e.getFullYear()&&r.getMonth()===e.getMonth()&&r.getDate()===e.getDate())return o+n*a}return o+e.getDay()*a}o+=7*n.dayWidth}}else if(r===t4.MONTH){const t=new Date(a.startDate),r=new Date(a.endDate);if(e>=t&&e<=r){const t=30*n.dayWidth/((null==(i=a.monthData)?void 0:i.dayCount)||30);return o+(e.getDate()-1)*t}o+=30*n.dayWidth}else if(r===t4.YEAR){const t=a.halfYears||[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate);if(e>=t&&e<=i){const r=182.5*n.dayWidth/(Math.round((i.getTime()-t.getTime())/864e5)+1);return o+Math.round((e.getTime()-t.getTime())/864e5)*r}o+=182.5*n.dayWidth}}if(t.length>0){const r=t[0],i=t[t.length-1],a=new Date(r.startDate),s=new Date(i.endDate);if(e<a)return-Math.ceil((a.getTime()-e.getTime())/864e5)*n.dayWidth;if(e>s){return o+Math.ceil((e.getTime()-s.getTime())/864e5)*n.dayWidth}}return o},Pt=(e,t,r)=>{var i;if(!t)return null;let o=0;if(r===t4.DAY)for(const a of t){const t=a.days||[],r=t.length*n.dayWidth;if(e>=o&&e<o+r){const r=e-o,i=Math.floor(r/n.dayWidth);if(i>=0&&i<t.length)return new Date(t[i].date)}o+=r}else if(r===t4.MONTH)for(const a of t){const t=30*n.dayWidth;if(e>=o&&e<o+t){const n=e-o,r=(null==(i=a.monthData)?void 0:i.dayCount)||30,s=t/r,l=Math.floor(n/s),c=Math.min(l+1,r);return new Date(a.year,a.month-1,c)}o+=t}else if(r===t4.QUARTER)for(const a of t){const t=a.quarters||[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate),a=90*n.dayWidth;if(e>=o&&e<o+a){const n=e-o,r=a/Math.ceil((i.getTime()-t.getTime())/864e5),s=Math.floor(n/r),l=new Date(t);return l.setDate(l.getDate()+s),l}o+=a}}else if(r===t4.YEAR)for(const a of t){const t=a.halfYears||[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate),a=182.5*n.dayWidth;if(e>=o&&e<o+a){const n=e-o,r=a/Math.ceil((i.getTime()-t.getTime())/864e5),s=Math.floor(n/r),l=new Date(t);return l.setDate(l.getDate()+s),l}o+=a}}return null},Tt=cn(!1),_t=cn({x:0,y:0}),Ct=Ha(()=>n.task);function Et(e){if(!g.value)return void e.preventDefault();if(n.isHighlighted||n.isPrimaryHighlight)return void e.preventDefault();window.dispatchEvent(new CustomEvent("close-all-taskbar-menus"));const t=n.task.type||"task";if("task"!==t&&"story"!==t)return e.preventDefault(),void(Tt.value=!1);e.preventDefault(),it&&(clearTimeout(it),it=null),r("tooltip-hide"),Tt.value=!0,_t.value={x:e.clientX,y:e.clientY}}function Rt(){Tt.value=!1}function Xt(e){if(!Tt.value)return;const t=e.target,n=document.querySelector(".task-context-menu");n&&n.contains(t)||Rt()}const Bt=(e,t)=>{r("delete",e,t),Rt()},Ut=e=>{r("delete-link",e),Rt()},Dt=e=>{const t={clientX:e.x,clientY:e.y};(e=>{r("link-drag-start",e)})({task:n.task,type:e.type,mouseEvent:t})},It=e=>{(e=>{r("link-drag-move",e)})({mouseX:e.x,mouseY:e.y})},zt=e=>{(e=>{r("link-drag-end",e)})({task:n.task,type:e.type})};return(e,t)=>{var r;return la(),ha(na,null,[va("div",Ta({class:"task-bar-wrapper"},e.$attrs),[Ie.value&&$e.value&&!e.isParent?(la(),ha("div",{key:0,class:le(["actual-bar",{highlighted:e.isHighlighted,"primary-highlight":e.isPrimaryHighlight,dimmed:Re.value}]),"data-task-id":`actual-${e.task.id}`,style:re({...Ie.value,backgroundColor:xe.value.color,filter:"brightness(1.15) saturate(0.9)",boxShadow:`0 6px 20px ${xe.value.color}60, 0 3px 10px ${xe.value.color}40`})},[Ce.value?(la(),ha("span",X4,Te(e.task.progress||0)+"%",1)):(la(),ha("div",{key:0,class:"actual-bar-content",style:re(e.rowHeight<40?{fontSize:"9px"}:{})},[va("span",R4,Te(e.task.progress||0)+"%",1)],4)),Ce.value?Sa("",!0):(la(),ha("div",B4,[$.value.showAvatar&&"resource"!==fn(c)&&Pe.value.length>0?(la(),ha("div",U4,[(la(!0),ha(na,null,Bi(Pe.value,(e,n)=>(la(),ha("div",{key:n,class:le(["actual-task-avatar",{"avatar-default":!e||"object"==typeof e&&!e.isText&&!e}]),style:re({zIndex:n+1,marginLeft:n>0?"-8px":"0"})},[e&&"object"==typeof e&&e.isText?(la(),ha("span",D4,Te(e.name.charAt(0).toUpperCase()),1)):e&&"string"==typeof e?(la(),ha("img",{key:1,src:e,alt:`avatar-${n}`},null,8,I4)):(la(),ha("svg",z4,t[8]||(t[8]=[va("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",fill:"currentColor"},null,-1)])))],6))),128))])):Sa("",!0),$.value.showTitle?(la(),ha("div",{key:1,class:"actual-task-name-wrapper",style:re({fontSize:e.rowHeight<40?"10px":"12px",color:xe.value.color})},[Q.value?Di(e.$slots,"custom-task-content",ce(Ta({key:0},ke.value)),void 0,!0):(la(),ha("div",{key:1,class:"actual-task-name",innerHTML:e.task.name},null,8,N4))],4)):Sa("",!0)]))],14,E4)):Sa("",!0),ze.value?(la(),ha("div",{key:1,class:"parent-overflow-bar",style:re({...ze.value,backgroundColor:"#f56c6c"})},null,4)):Sa("",!0),$e.value?(la(),ha("div",{key:2,ref_key:"barRef",ref:pe,class:le(["task-bar",{dragging:X.value,resizing:B.value||U.value,completed:_e.value,"parent-task":e.isParent,"week-view":Be.value,"short-task-bar":Ue.value,"overflow-effect":Ne.value,highlighted:e.isHighlighted,"primary-highlight":e.isPrimaryHighlight,dimmed:Re.value,"has-actual":e.showActualTaskbar&&De.value,"resource-conflict":n.hasResourceConflict,"resource-view":"resource"===fn(c),"has-bubble":tt.value.show}]),"data-task-id":e.task.id,style:re({...ge.value,backgroundColor:e.showActualTaskbar&&De.value&&te.value?"transparent":xe.value.bgColor,borderColor:ie.value,..."resource"===fn(c)&&e.currentResourceId?{borderTopWidth:"2px",borderTopStyle:"solid",borderTopColor:a.value}:{},color:xe.value.color,cursor:_e.value||e.isParent?"default":"move","--row-height":`${e.rowHeight}px`,"--handle-width":`${xt.value}px`,"--parent-color":xe.value.color,"--allocation-capacity":Number.isFinite(o.value)?o.value/100:1,"--task-bar-bg-color":xe.value.bgColor,"--task-bar-border-color":ie.value,boxShadow:(e.isParent,`0 4px 16px ${xe.value.color}40, 0 2px 8px ${xe.value.color}26`)}),onClick:Ke,onContextmenu:Et,onDblclick:Je,onMouseenter:At,onMouseleave:mt},[e.isParent?(la(),ha("div",L4,[Q.value?Di(e.$slots,"custom-task-content",ce(Ta({key:0},ke.value)),void 0,!0):(la(),ha(na,{key:1},[Qa(Te(e.task.name)+" ("+Te(e.task.progress||0)+"%) ",1)],64))])):Sa("",!0),!e.isParent&&e.task.progress&&e.task.progress>0?(la(),ha("div",{key:1,class:"progress-bar",style:re({width:Xe.value,backgroundColor:xe.value.color})},null,4)):Sa("",!0),fn(u)&&"resource"===fn(c)&&!e.isParent&&e.currentResourceId?(la(),fa(_4,{key:`tab-${e.task.id}-${e.currentResourceId}`,task:e.task,"current-resource-id":e.currentResourceId,"resource-color":a.value,"resource-capacity":o.value,"resource-name":s.value,"task-bar-width":Se.value,"task-bar-left":ve.value,"scroll-left":e.scrollLeft||0,"container-width":e.containerWidth||0,"has-conflict":e.hasResourceConflict,"conflict-tasks":e.conflictTasks,resources:e.resources,onHoverChange:t[0]||(t[0]=e=>ne.value=e)},null,8,["task","current-resource-id","resource-color","resource-capacity","resource-name","task-bar-width","task-bar-left","scroll-left","container-width","has-conflict","conflict-tasks","resources"])):Sa("",!0),_e.value||e.isParent||R.value||!1===n.allowDragAndResize||e.isHighlighted||e.isPrimaryHighlight?Sa("",!0):(la(),ha("div",{key:3,class:"resize-handle resize-handle-left",style:re(St.value),onMousedown:t[1]||(t[1]=e=>Me(e,"resize-left"))},null,36)),e.isParent?Sa("",!0):(la(),ha("div",{key:4,class:"task-bar-content",style:re({cursor:R.value||!1===n.allowDragAndResize||e.isHighlighted||e.isPrimaryHighlight?"grab":"move",...e.rowHeight<40?{flexDirection:"row",gap:"10px",alignItems:"center"}:{}}),onMousedown:t[2]||(t[2]=t=>{e.isHighlighted||e.isPrimaryHighlight||R.value||!1===n.allowDragAndResize||Me(t,"drag")})},[$.value.showAvatar&&"resource"!==fn(c)&&(!e.showActualTaskbar||!De.value)&&Pe.value.length>0?(la(),ha("div",{key:0,class:le(["task-avatars-container",{"avatar-outside":$t.value}]),style:re(Qt())},[(la(!0),ha(na,null,Bi(Pe.value,(e,n)=>(la(),ha("div",{key:n,class:le(["task-avatar",{"avatar-default":!e||"object"==typeof e&&!e.isText&&!e}]),style:re({zIndex:n+1,width:`${Ee.value}px`,height:`${Ee.value}px`,marginLeft:n>0?`-${Math.round(.36*Ee.value)}px`:"0"})},[e&&"object"==typeof e&&e.isText?(la(),ha("span",V4,Te(e.name.charAt(0).toUpperCase()),1)):e&&"string"==typeof e?(la(),ha("img",{key:1,src:e,alt:`avatar-${n}`},null,8,q4)):(la(),ha("svg",F4,t[9]||(t[9]=[va("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",fill:"currentColor"},null,-1)])))],6))),128))],6)):Sa("",!0),!$.value.showTitle||e.showActualTaskbar&&De.value?Sa("",!0):(la(),ha("div",{key:1,ref_key:"taskBarNameRef",ref:Ae,style:re({...bt(),...e.rowHeight<40?{lineHeight:"1",fontSize:"10px"}:{}})},[Q.value?Di(e.$slots,"custom-task-content",ce(Ta({key:0},ke.value)),void 0,!0):(la(),ha("div",W4,Te(e.task.name),1))],4)),!$.value.showProgress||!yt.value||e.showActualTaskbar&&De.value?Sa("",!0):(la(),ha("div",{key:2,class:"task-progress",style:re({...wt(),...e.rowHeight<40?{lineHeight:"1",fontSize:"9px"}:{}})},Te(e.task.progress||0)+"% ",5))],36)),_e.value||e.isParent||R.value||!1===n.allowDragAndResize||e.isHighlighted||e.isPrimaryHighlight?Sa("",!0):(la(),ha("div",{key:5,class:"resize-handle resize-handle-right",style:re(St.value),onMousedown:t[3]||(t[3]=e=>Me(e,"resize-right"))},null,36)),!fn(i)||e.isParent||e.isInHighlightMode?Sa("",!0):(la(),fa(o4,{key:6,type:"predecessor","task-id":e.task.id,visible:te.value,"is-drag-source":e.isLinkDragSource&&"predecessor"===e.dragLinkMode,"is-drag-target":e.isValidLinkTarget||e.isInvalidLinkTarget,"is-valid-target":e.isValidLinkTarget,"global-dragging":!!e.dragLinkMode,onDragStart:Dt,onDragMove:It,onDragEnd:zt},null,8,["task-id","visible","is-drag-source","is-drag-target","is-valid-target","global-dragging"])),!fn(i)||e.isParent||e.isInHighlightMode?Sa("",!0):(la(),fa(o4,{key:7,type:"successor","task-id":e.task.id,visible:te.value,"is-drag-source":e.isLinkDragSource&&"successor"===e.dragLinkMode,"is-drag-target":e.isValidLinkTarget||e.isInvalidLinkTarget,"is-valid-target":e.isValidLinkTarget,"global-dragging":!!e.dragLinkMode,onDragStart:Dt,onDragMove:It,onDragEnd:zt},null,8,["task-id","visible","is-drag-source","is-drag-target","is-valid-target","global-dragging"])),tt.value.show&&!e.isParent?(la(),ha("div",{key:8,class:le(["bubble-indicator",[`bubble-${tt.value.side}`,`bubble-animation-${tt.value.animationType}`]]),style:re({left:tt.value.left,backgroundColor:tt.value.color,borderColor:tt.value.color}),onMouseenter:Dl(ht,["stop"]),onMouseleave:Dl(ft,["stop"]),onMousedown:Dl(pt,["stop"]),onClick:Dl(Ot,["stop"])},null,38)):Sa("",!0),v.value?(la(),fa(t5,{key:9,visible:Tt.value,task:Ct.value,position:_t.value,"all-tasks":e.allTasks,onClose:Rt,onStartTimer:t[4]||(t[4]=t=>e.$emit("start-timer",n.task)),onStopTimer:t[5]||(t[5]=t=>e.$emit("stop-timer",n.task)),onAddPredecessor:t[6]||(t[6]=t=>e.$emit("add-predecessor",n.task)),onAddSuccessor:t[7]||(t[7]=t=>e.$emit("add-successor",n.task)),onDelete:Bt,onDeleteLink:Ut},null,8,["visible","task","position","all-tasks"])):Sa("",!0),(la(),fa(xr,{to:"body"},[y.value&&Tt.value&&null!=(r=fn(A))&&r.defaultSlot?(la(),ha("div",{key:0,class:"gantt-context-menu-wrapper",style:re({position:"fixed",left:`${_t.value.x}px`,top:`${_t.value.y}px`,zIndex:"var(--gantt-z-overlay)"})},[(la(),fa(Ci(fn(A).defaultSlot),{row:Ct.value,$index:n.rowIndex??-1},null,8,["row","$index"]))],4)):Sa("",!0)]))],46,M4)):Sa("",!0)],16),(la(),fa(xr,{to:"body"},[nt.value&&!ne.value?(la(),ha("div",{key:0,class:"task-tooltip",style:re({left:`${rt.value.x}px`,top:`${rt.value.y}px`})},[t[10]||(t[10]=va("div",{class:"tooltip-arrow"},null,-1)),va("div",Z4,Te(e.task.name),1),va("div",Y4,["resource"===fn(c)&&o.value<100?(la(),ha("div",j4,[va("span",G4,Te(w("resourceView.capacity")||"利用率")+":",1),va("span",H4,Te(o.value)+"%",1)])):Sa("",!0),va("div",K4,[va("span",J4,Te(w("startDate"))+":",1),va("span",e3,Te(gt(e.task.startDate)),1)]),va("div",t3,[va("span",n3,Te(w("endDate"))+":",1),va("span",r3,Te(gt(e.task.endDate)),1)]),va("div",i3,[va("span",o3,Te(w("estimatedHours"))+":",1),va("span",a3,Te(vt.value.total)+"h",1)]),va("div",s3,[va("span",l3,Te(w("actualHours"))+":",1),va("span",c3,Te(vt.value.used)+"h",1)]),va("div",u3,[va("span",O3,Te(w("progress"))+":",1),va("span",d3,Te(e.task.progress||0)+"%",1)]),n.hasResourceConflict?(la(),ha("div",h3,[va("span",f3,"⚠️ "+Te(w("resourceView.overloaded")||"资源超负荷"),1)])):Sa("",!0)])],4)):Sa("",!0)])),(la(),fa(xr,{to:"body"},[Fe.value?(la(),ha("div",{key:0,class:"drag-tooltip",style:re({left:`${We.value.x}px`,top:`${We.value.y}px`})},[va("div",p3,[va("div",A3,[va("span",m3,Te(w("startDate"))+":",1),va("span",g3,Te(gt(Ze.value.startDate)),1)]),va("div",v3,[va("span",y3,Te(w("endDate"))+":",1),va("span",b3,Te(gt(Ze.value.endDate)),1)])])],4)):Sa("",!0)])),(la(),fa(xr,{to:"body"},[Z.value?(la(),ha("div",{key:0,class:"drag-preview",style:re({left:`${Y.value.x}px`,top:`${Y.value.y}px`,width:ge.value.width,height:ge.value.height,backgroundColor:xe.value.color,borderColor:xe.value.borderColor})},[va("div",w3,Te(e.task.name),1)],4)):Sa("",!0)]))],64)}}}),$3=M2(Q3,[["__scopeId","data-v-2b1397cd"]]),S3=["title"],x3={key:0,transform:"rotate(45 12 12)"},k3=["fill","stroke"],P3={key:1},T3={key:2,transform:"rotate(45 12 12)"},_3=["fill","stroke"],C3={key:1,class:"milestone-label milestone-label-right"},E3=Vr({__name:"MilestonePoint",props:{date:{},milestone:{},name:{},rowHeight:{},dayWidth:{},startDate:{},timelineStart:{},timelineEnd:{},scrollLeft:{},containerWidth:{},milestoneId:{},otherMilestones:{},currentTimeScale:{},timelineData:{},periodWidth:{},isInHighlightMode:{type:Boolean},allowDragAndResize:{type:Boolean}},emits:["milestone-double-click","update:milestone","drag-end","milestone-tooltip-show","milestone-tooltip-hide"],setup(e,{emit:t}){const n=e,r=t,i=cn(!1),o=cn(0),a=cn(0),s=cn(null),l=e=>{if(e.preventDefault(),e.stopPropagation(),!b.value.isSticky&&!b.value.isPushedOut&&b.value.showIcon)if(i.value=!1,s.value=null,document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f),n.milestone)r("milestone-double-click",n.milestone);else{const e={name:n.name||"里程碑",startDate:n.date,type:"milestone"};r("milestone-double-click",e)}},c=(e,t)=>{const n=new Date(e);return n.setDate(n.getDate()+t),n},u=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,O=e=>{!1===n.allowDragAndResize||b.value.isSticky||b.value.isPushedOut||!b.value.showIcon||(e.preventDefault(),e.stopPropagation(),!document.querySelector(".timeline"))||(o.value=e.clientX,a.value=parseInt(m.value.left),s.value=null,window.addEventListener("timeline-auto-scroll",d),document.addEventListener("mousemove",h),document.addEventListener("mouseup",f))},d=e=>{const{scrollDelta:t}=e.detail;i.value&&(o.value-=t)},h=e=>{window.dispatchEvent(new CustomEvent("drag-boundary-check",{detail:{mouseX:e.clientX,isDragging:i.value}}));const t=e.clientX-o.value;if(Math.abs(t)>3){i.value=!0;const e=Math.max(0,a.value+t);let r;if(n.currentTimeScale===t4.MONTH||n.currentTimeScale===t4.QUARTER||n.currentTimeScale===t4.DAY||n.currentTimeScale===t4.YEAR)if(n.timelineData&&n.currentTimeScale){const t=((e,t,r)=>{var i;if(!t)return null;let o=0;if(r===t4.DAY)for(const a of t){const t=a.days||[],r=t.length*n.dayWidth;if(e>=o&&e<o+r){const r=e-o,i=Math.floor(r/n.dayWidth);if(i>=0&&i<t.length)return new Date(t[i].date)}o+=r}else if(r===t4.MONTH)for(const a of t){const t=30*n.dayWidth;if(e>=o&&e<o+t){const n=e-o,r=(null==(i=a.monthData)?void 0:i.dayCount)||30,s=t/r,l=Math.floor(n/s),c=Math.min(l+1,r);return new Date(a.year,a.month-1,c)}o+=t}else if(r===t4.QUARTER)for(const a of t){const t=a.quarters||[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate),a=90*n.dayWidth;if(e>=o&&e<o+a){const n=e-o,r=a/Math.ceil((i.getTime()-t.getTime())/864e5),s=Math.floor(n/r),l=new Date(t);return l.setDate(l.getDate()+s),l}o+=90*n.dayWidth}}else if(r===t4.YEAR)for(const a of t){const t=a.halfYears||[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate),a=182.5*n.dayWidth;if(e>=o&&e<o+a){const n=e-o,r=a/(Math.round((i.getTime()-t.getTime())/864e5)+1),s=Math.floor(n/r),l=new Date(t);return l.setDate(l.getDate()+s),l}o+=a}}return null})(e,n.timelineData,n.currentTimeScale);r=t||c(n.startDate,e/n.dayWidth)}else r=c(n.startDate,e/n.dayWidth);else r=c(n.startDate,e/n.dayWidth);s.value={startDate:u(r)}}},f=()=>{if(window.dispatchEvent(new CustomEvent("drag-boundary-check",{detail:{mouseX:0,isDragging:!1}})),i.value&&s.value&&n.milestone){const e={...n.milestone,...s.value};r("update:milestone",e),r("drag-end",e)}window.removeEventListener("timeline-auto-scroll",d),i.value=!1,s.value=null,document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)},p=e=>{if(e.preventDefault(),e.stopPropagation(),i.value||b.value.isPushedOut||!b.value.showIcon||b.value.isFullyVisible)return;const t=n.containerWidth||0,r=parseInt(m.value.left)+12;if(t>0){const e=Math.max(0,r-t/2);window.dispatchEvent(new CustomEvent("milestone-click-locate",{detail:{scrollLeft:e,smooth:!0}}))}},A=Ha(()=>!0===n.isInHighlightMode),m=Ha(()=>{var e;const t=function(e){if(!e)return null;const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}((null==(e=s.value)?void 0:e.startDate)||n.date);if(!n.startDate||!t||isNaN(t.getTime()))return{left:"0px",top:"0px",width:"auto",height:"auto"};let r=0,i=24;i=n.currentTimeScale===t4.YEAR||n.currentTimeScale===t4.QUARTER?Math.min(n.rowHeight,24):n.currentTimeScale===t4.MONTH?Math.min(n.rowHeight,20):n.currentTimeScale===t4.WEEK?Math.min(n.rowHeight,Math.max(.8*n.dayWidth,16),24):Math.min(n.rowHeight,1.2*n.dayWidth,24);return r=n.currentTimeScale===t4.HOUR?$(t,n.startDate)-12:n.timelineData&&n.currentTimeScale&&(n.currentTimeScale===t4.WEEK||n.currentTimeScale===t4.MONTH||n.currentTimeScale===t4.DAY||n.currentTimeScale===t4.QUARTER||n.currentTimeScale===t4.YEAR)?S(t,n.timelineData,n.currentTimeScale)-12:Math.floor((t.getTime()-n.startDate.getTime())/864e5)*n.dayWidth+n.dayWidth/2-12,{left:`${r}px`,top:(n.rowHeight-i)/2+"px",width:"auto",height:"auto"}}),g=Ha(()=>"var(--gantt-danger, #f56c6c)"),v=Ha(()=>"var(--gantt-danger-light, #fab6b6)"),y=Ha(()=>{var e;return(null==(e=n.milestone)?void 0:e.icon)||"diamond"}),b=Ha(()=>{const e=n.scrollLeft||0,t=n.containerWidth||0;if(!t||t<=0)return{showIcon:!0,showLabel:!0,isSticky:!1,stickyPosition:"none",iconLeft:"0px",isPushedOut:!1,clipPath:"none",isFullyVisible:!0};const r=parseInt(m.value.left)+12,i=e,o=e+t,a=r-12,s=r+12,l=n.milestoneId,c=a>=i&&s<=o,u=n.otherMilestones||[];if(s<=i+12){const e=u.filter(e=>e.id!==l&&"left"===e.stickyPosition&&e.isSticky);if(e.length>0){const t=parseInt(m.value.left)+12;if(e.some(e=>e.originalLeft>t))return{showIcon:!1,showLabel:!1,isSticky:!1,stickyPosition:"none",iconLeft:"0px",isPushedOut:!0,clipPath:"none",isFullyVisible:!1}}return{showIcon:!0,showLabel:!1,isSticky:!0,stickyPosition:"left",iconLeft:i-parseInt(m.value.left)-12+"px",isPushedOut:!1,clipPath:"polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%)",isFullyVisible:!1}}if(a>=o-12){const e=u.filter(e=>e.id!==l&&"right"===e.stickyPosition&&e.isSticky);if(e.length>0){const t=parseInt(m.value.left)+12;if(e.some(e=>e.originalLeft<t))return{showIcon:!1,showLabel:!1,isSticky:!1,stickyPosition:"none",iconLeft:"0px",isPushedOut:!0,clipPath:"none",isFullyVisible:!1}}return{showIcon:!0,showLabel:!1,isSticky:!0,stickyPosition:"right",iconLeft:o-parseInt(m.value.left)-12+"px",isPushedOut:!1,clipPath:"polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%)",isFullyVisible:!1}}return{showIcon:!0,showLabel:!0,isSticky:!1,stickyPosition:"none",iconLeft:"0px",isPushedOut:!1,clipPath:"none",isFullyVisible:c}}),w=e=>{if(!b.value.showIcon||b.value.isPushedOut)return;const t=e.currentTarget.getBoundingClientRect();let i;i=b.value.isSticky?b.value.stickyPosition:t.left+t.width/2>.6*window.innerWidth?"right":"left",r("milestone-tooltip-show",{milestone:n.milestone??{name:n.name??"",startDate:n.date,type:"milestone"},milestoneColor:g.value,targetRect:t,stickyPosition:i})},Q=()=>{r("milestone-tooltip-hide")};Qi(()=>{i.value=!1,s.value=null,document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)});const $=(e,t)=>{const r=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=new Date(t.getFullYear(),t.getMonth(),t.getDate()),o=r.getTime()-i.getTime(),a=Math.floor(o/864e5),s=n.dayWidth/24;return a*n.dayWidth+e.getHours()*s+e.getMinutes()/60*s},S=(e,t,r)=>{var i;let o=0;for(const a of t)if(r===t4.DAY){const t="days"in a&&a.days?a.days:[];for(let r=0;r<t.length;r++){const i=t[r],a=new Date(i.date);if(a.getFullYear()===e.getFullYear()&&a.getMonth()===e.getMonth()&&a.getDate()===e.getDate())return o+r*n.dayWidth+n.dayWidth/2}o+=t.length*n.dayWidth}else if(r===t4.QUARTER){const t="quarters"in a&&a.quarters?a.quarters:[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate);if(e>=t&&e<=i){const r=90*n.dayWidth/(Math.round((i.getTime()-t.getTime())/864e5)+1);return o+Math.round((e.getTime()-t.getTime())/864e5)*r+r/2}o+=90*n.dayWidth}}else if(r===t4.YEAR){const t="halfYears"in a&&a.halfYears?a.halfYears:[];for(const r of t){const t=new Date(r.startDate),i=new Date(r.endDate);if(e>=t&&e<=i){const r=182.5*n.dayWidth/(Math.round((i.getTime()-t.getTime())/864e5)+1);return o+Math.round((e.getTime()-t.getTime())/864e5)*r+r/2}o+=182.5*n.dayWidth}}else if(r===t4.WEEK){const t="weeks"in a&&a.weeks?a.weeks:[];for(const r of t){const t=new Date(r.weekStart),i=new Date(r.weekEnd);if(e>=t&&e<=i){const t=7*n.dayWidth,i=r.subDays||[],a=t/7;for(let n=0;n<i.length;n++){const t=i[n],r=new Date(t.date);if(r.getFullYear()===e.getFullYear()&&r.getMonth()===e.getMonth()&&r.getDate()===e.getDate())return o+n*a+a/2}const s=e.getDay();return o+(0===s?6:s-1)*a+a/2}o+=7*n.dayWidth}}else if(r===t4.MONTH){if(!("startDate"in a)||!("endDate"in a))continue;const t=new Date(a.startDate),r=new Date(a.endDate);if(e>=t&&e<=r){const t=30*n.dayWidth/("monthData"in a&&(null==(i=a.monthData)?void 0:i.dayCount)||30);return o+(e.getDate()-1)*t+t/2}o+=30*n.dayWidth}return o};return(e,t)=>(la(),ha("div",{class:le(["milestone",{dragging:i.value,"milestone-sticky":b.value.isSticky,"milestone-sticky-left":"left"===b.value.stickyPosition,"milestone-sticky-right":"right"===b.value.stickyPosition,"milestone-pushed-out":b.value.isPushedOut,dimmed:A.value}]),style:re(m.value),title:b.value.isSticky?"":n.name||"里程碑",onClick:Dl(p,["stop"])},[b.value.showIcon?(la(),ha("svg",{key:0,width:24,height:24,viewBox:"0 0 24 24",style:re([{position:b.value.isSticky?"relative":"static",left:b.value.isSticky?b.value.iconLeft:"0px",clipPath:b.value.clipPath,zIndex:b.value.isSticky?"var(--gantt-z-milestone-sticky)":"var(--gantt-z-milestone)"},{cursor:"pointer"}]),onMouseenter:w,onMouseleave:Q,onClick:Dl(p,["stop"]),onDblclick:Dl(l,["stop"]),onMousedown:Dl(O,["stop"])},["diamond"===y.value?(la(),ha("g",x3,[va("rect",{x:"5",y:"5",width:"14",height:"14",rx:"3",ry:"3",fill:g.value,stroke:v.value,"stroke-width":"2"},null,8,k3)])):"rocket"===y.value?(la(),ha("g",P3,t[0]||(t[0]=[va("foreignObject",{x:"0",y:"0",width:"24",height:"24"},[va("div",{class:"rocket-emoji"},"🚀")],-1)]))):(la(),ha("g",T3,[va("rect",{x:"5",y:"5",width:"14",height:"14",rx:"3",ry:"3",fill:g.value,stroke:v.value,"stroke-width":"2"},null,8,_3)]))],36)):Sa("",!0),n.name&&b.value.showLabel?(la(),ha("span",C3,Te(n.name),1)):Sa("",!0)],14,S3))}}),R3=M2(E3,[["__scopeId","data-v-900e1c9b"]]);class X3{constructor(){g2(this,"cachedCtx",null),g2(this,"cachedWidth",0),g2(this,"cachedHeight",0),g2(this,"isUniApp",!1),this.isUniApp=typeof window<"u"&&!!window.uni}get isUniAppEnvironment(){return this.isUniApp}getContext(e){const{canvas:t,canvasId:n,width:r,height:i,contextOptions:o}=e;if(!this.cachedCtx||this.cachedWidth!==r||this.cachedHeight!==i){let e=null;if(this.isUniApp&&window.uni)e=window.uni.createCanvasContext(n);else{if(!t)return null;const n=window.devicePixelRatio||1;if(e=t.getContext("2d",o||{alpha:!0}),!e)return null;const a=r*n,s=i*n;t.width=a,t.height=s,e.scale(n,n)}if(!e)return null;this.cachedCtx=e,this.cachedWidth=r,this.cachedHeight=i}return this.cachedCtx}clear(e,t){this.cachedCtx&&this.cachedCtx.clearRect(0,0,e,t)}draw(){var e;this.isUniApp&&null!=(e=this.cachedCtx)&&e.draw&&this.cachedCtx.draw()}reset(){this.cachedCtx=null,this.cachedWidth=0,this.cachedHeight=0}}const B3=Vr({__name:"GanttLinks",props:{tasks:{},taskBarPositions:{},width:{},height:{},offsetLeft:{default:0},offsetTop:{default:0},highlightedTaskId:{},highlightedTaskIds:{},hoveredTaskId:{},verticalLines:{default:()=>[]},showVerticalLines:{type:Boolean,default:!0},showLinks:{type:Boolean,default:!0},isScrolling:{type:Boolean,default:!1}},setup(e,{expose:t}){const n=e,r=sr("gantt-theme",cn("light")),i=cn(null),o=new X3;let a=null,s=!1,l=!1;const c=Ha(()=>"dark"===r.value),u=()=>{const e=o.getContext({canvas:i.value,canvasId:"gantt-link-canvas",width:n.width,height:n.height,contextOptions:{alpha:!0}});if(!e)return;const t=n.width,r=n.height;if(e.clearRect(0,0,t,r),n.showVerticalLines&&n.verticalLines&&n.verticalLines.length>0){e.save();const i=c.value?"#66b1ff":"#409eff";e.strokeStyle=i,e.lineWidth=1,e.setLineDash([4,4]),e.beginPath();for(const o of n.verticalLines){const i=o.left-n.offsetLeft;i>=0&&i<=t&&(e.moveTo(i,0),e.lineTo(i,r))}e.stroke(),e.restore()}if(!n.showLinks)return;const a=new Set;for(const i of n.tasks)a.add(i.id);const s=null!==n.highlightedTaskId,l=n.offsetLeft,u=n.offsetLeft+t,d=n.offsetTop,h=n.offsetTop+r,f=[],p=[],A=[],m=[];for(const i of n.tasks){if(!i.predecessor||!n.taskBarPositions[i.id])continue;const e=$2(i.predecessor);for(const t of e){const e=n.taskBarPositions[t],r=n.taskBarPositions[i.id];if(!e||!r||!a.has(t))continue;const o=n.highlightedTaskId===t,c=n.highlightedTaskId===i.id,O=n.highlightedTaskIds.has(t),g=n.highlightedTaskIds.has(i.id),v=O&&g,y=n.hoveredTaskId===t,b=n.hoveredTaskId===i.id,w=y||b,Q=o?-8:O?-5:0,$=c?-8:g?-5:0,S=e.left+e.width,x=e.top+e.height/2+Q,k=r.left,P=r.top+r.height/2+$,T=Math.min(S,k),_=Math.max(S,k),C=Math.min(x,P),E=Math.max(x,P);if(_<l||T>u||E<d||C>h)continue;const R=S-n.offsetLeft,X=x-n.offsetTop,B=k-n.offsetLeft,U=P-n.offsetTop,D=B-R,I=U-X,z=Math.sqrt(D*D+I*I),N=e.width,M=e.height,L=Math.abs(D)/(z+1),V=20;let q=M/2+V;q=L<.3?Math.max(M/2+25,45):L<.6?M/2+V:N/3+10;let F=0;if(Math.abs(I)>0){const e=M/2+12,t=Math.abs(I)-M,n=Math.min(.5*t,100);F=Math.max(e,n)}else F=0;const W=L<.3?.4:.8,Z=B-q,Y=U-(I>0?F:-F)*W,j={x1:R,y1:X,x2:B,y2:U,c1x:R+q,c1y:X+(I>0?F:-F)*W,c2x:Z,c2y:Y,arrowAngle:Math.atan2(U-Y,B-Z)};v?f.push(j):w?p.push(j):s?m.push(j):A.push(j)}}if(e.setLineDash([6,4]),f.length>0){e.strokeStyle="#409eff",e.fillStyle="#409eff",e.lineWidth=4,e.globalAlpha=1,e.beginPath();for(const t of f)e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.c1x,t.c1y,t.c2x,t.c2y,t.x2,t.y2);e.stroke();for(const t of f)O(e,t.x2,t.y2,t.arrowAngle)}if(p.length>0){e.strokeStyle="#67c23a",e.fillStyle="#67c23a",e.lineWidth=3,e.globalAlpha=1,e.beginPath();for(const t of p)e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.c1x,t.c1y,t.c2x,t.c2y,t.x2,t.y2);e.stroke();for(const t of p)O(e,t.x2,t.y2,t.arrowAngle)}if(A.length>0){e.strokeStyle="#c0c4cc",e.fillStyle="#c0c4cc",e.lineWidth=2,e.globalAlpha=1,e.beginPath();for(const t of A)e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.c1x,t.c1y,t.c2x,t.c2y,t.x2,t.y2);e.stroke();for(const t of A)O(e,t.x2,t.y2,t.arrowAngle)}if(m.length>0){e.strokeStyle="#c0c4cc",e.fillStyle="#c0c4cc",e.lineWidth=2,e.globalAlpha=.2,e.beginPath();for(const t of m)e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.c1x,t.c1y,t.c2x,t.c2y,t.x2,t.y2);e.stroke();for(const t of m)O(e,t.x2,t.y2,t.arrowAngle);e.globalAlpha=1}o.draw()},O=(e,t,n,r)=>{e.beginPath(),e.moveTo(t,n),e.lineTo(t-8*Math.cos(r)-4*Math.sin(r),n-8*Math.sin(r)+4*Math.cos(r)),e.lineTo(t-8*Math.cos(r)+4*Math.sin(r),n-8*Math.sin(r)-4*Math.cos(r)),e.closePath(),e.fill()},d=()=>{n.isScrolling?l=!0:s||(s=!0,null!==a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{s=!1,a=null,u()}))};return hr(()=>n.isScrolling,e=>{!e&&l&&(l=!1,d())}),hr([()=>n.taskBarPositions,()=>n.tasks,()=>n.highlightedTaskId,()=>n.highlightedTaskIds,()=>n.hoveredTaskId,()=>n.width,()=>n.height,()=>n.verticalLines,()=>n.showVerticalLines,()=>n.showLinks,()=>n.offsetLeft,()=>n.offsetTop,r],()=>{d()},{deep:!1}),vi(()=>{qn(()=>{u()})}),Qi(()=>{null!==a&&(cancelAnimationFrame(a),a=null)}),t({redraw:u}),(e,t)=>(la(),ha("canvas",{ref_key:"canvasRef",ref:i,"canvas-id":"gantt-link-canvas",class:"gantt-links-canvas",type:"2d",hidpi:!0,style:re({position:"absolute",left:`${e.offsetLeft}px`,top:`${e.offsetTop}px`,width:`${e.width}px`,height:`${e.height}px`,zIndex:null!==e.highlightedTaskId?"var(--gantt-z-canvas-hl)":"var(--gantt-z-canvas)",pointerEvents:"none"})},null,4))}}),U3=M2(B3,[["__scopeId","data-v-cc47b084"]]),D3=Vr({__name:"LinkDragGuide",props:{active:{type:Boolean},width:{},height:{},offsetLeft:{default:0},offsetTop:{default:0}},setup(e,{expose:t}){const n=e,r=cn(null),i=new X3;return hr([()=>n.width,()=>n.height],()=>{i.reset()}),hr(()=>n.active,e=>{e||i.reset()}),Qi(()=>{i.reset()}),t({draw:(e,t,o,a,s=!0,l="")=>{const c=i.getContext({canvas:r.value,canvasId:"link-drag-guide-canvas",width:n.width,height:n.height,contextOptions:{alpha:!0,willReadFrequently:!1}});if(!c)return;const u=n.width,O=n.height;c.clearRect(0,0,u,O);const d=e-n.offsetLeft,h=t-n.offsetTop,f=o-n.offsetLeft,p=a-n.offsetTop,A=100;if(!((d>=-A||f>=-A)&&(d<=u+A||f<=u+A)&&(h>=-A||p>=-A)&&(h<=O+A||p<=O+A)))return;c.save();const m=s?"#67c23a":"#f56c6c";c.strokeStyle=m,c.lineWidth=3,c.globalAlpha=.8,c.beginPath(),c.moveTo(d,h),c.lineTo(f,p),c.stroke();const g=Math.atan2(p-h,f-d);if(c.fillStyle=m,c.globalAlpha=1,c.beginPath(),c.moveTo(f,p),c.lineTo(f-8*Math.cos(g)-4*Math.sin(g),p-8*Math.sin(g)+4*Math.cos(g)),c.lineTo(f-8*Math.cos(g)+4*Math.sin(g),p-8*Math.sin(g)-4*Math.cos(g)),c.closePath(),c.fill(),!s&&l){const e=(d+f)/2,t=(h+p)/2-10;c.font="12px Arial, sans-serif";const n=c.measureText(l).width,r=8;c.fillStyle="rgba(0, 0, 0, 0.75)",c.fillRect(e-n/2-r,t-12,n+2*r,24),c.fillStyle="#ffffff",c.textAlign="center",c.textBaseline="middle",c.fillText(l,e,t)}c.restore(),i.draw()},clear:()=>{i.clear(n.width,n.height)}}),(e,t)=>e.active?(la(),ha("canvas",{key:0,ref_key:"canvasRef",ref:r,"canvas-id":"link-drag-guide-canvas",class:"link-drag-guide-canvas",type:"2d",hidpi:!0,style:re({position:"absolute",left:`${e.offsetLeft}px`,top:`${e.offsetTop}px`,width:`${e.width}px`,height:`${e.height}px`,zIndex:1002,pointerEvents:"none"})},null,4)):Sa("",!0)}}),I3=M2(D3,[["__scopeId","data-v-ad99e089"]]),z3=["width","height"],N3=Vr({__name:"GanttConflicts",props:{tasks:{},resourceId:{},dayWidth:{},startDate:{},height:{},width:{},topOffset:{},timelineData:{},currentTimeScale:{},taskRowMap:{},rowHeights:{},scrollLeft:{},containerWidth:{},renderLimit:{}},setup(e){const t=e,n=sr("isDraggingTaskBar",cn(!1)),r=sr("isSplitBarDragging",cn(!1)),i=sr("isDraggingTimeline",cn(!1)),o=sr("lastChangedTaskId",cn(null));let a=null;function s(){null!==a&&(typeof cancelIdleCallback<"u"?cancelIdleCallback(a):cancelAnimationFrame(a),a=null)}function l(e,t=500){s(),a=typeof requestIdleCallback<"u"?requestIdleCallback(()=>{a=null,e()},{timeout:t}):requestAnimationFrame(()=>{a=null,e()})}const c=cn(null),u=Ha(()=>t.containerWidth||1920),O=Ha(()=>t.height),d=cn([]),h=cn(!1),f=new Map,p=cn([]),A=cn({light:null,medium:null,severe:null}),m=Ha(()=>({position:"absolute",top:`${t.topOffset||0}px`,left:`${t.scrollLeft||0}px`,pointerEvents:"none",transition:"opacity 0.2s",zIndex:"var(--gantt-z-conflict)",backgroundColor:"transparent"}));hr(()=>t.tasks,()=>{n.value?h.value=!0:l(()=>{null!==o.value?(v(o.value),o.value=null):(A.value={light:null,medium:null,severe:null},f.clear(),y())})},{deep:!0}),hr(()=>t.renderLimit,()=>{l(y)}),hr(n,e=>{!e&&h.value&&l(()=>{null!==o.value?(v(o.value),o.value=null):(A.value={light:null,medium:null,severe:null},f.clear(),y()),h.value=!1})}),hr(r,e=>{!e&&h.value&&l(()=>{A.value={light:null,medium:null,severe:null},f.clear(),y(),h.value=!1})}),hr(i,e=>{e?(s(),k()):l(y)}),hr([u,O],()=>{r.value?h.value=!0:l(()=>{f.clear(),y()})}),hr([()=>t.timelineData,()=>t.currentTimeScale],()=>{f.clear(),A.value={light:null,medium:null,severe:null},l(y)},{deep:!0});let g=null;function v(e){const n=t.tasks.find(t=>t.id===e);if(!n)return void y();const r=t.tasks.filter(e=>{const t=e.startDate?new Date(e.startDate):null;if(!t)return!1;const r=e.endDate?new Date(e.endDate):null;if(!r)return!1;const i=n.startDate?new Date(n.startDate):null;if(!i)return!1;const o=n.endDate?new Date(n.endDate):null;return!!o&&!(r<i||t>o)}),i=x2(r,t.resourceId,t.currentTimeScale),o=new Set(r.map(e=>e.id)),a=[...p.value.filter(e=>!e.tasks.some(e=>o.has(Number(e.id)))).map(e=>({startDate:e.startDate,endDate:e.endDate,tasks:e.tasks,totalPercent:e.totalPercent,level:e.level})),...i];d.value=a.map(e=>{const n=`${e.startDate.getTime()}-${e.endDate.getTime()}`;let r,i;if(f.has(n)){const e=f.get(n);r=e.left,i=e.width}else{const t=b(e.startDate,e.endDate);r=t.left,i=t.width,f.set(n,{left:r,width:i})}const o=t.scrollLeft||0,a=t.containerWidth||1920,s=r-o,l=s+i;if(l<=0||s>=a)return null;const c=Math.max(0,s),u=Math.min(a,l)-c;let O=0,d=t.height;if(t.taskRowMap&&t.rowHeights&&e.tasks.length>0){const n=[];for(const r of e.tasks){const e=t.taskRowMap.get(r.id);void 0!==e&&n.push(e)}if(n.length>0){const e=Math.min(...n),r=Math.max(...n);O=0;for(let n=0;n<e;n++)O+=t.rowHeights[n]||51;d=0;for(let n=e;n<=r;n++)d+=t.rowHeights[n]||51;d=Math.max(1,d-10)}}return{...e,left:c,width:u,top:O,height:d}}).filter(e=>null!==e),$()}function y(){const e=x2(void 0!==t.renderLimit&&t.renderLimit>0?t.tasks.slice(0,t.renderLimit):t.tasks,t.resourceId,t.currentTimeScale);d.value=e.map(e=>{const n=`${e.startDate.getTime()}-${e.endDate.getTime()}`;let r,i;if(f.has(n)){const e=f.get(n);r=e.left,i=e.width}else{const t=b(e.startDate,e.endDate);r=t.left,i=t.width,f.set(n,{left:r,width:i})}const o=t.scrollLeft||0,a=t.containerWidth||1920,s=r-o,l=s+i;if(l<=0||s>=a)return null;const c=Math.max(0,s),u=Math.min(a,l)-c;let O=0,d=t.height;if(t.taskRowMap&&t.rowHeights&&e.tasks.length>0){const n=[];for(const r of e.tasks){const e=t.taskRowMap.get(r.id);void 0!==e&&n.push(e)}if(n.length>0){const e=Math.min(...n),r=Math.max(...n);O=0;for(let n=0;n<e;n++)O+=t.rowHeights[n]||51;d=0;for(let n=e;n<=r;n++)d+=t.rowHeights[n]||51;d=Math.max(1,d-10)}}return{...e,left:c,width:u,top:O,height:d}}).filter(e=>null!==e),A.value.light||A.value.medium||A.value.severe?$():x()}function b(e,n){let r=0,i=0;if(t.currentTimeScale===t4.HOUR){const o=new Date(t.startDate);o.setHours(0,0,0,0);const a=Math.floor((e.getTime()-o.getTime())/6e4),s=Math.floor((n.getTime()-o.getTime())/6e4),l=n4.hour.cellWidth/60;return r=Math.max(0,a*l),i=Math.max(4,(s-a)*l),{left:r,width:i}}const o=new Date(e.getFullYear(),e.getMonth(),e.getDate()),a=new Date(n.getFullYear(),n.getMonth(),n.getDate());if(t.timelineData&&t.currentTimeScale&&(t.currentTimeScale===t4.WEEK||t.currentTimeScale===t4.MONTH||t.currentTimeScale===t4.QUARTER||t.currentTimeScale===t4.YEAR)){const e=Q(o,t.timelineData,t.currentTimeScale),n=new Date(a);n.setDate(n.getDate()+1);let s=Q(n,t.timelineData,t.currentTimeScale);s===e&&(s=Q(a,t.timelineData,t.currentTimeScale)+t.dayWidth),r=e,i=Math.max(s-e,4)}else if(t.timelineData&&t.currentTimeScale===t4.DAY){const e=Q(o,t.timelineData,t.currentTimeScale),n=new Date(a);n.setDate(n.getDate()+1);let s=Q(n,t.timelineData,t.currentTimeScale);s===e&&(s=Q(a,t.timelineData,t.currentTimeScale)+t.dayWidth),r=e,i=Math.max(s-e,4)}else{const e=Math.floor((o.getTime()-t.startDate.getTime())/864e5),n=a.getTime()-o.getTime(),s=Math.round(n/864e5),l=0===s?1:s+1;r=e*t.dayWidth,i=l*t.dayWidth}return{left:Math.max(0,r),width:Math.max(4,i)}}function w(e){if("string"==typeof e){if(/^\d{4}-\d{2}-\d{2}$/.test(e)){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}if(/^\d{4}-\d{2}-\d{2}T/.test(e)){const t=new Date(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate())}}if(e instanceof Date)return new Date(e.getFullYear(),e.getMonth(),e.getDate());const t=new Date(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate())}function Q(e,n,r){var i;let o=0;for(const a of n)if(r===t4.DAY){const n=a.days||[];for(let r=0;r<n.length;r++){const i=w(n[r].date);if(i.getFullYear()===e.getFullYear()&&i.getMonth()===e.getMonth()&&i.getDate()===e.getDate())return o+r*t.dayWidth}o+=n.length*t.dayWidth}else if(r===t4.QUARTER){const n=a.quarters||[];for(const r of n){const n=w(r.startDate),i=w(r.endDate);if(e>=n&&e<=i){const r=90*t.dayWidth/Math.ceil((i.getTime()-n.getTime())/864e5);return o+Math.ceil((e.getTime()-n.getTime())/864e5)*r}o+=90*t.dayWidth}}else if(r===t4.WEEK){const n=a.weeks||[];for(const r of n){const n=w(r.weekStart),i=w(r.weekEnd);if(e>=n&&e<=i){const r=7*t.dayWidth/(Math.ceil((i.getTime()-n.getTime())/864e5)+1);return o+Math.ceil((e.getTime()-n.getTime())/864e5)*r}o+=7*t.dayWidth}}else if(r===t4.MONTH){const n=new Date(a.year,a.month-1,1),r=new Date(a.year,a.month,0);if(e>=n&&e<=r){const n=30*t.dayWidth/((null==(i=a.monthData)?void 0:i.dayCount)||30);return o+(e.getDate()-1)*n}o+=30*t.dayWidth}else if(r===t4.YEAR){const n=a.halfYears||[];for(const r of n){const n=w(r.startDate),i=w(r.endDate);if(e>=n&&e<=i){const r=182.5*t.dayWidth/(Math.ceil((i.getTime()-n.getTime())/864e5)+1);return o+Math.ceil((e.getTime()-n.getTime())/864e5)*r}o+=182.5*t.dayWidth}}return o}function $(){const e=c.value;if(!e)return;const t=e.getContext("2d");if(!t)return;const{added:n,removed:r,changed:i}=function(e,t){const n=[],r=[],i=[],o=new Map(e.map(e=>[`${e.startDate.getTime()}-${e.endDate.getTime()}`,e])),a=new Map(t.map(e=>[`${e.startDate.getTime()}-${e.endDate.getTime()}`,e]));for(const[s,l]of a){const e=o.get(s);e?(e.totalPercent!==l.totalPercent||e.level!==l.level||e.tasks.length!==l.tasks.length)&&i.push(l):n.push(l)}for(const[s,l]of o)a.has(s)||r.push(l);return{added:n,removed:r,changed:i}}(p.value,d.value),o=d.value.length,a=n.length+r.length+i.length;if(0===o||a>.5*o)return x(),void(p.value=[...d.value]);for(const s of r)void 0!==s.left&&void 0!==s.width&&t.clearRect(s.left-2,0,s.width+4,e.height);for(const s of n)S(t,s);for(const s of i)void 0!==s.left&&void 0!==s.width&&(t.clearRect(s.left-2,0,s.width+4,e.height),S(t,s));p.value=[...d.value]}function S(e,n){if(void 0===n.left||void 0===n.width||n.width<=0)return;const r=c.value;!r||n.left+n.width<0||n.left>r.width||(function(e,n){const{left:r=0,width:i=0,top:o=0,height:a=t.height}=n;let s,l;switch(n.level){case"light":s="rgba(255,220,0,",l=.12;break;case"medium":s="rgba(255,165,0,",l=.15;break;case"severe":s="rgba(255,69,0,",l=.18}e.save(),e.fillStyle=function(e,t){if(A.value[t])return A.value[t];const n=document.createElement("canvas");n.width=10,n.height=10;const r=n.getContext("2d");if(!r)return null;let i;switch(t){case"light":i="rgba(255,220,0,0.25)";break;case"medium":i="rgba(255,165,0,0.3)";break;case"severe":i="rgba(255,69,0,0.35)"}r.strokeStyle=i,r.lineWidth=1,r.beginPath(),r.moveTo(0,10),r.lineTo(10,0),r.stroke();const o=e.createPattern(n,"repeat");return A.value[t]=o,o}(e,n.level)||`${s}${l})`,e.fillRect(r,o,i,a),e.restore()}(e,n),function(e,n){const{left:r=0,width:i=0,top:o=0,height:a=t.height}=n;e.save(),e.strokeStyle="#f56c6c",e.lineWidth=2,e.beginPath(),e.moveTo(r,o),e.lineTo(r,o+a),e.stroke(),e.beginPath(),e.moveTo(r+i,o),e.lineTo(r+i,o+a),e.stroke(),e.restore()}(e,n),function(e,t){const{left:n=0,top:r=0}=t,i=16,o=4,a=n+o,s=r+o;e.save(),e.fillStyle="#faad14",e.beginPath(),e.moveTo(a+i/2,s),e.lineTo(a,s+i),e.lineTo(a+i,s+i),e.closePath(),e.fill(),e.fillStyle="#fff",e.font="bold 12px Arial",e.textAlign="center",e.textBaseline="middle",e.fillText("!",a+i/2,s+.6*i),e.restore()}(e,n))}function x(){const e=c.value;if(!e)return;const t=e.getContext("2d");if(t){t.clearRect(0,0,e.width,e.height);for(const e of d.value)S(t,e);p.value=[...d.value]}}function k(){const e=c.value;if(!e)return;const t=e.getContext("2d");t&&(t.clearRect(0,0,e.width,e.height),p.value=[])}return hr(()=>t.scrollLeft,()=>{g&&clearTimeout(g),k(),g=setTimeout(()=>{y(),g=null},50)}),vi(()=>{l(y)}),Qi(()=>{g&&clearTimeout(g),s(),f.clear(),A.value={light:null,medium:null,severe:null}}),(e,t)=>(la(),ha("canvas",{ref_key:"canvasRef",ref:c,class:"gantt-conflicts-canvas",width:u.value,height:O.value,style:re(m.value)},null,12,z3))}}),M3=M2(N3,[["__scopeId","data-v-beb5d846"]]);performance.now();const L3=new class{constructor(){g2(this,"marks",new Map),g2(this,"measures",[])}start(e){this.marks.set(e,performance.now())}end(e){const t=this.marks.get(e);if(!t)return 0;const n=performance.now()-t;return this.measures.push({name:e,duration:n,timestamp:Date.now()}),this.marks.delete(e),n}checkpoint(e){this.marks.get(e)}getRecentMeasures(e=10){return this.measures.slice(-e).map(e=>({name:e.name,duration:e.duration}))}clear(){this.marks.clear(),this.measures=[]}report(){const e=new Map;this.measures.forEach(t=>{e.has(t.name)||e.set(t.name,{count:0,total:0,avg:0,max:0});const n=e.get(t.name);n.count++,n.total+=t.duration,n.max=Math.max(n.max,t.duration)}),e.forEach(e=>{e.avg=e.total/e.count});Array.from(e.entries()).sort((e,t)=>t[1].avg-e[1].avg)}};typeof window<"u"&&(window.perfMonitor2=L3);const V3=new class{constructor(){g2(this,"cache",new Map),g2(this,"timelineDataHash","")}getCacheKey(e,t){return`${t}-${e.getFullYear()}-${e.getMonth()}-${e.getDate()}`}computeHash(e,t,n){var r;if(0===e.length)return"";const i=e[0],o=e[e.length-1];let a,s;if("date"in i)a=i.date;else{if(!("startDate"in i))return"";a=i.startDate}if("date"in o)s=o.date;else{if(!("endDate"in o))return"";s=o.endDate}const l=(null==n?void 0:n[t])??(null==(r=n4[t])?void 0:r.cellWidth)??0;return`${t}-${a.getTime()}-${s.getTime()}-${e.length}-cw${l}`}buildCache(e,t,n){var r;const i=this.computeHash(e,t,n);if(i===this.timelineDataHash&&this.cache.size>0)return;this.cache.clear(),this.timelineDataHash=i;const o=e=>{var t;return(null==n?void 0:n[e])??(null==(t=n4[e])?void 0:t.cellWidth)??60};let a=0;for(const s of e)if(t===t4.HOUR){const e=s.hours||[],n=o("hour");for(let r=0;r<e.length;r++){const i=e[r],o=i.date?new Date(i.date):new Date,s=this.getCacheKey(o,t),l=a+r*n;this.cache.set(s,l)}a+=e.length*n}else if(t===t4.DAY){const e=s.days||[],n=o("day");for(let r=0;r<e.length;r++){const i=e[r],o=new Date(i.date),s=this.getCacheKey(o,t),l=a+r*n;this.cache.set(s,l)}a+=e.length*n}else if(t===t4.WEEK){const e=s.weeks||[],n=o("week"),r=n/7;for(const i of e){const e=i.subDays||[];for(let n=0;n<e.length;n++){const i=e[n],o=new Date(i.date),s=this.getCacheKey(o,t),l=a+n*r;this.cache.set(s,l)}a+=n}}else if(t===t4.MONTH){const e=new Date(s.startDate),n=new Date(s.endDate),i=(null==(r=s.monthData)?void 0:r.dayCount)||30,l=o("month"),c=l/i;for(let r=1;r<=i;r++){const i=new Date(e.getFullYear(),e.getMonth(),r);if(i<=n){const e=this.getCacheKey(i,t),n=a+(r-1)*c;this.cache.set(e,n)}}a+=l}else if(t===t4.QUARTER){const e=s.quarters||[],n=o("quarter");for(const r of e){const e=new Date(r.startDate),i=new Date(r.endDate),o=Math.round((i.getTime()-e.getTime())/864e5)+1,s=n/o;for(let n=0;n<o;n++){const r=new Date(e);if(r.setDate(e.getDate()+n),r<=i){const e=this.getCacheKey(r,t),i=a+n*s;this.cache.set(e,i)}}a+=n}}else if(t===t4.YEAR){const e=s.halfYears||[],n=o("year");for(const r of e){const e=new Date(r.startDate),i=new Date(r.endDate),o=n,s=Math.round((i.getTime()-e.getTime())/864e5)+1,l=o/s;for(let n=0;n<s;n++){const r=new Date(e);if(r.setDate(e.getDate()+n),r<=i){const e=this.getCacheKey(r,t),i=a+n*l;this.cache.set(e,i)}}a+=n}}}getPosition(e,t){const n=this.getCacheKey(e,t),r=this.cache.get(n);return void 0===r?null:r}clear(){this.cache.clear(),this.timelineDataHash=""}getStats(){return{size:this.cache.size,hash:this.timelineDataHash}}};function q3(e){if(!e)return null;if(e instanceof Date)return e;if("string"==typeof e){if(/^\d{4}-\d{2}-\d{2}$/.test(e)){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}if(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/.test(e)){const[t,n]=e.split(" "),[r,i,o]=t.split("-").map(Number),[a,s]=n.split(":").map(Number);return new Date(r,i-1,o,a,s)}}const t=new Date(e);return isNaN(t.getTime())?null:t}function F3(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function W3(e,t,n,r,i,o,a=51){const s=a-10,l=t*a+Math.floor((a-s-4)/2);if(n===t4.HOUR){if(!o)return null;const t=q3(e.startDate||e.endDate),n=q3(e.endDate||e.startDate);if(!t||!n)return null;const r=new Date(o);r.setHours(0,0,0,0);const a=e.startDate,c=e.endDate;let u=t,O=n;"string"==typeof a&&/^\d{4}-\d{2}-\d{2}$/.test(a)&&(u=new Date(t),u.setHours(0,0,0,0)),"string"==typeof c&&/^\d{4}-\d{2}-\d{2}$/.test(c)&&(O=new Date(n),O.setDate(O.getDate()+1),O.setHours(0,0,0,0));const d=(u.getTime()-r.getTime())/6e4,h=(O.getTime()-r.getTime())/6e4,f=function(e){return e/1440}(i);return{left:Math.max(0,d*f),top:l,width:Math.max(4,(h-d)*f),height:s}}const c=q3(e.startDate||e.endDate),u=q3(e.endDate||e.startDate);if(!c||!u)return null;const O=F3(c),d=F3(u),h=r?r.getPosition(O,n):null;if(null===h)return null;const f=new Date(d);f.setDate(f.getDate()+1);const p=r?r.getPosition(f,n):null;let A;if(null!==p)A=Math.max(4,p-h);else{const e=r?r.getPosition(d,n):null;A=null!==e?Math.max(4,e-h+i):Math.max(4,(Math.max(0,Math.round((d.getTime()-c.getTime())/864e5))+1)*i)}return{left:h,top:l,width:A,height:s}}const Z3={class:"timeline-header"},Y3={class:"timeline-header-row year-row"},j3={class:"year-label"},G3={class:"timeline-header-row half-years-row"},H3={class:"half-year-label"},K3={class:"timeline-header-row year-row"},J3={class:"year-label"},e6={class:"timeline-header-row months-row"},t6={class:"month-label"},n6={class:"timeline-header-row year-row"},r6={class:"year-label"},i6={class:"timeline-header-row quarters-row"},o6={class:"quarter-label"},a6={class:"timeline-header-row date-row"},s6={class:"date-label"},l6={class:"timeline-header-row hours-row"},c6={class:"hour-label"},u6={class:"timeline-header-row year-month-row"},O6={class:"year-month-label"},d6={class:"flag-content"},h6={class:"timeline-header-row days-row"},f6={class:"week-label"},p6={class:"day-label"},A6={class:"quarter-hour-lines"},m6=["onMouseenter"],g6=["onMouseenter"],v6={key:1,class:"hover-tooltip-content"},y6={class:"hover-tooltip-title"},b6={class:"hover-tooltip-row"},w6={class:"hover-tooltip-label"},Q6={class:"hover-tooltip-value"},$6={class:"hover-tooltip-row"},S6={class:"hover-tooltip-label"},x6={class:"hover-tooltip-value"},k6={class:"hover-tooltip-row"},P6={class:"hover-tooltip-label"},T6={class:"hover-tooltip-value"},_6={class:"hover-tooltip-row"},C6={class:"hover-tooltip-label"},E6={class:"hover-tooltip-value"},R6={class:"hover-tooltip-row hover-tooltip-overflow-warning"},X6={class:"hover-tooltip-label"},B6={class:"hover-tooltip-row"},U6={class:"hover-tooltip-label"},D6={class:"hover-tooltip-value"},I6={class:"hover-tooltip-row"},z6={class:"hover-tooltip-label"},N6={class:"hover-tooltip-value"},M6={class:"hover-tooltip-row"},L6={class:"hover-tooltip-label"},V6={class:"hover-tooltip-value"},q6={class:"hover-tooltip-row"},F6={class:"hover-tooltip-label"},W6={class:"hover-tooltip-value"},Z6={key:1,class:"milestone-sticky-tooltip-content"},Y6=Vr({__name:"Timeline",props:{tasks:{default:()=>[]},milestones:{default:()=>[]},startDate:{},endDate:{},useDefaultDrawer:{type:Boolean,default:!0},useDefaultMilestoneDialog:{type:Boolean,default:!0},onTaskDelete:{type:Function,default:void 0},onTaskUpdate:{type:Function,default:void 0},onMilestoneDelete:{type:Function,default:void 0},onMilestoneUpdate:{type:Function,default:void 0},onMilestoneSave:{type:Function,default:void 0},workingHours:{default:()=>({morning:{start:8,end:11},afternoon:{start:13,end:17}})},taskBarConfig:{default:void 0},allowDragAndResize:{type:Boolean,default:!0},showActualTaskbar:{type:Boolean,default:!1},enableTaskBarTooltip:{type:Boolean,default:!0},enableMilestoneTooltip:{type:Boolean,default:!0},pendingTaskBackgroundColor:{default:void 0},delayTaskBackgroundColor:{default:void 0},completeTaskBackgroundColor:{default:void 0},ongoingTaskBackgroundColor:{default:void 0},scaleConfigs:{default:void 0},enableParentTaskAutoSchedule:{type:Boolean,default:!0}},emits:["timeline-scale-changed","click-task","edit-task","milestone-double-click","start-timer","stop-timer","add-predecessor","add-successor","predecessor-added","successor-added","delete","link-deleted","resource-drag-end"],setup(e,{expose:t,emit:n}){const r=e,i=n,{formatYearMonth:o,formatMonth:a,getTranslation:s}=w2(),l=e=>s(e),{viewMode:c,dataSource:u}=Q2(),O=sr("resourceConflicts",Ha(()=>new Map)),d=cn(0),h=(e,t)=>{if("resource"!==c.value)return[];const n=O.value.get(String(e));if(!n||!n.has(Number(t)))return[];const r=u.value.find(t=>String(t.id)===String(e));if(!r||!r.tasks)return[];const i=r.tasks.find(e=>e.id===t);if(!i||!i.startDate||!i.endDate)return[];const o=new Date(i.startDate).getTime(),a=new Date(i.endDate).getTime()+864e5;return r.tasks.filter(e=>{if(e.id===t||!e.startDate||!e.endDate||!n.has(e.id))return!1;const r=new Date(e.startDate).getTime(),i=new Date(e.endDate).getTime()+864e5;return o<i&&r<a})},f=cn(!1);ar("isDraggingTaskBar",f);const p=cn(null);ar("lastChangedTaskId",p),ar("positionCache",V3);const A=sr("isSplitBarDragging",cn(!1)),m=sr("isTaskListToggling",cn(!1)),g=sr("gantt-show-conflicts",Ha(()=>!0)),v=sr("gantt-row-height",Ha(()=>51)),y=cn(0);let b=!1;const w=cn(!1);let Q=null;const $=cn(0),S=sr("resourceTaskLayouts",Ha(()=>new Map)),x=sr("resourceRowPositions",Ha(()=>new Map)),k=sr("gantt-task-list-width",cn(0)),P=Yt({visible:!1,task:null,taskStatus:{color:"#409eff",label:""},resourcePercent:100,hasResourceConflict:!1,parentAutoSchedule:void 0,placement:"above",position:{left:0,top:0},arrowOffset:0}),T=e=>e?String(e).substring(0,10):l("dateNotSet"),_=e=>{if(!e)return l("dateNotSet");return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`},C=e=>{var t;if(!1===r.enableTaskBarTooltip)return;const{task:n,taskStatus:i,resourcePercent:o,hasResourceConflict:a,targetRect:s}=e;P.task=n,P.taskStatus=i,P.resourcePercent=o,P.hasResourceConflict=a,P.parentAutoSchedule=e.parentAutoSchedule;const l=250,u=((e,t)=>{let n=4;return"resource"===c.value&&e<100&&(n+=1),t&&(n+=1),52+22*n})(o,a),O=null==(t=F.value)?void 0:t.getBoundingClientRect(),d=O?O.left:k.value,h=O?O.right:window.innerWidth,f=window.innerHeight,p=s.left+s.width/2,A=s.top+s.height/2,m=p>h-60;let g,v,y,b;if(p<d+60)b="right",g=s.right+15,v=Math.max(7+u/2,Math.min(f-7-u/2,A)),y=Math.max(10,Math.min(u-10,A-v+u/2));else if(m)b="left",g=s.left-l-15,v=Math.max(7+u/2,Math.min(f-7-u/2,A)),y=Math.max(10,Math.min(u-10,A-v+u/2));else{g=Math.max(d+7,Math.min(h-l-7,p-125)),y=Math.max(10,Math.min(240,p-g));const e=s.top-7,t=f-s.bottom-7;e>=u+15||e>=t?(b="above",v=s.top-15):(b="below",v=s.bottom+15)}P.placement=b,P.position={left:g,top:v},P.arrowOffset=y,P.visible=!0},E=()=>{P.visible=!1},R=Yt({visible:!1,milestone:null,milestoneColor:"#f56c6c",position:{x:0,y:0},arrowDirection:"left",arrowOffsetY:0}),X=e=>{if(!1===r.enableMilestoneTooltip)return;const{milestone:t,milestoneColor:n,targetRect:i,stickyPosition:o}=e;R.milestone=t,R.milestoneColor=n;const a=window.innerWidth,s=window.innerHeight;let l,c;"left"===o?(l=i.right+8,c="left"):(l=i.left-220-8-40,c="right"),l=Math.max(8,Math.min(a-220-8,l));const u=i.top+i.height/2;let O=u-17;O=Math.max(8,Math.min(s-34-8,O));const d=Math.max(10,Math.min(24,u-O));R.position={x:l,y:O},R.arrowDirection=c,R.arrowOffsetY=d,R.visible=!0},B=()=>{R.visible=!1},U=(()=>{const e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-6,1),endDate:new Date(e.getFullYear(),e.getMonth()+6+1,0)}})(),D=()=>U,I=Ha(()=>r.startDate?new Date(r.startDate):D().startDate),z=Ha(()=>r.endDate?new Date(r.endDate):D().endDate),N=cn({startDate:I.value,endDate:z.value,zoomLevel:1}),M=cn(t4.DAY);hr([I,z],([e,t])=>{"resource"!==c.value&&(r.startDate||r.endDate)&&(On||(N.value.startDate=e,N.value.endDate=t))});const L=[],V=Ha(()=>"resource"===c.value?u.value||[]:r.tasks??L),q=cn(null),F=cn(null),W=Ha(()=>r.scaleConfigs??n4);function Z(e){if(null==e)return null;const t=Math.ceil(e);return t<0?null:Math.max(1,t)}function Y(e,t){if(e.includes("|")){const n=e.split("|");return t.getMonth()<6?n[0]:n[1]??n[0]}const n=t.getFullYear().toString(),r=String(t.getMonth()+1).padStart(2,"0"),i=String(t.getMonth()+1),o=String(t.getDate()).padStart(2,"0"),a=String(t.getDate()),s=String(t.getHours()).padStart(2,"0"),l=String(t.getMinutes()).padStart(2,"0"),c=String(Math.ceil((t.getMonth()+1)/3)),u=function(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=t.getUTCDay()||7;t.setUTCDate(t.getUTCDate()+4-n);const r=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t.getTime()-r.getTime())/864e5+1)/7)}(t).toString();return e.replace("yyyy",n).replace("MM",r).replace("dd",o).replace("HH",s).replace("mm",l).replace("M",i).replace("d",a).replace("Q",c).replace("W",u)}function j(e,t){var n,r;const i=null==(n=W.value[e])?void 0:n.formatters,o=null==(r=n4[e])?void 0:r.formatters;return!(!i||!o)&&("primary"===t?i.primary!==o.primary:(i.secondary??"")!==(o.secondary??""))}const G=Ha(()=>M.value===t4.HOUR?24*W.value.hour.cellWidth:M.value===t4.WEEK?W.value.week.cellWidth/7:M.value===t4.MONTH?W.value.month.cellWidth/30:M.value===t4.QUARTER?W.value.quarter.cellWidth/90:M.value===t4.YEAR?2*W.value.year.cellWidth/365:W.value.day.cellWidth);let H=null;const K=()=>{H=null},J=()=>H||(H=(()=>{if(!V.value||0===V.value.length)return null;const e=[],t=n=>{if(n.startDate&&e.push(new Date(n.startDate)),n.endDate&&e.push(new Date(n.endDate)),n.children&&n.children.length>0)for(const e of n.children)t(e)};if("resource"===c.value){for(const i of V.value)if(i.tasks&&Array.isArray(i.tasks))for(const e of i.tasks)t(e)}else for(const i of V.value)t(i);if(0===e.length)return null;let n=1/0,r=-1/0;for(const i of e){const e=i.getTime();isNaN(e)||(e<n&&(n=e),e>r&&(r=e))}return n===1/0||r===-1/0?null:{minDate:new Date(n),maxDate:new Date(r)}})(),H),ee=()=>{const e=J(),t=Je.value||1200,n=W.value.hour.cellWidth,r=W.value.hour,i=Z(r.preBuffer),o=Z(r.sufBuffer);if(!e){const e=new Date;e.setHours(0,0,0,0);const t=new Date(e);t.setDate(t.getDate()-1);const n=new Date(e);return n.setDate(n.getDate()+1),n.setHours(23,59,59,999),{startDate:t,endDate:n}}const{minDate:a,maxDate:s}=e,l=new Date(a);l.setHours(0,0,0,0);const c=new Date(l);null!==i?c.setDate(c.getDate()-i):c.setDate(c.getDate()-1);const u=new Date(s);u.setHours(23,59,59,999);const O=new Date(u);null!==o?O.setDate(O.getDate()+o):O.setDate(O.getDate()+1);const d=Math.ceil((O.getTime()-c.getTime())/36e5);if(d*n<t){const e=Math.ceil(t/n),r=Math.ceil((e-d)/2),i=Math.ceil(r/24);c.setDate(c.getDate()-i),O.setDate(O.getDate()+i)}return{startDate:c,endDate:O}},te=()=>{const e=J(),t=Je.value||1200,n=W.value.day.cellWidth,r=W.value.day,i=Z(r.preBuffer),o=Z(r.sufBuffer);if(!e){const e=new Date,r=Math.max(Math.ceil(t/n),60),i=new Date(e);i.setDate(i.getDate()-Math.floor(r/2));const o=new Date(e);return o.setDate(o.getDate()+Math.ceil(r/2)),{startDate:i,endDate:o}}const{minDate:a,maxDate:s}=e;let l,c;l=null!==i?new Date(a.getFullYear(),a.getMonth()-i,1):new Date(a.getFullYear(),a.getMonth()-1,1),null!==o?c=new Date(s.getFullYear(),s.getMonth()+o+1,0):(c=new Date(s),c.setDate(c.getDate()+30));const u=Math.ceil((c.getTime()-l.getTime())/864e5);if(u*n<t){const e=Math.ceil(t/n),r=Math.ceil((e-u)/2),i=new Date(l);i.setDate(i.getDate()-r),l=i;const o=new Date(c);o.setDate(o.getDate()+r),c=o}return{startDate:l,endDate:c}},ne=()=>{const e=J(),t=Je.value||1200,n=W.value.week.cellWidth,r=W.value.week,i=Z(r.preBuffer),o=Z(r.sufBuffer);if(!e){const e=new Date,r=Math.max(Math.ceil(t/n),20),i=new Date(e);i.setDate(i.getDate()-7*Math.floor(r/2));const o=new Date(e);return o.setDate(o.getDate()+7*Math.ceil(r/2)),{startDate:i,endDate:o}}const{minDate:a,maxDate:s}=e;function l(e){const t=new Date(e),n=t.getDay()||7;return t.setDate(t.getDate()-(n-1)),t}function c(e,t){const n=[],r=function(e,t){let n=1;for(;n<=31;){const r=new Date(e,t,n);if(r.getMonth()!==t)break;const i=l(r);if(i.getMonth()===t)return i;n++}return new Date(e,t,1)}(e,t),i=function(e,t){for(let n=new Date(e,t+1,0).getDate();n>=1;n--){const r=l(new Date(e,t,n));if(r.getMonth()===t)return r}return new Date(e,t,1)}(e,t),o=new Date(r);for(;o<=i;)n.push(new Date(o)),o.setDate(o.getDate()+7);return n}const u=l(a),O=u.getFullYear(),d=u.getMonth(),h=c(0===d?O-1:O,0===d?11:d-1),f=l(s),p=f.getFullYear(),A=f.getMonth(),m=c(11===A?p+1:p,11===A?0:A+1);let g,v;if(null!==i){g=[];for(let e=i;e>=1;e--){const t=new Date(a.getFullYear(),a.getMonth()-e,1);g.push(...c(t.getFullYear(),t.getMonth()))}}else g=h;if(null!==o){v=[];for(let e=1;e<=o;e++){const t=new Date(s.getFullYear(),s.getMonth()+e,1);v.push(...c(t.getFullYear(),t.getMonth()))}}else v=m;let y=[];y.push(...g);let b=O,w=d;for(;b<p||b===p&&w<=A;){const e=c(b,w);y.push(...e),w++,w>11&&(w=0,b++)}y.push(...v);let Q=y.length*n;for(;Q<t;){const e=y[0],r=e.getFullYear(),i=e.getMonth();if(y=[...c(0===i?r-1:r,0===i?11:i-1),...y],Q=y.length*n,Q>=t)break;const o=y[y.length-1],a=o.getFullYear(),s=o.getMonth(),l=c(11===s?a+1:a,11===s?0:s+1);y=[...y,...l],Q=y.length*n}const $=new Date(y[0]),S=new Date(y[y.length-1]);return S.setDate(S.getDate()+6),{startDate:$,endDate:S}},ie=()=>{const e=J(),t=W.value.month,n=Z(t.preBuffer),r=Z(t.sufBuffer);if(!e){const e=new Date;return{startDate:new Date(e.getFullYear()-1,0,1),endDate:new Date(e.getFullYear()+1,11,31)}}const{minDate:i,maxDate:o}=e,a=Je.value||1200;let s,l;s=null!==n?new Date(i.getFullYear()-n,0,1):new Date(i.getFullYear()-1,0,1),l=null!==r?new Date(o.getFullYear()+r,11,31):new Date(o.getFullYear()+1,11,31);const c=12*(l.getFullYear()-s.getFullYear())+(l.getMonth()-s.getMonth()),u=W.value.month.cellWidth;if(c*u<a){const e=Math.ceil(a/u),t=Math.ceil((e-c)/2),n=new Date(s);n.setMonth(n.getMonth()-t),s=new Date(n.getFullYear(),n.getMonth(),1);const r=new Date(l);r.setMonth(r.getMonth()+t),l=new Date(r.getFullYear(),r.getMonth()+1,0)}return{startDate:s,endDate:l}},oe=()=>{const e=J();if(!e){const e=new Date,t=Je.value||1200;let n=3;if(M.value===t4.QUARTER){const e=4*W.value.quarter.cellWidth;n=Math.max(Math.ceil(t/e)+1,5)}else if(M.value===t4.YEAR){const e=2*W.value.year.cellWidth;n=Math.max(Math.ceil(t/e)+1,5)}const r=e.getFullYear()-Math.floor(n/2),i=r+n-1;return{startDate:new Date(r,0,1),endDate:new Date(i,11,31)}}const{minDate:t,maxDate:n}=e,r=Je.value||1200;if(M.value===t4.QUARTER){const e=W.value.quarter,i=Z(e.preBuffer),o=Z(e.sufBuffer),a=4*W.value.quarter.cellWidth;let s,l;s=null!==i?new Date(t.getFullYear()-i,0,1):new Date(t.getFullYear()-1,0,1),l=null!==o?new Date(n.getFullYear()+o,11,31):new Date(n.getFullYear()+1,11,31);const c=l.getFullYear()-s.getFullYear()+1;if(c*a<r){const e=Math.ceil(r/a),t=Math.ceil((e-c)/2);s=new Date(s.getFullYear()-t,0,1),l=new Date(l.getFullYear()+t,11,31)}return{startDate:s,endDate:l}}if(M.value===t4.YEAR){const e=W.value.year,i=Z(e.preBuffer),o=Z(e.sufBuffer),a=2*W.value.year.cellWidth;let s,l;s=null!==i?new Date(t.getFullYear()-i,0,1):new Date(t.getFullYear()-1,0,1),l=null!==o?new Date(n.getFullYear()+o,11,31):new Date(n.getFullYear()+1,11,31);const c=l.getFullYear()-s.getFullYear()+1;if(c*a<r){const e=Math.ceil(r/a),t=Math.ceil((e-c)/2);s=new Date(s.getFullYear()-t,0,1),l=new Date(l.getFullYear()+t,11,31)}return{startDate:s,endDate:l}}return{startDate:new Date(t.getFullYear()-1,0,1),endDate:new Date(n.getFullYear()+1,11,31)}},ae=cn(null),se=cn(null),ce=cn(new Set),ue=Ha(()=>null!==se.value),Oe=e=>{se.value=e,ce.value.clear(),ce.value.add(e);const t=V.value.find(t=>t.id===e);if(t){if(t.predecessor){const e=$2(t.predecessor);for(const t of e)ce.value.add(t)}for(const t of V.value)t.predecessor&&$2(t.predecessor).includes(e)&&ce.value.add(t.id)}},de=cn(null),he=un(null),fe=un(null),pe=cn(!1),Ae=cn(""),me=cn(null);let ge=!1,ve="";const ye=new Map,be=e=>{de.value=e.type,he.value=e.task,Xe(e.mouseEvent.clientX,e.mouseEvent.clientY),fe.value=null,pe.value=!1,Ae.value="",De=null,ge=!1,ve="",Le(),document.addEventListener("mousemove",Pe),document.addEventListener("mouseup",_e)};let we=null,Qe=0,$e=0,Se=0,xe=0;const ke=()=>{we=null,Xe(Qe,$e),Ie(Qe,$e),Xn.value&&he.value&&Xn.value.draw(qe(),Fe(),Se,xe,ge,ve)},Pe=e=>{de.value&&(Qe=e.clientX,$e=e.clientY,null===we&&(we=requestAnimationFrame(ke)))},_e=()=>{de.value&&(null!==we&&(cancelAnimationFrame(we),we=null),he.value&&Ue({task:he.value,type:de.value}))};let Ce=null,Ee=0,Re=!1;const Xe=(e,t)=>{((e,t)=>{if(!Rn.value)return Se=e,void(xe=t);const n=Date.now();(!Ce||Re||n-Ee>200)&&(Ce=Rn.value.getBoundingClientRect(),Ee=n,Re=!1),Se=e-Ce.left,xe=t-Ce.top})(e,t)},Be=e=>{Qe=e.mouseX,$e=e.mouseY,null===we&&(we=requestAnimationFrame(ke))},Ue=e=>{var t;Ce=null,document.removeEventListener("mousemove",Pe),document.removeEventListener("mouseup",_e),Ve(),null==(t=Xn.value)||t.clear(),fe.value&&pe.value&&Me(e.task,fe.value,e.type),de.value=null,he.value=null,fe.value=null,pe.value=!1};let De=null;const Ie=(e,t)=>{if(!he.value||!Rn.value)return;const n=((e,t)=>{Ce||(Ce=Rn.value.getBoundingClientRect(),Ee=Date.now());const n=e-Ce.left,r=t-Ce.top;for(const i in bn.value){const e=bn.value[i],t=Number(i);if(r<e.top-16||r>e.top+e.height+16)continue;const o=e.top+e.height/2,a=e.left;if(n>=a-6&&n<=a+6&&r>=o-6&&r<=o+6)return{taskId:t,anchorType:"left"};const s=e.left+e.width;if(n>=s-6&&n<=s+6&&r>=o-6&&r<=o+6)return{taskId:t,anchorType:"right"}}return null})(e,t);((e,t)=>{if(((null==De?void 0:De.id)??null)!==((null==e?void 0:e.id)??null))if(De=e,e&&he.value){const n=ze(he.value,e,de.value,t);ge=n.valid,ve=n.error||"",pe.value=n.valid,fe.value=e}else ge=!1,ve="",pe.value=!1,fe.value=null})(null!==n&&ye.get(n.taskId)||null,null==n?void 0:n.anchorType)},ze=(e,t,n,r)=>{if(r){if("predecessor"===n&&"right"!==r)return{valid:!1,error:"前置任务应连接到右侧触点"};if("successor"===n&&"left"!==r)return{valid:!1,error:"后置任务应连接到左侧触点"}}if(e.id===t.id)return{valid:!1,error:"不能连接到自己"};if(t.isParent||"milestone"===t.type)return{valid:!1,error:"不能连接到父级任务或里程碑"};if("predecessor"===n){if(Ne(t.id,e.id))return{valid:!1,error:"会产生循环依赖"}}else if(Ne(e.id,t.id))return{valid:!1,error:"会产生循环依赖"};if("predecessor"===n){if(e.predecessor&&$2(e.predecessor).includes(t.id))return{valid:!1,error:"关系已存在"}}else if(t.predecessor&&$2(t.predecessor).includes(e.id))return{valid:!1,error:"关系已存在"};return{valid:!0}},Ne=(e,t)=>{const n=new Set,r=[e];for(;r.length>0;){const e=r.shift();if(e===t)return!0;if(n.has(e))continue;n.add(e);const i=V.value.find(t=>t.id===e);if(i&&i.predecessor){const e=$2(i.predecessor);r.push(...e)}}return!1},Me=(e,t,n)=>{if("predecessor"===n){const n=e.predecessor?$2(e.predecessor):[];n.includes(t.id)||(n.push(t.id),e.predecessor=n,gn(e),i("predecessor-added",{targetTask:e,newTask:t}))}else{const n=t.predecessor?$2(t.predecessor):[];n.includes(e.id)||(n.push(e.id),t.predecessor=n,gn(t),i("successor-added",{targetTask:t,newTask:e}))}},Le=()=>{me.value=window.setInterval(()=>{if(!q.value||!Rn.value)return;const e=q.value,t=lr.value;if(!t)return;const n=e.getBoundingClientRect(),r=Qe,i=$e;let o=!1;if(r<n.left+80&&e.scrollLeft>0)e.scrollLeft-=15,o=!0;else if(r>n.right-80){const t=e.scrollWidth-e.clientWidth;e.scrollLeft<t&&(e.scrollLeft+=15,o=!0)}if(i<n.top+80&&t.scrollTop>0)t.scrollTop-=15,o=!0;else if(i>n.bottom-80){const e=t.scrollHeight-t.clientHeight;t.scrollTop<e&&(t.scrollTop+=15,o=!0)}o&&(Re=!0,Ie(r,i),Xn.value&&he.value&&Xn.value.draw(qe(),Fe(),Se,xe,ge,ve))},30)},Ve=()=>{null!==me.value&&(clearInterval(me.value),me.value=null)},qe=()=>{if(!he.value)return 0;const e=bn.value[he.value.id];return e?"predecessor"===de.value?e.left:e.left+e.width:0},Fe=()=>{if(!he.value)return 0;const e=bn.value[he.value.id];return e?e.top+e.height/2:0},We=A,Ze=cn(!1),Ye=cn(!1),je=cn(0),Ge=cn(!1);let He=null;const Ke=cn(0),Je=cn(0);let et=!1,tt=!1;const nt=cn(!0),rt=cn(!0);let it=null;const ot=new Map,at=cn(!0),st=Ha(()=>{if(M.value!==t4.HOUR)return{startHour:0,endHour:0};const e=Ke.value,t=Je.value;if(at.value&&0===e)return{startHour:0,endHour:168};if(at.value){const e=new Date,t=N.value.startDate,n=Math.floor((e.getTime()-t.getTime())/36e5);return{startHour:Math.max(0,n-168),endHour:n+168}}const n=W.value.hour.cellWidth,r=Math.floor(e/n)-10,i=Math.ceil((e+t)/n)+10;return{startHour:Math.max(0,r),endHour:Math.max(r+1,i)}}),lt=cn(0),ct=cn(0);let ut=null;hr([Ke,Je],([e,t])=>{ut&&clearTimeout(ut),ut=window.setTimeout(()=>{lt.value=e,ct.value=t,ut=null},100),0===lt.value&&0===ct.value&&(lt.value=e,ct.value=t)},{immediate:!0});const Ot=Ha(()=>{const e=lt.value,t=ct.value||Je.value;let n=.3;M.value===t4.WEEK?n=.15:(M.value===t4.MONTH||M.value===t4.QUARTER||M.value===t4.YEAR)&&(n=.05);const r=t*n;return{startDate:dt(Math.max(0,e-r)),endDate:dt(e+t+r)}}),dt=e=>{var t;const n=N.value.startDate,r=N.value.endDate,i=M.value;if(e<=0)return n;if(i===t4.HOUR){const t=e/40;return new Date(n.getTime()+60*t*60*1e3)}if(i===t4.DAY){const t=e/30;return new Date(n.getTime()+24*t*60*60*1e3)}if(i===t4.WEEK||i===t4.MONTH||i===t4.QUARTER||i===t4.YEAR){const o=ln.value;if(!o||0===o.length)return n;let a=0;if(i===t4.WEEK)for(const t of o){const n=t.weeks||[];for(const t of n){const n=W.value.week.cellWidth;if(e>=a&&e<a+n){const r=e-a,i=n/7,o=Math.floor(r/i),s=t.subDays||[];return o<s.length?new Date(s[o].date):new Date(t.weekStart)}a+=n}}else if(i===t4.MONTH)for(const n of o){const r=W.value.month.cellWidth;if(e>=a&&e<a+r){const i=e-a,o=r/((null==(t=n.monthData)?void 0:t.dayCount)||30),s=Math.floor(i/o);return new Date(n.year,n.month-1,s+1)}a+=r}else if(i===t4.QUARTER)for(const t of o){const n=t.quarters||[];for(const t of n){const n=W.value.quarter.cellWidth;if(e>=a&&e<a+n){const r=e-a,i=new Date(t.startDate),o=new Date(t.endDate),s=n/Math.ceil((o.getTime()-i.getTime())/864e5),l=Math.floor(r/s);return new Date(i.getTime()+24*l*60*60*1e3)}a+=n}}else if(i===t4.YEAR)for(const t of o){const n=t.halfYears||[];for(const t of n){const n=W.value.year.cellWidth;if(e>=a&&e<a+n){const r=e-a,i=new Date(t.startDate),o=new Date(t.endDate),s=n/Math.ceil((o.getTime()-i.getTime())/864e5),l=Math.floor(r/s);return new Date(i.getTime()+24*l*60*60*1e3)}a+=n}}return r}return n},ht=Ha(()=>{var e,t;const n=y.value,r=$.value||600;if("resource"===c.value){const i=u.value;let o=0,a=i.length;for(let t=0;t<i.length;t++){const r=i[t].id,a=(null==(e=x.value)?void 0:e.get(r))||0,s=S.value.get(r);if(a+((null==s?void 0:s.totalHeight)||v.value)>=n-5*v.value){o=t;break}}const s=n+r;for(let e=o;e<i.length;e++){const n=i[e].id;if(((null==(t=x.value)?void 0:t.get(n))||0)>s+5*v.value){a=e;break}}return{startIndex:Math.max(0,o),endIndex:Math.min(i.length,a)}}{const e=Math.floor(n/v.value)-5,t=Math.ceil((n+r)/v.value)+5;return{startIndex:Math.max(0,e),endIndex:Math.min(V.value.length,Math.max(e+1,t))}}}),ft=Ha(()=>{const{startIndex:e,endIndex:t}=ht.value;return V.value.slice(e,t).map((t,n)=>({task:t,originalIndex:e+n}))}),pt=Ha(()=>{const{startIndex:e,endIndex:t}=ht.value;return"resource"!==c.value?[]:u.value.slice(e,t).map((t,n)=>({resource:t,originalIndex:e+n}))});let At=null,mt=[];const gt=new Set,vt=un([]);hr([ft,c],([e,t])=>{if("task"!==t)return null!==At&&(cancelAnimationFrame(At),At=null),mt=[],gt.clear(),void(vt.value=[]);const n=new Set(e.map(e=>e.task.id)),r=[];if(gt.forEach(e=>{n.has(e)||(gt.delete(e),r.push(e))}),r.length>0){const e={...bn.value};for(const t of r)delete e[t];bn.value=e}const i=e.filter(e=>!gt.has(e.task.id));if(null!==At&&(cancelAnimationFrame(At),At=null),mt=i,mt.splice(0,3).forEach(e=>gt.add(e.task.id)),vt.value=e.filter(e=>gt.has(e.task.id)),mt.length>0){const e=()=>{const t=mt.splice(0,3);0!==t.length?(t.forEach(e=>gt.add(e.task.id)),vt.value=ft.value.filter(e=>gt.has(e.task.id)),At=mt.length>0?requestAnimationFrame(e):null):At=null};At=requestAnimationFrame(e)}},{immediate:!0});const yt=un(new Map),bt=un(new Map),wt=un(new Map),Qt=cn("visible");let $t=null;const St=()=>{null!==$t&&(cancelAnimationFrame($t),$t=null)},xt=()=>{if("resource"!==c.value)return bt.value=new Map,wt.value=new Map,Qt.value="visible",yt.value=new Map,void St();const{startDate:e,endDate:t}=Ot.value,n=M.value===t4.HOUR,r=M.value;let i,o;if(r===t4.HOUR||r===t4.DAY||r===t4.WEEK){const e=Ke.value,t=Je.value,n=N.value.startDate.getTime();let a=0;r===t4.HOUR?a=W.value.hour.cellWidth/36e5:r===t4.DAY?a=W.value.day.cellWidth/864e5:r===t4.WEEK&&(a=W.value.week.cellWidth/6048e5);const s=.1*t,l=Math.max(0,e-s);i=n+l/a,o=n+(e+t+s)/a}else i=e.getTime(),o=t.getTime();const a=new Map,s=new Map,l=new Map(yt.value),u=new Map,O=Date.now();pt.value.forEach(({resource:e})=>{const t=e.id,r=e.tasks||[],c=n?r:r.filter(e=>{if(!e.startDate||!e.endDate)return!1;const t=new Date(e.startDate).getTime();return new Date(e.endDate).getTime()>=i&&t<=o});r.forEach((e,n)=>{const r=e.id??`idx-${n}`,i=`${t}-${r}`,o=l.get(i),a=(null==o?void 0:o.rendered)||!1;u.set(i,{taskId:r,resourceId:t,rendered:a,timestamp:a&&o?o.timestamp:O})}),a.set(t,{tasks:c,visibleCount:c.length,totalCount:c.length,originalTasks:r});const d=wt.value.get(t);let h;h=void 0!==d&&d>=c.length?Math.min(d,c.length):Math.min(5,c.length),s.set(t,h)}),bt.value=a,wt.value=s,Qt.value="visible",yt.value=u,(()=>{St();const e=()=>{if("resource"!==c.value)return void($t=null);const t=performance.now(),n=new Map(wt.value);let r=!1;bt.value.forEach((e,i)=>{if(performance.now()-t>8)return void(r=!0);const o=n.get(i)||0,a=e.visibleCount;if(o<a){const e=Math.min(a,o+5);n.set(i,e),r=!0}}),r?(wt.value=n,$t=requestAnimationFrame(e)):$t=null};$t=requestAnimationFrame(e)})()};hr(()=>[c.value,M.value,Ot.value,pt.value],()=>xt(),{immediate:!0}),hr(()=>wt.value,e=>{if("resource"!==c.value)return;const t=new Map(yt.value),n=Date.now();let r=0;bt.value.forEach((i,o)=>{const a=e.get(o)||0;i.tasks.slice(0,a).forEach((e,i)=>{const a=e.id??`idx-${i}`,s=`${o}-${a}`,l=t.get(s);l&&!l.rendered&&(l.rendered=!0,l.timestamp=n,r++)})}),r>0&&(yt.value=t)},{deep:!1});const kt=Ha(()=>{if("resource"!==c.value)return[];const{startDate:e,endDate:t}=Ot.value,n=M.value===t4.HOUR;let r=0,i=0;return pt.value.map(({resource:o,originalIndex:a})=>{const s=o.tasks||[];r+=s.length;const l=bt.value.get(o.id),c=wt.value.get(o.id);let u;if(l){const e=c??l.visibleCount;u=l.tasks.slice(0,e)}else u=n?s:s.filter(n=>{if(!n.startDate||!n.endDate)return!1;const r=new Date(n.startDate);return new Date(n.endDate)>=e&&r<=t});return i+=u.length,{resource:{...o,tasks:u,allTasks:s},originalIndex:a}})}),Pt=(e,t)=>{let n=null;return(...r)=>{n&&clearTimeout(n),n=window.setTimeout(()=>{n=null,e(...r)},t)}},Tt=Pt(()=>{It()},200),_t=Pt(()=>{Mn()},200),Ct=()=>{const e=M.value,t=`${e}-${N.value.startDate.getTime()}-${N.value.endDate.getTime()}`,n=ot.get(t);if(n&&Date.now()-n.timestamp<6e4)return n.data;let r;if(r=e===t4.HOUR?tn():e===t4.WEEK?nn():e===t4.MONTH?Dr():e===t4.QUARTER?Ir():e===t4.YEAR?Nr():Jt(),ot.set(t,{data:r,timestamp:Date.now(),scale:e}),ot.size>4){let e=null,t=Date.now();ot.forEach((n,r)=>{n.timestamp<t&&(t=n.timestamp,e=r)}),e&&ot.delete(e)}return r},Et=Ha(()=>{const e=Ct();if(M.value===t4.HOUR&&Array.isArray(e)){const{startHour:t,endHour:n}=st.value,r=[],i=new Date(N.value.startDate);i.setHours(0,0,0,0);const o=i.getTime(),a=864e5;for(const s of e){const e=new Date(s.year,s.month-1,s.day);e.setHours(0,0,0,0);const i=24*Math.floor((e.getTime()-o)/a),l=Math.max(0,t-i),c=Math.min(s.hours.length,n-i);l<c&&r.push({...s,hours:s.hours.slice(l,c),hourOffset:i+l,visibleHourStart:l,_debug:{totalHourOffset:i,dayStartHour:l,dayEndHour:c,visibleRange:{startHour:t,endHour:n}}})}return r}return e}),Rt=Ha(()=>{var e,t;const n=Ct();if(!Array.isArray(n))return 0;const r=M.value;if(r===t4.HOUR){let e=0;for(const t of n)e+=t.hours.length;return e*W.value.hour.cellWidth}if(r===t4.QUARTER){let e=0;for(const t of n)e+=t.quarters.length;return e*W.value.quarter.cellWidth}if(r===t4.WEEK){let t=0;for(const r of n)t+=(null==(e=r.weeks)?void 0:e.length)||0;return t*W.value.week.cellWidth}if(r===t4.MONTH)return n.length*W.value.month.cellWidth;if(r===t4.YEAR)return n.length*W.value.year.cellWidth*2;let i=0;for(const o of n)i+=(null==(t=o.days)?void 0:t.length)||0;return i*W.value.day.cellWidth});let Xt=null,Bt=null,Ut=null;const Dt=cn(new Map),It=()=>{const e=new Map,t=N.value.startDate.getTime(),n=Ke.value,r=n+Je.value;for(const i of V.value)if("milestone-group"===i.type&&i.children)for(const o of i.children){const i=new Date(o.startDate||"");if(!isNaN(i.getTime())){const a=Math.floor((i.getTime()-t)/864e5)*W.value.day.cellWidth+W.value.day.cellWidth/2-12;let s=!1,l="none";a+12<=n+12?(s=!0,l="left"):a-12>=r-12&&(s=!0,l="right"),e.set(o.id,{left:a,originalLeft:a,isSticky:s,stickyPosition:l})}}else if("milestone"===i.type){const o=new Date(i.startDate||"");if(!isNaN(o.getTime())){const a=(o.getTime()-t)/864e5,s=Math.floor(a)*G.value+G.value/2-12;let l=!1,c="none";s+12<=n+12?(l=!0,c="left"):s-12>=r-12&&(l=!0,c="right"),e.set(i.id,{left:s,originalLeft:s,isSticky:l,stickyPosition:c})}}Dt.value=e},zt=e=>{const t=[];return Dt.value.forEach((n,r)=>{r!==e&&t.push({id:r,left:n.left,originalLeft:n.originalLeft,isSticky:n.isSticky,stickyPosition:n.stickyPosition,priority:n.originalLeft})}),t};hr(A,e=>{if(!e){if(q.value){const e=q.value.clientWidth;Math.abs(e-Je.value)>1&&(et=!0,Je.value=e,qn(()=>{et=!1}))}if(lr.value){const e=lr.value.clientHeight;Math.abs(e-$.value)>1&&($.value=e)}nt.value=!0,setTimeout(()=>{nt.value=!1},300)}});const Nt=()=>{},Mt=()=>{};hr(m,e=>{if(!e&&q.value){const e=q.value.clientWidth;Math.abs(e-Je.value)>1&&(et=!0,Je.value=e,qn(()=>{et=!1}))}});const Lt=()=>{nt.value=!0,bn.value={},d.value++,Ce=null,it&&clearTimeout(it),it=setTimeout(()=>{nt.value=!1,it=null,Mn()},300)},Vt=e=>{We.value||Jn.value||(ae.value=e,window.dispatchEvent(new CustomEvent("timeline-task-hover",{detail:e})))},qt=Ha(()=>{if("resource"===c.value){const e=u.value;let t=0;return e.forEach(e=>{const n=S.value.get(e.id);t+=(null==n?void 0:n.totalHeight)||v.value}),Math.max(t,400,$.value)}const e=v.value,t=V.value.length*e;return Math.max(t,400,$.value)}),Ft=e=>{Jn.value||(ae.value=e.detail)},Wt=e=>{const t=e.detail;vn(t)},Zt=()=>{ln.value=Ht()},jt=e=>{ue.value||i("milestone-double-click",e)},Gt=e=>{r.onMilestoneSave&&"function"==typeof r.onMilestoneSave&&r.onMilestoneSave(e),window.dispatchEvent(new CustomEvent("milestone-data-updated",{detail:{milestone:e}}))},Ht=()=>Ct(),Kt=()=>{ot.clear()},Jt=()=>{const e=[],t=new Date(N.value.startDate);for(;t<=N.value.endDate;){const n=t.getFullYear(),r=t.getMonth()+1,i=[],a=new Date(n,r,0).getDate();for(let e=1;e<=a;e++){const t=new Date(n,r-1,e),o=t.getDay(),a=0===o||6===o;i.push({day:e,date:t,label:String(e).padStart(2,"0"),isToday:sn(t),isWeekend:a})}e.push({year:n,month:r,yearMonthLabel:o(n,r),startDate:new Date(t),endDate:new Date(n,r,0),days:i}),t.setMonth(t.getMonth()+1)}return e},en=(e,t)=>{if(0===t||6===t)return!1;const n=r.workingHours;if(!n)return!1;if(n.morning){const{start:t,end:r}=n.morning;if(e>=t&&e<=r)return!0}if(n.afternoon){const{start:t,end:r}=n.afternoon;if(e>=t&&e<=r)return!0}return!1},tn=()=>{const e=[],t=new Date(N.value.startDate);for(;t<=N.value.endDate;){const n=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),o=[],a=t.getDay();for(let e=0;e<24;e++){const t=new Date(n,r-1,i,e);o.push({hour:e,label:`${String(e).padStart(2,"0")}:00`,shortLabel:String(e).padStart(2,"0"),date:t,isToday:sn(t)&&e===(new Date).getHours(),isWorkingHour:en(e,a),isWeekend:0===a||6===a})}e.push({year:n,month:r,day:i,date:new Date(t),dateLabel:`${n}/${String(r).padStart(2,"0")}/${String(i).padStart(2,"0")}`,isToday:sn(t),hours:o}),t.setDate(t.getDate()+1)}return e},nn=()=>{const e=[],t=new Date(N.value.startDate),n=new Date(N.value.endDate),r=new Date(t),i=r.getDay()||7;r.setDate(r.getDate()-(i-1));const a=new Date(r);for(;a<=n;){const t=new Date(a);t.setDate(t.getDate()+6),e.push({weekStart:new Date(a),weekEnd:new Date(t),label:`${a.getDate()}`,isToday:on(a,t),subDays:rn(a),belongsToYear:a.getFullYear(),belongsToMonth:a.getMonth()+1}),a.setDate(a.getDate()+7)}const s=new Map;for(const l of e){const e=l,t=e.belongsToYear,n=e.belongsToMonth,r=`${t}-${n}`;s.has(r)||s.set(r,{year:t,month:n,yearMonthLabel:o(t,n),startDate:new Date(t,n-1,1),endDate:new Date(t,n,0),weeks:[],isWeekView:!0}),s.get(r).weeks.push(l)}return Array.from(s.values()).sort((e,t)=>e.year!==t.year?e.year-t.year:e.month-t.month)},rn=e=>{const t=[];for(let n=0;n<7;n++){const r=new Date(e);r.setDate(r.getDate()+n),t.push({date:new Date(r),dayOfWeek:r.getDay()})}return t},on=(e,t)=>{const n=new Date;return n.setHours(0,0,0,0),n>=e&&n<=t},an=(e,t)=>{let n=0;for(let r=0;r<e;r++){const e=ln.value[r];e&&e.isWeekView&&e.weeks?n+=e.weeks.length*W.value.week.cellWidth:e&&e.days&&(n+=e.days.length*W.value.day.cellWidth)}return n+=t*W.value.week.cellWidth,n},sn=e=>{const t=new Date;return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()},ln=un(Ht());let On=!1;hr(()=>[N.value.startDate,N.value.endDate],()=>{On||(Kt(),ln.value=Ht())}),hr([ln,M],([e,t])=>{if(e&&t){const n=Object.fromEntries(Object.entries(W.value).map(([e,t])=>[e,t.cellWidth]));V3.buildCache(e,t,n)}},{immediate:!0});let dn=!1;hr(()=>[ln.value,N.value.startDate,N.value.endDate],()=>{dn||qn(()=>{hn(),dn=!0})});const hn=(e=0)=>{nt.value=!0,rt.value=!0;const t=new Date,n=N.value.startDate,r=new Date(t.getFullYear(),t.getMonth(),t.getDate());let i;if(M.value===t4.YEAR||M.value===t4.QUARTER){const e=oe();i=new Date(e.startDate.getFullYear(),e.startDate.getMonth(),e.startDate.getDate())}else if(M.value===t4.MONTH){const e=ie();i=new Date(e.startDate.getFullYear(),e.startDate.getMonth(),e.startDate.getDate())}else i=new Date(n.getFullYear(),n.getMonth(),n.getDate());const o=r.getTime()-i.getTime(),a=Math.floor(o/864e5);let s;if(M.value===t4.HOUR){const e=t.getHours(),n=t.getMinutes();s=a*G.value+e*W.value.hour.cellWidth+n/60*W.value.hour.cellWidth}else if(M.value===t4.QUARTER){const e=r.getFullYear(),t=i.getFullYear(),n=W.value.quarter.cellWidth;s=(e-t)*(4*n);const o=r.getMonth()+1;let a,l,c=1;o>=1&&o<=3||(c=o>=4&&o<=6?2:o>=7&&o<=9?3:4),s+=(c-1)*n,1===c?(a=new Date(e,0,1),l=new Date(e,2,31)):2===c?(a=new Date(e,3,1),l=new Date(e,5,30)):3===c?(a=new Date(e,6,1),l=new Date(e,8,30)):(a=new Date(e,9,1),l=new Date(e,11,31));s+=Math.floor((r.getTime()-a.getTime())/864e5)/(Math.floor((l.getTime()-a.getTime())/864e5)+1)*n}else if(M.value===t4.MONTH){const e=r.getFullYear(),t=r.getMonth()+1,n=12*(e-i.getFullYear())+(t-(i.getMonth()+1)),o=W.value.month.cellWidth;s=n*o;s+=r.getDate()/new Date(e,t,0).getDate()*o}else if(M.value===t4.YEAR){const e=ln.value;let t=0;const n=W.value.year.cellWidth;let i=!1;for(const o of e){const e=o.halfYears||[];for(const o of e){const e=new Date(o.startDate),a=new Date(o.endDate);if(e.setHours(0,0,0,0),a.setHours(0,0,0,0),r<e){i=!0;break}if(r>=e&&r<=a){const o=a.getTime()-e.getTime();t+=(r.getTime()-e.getTime())/o*n,i=!0;break}t+=n}if(i)break}s=t}else s=a*G.value;const l=q.value;if(!l)return void(e<10&&setTimeout(()=>hn(e+1),60));const c=l.clientWidth;if(0===c&&e<10)return void setTimeout(()=>hn(e+1),60);const u=s-c/2+15;"function"==typeof l.scrollTo?l.scrollTo({left:Math.max(0,u),behavior:"smooth"}):l.scrollLeft=Math.max(0,u),setTimeout(()=>{rt.value=!1,M.value===t4.HOUR&&(at.value=!1),setTimeout(()=>{nt.value=!1},300)},1500)},pn=Ha(()=>{if(M.value!==t4.YEAR)return-1;const e=new Date;e.setHours(0,0,0,0);const t=ln.value;if(!t||0===t.length)return-1;let n=0;const r=W.value.year.cellWidth;for(const i of t){const t=i.halfYears||[];for(const i of t){const t=new Date(i.startDate),o=new Date(i.endDate);if(t.setHours(0,0,0,0),o.setHours(0,0,0,0),e<t)return n;if(e>=t&&e<=o){const i=o.getTime()-t.getTime();return n+(e.getTime()-t.getTime())/i*r}n+=r}}return n}),An=Ha(()=>{if(M.value!==t4.YEAR)return!1;const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=oe(),r=n.startDate,i=n.endDate;return t>=r&&t<=i}),mn=()=>{const e=new Date,t=N.value.startDate,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate()),i=n.getTime()-r.getTime(),o=Math.floor(i/864e5);if(o<0||n>N.value.endDate)return;const a=30*o,s=q.value;if(!s)return;const l=a-s.clientWidth/2+15;s.scrollTo({left:Math.max(0,l),behavior:"smooth"}),setTimeout(()=>{const e=document.querySelectorAll(".day-column.today");for(const t of e)t.classList.add("today-highlight"),setTimeout(()=>{t.classList.remove("today-highlight")},2e3)},500)},gn=e=>{L3.start("updateTask"),window.dispatchEvent(new CustomEvent("task-updated",{detail:e})),L3.end("updateTask")},vn=e=>{ue.value||i("edit-task",e)},yn=(e,t)=>{ue.value||i("click-task",e,t)},bn=un({}),wn=un({});let Qn=null,$n=null,Sn=0,xn=!1,kn="",Pn=30,Tn=null;function _n(){null!==Qn&&(typeof cancelIdleCallback<"u"?cancelIdleCallback(Qn):cancelAnimationFrame(Qn),Qn=null),$n=null}function Cn(e){const t=$n;if(!t)return;const n=kn,r=Pn,i=Tn,o={},a=Date.now();for(;Sn<t.length&&!(e?e.timeRemaining()<1:Date.now()-a>4);){const e=t[Sn];if(!xn&&wn.value[e.id]){Sn++;continue}const a=W3(e,Sn,n,V3,r,i,v.value);a&&(o[e.id]=a),Sn++}Object.keys(o).length>0&&(wn.value={...o,...wn.value}),Sn<t.length?Qn=typeof requestIdleCallback<"u"?requestIdleCallback(Cn,{timeout:1e3}):requestAnimationFrame(()=>Cn()):($n=null,Qn=null)}function En(e){_n(),0!==V.value.length&&"task"===c.value&&($n=[...V.value],Sn=0,xn=e,kn=M.value,Pn=G.value,Tn=I.value,Qn=typeof requestIdleCallback<"u"?requestIdleCallback(Cn,{timeout:1e3}):requestAnimationFrame(()=>Cn()))}const Rn=cn(null),Xn=cn(null),Bn=cn(0),Un=cn(0),Dn=cn(0),In=cn(0),zn=cn(0),Nn=cn(0);function Mn(){if(Rn.value){const e=Rn.value.offsetWidth,t=qt.value,n=Ke.value,r=y.value,{width:i,height:o}=function(){const e=Math.max(Je.value,300),t=Math.max($.value,300);return{width:Math.min(Math.max(3*e,2e3),8e3),height:Math.min(Math.max(3*t,1200),4e3)}}();Dn.value=i;const a=i/3;let s=Math.max(0,n-a);if(e<=i)s=0;else{const t=e-i;s=Math.min(s,t)}zn.value=s;const l=Math.min(t,o);In.value=l,Bn.value=Dn.value,Un.value=l;const c=l/3;let u=Math.max(0,r-c);if(t<=l)u=0;else{const e=t-l;u=Math.min(u,e)}Nn.value=u}}const Ln={};let Vn=!1;function Fn(e){if(!Rn.value)return;(!Ce||Re)&&(Ce=Rn.value.getBoundingClientRect(),Ee=Date.now(),Re=!1);const t=Ce;if(Ln[e.id]={left:e.left-t.left,top:e.top-t.top,width:e.width,height:e.height},!Vn){if(w.value)return;Vn=!0,Promise.resolve().then(()=>{Vn=!1,bn.value={...bn.value,...Ln},wn.value={...wn.value,...Ln};for(const e in Ln)delete Ln[e];setTimeout(()=>Mn(),200)})}}hr(w,e=>{if(!e&&0!==Object.keys(Ln).length){Vn=!1,bn.value={...bn.value,...Ln},wn.value={...wn.value,...Ln};for(const e in Ln)delete Ln[e];setTimeout(()=>Mn(),200)}});const Wn=e=>{if("resource"===c.value&&u.value)for(const t of u.value)if(t.tasks){const n=t.tasks.findIndex(t=>t.id===e.id);if(-1!==n){t.tasks[n]={...t.tasks[n],...e};break}}p.value=e.id,window.dispatchEvent(new CustomEvent("taskbar-drag-end",{detail:e}))},Zn=e=>{if("resource"===c.value&&u.value)for(const t of u.value)if(t.tasks){const n=t.tasks.findIndex(t=>t.id===e.id);if(-1!==n){t.tasks[n]={...t.tasks[n],...e};break}}p.value=e.id,window.dispatchEvent(new CustomEvent("taskbar-resize-end",{detail:e}))},Yn=e=>{window.dispatchEvent(new CustomEvent("context-menu",{detail:e}))},jn=e=>{if(or.value){nt.value=!0;const t=or.value.scrollWidth-or.value.clientWidth,n=Math.max(0,Math.min(e,t));or.value.scrollTo({left:n,behavior:"smooth"}),setTimeout(()=>{nt.value=!1},1e3)}},Gn=e=>{window.dispatchEvent(new CustomEvent("milestone-drag-end",{detail:e}))};vi(()=>{qn(()=>{setTimeout(()=>{hn()},60)}),window.addEventListener("task-row-double-click",Wt),window.addEventListener("task-list-hover",Ft),window.addEventListener("task-list-vertical-scroll",Hn),window.addEventListener("locale-changed",Zt),window.addEventListener("splitter-drag-start",Nt),window.addEventListener("splitter-drag-end",Mt),window.addEventListener("timeline-container-resized",Lt),window.addEventListener("milestone-click-locate",Ur),window.addEventListener("drag-boundary-check",br),window.addEventListener("taskbar-highlighted",dr),window.addEventListener("resource-taskbar-drop",fr),qn(()=>{const e=document.querySelector(".timeline-body"),t=document.querySelector(".timeline"),n=document.querySelector(".gantt-panel-right");if(lr.value=e,q.value=t,F.value=n,e&&($.value=e.clientHeight,Xt=new ResizeObserver(e=>{if(!A.value)for(const t of e)$.value=t.contentRect.height}),Xt.observe(e)),t){Ke.value=t.scrollLeft,Je.value=t.clientWidth;const e=new ResizeObserver(e=>{if(!A.value&&!m.value)for(const t of e){const e=t.contentRect.width;Math.abs(e-Je.value)>1&&(Je.value=e,nt.value=!0,it&&clearTimeout(it),it=setTimeout(()=>{nt.value=!1,it=null},300))}});e.observe(t),Xt||(Xt=e)}}),setTimeout(()=>{hn(),Mn()},200),Bt=()=>{Re=!0,Mn()},window.addEventListener("resize",Bt),Ut=()=>{"visible"===document.visibilityState&&(Re=!0,Mn())},document.addEventListener("visibilitychange",Ut)});const Hn=e=>{const{scrollTop:t}=e.detail;y.value=t,_t(),lr.value&&Math.abs(lr.value.scrollTop-t)>1&&(b=!0,lr.value.scrollTop=t,Promise.resolve().then(()=>{b=!1}))},Kn=e=>{const t=e.target;if(!t)return;const n=t.scrollTop;y.value=n,Re=!0,w.value=!0,null!==Q&&clearTimeout(Q),Q=setTimeout(()=>{Q=null,w.value=!1},150),_t(),!Jn.value&&(b||n>=0&&window.dispatchEvent(new CustomEvent("timeline-vertical-scroll",{detail:{scrollTop:n}})))};hr(()=>{var e;return null==(e=V.value)?void 0:e.length},(e,t)=>{K(),It(),0===t&&e>0&&(dn=!1,Rr(50)),qn(()=>{Mn()})},{immediate:!0}),hr(V,e=>{ye.clear();const t=e=>{ye.set(e.id,e),e.children&&e.children.length>0&&e.children.forEach(t)};e.forEach(t)},{immediate:!0});const Jn=cn(!1);ar("isDraggingTimeline",Jn);const er=cn(0),tr=cn(0),nr=cn(0),ir=cn(0),or=cn(null),lr=cn(null);let cr=null;const ur=cn(!1);let Or=null;const dr=()=>{const e=t=>{var n;if(f.value)return void document.removeEventListener("mousemove",e);const r=document.elementFromPoint(t.clientX,t.clientY);if(r){const t=r.closest(".task-bar"),n=r.closest(".resize-handle-left, .resize-handle-right"),i=r.closest("button, input, select, textarea, .custom-task-content");if(t||n||i)return void document.removeEventListener("mousemove",e)}1===t.buttons&&(Jn.value=!0,er.value=t.pageX,nr.value=(null==(n=or.value)?void 0:n.scrollLeft)||0,or.value&&(or.value.style.cursor="grabbing",or.value.style.userSelect="none"),document.addEventListener("mousemove",Ar),document.addEventListener("mouseup",mr)),document.removeEventListener("mousemove",e)};document.addEventListener("mousemove",e),setTimeout(()=>{document.removeEventListener("mousemove",e)},5e3)},fr=e=>{const t=e,{taskId:n,task:r,sourceRowIndex:o,mouseY:a,mouseX:s}=t.detail,l=lr.value;if(!l)return;const c=a-l.getBoundingClientRect().top+l.scrollTop,O=u.value;let d=-1,h=1/0;for(let i=0;i<O.length;i++){const e=O[i],t=String(e.id),n=x.value.get(t)||0,r=S.value.get(t),o=n+((null==r?void 0:r.totalHeight)||v.value)/2,a=Math.abs(c-o);a<h&&(h=a,d=i)}-1===d&&O.length>0&&(d=c<0?0:O.length-1);const f=t.detail.calculatedStartDate,p=t.detail.calculatedEndDate;if(d!==o&&d>=0&&d<O.length){const e=O[d];i("resource-drag-end",{task:r,sourceResourceIndex:o,targetResourceIndex:d,targetResource:e,newStartDate:f,newEndDate:p})}},pr=e=>{var t,n;const r=e.target,i=r.closest(".timeline-header"),o=r.closest(".timeline-body");if(i||o){if(o){if(r.closest(".resize-handle-left, .resize-handle-right"))return;const e=r.closest(".task-bar");if(e){const t=e.classList.contains("highlighted"),n=e.classList.contains("primary-highlight");if(!t&&!n)return}else if([".milestone","button","input","select","textarea",".custom-task-content",".progress-bar",".task-name",".task-controls"].some(e=>r.closest(e)))return}Jn.value=!0,er.value=e.pageX,tr.value=e.pageY,nr.value=(null==(t=or.value)?void 0:t.scrollLeft)||0,!lr.value&&or.value&&(lr.value=or.value.querySelector(".timeline-body")),ir.value=(null==(n=lr.value)?void 0:n.scrollTop)||0,or.value&&(or.value.style.cursor="grabbing",or.value.style.userSelect="none"),e.preventDefault(),document.addEventListener("mousemove",Ar),document.addEventListener("mouseup",mr)}},Ar=e=>{!Jn.value||!or.value||(e.preventDefault(),null!==cr&&cancelAnimationFrame(cr),cr=requestAnimationFrame(()=>{if(!or.value)return;const t=e.pageX,n=e.pageY,r=1.5*(t-er.value),i=1.5*(n-tr.value);if(or.value.scrollLeft=nr.value-r,lr.value){const e=ir.value-i;lr.value.scrollTop=e;const t=document.querySelector(".task-list-body");t&&(t.scrollTop=e)}cr=null}))},mr=()=>{Jn.value&&(Jn.value=!1,null!==cr&&(cancelAnimationFrame(cr),cr=null),or.value&&(or.value.style.cursor="grab",or.value.style.userSelect="auto"),ae.value=null,document.removeEventListener("mousemove",Ar),document.removeEventListener("mouseup",mr))},gr=e=>{var t;const n=e.target;if(!n)return;const r=n.scrollLeft;if(Ke.value=r,window.dispatchEvent(new CustomEvent("close-all-taskbar-menus")),Re=!0,0===Je.value&&(Je.value=n.clientWidth),at.value&&r>0&&(at.value=!1),_t(),Jn.value)return;if(M.value===t4.HOUR)return Ge.value=!0,He&&clearTimeout(He),void(He=setTimeout(()=>{Ge.value=!1},200));const i=n.scrollWidth-n.clientWidth;je.value=i>0?r/i:0,Ze.value=r>20,Ye.value=r<i-20,Ge.value=!0,null==(t=n.classList)||t.add("scrolling"),Tt(),He&&clearTimeout(He),He=setTimeout(()=>{var e;Ge.value=!1,null==(e=n.classList)||e.remove("scrolling")},500)},vr=e=>{if(ur.value||!or.value)return;ur.value=!0;const t=()=>{if(!or.value||!ur.value)return;const n=or.value.scrollLeft,r=or.value.scrollWidth-or.value.clientWidth;let i;i="left"===e?Math.max(0,n-5):Math.min(r,n+5),i!==n?(or.value.scrollLeft=i,window.dispatchEvent(new CustomEvent("timeline-auto-scroll",{detail:{scrollDelta:i-n}})),Or=window.setTimeout(t,16)):yr()};t()},yr=()=>{ur.value=!1,Or&&(clearTimeout(Or),Or=null)},br=e=>{const{mouseX:t,mouseY:n,isDragging:r,isResourceView:i,taskId:o,rowIndex:a}=e.detail;if(!r||!or.value)return void yr();const s=or.value.getBoundingClientRect(),l=t-s.left;if(i&&n&&lr.value){const e=n-lr.value.getBoundingClientRect().top+lr.value.scrollTop,t=u.value;let r=-1,i=1/0;for(let n=0;n<t.length;n++){const o=t[n],a=String(o.id),s=x.value.get(a)||0,l=S.value.get(a),c=s+((null==l?void 0:l.totalHeight)||v.value)/2,u=Math.abs(e-c);u<i&&(i=u,r=n)}-1!==r&&r!==a&&window.dispatchEvent(new CustomEvent("resource-drag-over",{detail:{taskId:o,sourceRowIndex:a,targetRowIndex:r,mouseY:e}}))}l<=50&&or.value.scrollLeft>0?vr("left"):l>=s.width-50&&or.value.scrollLeft<or.value.scrollWidth-or.value.clientWidth?vr("right"):yr()};Qi(()=>{var e;yr(),_n(),Ve(),Ce=null,null!==we&&(cancelAnimationFrame(we),we=null),null==(e=Xn.value)||e.clear(),document.removeEventListener("mousemove",Pe),document.removeEventListener("mouseup",_e),de.value=null,he.value=null,fe.value=null,pe.value=!1,window.removeEventListener("task-row-double-click",Wt),window.removeEventListener("task-list-hover",Ft),window.removeEventListener("task-list-vertical-scroll",Hn),window.removeEventListener("locale-changed",Zt),window.removeEventListener("splitter-drag-start",Nt),window.removeEventListener("splitter-drag-end",Mt),window.removeEventListener("timeline-container-resized",Lt),window.removeEventListener("milestone-click-locate",Ur),window.removeEventListener("drag-boundary-check",br),window.removeEventListener("resource-taskbar-drop",fr),Xt&&(Xt.disconnect(),Xt=null),Bt&&(window.removeEventListener("resize",Bt),Bt=null),Ut&&(document.removeEventListener("visibilitychange",Ut),Ut=null),document.removeEventListener("mousemove",Ar),document.removeEventListener("mouseup",mr)});const wr=(e,t)=>{i("delete",e,t)},Qr=e=>{const t=V.value.find(t=>t.id===e.targetTaskId);if(!t||!t.predecessor)return;const n=$2(t.predecessor).filter(t=>t!==e.sourceTaskId),r={...t,predecessor:n.length>0?n:void 0};i("link-deleted",{sourceTaskId:e.sourceTaskId,targetTaskId:e.targetTaskId,updatedTask:r}),gn(r),Kt()},$r=Ha(()=>{if(M.value!==t4.MONTH)return{};const e={},t=ln.value;for(const n of t){const t=n.year;e[t]||(e[t]=[]),e[t].push(n)}return e}),Sr=Ha(()=>{if(M.value!==t4.WEEK)return[];const e=[],t=ln.value;for(let n=0;n<t.length;n++){const r=t[n];if(r.isWeekView&&r.weeks)for(let t=0;t<r.weeks.length;t++){const i=r.weeks[t].subDays||[];for(let r=0;r<i.length;r++){const o=i[r];o.date&&1===o.date.getDate()&&e.push({left:an(n,t)+r*(W.value.week.cellWidth/7),date:o.date.getDate()})}}}return e}),kr=Ha(()=>{if(M.value!==t4.WEEK)return[];const e=[],t=ln.value;for(let n=0;n<t.length;n++){const r=t[n];if(r.isWeekView&&r.weeks)for(let t=0;t<r.weeks.length;t++){const i=r.weeks[t].subDays||[];for(let r=0;r<i.length;r++){const o=i[r];o.date&&1===o.date.getDate()&&e.push({left:an(n,t)+r*(W.value.week.cellWidth/7)})}}}return e}),Pr=Ha(()=>{if(M.value!==t4.YEAR)return[];try{const e=Nr();return Array.isArray(e)?e:[]}catch{return[]}});t({scrollToTasks:()=>{if(0===V.value.length)return void mn();const e=[];for(const u of V.value)u.startDate&&e.push(new Date(u.startDate));if(0===e.length)return void mn();let t=1/0;for(const u of e){const e=u.getTime();e<t&&(t=e)}const n=new Date(t),r=n.getFullYear(),i=n.getMonth(),o=n.getDate();let a=0;for(let u=0;u<i;u++)a+=new Date(r,u+1,0).getDate();a+=o;const s=F.value,l=null==s?void 0:s.clientWidth,c=30*(a-1)-(l?l/2:200);q.value&&(q.value.scrollLeft=Math.max(0,c))},scrollToToday:mn,scrollToTodayCenter:hn,scrollToDate:e=>{const t="string"==typeof e?new Date(e):e,n=N.value.startDate,r=new Date(t.getFullYear(),t.getMonth(),t.getDate());let i;if(M.value===t4.YEAR||M.value===t4.QUARTER){const e=oe();i=new Date(e.startDate.getFullYear(),e.startDate.getMonth(),e.startDate.getDate())}else if(M.value===t4.MONTH){const e=ie();i=new Date(e.startDate.getFullYear(),e.startDate.getMonth(),e.startDate.getDate())}else i=new Date(n.getFullYear(),n.getMonth(),n.getDate());const o=r.getTime()-i.getTime(),a=Math.floor(o/864e5);let s;if(M.value===t4.HOUR){const e=t.getHours(),n=t.getMinutes();s=a*G.value+e*W.value.hour.cellWidth+n/60*W.value.hour.cellWidth}else if(M.value===t4.QUARTER){const e=r.getFullYear(),t=i.getFullYear(),n=W.value.quarter.cellWidth;s=(e-t)*(4*n);const o=Math.floor(r.getMonth()/3);s+=o*n;const a=new Date(e,3*o,1);s+=Math.floor((r.getTime()-a.getTime())/864e5)/91*n}else if(M.value===t4.YEAR){const e=r.getFullYear(),t=i.getFullYear(),n=2*W.value.year.cellWidth;s=(e-t)*n;const o=new Date(e,0,1);s+=Math.floor((r.getTime()-o.getTime())/864e5)/365*n}else if(M.value===t4.MONTH){const e=r.getFullYear(),t=r.getMonth(),n=i.getFullYear(),o=i.getMonth(),a=W.value.month.cellWidth;s=(12*(e-n)+(t-o))*a;s+=r.getDate()/new Date(e,t+1,0).getDate()*a}else if(M.value===t4.WEEK){s=a/7*W.value.week.cellWidth}else s=a*G.value;const l=q.value;if(!l)return;const c=s-l.clientWidth/2;l.scrollTo({left:Math.max(0,c),behavior:"smooth"})},timelineConfig:N,updateTimeScale:e=>{if(L3.start(`updateTimeScale-${e}`),M.value=e,at.value=!0,Kt(),e===t4.HOUR){const e=ee();On=!0,N.value={...N.value,startDate:e.startDate,endDate:e.endDate},On=!1}else if(e===t4.DAY){const e=te();On=!0,N.value={...N.value,startDate:e.startDate,endDate:e.endDate},On=!1}if(e===t4.WEEK){const e=ne();On=!0,N.value={...N.value,startDate:e.startDate,endDate:e.endDate},On=!1}if(e===t4.MONTH){const e=ie();On=!0,N.value={...N.value,startDate:e.startDate,endDate:e.endDate},On=!1}if(e===t4.QUARTER){const e=oe();On=!0,N.value={...N.value,startDate:e.startDate,endDate:e.endDate},On=!1}if(e===t4.YEAR){const e=oe();On=!0,N.value={...N.value,startDate:e.startDate,endDate:e.endDate},On=!1}ln.value=Ht(),qn(()=>{i("timeline-scale-changed",e),window.dispatchEvent(new CustomEvent("timeline-scale-updated")),setTimeout(()=>{window.dispatchEvent(new CustomEvent("timeline-force-recalculate")),setTimeout(()=>{hn(),L3.end(`updateTimeScale-${e}`),L3.report()},100)},50)})},highlightedTaskId:se,clearHighlight:()=>{se.value=null,ce.value.clear()}});const Tr=e=>{i("start-timer",e)},_r=e=>{i("stop-timer",e)},Cr=e=>{const t=e.startDate||e.endDate||"";return{...e,type:"milestone",startDate:t,endDate:e.startDate||e.endDate}};let Er=null;const Rr=(e=50)=>{Er&&clearTimeout(Er),Er=setTimeout(()=>{Xr(),Er=null},e)},Xr=()=>{if("resource"===c.value&&!tt)return;tt=!1;let e=null;M.value===t4.HOUR?e=ee():M.value===t4.DAY?e=te():M.value===t4.WEEK?e=ne():M.value===t4.MONTH?e=ie():(M.value===t4.QUARTER||M.value===t4.YEAR)&&(e=oe()),e&&(Kt(),On=!0,N.value.startDate=e.startDate,N.value.endDate=e.endDate,On=!1,ln.value=Ht())};hr(Je,(e,t)=>{We.value||et||(!t||0===t||Math.abs(e-t)>50)&&e>0&&Rr(100)},{immediate:!0});let Br=null;hr([ln,Je],()=>{We.value||(Br&&clearTimeout(Br),Br=setTimeout(()=>{Re=!0,bn.value={},wn.value={},En(!0),d.value++,qn(()=>{setTimeout(()=>{Mn()},200)}),Br=null},100))}),hr([c,u],([e],[t])=>{K(),"task"===e?(dn=!1,Rr()):"resource"===e&&e!==t&&(dn=!1,tt=!0,Rr())}),hr(()=>V.value,e=>{K(),Re=!0;const t=new Set;for(const i of e)t.add(String(i.id));const n={};for(const i in bn.value)t.has(i)&&(n[i]=bn.value[i]);bn.value=n;const r={};for(const i in wn.value)t.has(i)&&(r[i]=wn.value[i]);wn.value=r,En(!1)});const Ur=e=>{const{scrollLeft:t,smooth:n}=e.detail,r=document.querySelector(".timeline"),i=document.querySelector(".timeline-body");let o=null;if(r&&r.scrollWidth>r.clientWidth?o=r:i&&i.scrollWidth>i.clientWidth&&(o=i),o){const e=o.scrollWidth-o.clientWidth,r=Math.min(Math.max(0,t),e);n?o.scrollTo({left:r,behavior:"smooth"}):o.scrollLeft=r}},Dr=()=>{let e,t;if(M.value===t4.MONTH){const n=ie();e=n.startDate,t=n.endDate}else e=new Date(N.value.startDate),t=new Date(N.value.endDate);const n={},r=new Date(e);for(r.setDate(1);r<=t;){const e=r.getFullYear(),t=r.getMonth()+1,i=new Date(e,t,0).getDate(),o=new Date,s=e===o.getFullYear()&&t===o.getMonth()+1;n[e]||(n[e]={year:e,yearLabel:`${e}年`,months:[]}),n[e].months.push({year:e,month:t,monthLabel:a(t),startDate:new Date(e,t-1,1),endDate:new Date(e,t,0),isToday:s,dayCount:i}),r.setMonth(r.getMonth()+1)}const i=[];let s=0;for(const a of Object.values(n))for(const e of a.months){const t=[];for(let i=1;i<=e.dayCount;i++){const n=new Date(e.year,e.month-1,i);t.push({day:i,date:new Date(n),dayOfWeek:n.getDay(),isToday:sn(n),isWeekend:0===n.getDay()||6===n.getDay()})}const n=W.value.month.cellWidth,r=s,a=s+n;i.push({year:e.year,month:e.month,yearMonthLabel:o(e.year,e.month),startDate:e.startDate,endDate:e.endDate,isMonthView:!0,monthData:{monthLabel:e.monthLabel,isToday:e.isToday,dayCount:e.dayCount},subDays:t,days:t.map(e=>({day:e.day,date:e.date,label:String(e.day).padStart(2,"0"),isToday:e.isToday,isWeekend:e.isWeekend})),_debugInfo:{monthStartPosition:r,monthEndPosition:a,monthWidth:n}}),s+=n}return i},Ir=()=>{const e=N.value.startDate,t=N.value.endDate,n=[],r=e.getFullYear(),i=t.getFullYear();for(let o=r;o<=i;o++){const e=[];for(let t=1;t<=4;t++){const n=3*(t-1),r=new Date(o,n,1),i=new Date(o,n+2+1,0);e.push({quarter:t,label:`Q${t}`,fullLabel:`${o}年第${t}季度`,startDate:r,endDate:i,isToday:zr(r,i),year:o})}n.push({year:o,yearLabel:String(o),startDate:new Date(o,0,1),endDate:new Date(o,11,31),quarters:e})}return n},zr=(e,t)=>{const n=new Date;return n.setHours(0,0,0,0),n>=e&&n<=t},Nr=()=>{const e=N.value.startDate,t=N.value.endDate,n=[],r=e.getFullYear(),i=t.getFullYear();for(let o=r;o<=i;o++){const e=[{label:l("halfYearFirst"),startDate:new Date(o,0,1),endDate:new Date(o,6,0),width:W.value.year.cellWidth},{label:l("halfYearSecond"),startDate:new Date(o,6,1),endDate:new Date(o,11,31),width:W.value.year.cellWidth}];n.push({year:o,startDate:new Date(o,0,1),endDate:new Date(o,11,31),halfYears:e,width:2*W.value.year.cellWidth})}return n},Mr=e=>{i("add-predecessor",e)},Lr=e=>{i("add-successor",e)};return(e,t)=>{var n,i,o,a,s,f,p,A,m,y,b,Q;return la(),ha(na,null,[va("div",{ref_key:"timelineContainer",ref:or,class:"timeline",style:re({"--gantt-day-cell-width":W.value.day.cellWidth+"px","--gantt-week-cell-width":W.value.week.cellWidth+"px"}),onMousedown:pr,onScroll:gr},[va("div",Z3,[M.value===fn(t4).YEAR&&Pr.value&&Pr.value.length>0?(la(),ha(na,{key:0},[va("div",Y3,[(la(!0),ha(na,null,Bi(Pr.value,e=>(la(),ha("div",{key:`year-${e.year}`,class:"timeline-year",style:re({width:2*W.value.year.cellWidth+"px"})},[va("div",j3,Te(j("year","primary")?Y(W.value.year.formatters.primary,new Date(e.year,0,1)):e.year),1)],4))),128))]),va("div",G3,[(la(!0),ha(na,null,Bi(Pr.value,e=>(la(),ha(na,{key:`halfyear-${e.year}`},[(la(!0),ha(na,null,Bi(e.halfYears||[],t=>(la(),ha("div",{key:`halfyear-${e.year}-${t.label}`,class:"timeline-half-year-item",style:re({width:W.value.year.cellWidth+"px"})},[va("div",H3,Te(j("year","secondary")?Y(W.value.year.formatters.secondary,t.startDate):t.label),1)],4))),128))],64))),128))])],64)):M.value===fn(t4).MONTH?(la(),ha(na,{key:1},[va("div",K3,[(la(!0),ha(na,null,Bi($r.value,(e,t)=>(la(),ha("div",{key:`year-${t}`,class:"timeline-year",style:re({width:e.length*W.value.month.cellWidth+"px"})},[va("div",J3,Te(j("month","primary")?Y(W.value.month.formatters.primary,new Date(Number(t),0,1)):t),1)],4))),128))]),va("div",e6,[(la(!0),ha(na,null,Bi(ln.value,e=>{var t,n;return la(),ha("div",{key:`month-${e.year}-${e.month}`,class:le(["timeline-month-item",{today:null==(t=e.monthData)?void 0:t.isToday}]),style:re({width:W.value.month.cellWidth+"px"})},[va("div",t6,Te(j("month","secondary")?Y(W.value.month.formatters.secondary,new Date(e.year,e.month-1,1)):null==(n=e.monthData)?void 0:n.monthLabel),1)],6)}),128))])],64)):M.value===fn(t4).QUARTER?(la(),ha(na,{key:2},[va("div",n6,[(la(!0),ha(na,null,Bi(ln.value,e=>(la(),ha("div",{key:`year-${e.year}`,class:"timeline-year",style:re({width:4*W.value.quarter.cellWidth+"px"})},[va("div",r6,Te(j("quarter","primary")?Y(W.value.quarter.formatters.primary,new Date(e.year,0,1)):e.yearLabel),1)],4))),128))]),va("div",i6,[(la(!0),ha(na,null,Bi(ln.value,e=>(la(),ha(na,{key:`quarters-${e.year}`},[(la(!0),ha(na,null,Bi(e.quarters,t=>(la(),ha("div",{key:`quarter-${e.year}-${t.quarter}`,class:le(["timeline-quarter-item",{today:t.isToday}]),style:re({width:W.value.quarter.cellWidth+"px"})},[va("div",o6,Te(j("quarter","secondary")?Y(W.value.quarter.formatters.secondary,t.startDate):t.label),1)],6))),128))],64))),128))])],64)):M.value===fn(t4).HOUR?(la(),ha("div",{key:3,class:"hour-header-container",style:re({width:`${Rt.value}px`})},[va("div",a6,[(la(!0),ha(na,null,Bi(Et.value,e=>(la(),ha("div",{key:`date-${e.year}-${e.month}-${e.day}`,class:"timeline-day-item",style:re({position:"absolute",width:e.hours.length*W.value.hour.cellWidth+"px",left:(e.hourOffset||0)*W.value.hour.cellWidth+"px"})},[va("div",s6,Te(e.dateLabel),1)],4))),128))]),va("div",l6,[(la(!0),ha(na,null,Bi(Et.value,e=>(la(),ha(na,{key:`hours-${e.year}-${e.month}-${e.day}`},[(la(!0),ha(na,null,Bi(e.hours,(t,n)=>(la(),ha("div",{key:`hour-${e.year}-${e.month}-${e.day}-${t.hour}`,class:le(["timeline-hour-item",{today:t.isToday,"non-working-hour":!t.isWorkingHour}]),style:re({position:"absolute",width:`${W.value.hour.cellWidth}px`,left:(e.hourOffset+n)*W.value.hour.cellWidth+"px"})},[va("div",c6,Te(t.shortLabel),1)],6))),128))],64))),128))])],4)):(la(),ha(na,{key:4},[va("div",u6,[(la(!0),ha(na,null,Bi(ln.value,e=>(la(),ha("div",{key:`year-month-${e.year}-${e.month}`,class:"timeline-month",style:re({width:e.isWeekView?(e.weeks||[]).length*W.value.week.cellWidth+"px":(e.days||[]).length*W.value.day.cellWidth+"px"})},[va("div",O6,Te(j(M.value,"primary")?Y(W.value[M.value].formatters.primary,new Date(e.year,e.month-1,1)):e.yearMonthLabel),1)],4))),128)),(la(!0),ha(na,null,Bi(Sr.value,(e,n)=>(la(),ha("div",{key:`flag-${n}`,class:"month-first-flag",style:re({left:`${e.left}px`,transform:"translateX(-50%)"})},[t[2]||(t[2]=va("div",{class:"flag-pole"},null,-1)),va("div",d6,Te(e.date),1)],4))),128))]),va("div",h6,[(la(!0),ha(na,null,Bi(ln.value,e=>(la(),ha(na,{key:`timeline-${e.year}-${e.month}`},[e.isWeekView&&e.weeks?(la(),ha("div",{key:0,class:"timeline-month-weeks",style:re({width:(e.weeks||[]).length*W.value.week.cellWidth+"px"})},[(la(!0),ha(na,null,Bi(e.weeks||[],n=>(la(),ha("div",{key:`week-${e.year}-${e.month}-${n.label}`,class:le(["timeline-week",{today:n.isToday}])},[va("div",f6,Te(Y(W.value.week.formatters.secondary??"W周",n.weekStart)),1),t[3]||(t[3]=va("div",{class:"week-sub-days"},null,-1))],2))),128))],4)):(la(),ha("div",{key:1,class:"timeline-month-days",style:re({width:e.days.length*W.value.day.cellWidth+"px"})},[(la(!0),ha(na,null,Bi(e.days,t=>(la(),ha("div",{key:`day-${e.year}-${e.month}-${t.day}`,class:le(["timeline-day",{today:t.isToday,weekend:t.isWeekend&&!t.isToday}])},[va("div",p6,Te(j("day","secondary")?Y(W.value.day.formatters.secondary,t.date):t.label),1)],2))),128))],4))],64))),128))])],64))]),va("div",{class:"timeline-body",onScroll:Kn},[va("div",{ref_key:"bodyContentRef",ref:Rn,class:"timeline-body-content"},["task"===fn(c)||"resource"===fn(c)&&M.value===fn(t4).WEEK?(la(),fa(U3,{key:0,tasks:V.value,"task-bar-positions":wn.value,width:Dn.value,height:In.value,"offset-left":zn.value,"offset-top":Nn.value,"highlighted-task-id":se.value,"highlighted-task-ids":ce.value,"hovered-task-id":ae.value,"vertical-lines":kr.value,"show-vertical-lines":M.value===fn(t4).WEEK,"show-links":"task"===fn(c),"is-scrolling":w.value},null,8,["tasks","task-bar-positions","width","height","offset-left","offset-top","highlighted-task-id","highlighted-task-ids","hovered-task-id","vertical-lines","show-vertical-lines","show-links","is-scrolling"])):Sa("",!0),ya(I3,{ref_key:"linkDragGuideRef",ref:Xn,active:!!de.value&&!!he.value,width:Dn.value,height:In.value,"offset-left":zn.value,"offset-top":Nn.value},null,8,["active","width","height","offset-left","offset-top"]),An.value&&pn.value>=0?(la(),ha("div",{key:1,class:"today-line-year-view",style:re({left:`${pn.value}px`,height:`${qt.value}px`})},null,4)):Sa("",!0),va("div",{class:"day-columns",style:re({height:`${qt.value}px`})},[M.value===fn(t4).HOUR?(la(),ha("div",{key:0,class:"hour-columns-container",style:re({width:`${Rt.value}px`,height:`${qt.value}px`,position:"relative"})},[(la(!0),ha(na,null,Bi(Et.value,e=>(la(),ha(na,{key:`day-col-${e.year}-${e.month}-${e.day}`},[(la(!0),ha(na,null,Bi(e.hours,(t,n)=>(la(),ha("div",{key:`hour-col-${e.year}-${e.month}-${e.day}-${t.hour}`,class:le(["hour-column",{today:t.isToday,weekend:t.isWeekend,"working-hour":t.isWorkingHour,"rest-hour":!t.isWorkingHour&&!t.isWeekend}]),style:re({position:"absolute",width:`${W.value.hour.cellWidth}px`,height:`${qt.value}px`,left:(e.hourOffset+n)*W.value.hour.cellWidth+"px"})},[va("div",A6,[va("div",{class:"quarter-line",style:re({left:W.value.hour.cellWidth/4+"px"})},null,4),va("div",{class:"quarter-line",style:re({left:W.value.hour.cellWidth/2+"px"})},null,4),va("div",{class:"quarter-line",style:re({left:3*W.value.hour.cellWidth/4+"px"})},null,4)])],6))),128))],64))),128))],4)):Sa("",!0),M.value===fn(t4).YEAR?(la(!0),ha(na,{key:1},Bi(Pr.value,e=>(la(),ha(na,{key:`year-col-${e.year}`},[(la(!0),ha(na,null,Bi(e.halfYears||[],t=>(la(),ha("div",{key:`halfyear-col-${e.year}-${t.label}`,class:"half-year-column",style:re({width:W.value.year.cellWidth+"px",height:`${qt.value}px`})},null,4))),128))],64))),128)):Sa("",!0),M.value===fn(t4).QUARTER?(la(),ha("div",{key:2,class:"quarter-columns-container",style:re({width:`${Rt.value}px`,height:`${qt.value}px`,position:"relative"})},[(la(!0),ha(na,null,Bi(ln.value,(e,t)=>(la(),ha(na,{key:`quarter-col-${e.year}`},[(la(!0),ha(na,null,Bi(e.quarters,(n,r)=>(la(),ha("div",{key:`quarter-col-${e.year}-${n.quarter}`,class:le(["quarter-column",{today:n.isToday}]),style:re({position:"absolute",width:`${W.value.quarter.cellWidth}px`,height:`${qt.value}px`,left:t*W.value.quarter.cellWidth*4+r*W.value.quarter.cellWidth+"px"})},null,6))),128))],64))),128))],4)):M.value!==fn(t4).HOUR&&M.value!==fn(t4).YEAR&&M.value!==fn(t4).QUARTER?(la(!0),ha(na,{key:3},Bi(ln.value,e=>{var t;return la(),ha(na,{key:`day-col-${e.year}-${e.month}`},[e.isMonthView?(la(),ha("div",{key:0,class:le(["month-column",{today:null==(t=e.monthData)?void 0:t.isToday}]),style:re({width:`${W.value.month.cellWidth}px`,height:`${qt.value}px`})},null,6)):e.isWeekView&&e.weeks?(la(),ha("div",{key:1,class:"month-week-columns",style:re({width:(e.weeks||[]).length*W.value.week.cellWidth+"px",height:`${qt.value}px`})},[(la(!0),ha(na,null,Bi(e.weeks||[],t=>(la(),ha("div",{key:`week-col-${e.year}-${e.month}-${t.label}`,class:le(["week-column",{today:t.isToday}]),style:re({height:`${qt.value}px`,width:`${W.value.week.cellWidth}px`})},[(la(!0),ha(na,null,Bi(t.subDays||[],(e,t)=>(la(),ha("div",{key:`subday-col-${t}`,class:le(["sub-day-column",{weekend:0===e.dayOfWeek||6===e.dayOfWeek,today:sn(e.date)}]),style:re({height:`${qt.value}px`,width:`${G.value}px`})},null,6))),128))],6))),128))],4)):(la(),ha("div",{key:2,class:"month-day-columns",style:re({width:(e.days||[]).length*W.value.day.cellWidth+"px",height:`${qt.value}px`})},[(la(!0),ha(na,null,Bi(e.days||[],t=>(la(),ha("div",{key:`day-col-${e.year}-${e.month}-${t.day}`,class:le(["day-column",{weekend:t.isWeekend,today:t.isToday}]),style:re({height:`${qt.value}px`})},null,6))),128))],4))],64)}),128)):Sa("",!0)],4),va("div",{class:"task-bar-container",style:re({height:`${qt.value}px`})},[va("div",{class:"task-rows",style:re({height:`${qt.value}px`})},["task"===fn(c)?(la(!0),ha(na,{key:0},Bi(vt.value,({task:n,originalIndex:i})=>{var o,a,s;return la(),ha("div",{key:n.id,class:le(["task-row",{"task-row-hovered":ae.value===n.id}]),style:re({top:i*fn(v)+"px",height:`${fn(v)}px`}),onMouseenter:e=>Vt(n.id),onMouseleave:t[0]||(t[0]=e=>Vt(null))},["milestone-group"===n.type&&n.children?(la(!0),ha(na,{key:0},Bi(n.children,e=>(la(),fa(R3,{key:e.id,date:e.startDate||"","row-height":fn(v),"day-width":G.value,"start-date":M.value===fn(t4).YEAR||M.value===fn(t4).QUARTER?oe().startDate:M.value===fn(t4).MONTH?ie().startDate:N.value.startDate,"timeline-start":N.value.startDate,"timeline-end":N.value.endDate,"period-width":G.value,name:e.name,milestone:Cr(e),"scroll-left":Ke.value,"container-width":Je.value,"milestone-id":e.id,"other-milestones":zt(e.id),"timeline-data":ln.value,"current-time-scale":M.value,"allow-drag-and-resize":r.allowDragAndResize&&!ue.value,"is-in-highlight-mode":ue.value,onMilestoneDoubleClick:jt,"onUpdate:milestone":Gt,onDragEnd:Gn,onMilestoneTooltipShow:X,onMilestoneTooltipHide:B},null,8,["date","row-height","day-width","start-date","timeline-start","timeline-end","period-width","name","milestone","scroll-left","container-width","milestone-id","other-milestones","timeline-data","current-time-scale","allow-drag-and-resize","is-in-highlight-mode"]))),128)):"milestone"===n.type?(la(),fa(R3,{key:n.id,date:n.startDate||"","row-height":fn(v),"day-width":G.value,"start-date":M.value===fn(t4).YEAR||M.value===fn(t4).QUARTER?oe().startDate:M.value===fn(t4).MONTH?ie().startDate:N.value.startDate,"timeline-start":N.value.startDate,"timeline-end":N.value.endDate,"period-width":G.value,name:n.name,milestone:Cr(n),"scroll-left":Ke.value,"container-width":Je.value,"milestone-id":n.id,"other-milestones":zt(n.id),"timeline-data":ln.value,"current-time-scale":M.value,"allow-drag-and-resize":r.allowDragAndResize&&!ue.value,"is-in-highlight-mode":ue.value,onMilestoneDoubleClick:jt,"onUpdate:milestone":Gt,onDragEnd:Gn,onMilestoneTooltipShow:X,onMilestoneTooltipHide:B},null,8,["date","row-height","day-width","start-date","timeline-start","timeline-end","period-width","name","milestone","scroll-left","container-width","milestone-id","other-milestones","timeline-data","current-time-scale","allow-drag-and-resize","is-in-highlight-mode"])):"milestone-group"!==n.type&&"milestone"!==n.type?(la(),fa($3,{key:`taskbar-${n.id}-${d.value}`,task:n,"row-index":i,"row-height":fn(v),"day-width":G.value,"start-date":M.value===fn(t4).YEAR?oe().startDate:M.value===fn(t4).MONTH?ie().startDate:N.value.startDate,"is-parent":n.isParent,"scroll-left":Ke.value,"container-width":Je.value,"hide-bubbles":nt.value,"timeline-data":M.value===fn(t4).HOUR?Et.value:ln.value,"current-time-scale":M.value,"task-bar-config":r.taskBarConfig,"allow-drag-and-resize":r.allowDragAndResize&&!ue.value,"show-actual-taskbar":r.showActualTaskbar,"enable-task-bar-tooltip":r.enableTaskBarTooltip,"pending-task-background-color":r.pendingTaskBackgroundColor,"delay-task-background-color":r.delayTaskBackgroundColor,"complete-task-background-color":r.completeTaskBackgroundColor,"ongoing-task-background-color":r.ongoingTaskBackgroundColor,"enable-parent-task-auto-schedule":r.enableParentTaskAutoSchedule,"is-highlighted":ce.value.has(n.id),"is-primary-highlight":se.value===n.id,"is-in-highlight-mode":ue.value,"drag-link-mode":de.value,"is-link-drag-source":(null==(o=he.value)?void 0:o.id)===n.id,"is-valid-link-target":(null==(a=fe.value)?void 0:a.id)===n.id&&!0===pe.value,"is-invalid-link-target":(null==(s=fe.value)?void 0:s.id)===n.id&&!1===pe.value,"all-tasks":V.value,"onUpdate:task":gn,onBarMounted:Fn,onClick:e=>yn(n,e),onDblclick:e=>vn(n),onDragEnd:Wn,onResizeEnd:Zn,onScrollToPosition:jn,onContextMenu:Yn,onStartTimer:Tr,onStopTimer:_r,onAddPredecessor:Mr,onAddSuccessor:Lr,onDelete:wr,onDeleteLink:Qr,onLongPress:Oe,onLinkDragStart:be,onLinkDragMove:Be,onLinkDragEnd:Ue,onTooltipShow:C,onTooltipHide:E},Ui({_:2},[e.$slots["custom-task-content"]?{name:"custom-task-content",fn:rr(t=>[Di(e.$slots,"custom-task-content",Ta({ref_for:!0},t),void 0,!0)]),key:"0"}:void 0,e.$slots["task-bar-context-menu"]?{name:"task-bar-context-menu",fn:rr(t=>[Di(e.$slots,"task-bar-context-menu",Ta({ref_for:!0},t),void 0,!0)]),key:"1"}:void 0]),1032,["task","row-index","row-height","day-width","start-date","is-parent","scroll-left","container-width","hide-bubbles","timeline-data","current-time-scale","task-bar-config","allow-drag-and-resize","show-actual-taskbar","enable-task-bar-tooltip","pending-task-background-color","delay-task-background-color","complete-task-background-color","ongoing-task-background-color","enable-parent-task-auto-schedule","is-highlighted","is-primary-highlight","is-in-highlight-mode","drag-link-mode","is-link-drag-source","is-valid-link-target","is-invalid-link-target","all-tasks","onClick","onDblclick"])):Sa("",!0)],46,m6)}),128)):"resource"===fn(c)?(la(!0),ha(na,{key:1},Bi(kt.value,({resource:n,originalIndex:i})=>{var o,a,s,l,c,f;return la(),ha("div",{key:n.id,class:le(["task-row resource-row",{"task-row-hovered":ae.value===n.id}]),style:re({top:`${(null==(o=fn(x))?void 0:o.get(n.id))||0}px`,height:`${(null==(s=null==(a=fn(S))?void 0:a.get(n.id))?void 0:s.totalHeight)||fn(v)}px`}),onMouseenter:e=>Vt(n.id),onMouseleave:t[1]||(t[1]=e=>Vt(null))},[n.tasks&&n.tasks.length>0?(la(),ha(na,{key:0},[(la(!0),ha(na,null,Bi(n.tasks,t=>{var o,a,s,l,c,f,p,A;return la(),fa($3,{key:`taskbar-${t.id}-${d.value}`,task:t,"row-index":i,"row-height":fn(v),"task-sub-row":(null==(a=null==(o=fn(S))?void 0:o.get(n.id))?void 0:a.taskRowMap.get(t.id))||0,"row-heights":(null==(l=null==(s=fn(S))?void 0:s.get(n.id))?void 0:l.rowHeights)||[fn(v)],"day-width":G.value,"start-date":M.value===fn(t4).YEAR?oe().startDate:M.value===fn(t4).MONTH?ie().startDate:N.value.startDate,"scroll-left":Ke.value,"container-width":Je.value,"hide-bubbles":nt.value,"timeline-data":M.value===fn(t4).HOUR?Et.value:ln.value,"current-time-scale":M.value,"task-bar-config":r.taskBarConfig,"allow-drag-and-resize":r.allowDragAndResize&&!ue.value,"show-actual-taskbar":r.showActualTaskbar,"enable-task-bar-tooltip":r.enableTaskBarTooltip,"pending-task-background-color":r.pendingTaskBackgroundColor,"delay-task-background-color":r.delayTaskBackgroundColor,"complete-task-background-color":r.completeTaskBackgroundColor,"ongoing-task-background-color":r.ongoingTaskBackgroundColor,"is-highlighted":ce.value.has(t.id),"is-primary-highlight":se.value===t.id,"is-in-highlight-mode":ue.value,"drag-link-mode":de.value,"is-link-drag-source":(null==(c=he.value)?void 0:c.id)===t.id,"is-valid-link-target":(null==(f=fe.value)?void 0:f.id)===t.id&&!0===pe.value,"is-invalid-link-target":(null==(p=fe.value)?void 0:p.id)===t.id&&!1===pe.value,"all-tasks":V.value,"has-resource-conflict":(null==(A=fn(O).get(String(n.id)))?void 0:A.has(t.id))||!1,"conflict-tasks":h(n.id,t.id),"current-resource-id":n.id,resources:fn(u),"onUpdate:task":gn,onBarMounted:Fn,onClick:e=>yn(t,e),onDblclick:e=>vn(t),onDragEnd:Wn,onResizeEnd:Zn,onScrollToPosition:jn,onContextMenu:Yn,onStartTimer:Tr,onStopTimer:_r,onAddPredecessor:Mr,onAddSuccessor:Lr,onDelete:wr,onDeleteLink:Qr,onLongPress:Oe,onLinkDragStart:be,onLinkDragMove:Be,onLinkDragEnd:Ue,onTooltipShow:C,onTooltipHide:E},Ui({_:2},[e.$slots["custom-task-content"]?{name:"custom-task-content",fn:rr(t=>[Di(e.$slots,"custom-task-content",Ta({ref_for:!0},t),void 0,!0)]),key:"0"}:void 0,e.$slots["task-bar-context-menu"]?{name:"task-bar-context-menu",fn:rr(t=>[Di(e.$slots,"task-bar-context-menu",Ta({ref_for:!0},t),void 0,!0)]),key:"1"}:void 0]),1032,["task","row-index","row-height","task-sub-row","row-heights","day-width","start-date","scroll-left","container-width","hide-bubbles","timeline-data","current-time-scale","task-bar-config","allow-drag-and-resize","show-actual-taskbar","enable-task-bar-tooltip","pending-task-background-color","delay-task-background-color","complete-task-background-color","ongoing-task-background-color","is-highlighted","is-primary-highlight","is-in-highlight-mode","drag-link-mode","is-link-drag-source","is-valid-link-target","is-invalid-link-target","all-tasks","has-resource-conflict","conflict-tasks","current-resource-id","resources","onClick","onDblclick"])}),128)),fn(g)?(la(),fa(M3,{key:0,tasks:n.tasks,"resource-id":n.id,"day-width":G.value,"start-date":M.value===fn(t4).YEAR?oe().startDate:M.value===fn(t4).MONTH?ie().startDate:N.value.startDate,"top-offset":5.5,height:((null==(l=fn(S).get(n.id))?void 0:l.totalHeight)||fn(v))-10,width:Rt.value,"timeline-data":ln.value,"current-time-scale":M.value,"task-row-map":null==(c=fn(S).get(n.id))?void 0:c.taskRowMap,"row-heights":null==(f=fn(S).get(n.id))?void 0:f.rowHeights,"scroll-left":Ke.value,"container-width":Je.value,"render-limit":wt.value.get(n.id)},null,8,["tasks","resource-id","day-width","start-date","height","width","timeline-data","current-time-scale","task-row-map","row-heights","scroll-left","container-width","render-limit"])):Sa("",!0)],64)):Sa("",!0)],46,g6)}),128)):Sa("",!0)],4)],4)],512)],32)],36),!1!==r.enableTaskBarTooltip?(la(),fa(xr,{key:0,to:"body"},[P.visible?(la(),ha("div",{key:0,class:le(["task-hover-tooltip",[`placement-${P.placement}`,{"tooltip-custom-slot":e.$slots["taskbar-tooltip"]}]]),style:re({left:`${P.position.left}px`,top:`${P.position.top}px`,"--arrow-offset":`${P.arrowOffset}px`,"--tt-color":P.taskStatus.color})},[e.$slots["taskbar-tooltip"]?Di(e.$slots,"taskbar-tooltip",{key:0,task:P.task,taskStatus:P.taskStatus,resourcePercent:P.resourcePercent},void 0,!0):(la(),ha("div",v6,[va("div",y6,Te(null==(n=P.task)?void 0:n.name),1),null!=(i=P.parentAutoSchedule)&&i.enabled&&null!=(o=P.parentAutoSchedule)&&o.childrenRange?(la(),ha(na,{key:0},[va("div",b6,[va("span",w6,Te(l("childrenEarliestStart"))+":",1),va("span",Q6,Te(_(P.parentAutoSchedule.childrenRange.minStart)),1)]),va("div",$6,[va("span",S6,Te(l("childrenLatestEnd"))+":",1),va("span",x6,Te(_(P.parentAutoSchedule.childrenRange.maxEnd)),1)])],64)):(la(),ha(na,{key:1},[va("div",k6,[va("span",P6,Te(l("plannedStartDate"))+":",1),va("span",T6,Te(T(null==(a=P.task)?void 0:a.startDate)),1)]),va("div",_6,[va("span",C6,Te(l("plannedEndDate"))+":",1),va("span",E6,Te(T(null==(s=P.task)?void 0:s.endDate)),1)]),!1===(null==(f=P.parentAutoSchedule)?void 0:f.enabled)&&null!=(p=P.parentAutoSchedule)&&p.hasOverflow&&null!=(A=P.parentAutoSchedule)&&A.childrenRange?(la(),ha(na,{key:0},[va("div",R6,[va("span",X6,"⚠ "+Te(l("childrenOverflow")),1)]),va("div",B6,[va("span",U6,Te(l("childrenEarliestStart"))+":",1),va("span",D6,Te(_(P.parentAutoSchedule.childrenRange.minStart)),1)]),va("div",I6,[va("span",z6,Te(l("childrenLatestEnd"))+":",1),va("span",N6,Te(_(P.parentAutoSchedule.childrenRange.maxEnd)),1)])],64)):Sa("",!0)],64)),P.parentAutoSchedule?Sa("",!0):(la(),ha(na,{key:2},[va("div",M6,[va("span",L6,Te(l("actualStartDate"))+":",1),va("span",V6,Te(null!=(m=P.task)&&m.actualStartDate?T(P.task.actualStartDate):"-"),1)]),va("div",q6,[va("span",F6,Te(l("actualEndDate"))+":",1),va("span",W6,Te(null!=(y=P.task)&&y.actualEndDate?T(P.task.actualEndDate):"-"),1)])],64))])),t[4]||(t[4]=va("span",{class:"tt-arrow"},null,-1))],6)):Sa("",!0)])):Sa("",!0),!1!==r.enableMilestoneTooltip?(la(),fa(xr,{key:1,to:"body"},[R.visible?(la(),ha("div",{key:0,class:le(["milestone-sticky-tooltip",[`arrow-${R.arrowDirection}`,{"milestone-tooltip-custom":e.$slots["milestone-tooltip"]}]]),style:re({left:`${R.position.x+(e.$slots["milestone-tooltip"]||"left"===R.arrowDirection?0:50)}px`,top:`${R.position.y}px`,"--ms-color":R.milestoneColor,maxWidth:""+(e.$slots["milestone-tooltip"]?"280px":"180px")})},[e.$slots["milestone-tooltip"]?Di(e.$slots,"milestone-tooltip",{key:0,milestone:R.milestone},void 0,!0):(la(),ha("div",Z6,Te(null==(b=R.milestone)?void 0:b.name)+" – "+Te(T(null==(Q=R.milestone)?void 0:Q.startDate))+'" ',1)),va("span",{class:"ms-arrow",style:re({top:`${R.arrowOffsetY}px`})},null,4)],6)):Sa("",!0)])):Sa("",!0)],64)}}}),j6=M2(Y6,[["__scopeId","data-v-496c9727"]]),G6={class:"gantt-toolbar"},H6={class:"toolbar-left"},K6={key:0,class:"gantt-btn-group gantt-add-btn-group"},J6=["title"],e8=["title"],t8={key:1,class:"gantt-view-mode-control"},n8={class:"view-mode-track"},r8=["title"],i8=["title"],o8={key:2,class:"gantt-btn-group gantt-expand-collapse-btn-group"},a8=["title"],s8=["title"],l8={key:3,class:"gantt-btn-group"},c8=["title"],u8=["title"],O8={class:"toolbar-right"},d8={key:0,class:"segmented-control time-scale-segmented"},h8={class:"segmented-track"},f8=["title","onClick"],p8={key:1,class:"language-dropdown"},A8=["title"],m8={class:"lang-text"},g8={key:0,class:"language-menu"},v8=["onClick"],y8={class:"option-text"},b8={key:0,class:"check-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},w8=["title"],Q8=["title"],$8={key:0,class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},S8={key:1,class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},x8={class:"icon-fallback"},k8=["title"],P8={key:0,class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},T8={key:1,class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},_8={class:"icon-fallback"},C8=["data-theme"],E8={class:"dialog-content"},R8={class:"dialog-message"},X8={class:"dialog-actions"},B8="gantt-theme",U8=Vr({__name:"GanttToolbar",props:{config:{default:()=>({})},timeScale:{default:void 0},theme:{default:void 0},fullscreen:{type:Boolean,default:void 0},expandAll:{type:Boolean,default:void 0},viewMode:{default:"task"},onAddTask:{type:Function,default:void 0},onAddMilestone:{type:Function,default:void 0},onTodayLocate:{type:Function,default:void 0},onExportCsv:{type:Function,default:void 0},onExportPdf:{type:Function,default:void 0},onLanguageChange:{type:Function,default:void 0},onThemeChange:{type:Function,default:void 0},onFullscreenChange:{type:Function,default:void 0},onTimeScaleChange:{type:Function,default:void 0},onExpandAll:{type:Function,default:void 0},onCollapseAll:{type:Function,default:void 0},onViewModeChange:{type:Function,default:void 0},onSettingsConfirm:{type:Function,default:void 0}},emits:["add-task","add-milestone","today-locate","export-csv","export-pdf","language-change","theme-change","fullscreen-change","time-scale-change","expand-all","collapse-all","view-mode-change"],setup(e,{emit:t}){const n=e,r=t,i={zh:"zh-CN",en:"en-US"},{locale:o,setLocale:a,getTranslation:s}=w2(),l=cn("zh"),c=cn((()=>{if(typeof window<"u"){const e=localStorage.getItem(B8);return null!==e?"dark"===e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}return!1})()),u=cn(!1),O=cn(!1),d=cn(t4.DAY),h=cn("task");hr(()=>n.viewMode,e=>{e&&e!==h.value&&(h.value=e)},{immediate:!0}),hr(()=>n.timeScale,e=>{e&&e!==d.value&&(d.value=e)},{immediate:!0}),hr(()=>n.theme,e=>{if(e){const t="dark"===e;c.value!==t&&(c.value=t)}},{immediate:!0}),hr(()=>n.fullscreen,e=>{void 0!==e&&u.value!==e&&(u.value=e)},{immediate:!0});const f=e=>s(e),p=Ha(()=>f("language")),A=cn(!1),m=cn(null),g=cn(null),v=()=>{n.onAddTask&&"function"==typeof n.onAddTask?n.onAddTask():r("add-task")},y=()=>{n.onAddMilestone&&"function"==typeof n.onAddMilestone?n.onAddMilestone():r("add-milestone")},b=()=>{n.onTodayLocate&&"function"==typeof n.onTodayLocate?n.onTodayLocate():r("today-locate")},w=()=>{n.onExportCsv&&"function"==typeof n.onExportCsv?n.onExportCsv():r("export-csv")},Q=()=>{n.onExportPdf&&"function"==typeof n.onExportPdf?n.onExportPdf():r("export-pdf")},$=()=>{n.onExpandAll&&"function"==typeof n.onExpandAll?n.onExpandAll():r("expand-all")},S=()=>{n.onCollapseAll&&"function"==typeof n.onCollapseAll?n.onCollapseAll():r("collapse-all")},x=e=>{h.value!==e&&(h.value=e,n.onViewModeChange&&"function"==typeof n.onViewModeChange&&n.onViewModeChange(e))},k=()=>{O.value=!O.value},P=async()=>{if(m.value&&null!==g.value){if(n.onSettingsConfirm&&"function"==typeof n.onSettingsConfirm)try{if(!(await n.onSettingsConfirm(m.value,g.value)))return void E()}catch{return void E()}if("theme"===m.value){const e=g.value;c.value=e,n.onThemeChange&&"function"==typeof n.onThemeChange?n.onThemeChange(e):r("theme-change",e),T()}else if("language"===m.value){const e=g.value;l.value="zh-CN"===e?"zh":"en",a(e),n.onLanguageChange&&"function"==typeof n.onLanguageChange?n.onLanguageChange(e):r("language-change",e),_()}E()}else E()},T=()=>{typeof window<"u"&&"boolean"==typeof g.value&&localStorage.setItem(B8,g.value?"dark":"light")},_=()=>{typeof window<"u"&&"string"==typeof g.value&&localStorage.setItem("gantt-locale",g.value)},C=()=>{E()},E=()=>{A.value=!1,m.value=null,g.value=null},R=()=>{const e="dark"!==(n.theme||(c.value?"dark":"light"));g.value=e,m.value="theme",A.value=!0},X=()=>{u.value=!u.value,window.dispatchEvent(new CustomEvent("fullscreen-toggle",{detail:u.value})),n.onFullscreenChange&&"function"==typeof n.onFullscreenChange?n.onFullscreenChange(u.value):r("fullscreen-change",u.value)},B={hour:{value:t4.HOUR,label:()=>f("timeScaleHour")},day:{value:t4.DAY,label:()=>f("timeScaleDay")},week:{value:t4.WEEK,label:()=>f("timeScaleWeek")},month:{value:t4.MONTH,label:()=>f("timeScaleMonth")},quarter:{value:t4.QUARTER,label:()=>f("timeScaleQuarter")},year:{value:t4.YEAR,label:()=>f("timeScaleYear")}},U=["hour","day","week","month","year"],D=Ha(()=>{var e;const t=((null==(e=n.config)?void 0:e.timeScaleDimensions)??U).filter(e=>e in B);return t.length>0?t:[...U]}),I=Ha(()=>{var e;const t=D.value,r=null==(e=n.config)?void 0:e.defaultTimeScale;return r&&t.includes(r)?r:t.includes("day")?"day":t[0]??"day"}),z=e=>{d.value=e,n.onTimeScaleChange&&"function"==typeof n.onTimeScaleChange?n.onTimeScaleChange(e):r("time-scale-change",e)};let N=!1;hr(()=>I.value,e=>{const t=B[e].value;(d.value!==t||!N)&&(N=!0,z(t))},{immediate:!0});const M=Ha(()=>D.value.find(e=>B[e].value===d.value)??I.value),L=()=>{const e=D.value.findIndex(e=>e===M.value),t=D.value.length;if(0===t||e<0)return{transform:"translateX(0%)",width:`${100/t||25}%`};return{transform:`translateX(${100*e}%)`,width:`${100/t}%`}},V=e=>{!e.target.closest(".language-dropdown")&&O.value&&(O.value=!1)};return vi(()=>{const e=o.value;l.value="zh-CN"===e?"zh":"en",document.addEventListener("click",V)}),Qi(()=>{document.removeEventListener("click",V)}),(e,t)=>(la(),ha("div",G6,[va("div",H6,[!1!==e.config.showAddTask||!1!==e.config.showAddMilestone?(la(),ha("div",K6,[!1!==e.config.showAddTask?(la(),ha("button",{key:0,class:"gantt-btn-group-item",title:f("addTask"),onClick:v},[t[2]||(t[2]=va("svg",{class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),va("line",{x1:"5",y1:"12",x2:"19",y2:"12"})],-1)),Qa(" "+Te(f("addTask")),1)],8,J6)):Sa("",!0),!1!==e.config.showAddMilestone?(la(),ha("button",{key:1,class:"gantt-btn-group-item",title:f("addMilestone"),onClick:y},[t[3]||(t[3]=$a('<svg class="gantt-btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-7ca4784b><g transform="rotate(45 12 12)" data-v-7ca4784b><rect x="4" y="4" width="16" height="16" rx="4" ry="4" fill="none" stroke="currentColor" data-v-7ca4784b></rect></g><line x1="12" y1="8" x2="12" y2="16" data-v-7ca4784b></line><line x1="8" y1="12" x2="16" y2="12" data-v-7ca4784b></line></svg>',1)),Qa(" "+Te(f("addMilestone")),1)],8,e8)):Sa("",!0)])):Sa("",!0),!1!==e.config.showViewMode?(la(),ha("div",t8,[va("div",n8,[va("div",{class:"view-mode-thumb",style:re({transform:`translateX(${"task"===h.value?"0%":"100%"})`})},null,4)]),va("button",{class:le(["view-mode-item",{active:"task"===h.value}]),title:f("taskView")||"任务视图",onClick:t[0]||(t[0]=e=>x("task"))},[t[4]||(t[4]=$a('<svg class="gantt-btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-7ca4784b><rect x="3" y="3" width="7" height="7" rx="1" data-v-7ca4784b></rect><rect x="14" y="3" width="7" height="7" rx="1" data-v-7ca4784b></rect><rect x="3" y="14" width="7" height="7" rx="1" data-v-7ca4784b></rect><rect x="14" y="14" width="7" height="7" rx="1" data-v-7ca4784b></rect></svg>',1)),Qa(" "+Te(f("taskView")||"任务视图"),1)],10,r8),va("button",{class:le(["view-mode-item",{active:"resource"===h.value}]),title:f("resourceView")||"资源视图",onClick:t[1]||(t[1]=e=>x("resource"))},[t[5]||(t[5]=$a('<svg class="gantt-btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-7ca4784b><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" data-v-7ca4784b></path><circle cx="9" cy="7" r="4" data-v-7ca4784b></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87" data-v-7ca4784b></path><path d="M16 3.13a4 4 0 0 1 0 7.75" data-v-7ca4784b></path></svg>',1)),Qa(" "+Te(f("resourceView.desc")||"资源视图"),1)],10,i8)])):Sa("",!0),!1!==e.config.showExpandCollapse?(la(),ha("div",o8,[va("button",{class:"gantt-btn-group-item",title:f("expandAll"),onClick:$},[t[6]||(t[6]=va("svg",{class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("polyline",{points:"6 9 12 15 18 9"})],-1)),Qa(" "+Te(f("expandAll")),1)],8,a8),va("button",{class:"gantt-btn-group-item",title:f("collapseAll"),onClick:S},[t[7]||(t[7]=va("svg",{class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("polyline",{points:"18 15 12 9 6 15"})],-1)),Qa(" "+Te(f("collapseAll")),1)],8,s8)])):Sa("",!0),!1!==e.config.showExportCsv||!1!==e.config.showExportPdf?(la(),ha("div",l8,[!1!==e.config.showExportCsv?(la(),ha("button",{key:0,class:"gantt-btn-group-item",title:f("exportCsv"),onClick:w},[t[8]||(t[8]=$a('<svg class="gantt-btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-7ca4784b><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" data-v-7ca4784b></path><polyline points="14,2 14,8 20,8" data-v-7ca4784b></polyline><line x1="16" y1="13" x2="8" y2="13" data-v-7ca4784b></line><line x1="16" y1="17" x2="8" y2="17" data-v-7ca4784b></line><polyline points="10,9 9,9 8,9" data-v-7ca4784b></polyline></svg>',1)),Qa(" "+Te(f("exportCsv")),1)],8,c8)):Sa("",!0),!1!==e.config.showExportPdf?(la(),ha("button",{key:1,class:"gantt-btn-group-item",title:f("exportPdf"),onClick:Q},[t[9]||(t[9]=$a('<svg class="gantt-btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-7ca4784b><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z" data-v-7ca4784b></path><polyline points="14,2 14,8 20,8" data-v-7ca4784b></polyline><line x1="16" y1="13" x2="8" y2="13" data-v-7ca4784b></line><line x1="16" y1="17" x2="8" y2="17" data-v-7ca4784b></line><line x1="12" y1="13" x2="12" y2="17" data-v-7ca4784b></line></svg>',1)),Qa(" "+Te(f("exportPdf")),1)],8,u8)):Sa("",!0)])):Sa("",!0)]),va("div",O8,[!1!==e.config.showTimeScale?(la(),ha("div",d8,[va("div",h8,[va("div",{class:"segmented-thumb",style:re(L())},null,4)]),(la(!0),ha(na,null,Bi(D.value,e=>(la(),ha("button",{key:e,class:le(["segmented-item",{active:M.value===e}]),title:f("timeScaleTooltip"),onClick:t=>z(B[e].value)},Te(B[e].label()),11,f8))),128))])):Sa("",!0),!1!==e.config.showLanguage?(la(),ha("div",p8,[va("button",{class:"toolbar-lang-btn",title:f("languageTooltip"),onClick:k},[t[10]||(t[10]=va("svg",{class:"gantt-btn-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("circle",{cx:"12",cy:"12",r:"10"}),va("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),va("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})],-1)),va("span",m8,Te(p.value),1),t[11]||(t[11]=va("svg",{class:"dropdown-arrow",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("polyline",{points:"6,9 12,15 18,9"})],-1))],8,A8),O.value?(la(),ha("div",g8,[(la(),ha(na,null,Bi(["zh","en"],e=>va("div",{key:e,class:le(["language-option",{active:l.value===e}]),onClick:t=>(e=>{O.value=!1,g.value=i[e],m.value="language",A.value=!0})(e)},[va("span",y8,Te("zh"===e?"中文":"English"),1),l.value===e?(la(),ha("svg",b8,t[12]||(t[12]=[va("polyline",{points:"20,6 9,17 4,12"},null,-1)]))):Sa("",!0)],10,v8)),64))])):Sa("",!0)])):Sa("",!0),!1!==e.config.showTodayLocate?(la(),ha("button",{key:2,class:"toolbar-icon-btn today-locate-btn",title:f("todayLocateTooltip"),onClick:b},t[13]||(t[13]=[$a('<svg class="gantt-btn-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-7ca4784b><rect x="3" y="4" width="18" height="18" rx="2" ry="2" data-v-7ca4784b></rect><line x1="16" y1="2" x2="16" y2="6" data-v-7ca4784b></line><line x1="8" y1="2" x2="8" y2="6" data-v-7ca4784b></line><line x1="3" y1="10" x2="21" y2="10" data-v-7ca4784b></line><circle cx="12" cy="16" r="1" data-v-7ca4784b></circle></svg>',1)]),8,w8)):Sa("",!0),!1!==e.config.showTheme?(la(),ha("button",{key:3,class:"toolbar-icon-btn",title:f(c.value?"lightMode":"darkMode"),onClick:R},[c.value?(la(),ha("svg",$8,t[14]||(t[14]=[$a('<circle cx="12" cy="12" r="5" data-v-7ca4784b></circle><line x1="12" y1="1" x2="12" y2="3" data-v-7ca4784b></line><line x1="12" y1="21" x2="12" y2="23" data-v-7ca4784b></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64" data-v-7ca4784b></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78" data-v-7ca4784b></line><line x1="1" y1="12" x2="3" y2="12" data-v-7ca4784b></line><line x1="21" y1="12" x2="23" y2="12" data-v-7ca4784b></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36" data-v-7ca4784b></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22" data-v-7ca4784b></line>',9)]))):(la(),ha("svg",S8,t[15]||(t[15]=[va("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"},null,-1)]))),va("span",x8,Te(c.value?"☀️":"🌙"),1)],8,Q8)):Sa("",!0),!1!==e.config.showFullscreen?(la(),ha("button",{key:4,class:"toolbar-icon-btn",title:f(u.value?"exitFullscreen":"fullscreen"),onClick:X},[u.value?(la(),ha("svg",P8,t[16]||(t[16]=[va("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"},null,-1)]))):(la(),ha("svg",T8,t[17]||(t[17]=[va("path",{d:"M8 3H5a2 2 0 00-2 2v3m18 0V5a2 2 0 00-2-2h-3m0 18h3a2 2 0 002-2v-3M3 16v3a2 2 0 002 2h3"},null,-1)]))),va("span",_8,Te(u.value?"⇲":"⇱"),1)],8,k8)):Sa("",!0)]),(la(),fa(xr,{to:"body"},[A.value?(la(),ha("div",{key:0,class:"gantt-settings-confirm-dialog","data-theme":n.theme},[va("div",E8,[va("p",R8,Te(f("confirmDialogMessage")),1),va("div",X8,[va("button",{class:"gantt-btn gantt-btn-default",onClick:C},Te(f("cancel")),1),va("button",{class:"gantt-btn gantt-btn-primary",onClick:P},Te(f("confirm")),1)])])],8,C8)):Sa("",!0)]))]))}}),D8=M2(U8,[["__scopeId","data-v-7ca4784b"]]),I8={success:"#67c23a",warning:"#e6a23c",error:"#f56c6c",info:"#909399"};let z8=null;const N8=new Map;function M8(){return{showMessage:(e,t="success",n)=>{const r=Date.now(),i=`${t}:${e}`,o=N8.get(i);if((null==n||!n.allowDuplicate)&&o&&r-o<1e3)return;N8.set(i,r);for(const[h,f]of N8.entries())r-f>2e3&&N8.delete(h);const a=document.createElement("div");a.className=`message ${t}`,a.textContent=e,a.style.cssText=`\n min-width: 180px;\n max-width: 360px;\n margin: 0;\n padding: 12px 20px 12px 20px;\n border-radius: 4px;\n color: white;\n font-size: 14px;\n background: ${I8[t]};\n box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);\n pointer-events: auto;\n opacity: 0;\n display: flex;\n align-items: center;\n gap: 12px;\n transform: translateY(-20px);\n transition: opacity 0.25s, transform 0.25s;\n position: relative;\n `;let s=!1;const l=(null==n?void 0:n.closable)??!1;if(l){const e=document.createElement("button");e.innerHTML='<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>',e.style.cssText="\n background: transparent;\n border: none;\n color: white;\n cursor: pointer;\n margin-left: 8px;\n padding: 0;\n display: flex;\n align-items: center;\n opacity: 0.7;\n transition: opacity 0.2s;\n ",e.onmouseenter=()=>e.style.opacity="1",e.onmouseleave=()=>e.style.opacity="0.7",e.onclick=()=>d(),a.appendChild(e)}const c=(z8||(z8=document.createElement("div"),z8.className="message-container",z8.style.cssText="\n position: fixed;\n top: 20px;\n right: 20px;\n z-index: 9999;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 12px;\n pointer-events: none;\n ",document.body.appendChild(z8)),z8);c.appendChild(a),setTimeout(()=>{a.style.opacity="0.98",a.style.transform="translateY(0)"},10);const u=(null==n?void 0:n.duration)??(l?0:3e3);let O;function d(){s||(s=!0,a.style.opacity="0",a.style.transform="translateY(-20px)",O&&clearTimeout(O),setTimeout(()=>{a.parentNode&&(c.removeChild(a),0===c.childElementCount&&(c.remove(),z8=null))},250))}!l&&u>0&&(O=window.setTimeout(()=>d(),u))}}}const L8={class:"el-input__wrapper"},V8={class:"el-input__inner"},q8=["value","placeholder","disabled"],F8={class:"el-input__suffix"},W8={class:"el-input__suffix-inner"},Z8={key:1,class:"el-input__icon"},Y8={class:"el-time-picker-header"},j8={class:"el-time-picker-title"},G8={class:"el-time-picker-content"},H8={class:"el-time-column"},K8={class:"el-time-column-header"},J8=["onClick"],e7={class:"el-time-column"},t7={class:"el-time-column-header"},n7=["onClick"],r7={class:"el-time-picker-footer"},i7={key:0,class:"el-year-picker"},o7={class:"el-year-picker__header"},a7={class:"el-year-picker__header-label"},s7={class:"el-year-picker__content"},l7=["onClick"],c7={key:1,class:"el-month-picker"},u7={class:"el-month-picker__header"},O7={class:"el-month-picker__content"},d7=["onClick"],h7={key:2,class:"el-date-picker__content-wrapper"},f7={class:"el-date-picker__header"},p7={class:"el-date-picker__header-label"},A7={class:"el-date-picker__content"},m7={class:"el-date-table__header"},g7={class:"el-date-table__body"},v7=["onClick"],y7={class:"el-date-table__cell-inner"},b7={key:0,class:"el-time-picker-input"},w7={class:"el-time-picker-label",for:"time-input"},Q7=["value","placeholder"],$7={key:1,class:"el-date-picker-footer"},S7=Vr({__name:"DatePicker",props:{modelValue:{default:""},type:{default:"date"},placeholder:{},startPlaceholder:{},endPlaceholder:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},size:{default:"default"},format:{default:"YYYY-MM-DD"},valueFormat:{default:"YYYY-MM-DD"},rangeSeparator:{}},emits:["update:modelValue","change","focus","blur"],setup(e,{emit:t}){const n=e,r=t,{t:i}=w2(),o=Ha(()=>n.placeholder??i.value.selectDate),a=Ha(()=>n.startPlaceholder??i.value.startDate),s=Ha(()=>n.endPlaceholder??i.value.endDate),l=Ha(()=>n.rangeSeparator??i.value.to),c=cn(!1),u=cn(!1),O=cn(!1),d=cn(!1),h=cn(!1),f=cn(!1),p=cn(),A=cn(),m=cn(),g=cn(),v=cn(),y=cn(),b=cn(null),w=cn(0),Q=cn(""),$=cn("12:00"),S=cn(""),x=cn(""),k=cn((new Date).getFullYear()),P=cn((new Date).getMonth()),T=cn(10*Math.floor((new Date).getFullYear()/10)),_=cn(""),C=cn(""),E=cn(""),R=cn("start"),X=cn("12:00"),B=cn(12),U=cn(0),D=(e,t)=>{if(!e)return"";const r=new Date(e);if(isNaN(r.getTime()))return"";const i=n.format.includes("-")?"-":"/",o=`${r.getFullYear()}${i}${String(r.getMonth()+1).padStart(2,"0")}${i}${String(r.getDate()).padStart(2,"0")}`;return"datetime"===n.type&&t?`${o} ${t}`:o},I=Ha(()=>{if("daterange"===n.type){const e=C.value?D(C.value,X.value):"",t=E.value?D(E.value,X.value):"";return e&&t?`${e} ${l.value} ${t}`:e||t||""}return _.value?D(_.value,X.value):""}),z=e=>{if(!e)return{dateStr:"",timeStr:"12:00"};const t=e.trim().split(" ");if(t.length>=2){const e=t[0],n=t[1],r=e.split("/");return 3===r.length?{dateStr:`${r[0]}-${r[1].padStart(2,"0")}-${r[2].padStart(2,"0")}`,timeStr:n}:{dateStr:e,timeStr:n}}const n=t[0];if(n.includes("/")){const e=n.split("/");if(3===e.length)return{dateStr:`${e[0]}-${e[1].padStart(2,"0")}-${e[2].padStart(2,"0")}`,timeStr:"12:00"}}return{dateStr:n,timeStr:"12:00"}};hr(()=>n.modelValue,e=>{if("daterange"===n.type)if(Array.isArray(e)&&2===e.length){const t=z(e[0]||""),n=z(e[1]||"");C.value=t.dateStr,E.value=n.dateStr,"12:00"!==t.timeStr&&(X.value=t.timeStr)}else C.value="",E.value="",X.value="12:00";else{const t=z(e||"");_.value=t.dateStr,X.value=t.timeStr}},{immediate:!0});const N=()=>{"daterange"===n.type?(C.value="",E.value="",r("update:modelValue",["",""]),r("change",["",""])):(_.value="",r("update:modelValue",""),r("change","")),O.value=!1},M=()=>{if(!n.disabled&&(O.value=!O.value,O.value)){let e;if("daterange"===n.type?(S.value=C.value,x.value=E.value):(Q.value=_.value,$.value=X.value),G.x=window.scrollX,G.y=window.scrollY,w.value++,"daterange"===n.type){const t=C.value||E.value;e=t?new Date(t):new Date}else e=_.value?new Date(_.value):new Date;isNaN(e.getTime())?(e=new Date,k.value=e.getFullYear(),P.value=e.getMonth()):(k.value=e.getFullYear(),P.value=e.getMonth())}},L=()=>{"datetime"===n.type&&O.value?(_.value=Q.value,X.value=$.value):"daterange"===n.type&&O.value&&(C.value=S.value,E.value=x.value),O.value=!1,d.value=!1,h.value=!1,f.value=!1,c.value=!1,b.value&&(clearTimeout(b.value),b.value=null)},V=()=>{if(v.value){const e=v.value.querySelectorAll(".el-time-item"),t=B.value;if(e[t]){const e=Math.max(0,28*t-80+14);v.value.scrollTop=e}}if(y.value){const e=y.value.querySelectorAll(".el-time-item"),t=[0,15,30,45].indexOf(U.value);if(t>=0&&e[t]){const e=Math.max(0,28*t-80+14);y.value.scrollTop=e}}},q=()=>{f.value=!1},F=()=>{X.value=`${String(B.value).padStart(2,"0")}:${String(U.value).padStart(2,"0")}`,q()},W=Ha(()=>Array.from({length:24},(e,t)=>t)),Z=Ha(()=>[0,15,30,45]),Y=()=>{if("daterange"===n.type){if(C.value&&E.value){const e=e=>{const t=new Date(e),r=n.valueFormat.includes("-")?"-":"/",i=`${t.getFullYear()}${r}${String(t.getMonth()+1).padStart(2,"0")}${r}${String(t.getDate()).padStart(2,"0")}`;return X.value?`${i} ${X.value}`:i},t=[e(C.value),e(E.value)];r("update:modelValue",t),r("change",t),S.value=C.value,x.value=E.value}}else if(_.value){const e=new Date(_.value),t=n.valueFormat.includes("-")?"-":"/",i=`${e.getFullYear()}${t}${String(e.getMonth()+1).padStart(2,"0")}${t}${String(e.getDate()).padStart(2,"0")}`,o=X.value?`${i} ${X.value}`:i;r("update:modelValue",o),r("change",o),Q.value=_.value,$.value=X.value}setTimeout(()=>{L()},150)},j=e=>{var t,n,r;const i=e.target,o=null==(t=p.value)?void 0:t.contains(i),a=null==(n=A.value)?void 0:n.contains(i),s=null==(r=m.value)?void 0:r.contains(i);o||a||s?!s&&f.value&&!a&&q():L()},G={x:0,y:0},H=()=>{if(O.value){const e=window.scrollX,t=window.scrollY,n=Math.abs(e-G.x),r=Math.abs(t-G.y);n<50&&r<50?w.value++:L(),G.x=e,G.y=t}},K=()=>{O.value&&w.value++},J=Ha(()=>{const e=new Date(k.value,P.value,1),t=new Date(e);t.setDate(t.getDate()-e.getDay());const r=[];for(let i=0;i<42;i++){const e=new Date(t);e.setDate(t.getDate()+i);const o=`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,a=e.getMonth()===P.value,s=o===(new Date).toISOString().split("T")[0],l="daterange"===n.type?o===C.value||o===E.value:o===_.value,c=!("daterange"!==n.type||!C.value||!E.value)&&(o>=C.value&&o<=E.value);r.push({date:e,dateStr:o,day:e.getDate(),isCurrentMonth:a,isToday:s,isSelected:l,isInRange:c})}return r}),ee=e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),0===P.value?(P.value=11,k.value--):P.value--},te=e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),11===P.value?(P.value=0,k.value++):P.value++},ne=e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),k.value--},ie=e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),k.value++},oe=e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),d.value=!0,h.value=!1,T.value=10*Math.floor(k.value/10)},ae=e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),T.value-=10},se=e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),T.value+=10},ce=Ha(()=>{const e=[];for(let t=0;t<10;t++)e.push(T.value+t);return e});vi(()=>{document.addEventListener("click",j),window.addEventListener("scroll",H,!0),window.addEventListener("resize",K),G.x=window.scrollX,G.y=window.scrollY}),Qi(()=>{document.removeEventListener("click",j),window.removeEventListener("scroll",H,!0),window.removeEventListener("resize",K),b.value&&(clearTimeout(b.value),b.value=null)});const ue=e=>{b.value&&(clearTimeout(b.value),b.value=null),c.value=!0,r("focus",e)},Oe=e=>{b.value=setTimeout(()=>{c.value=!1,L(),r("blur",e)},150)},de=()=>{b.value&&(clearTimeout(b.value),b.value=null)},he=()=>{f.value||(b.value=setTimeout(()=>{L()},150))},fe=()=>{b.value=setTimeout(()=>{q()},150)},pe=()=>{u.value=!0},Ae=()=>{u.value=!1},me=Ha(()=>["el-date-picker",`el-date-picker--${n.size}`,{"is-disabled":n.disabled,"is-focused":c.value,"is-range":"daterange"===n.type}]),ge=Ha(()=>!(!n.clearable||n.disabled)&&("daterange"===n.type?(C.value||E.value)&&u.value:_.value&&u.value)),ve=Ha(()=>{if(!p.value||!O.value)return{};const e=p.value.getBoundingClientRect(),t=280,n=300,r=window.innerWidth,i=window.innerHeight,o={position:"fixed",zIndex:"10000"},a=i-e.bottom,s=e.top;o.top=a>=304||a>=s?`${e.bottom+4}px`:e.top-n-4+"px";const l=r-e.left,c=e.right;if(l>=t)o.left=`${e.left}px`;else if(c>=t)o.left=e.right-t+"px";else{const n=e.left+(e.width-t)/2,i=4,a=r-t-4;o.left=`${Math.max(i,Math.min(n,a))}px`}const u=parseFloat(o.top),d=parseFloat(o.left);return u<4?o.top="4px":u+n>i-4&&(o.top=i-n-4+"px"),d<4?o.left="4px":d+t>r-4&&(o.left=r-t-4+"px"),o}),ye=Ha(()=>{if(!g.value||!f.value)return{};const e=g.value.getBoundingClientRect(),t=300,n=window.innerWidth,r=window.innerHeight,i={position:"fixed",zIndex:"10002"};n-e.left>=180?i.left=`${e.left}px`:i.left=`${Math.max(4,n-180-4)}px`,e.top>=304?i.top=e.top-t-4+"px":i.top=`${e.bottom+4}px`;const o=parseFloat(i.top);return o<4?i.top="4px":o+t>r-4&&(i.top=r-t-4+"px"),i});return(e,t)=>(la(),ha("div",{class:le(me.value),onMouseenter:pe,onMouseleave:Ae},[va("div",{ref_key:"inputRef",ref:p,class:"el-input",onClick:M},[va("div",L8,[va("div",V8,[va("input",{value:I.value,type:"text",class:"el-input__inner-input",placeholder:"daterange"===e.type?`${a.value} ${l.value} ${s.value}`:o.value,disabled:e.disabled,readonly:"",onFocus:ue,onBlur:Oe},null,40,q8)]),va("div",F8,[va("div",W8,[ge.value?(la(),ha("button",{key:0,type:"button",class:"el-input__clear",onClick:Dl(N,["stop"])},t[12]||(t[12]=[va("svg",{class:"el-icon",viewBox:"0 0 1024 1024"},[va("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})],-1)]))):(la(),ha("span",Z8,t[13]||(t[13]=[va("svg",{class:"el-icon",viewBox:"0 0 1024 1024"},[va("path",{fill:"currentColor",d:"M128 384v512h768V384H128zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32z"}),va("path",{fill:"currentColor",d:"M288 128a32 32 0 0 1 64 0v192a32 32 0 0 1-64 0V128zm384 0a32 32 0 0 1 64 0v192a32 32 0 0 1-64 0V128z"}),va("path",{fill:"currentColor",d:"M96 320h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32z"})],-1)])))])])])],512),(la(),fa(xr,{to:"body"},[ya(vs,{name:"picker-fade"},{default:rr(()=>[f.value?(la(),ha("div",{key:0,ref_key:"timePickerRef",ref:m,class:"el-time-picker-panel",style:re(ye.value),tabindex:"-1",onClick:t[4]||(t[4]=Dl(()=>{},["stop"])),onMousedown:t[5]||(t[5]=Dl(()=>{},["prevent"])),onFocus:de,onBlur:fe},[va("div",Y8,[va("span",j8,Te(fn(i).selectTime),1)]),va("div",G8,[va("div",H8,[va("div",K8,Te(fn(i).hour),1),va("div",{ref_key:"hourListRef",ref:v,class:"el-time-column-list"},[(la(!0),ha(na,null,Bi(W.value,e=>(la(),ha("div",{key:e,class:le(["el-time-item",{"is-active":e===B.value}]),onClick:Dl(t=>(e=>{B.value=e})(e),["stop"]),onMousedown:t[0]||(t[0]=Dl(()=>{},["prevent"]))},Te(String(e).padStart(2,"0")),43,J8))),128))],512)]),va("div",e7,[va("div",t7,Te(fn(i).minute),1),va("div",{ref_key:"minuteListRef",ref:y,class:"el-time-column-list"},[(la(!0),ha(na,null,Bi(Z.value,e=>(la(),ha("div",{key:e,class:le(["el-time-item",{"is-active":e===U.value}]),onClick:Dl(t=>(e=>{U.value=e})(e),["stop"]),onMousedown:t[1]||(t[1]=Dl(()=>{},["prevent"]))},Te(String(e).padStart(2,"0")),43,n7))),128))],512)])]),va("div",r7,[va("button",{class:"el-time-picker-btn el-time-picker-btn--cancel",onClick:Dl(q,["stop"]),onMousedown:t[2]||(t[2]=Dl(()=>{},["prevent"]))},Te(fn(i).cancel),33),va("button",{class:"el-time-picker-btn el-time-picker-btn--confirm",onClick:Dl(F,["stop"]),onMousedown:t[3]||(t[3]=Dl(()=>{},["prevent"]))},Te(fn(i).confirm),33)])],36)):Sa("",!0)]),_:1})])),(la(),fa(xr,{to:"body"},[ya(vs,{name:"picker-fade"},{default:rr(()=>[O.value?(la(),ha("div",{key:0,ref_key:"pickerRef",ref:A,class:"el-picker-panel",style:re(ve.value),tabindex:"-1",onFocus:de,onBlur:he},[d.value?(la(),ha("div",i7,[va("div",o7,[va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:ae}," << "),va("span",a7,Te(T.value)+" - "+Te(T.value+9),1),va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:se}," >> ")]),va("div",s7,[(la(!0),ha(na,null,Bi(ce.value,e=>(la(),ha("div",{key:e,class:le(["el-year-picker__item",{"is-current":e===k.value}]),onClick:t=>((e,t)=>{t&&(t.preventDefault(),t.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),k.value=e,d.value=!1,h.value=!0})(e,t)},Te(e),11,l7))),128))])])):h.value?(la(),ha("div",c7,[va("div",u7,[va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:ne}," << "),va("span",{class:"el-month-picker__header-label",onClick:t[6]||(t[6]=e=>oe(e))},Te(k.value),1),va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:ie}," >> ")]),va("div",O7,[(la(!0),ha(na,null,Bi(fn(i).monthNames,(e,t)=>(la(),ha("div",{key:t,class:le(["el-month-picker__item",{"is-current":t===P.value}]),onClick:e=>((e,t)=>{t&&(t.preventDefault(),t.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),P.value=e,h.value=!1})(t,e)},Te(e),11,d7))),128))])])):(la(),ha("div",h7,[va("div",f7,[va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:ne}," << "),va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:ee}," < "),va("span",p7,[va("span",{class:"el-date-picker__header-year",onClick:t[7]||(t[7]=e=>oe(e))},Te(k.value),1),va("span",{class:"el-date-picker__header-month",onClick:t[8]||(t[8]=e=>(e=>{e&&(e.preventDefault(),e.stopPropagation()),b.value&&(clearTimeout(b.value),b.value=null),h.value=!0,d.value=!1})(e))},Te(fn(i).monthNames[P.value]),1)]),va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:te}," > "),va("button",{type:"button",class:"el-picker-panel__icon-btn",onClick:ie}," >> ")]),va("div",A7,[va("div",m7,[(la(!0),ha(na,null,Bi(fn(i).weekDays,e=>(la(),ha("div",{key:e,class:"el-date-table__header-cell"},Te(e),1))),128))]),va("div",g7,[(la(!0),ha(na,null,Bi(J.value,t=>(la(),ha("div",{key:`${t.date.getTime()}`,class:le(["el-date-table__cell",{"is-other-month":!t.isCurrentMonth,"is-today":t.isToday,"is-selected":t.isSelected,"is-in-range":t.isInRange,"is-range-start":"daterange"===e.type&&t.dateStr===C.value,"is-range-end":"daterange"===e.type&&t.dateStr===E.value}]),onClick:e=>(e=>{if("daterange"===n.type)"start"===R.value||!C.value||C.value&&E.value?(C.value=e,E.value="",R.value="end"):(e<C.value?(E.value=C.value,C.value=e):E.value=e,R.value="start");else if(_.value=e,"date"===n.type){const t=new Date(e),i=n.valueFormat.includes("-")?"-":"/",o=`${t.getFullYear()}${i}${String(t.getMonth()+1).padStart(2,"0")}${i}${String(t.getDate()).padStart(2,"0")}`;r("update:modelValue",o),r("change",o),Q.value=_.value,setTimeout(()=>{L()},150)}})(t.dateStr)},[va("div",y7,Te(t.day),1)],10,v7))),128))])]),"datetime"===e.type?(la(),ha("div",b7,[va("label",w7,Te(fn(i).time)+":",1),va("input",{id:"time-input",ref_key:"timeInputRef",ref:g,type:"text",class:"el-time-input",value:X.value,placeholder:fn(i).selectTime,readonly:"",onClick:t[9]||(t[9]=e=>(e=>{if(e&&(e.preventDefault(),e.stopPropagation()),f.value)return;b.value&&(clearTimeout(b.value),b.value=null),f.value=!0;const[t,n]=X.value.split(":").map(Number);B.value=t,U.value=n,qn(()=>{V()})})(e)),onMousedown:t[10]||(t[10]=Dl(()=>{},["prevent"]))},null,40,Q7)])):Sa("",!0),"datetime"===e.type?(la(),ha("div",$7,[va("button",{class:"el-date-picker-btn el-date-picker-btn--confirm",onClick:Dl(Y,["stop"]),onMousedown:t[11]||(t[11]=Dl(()=>{},["prevent"]))},Te(fn(i).confirm),33)])):Sa("",!0)]))],36)):Sa("",!0)]),_:1})]))],34))}}),x7=M2(S7,[["__scopeId","data-v-fdd5e5b4"]]),k7={class:"multi-select-predecessor"},P7={class:"form-label",for:"predecessor-select"},T7={class:"predecessor-selector"},_7={key:0,class:"selected-tags"},C7=["onClick"],E7={class:"select-wrapper"},R7={value:""},X7=["value"],B7=Vr({__name:"MultiSelectPredecessor",props:{modelValue:{default:()=>[]},tasks:{},currentTaskId:{default:void 0},label:{default:"前置任务"},placeholder:{default:"请选择前置任务"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,i=cn(""),o=Ha(()=>n.modelValue||[]),a=Ha(()=>o.value.map(e=>n.tasks.find(t=>t.id===e)).filter(e=>e)),s=Ha(()=>n.tasks.filter(e=>"task"===e.type&&e.id!==n.currentTaskId&&!o.value.includes(e.id))),l=()=>{if(i.value){const e=Number(i.value);if(!o.value.includes(e)){const t=[...o.value,e];r("update:modelValue",t)}i.value=""}};return hr(()=>n.modelValue,()=>{i.value=""},{immediate:!0}),(e,t)=>(la(),ha("div",k7,[va("label",P7,Te(e.label),1),va("div",T7,[a.value.length>0?(la(),ha("div",_7,[(la(!0),ha(na,null,Bi(a.value,e=>(la(),ha("span",{key:e.id,class:"predecessor-tag"},[Qa(Te(e.name)+" ("+Te(e.id)+") ",1),va("button",{type:"button",class:"remove-tag-btn",onClick:t=>(e=>{const t=o.value.filter(t=>t!==e);r("update:modelValue",t)})(e.id)}," × ",8,C7)]))),128))])):Sa("",!0),va("div",E7,[ir(va("select",{id:"predecessor-select","onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),class:"form-select",onChange:l},[va("option",R7,Te(e.placeholder),1),(la(!0),ha(na,null,Bi(s.value,e=>(la(),ha("option",{key:e.id,value:e.id},Te(e.name)+" (ID: "+Te(e.id)+") ",9,X7))),128))],544),[[Pl,i.value]])])])]))}}),U7=M2(B7,[["__scopeId","data-v-bc7f35cb"]]),D7=["data-theme"],I7={class:"drawer-header",style:{display:"flex","align-items":"center","justify-content":"flex-start",gap:"8px"}},z7={class:"drawer-title",style:{margin:"0"}},N7={key:0,class:"drawer-timer",style:{display:"flex","align-items":"center",gap:"6px","margin-left":"8px"}},M7={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",style:{display:"block",margin:"0 auto"}},L7={key:0,class:"timer-dot",style:{background:"#67c23a",width:"7px",height:"7px","border-radius":"50%","margin-right":"5px",animation:"pulse 1s infinite"}},V7={class:"close-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",style:{"vertical-align":"middle"}},q7={class:"drawer-body"},F7={class:"form-group"},W7={class:"form-label",for:"task-name"},Z7=["placeholder"],Y7={key:0,class:"error-text"},j7={class:"form-group"},G7={class:"form-label",for:"task-type"},H7={value:"story"},K7={value:"task"},J7={value:"bug"},e9={key:0,class:"error-text"},t9={class:"form-group"},n9={class:"form-label"},r9={class:"resource-list"},i9=["onUpdate:modelValue","onChange"],o9={value:""},a9=["value","data-avatar"],s9=["onUpdate:modelValue","onChange"],l9=["onClick"],c9={class:"form-group"},u9={class:"form-label",for:"task-parent"},O9={value:void 0},d9=["value"],h9={class:"form-row"},f9={class:"form-group"},p9={class:"form-label",for:"task-start-date"},A9={key:0,class:"error-text"},m9={class:"form-group"},g9={class:"form-label",for:"task-end-date"},v9={key:0,class:"error-text"},y9={class:"form-row"},b9={class:"form-group"},w9={class:"form-label",for:"task-actual-start-date"},Q9={key:0,class:"error-text"},$9={class:"form-group"},S9={class:"form-label",for:"task-actual-end-date"},x9={key:0,class:"error-text"},k9={class:"form-row"},P9={class:"form-group"},T9={class:"form-label",for:"task-estimated-hours"},_9={class:"form-group"},C9={class:"form-label",for:"task-actual-hours"},E9={class:"form-group"},R9={class:"form-label",for:"task-progress"},X9={class:"progress-container"},B9={class:"progress-input-group"},U9={class:"form-group"},D9={class:"form-label",for:"task-description"},I9=["placeholder"],z9={class:"drawer-footer"},N9={class:"footer-left"},M9=["disabled"],L9={key:0,class:"loading-spinner"},V9={class:"footer-right"},q9=["disabled"],F9={key:0,class:"loading-spinner"},W9=Vr({__name:"TaskDrawer",props:{visible:{type:Boolean,default:!1},task:{default:null},isEdit:{type:Boolean,default:!1},onDelete:{type:Function,default:void 0},assigneeOptions:{default:()=>[{value:"zhangsan",label:"张三"},{value:"lisi",label:"李四"},{value:"wangwu",label:"王五"},{value:"zhaoliu",label:"赵六"},{value:"qianqi",label:"钱七"}]},pendingTaskBackgroundColor:{default:"#c0c4cc"},delayTaskBackgroundColor:{default:"#f56c6c"},completeTaskBackgroundColor:{default:"#67c23a"},ongoingTaskBackgroundColor:{default:"#409eff"},enableCloseOnOverlayClick:{type:Boolean,default:!0}},emits:["update:visible","submit","close","delete","start-timer","stop-timer"],setup(e,{emit:t}){const n=e,r=t,{t:i}=w2(),{showMessage:o}=M8(),a=sr("gantt-theme"),s=cn(!1),l=cn(n.visible),c=cn(!1),u=cn(0),O=cn(null),d=Ha(()=>{var e;return null==(e=n.task)?void 0:e.isTimerRunning}),h=Ha(()=>{var e;return null==(e=n.task)?void 0:e.timerStartTime}),f=Ha(()=>{var e;return(null==(e=n.task)?void 0:e.timerElapsedTime)||0}),p=Ha(()=>{const e=Math.floor(u.value/1e3),t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60;return`${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}),A=()=>{d.value&&h.value?u.value=Date.now()-h.value+f.value:u.value=f.value};hr(()=>{var e,t,r;return[null==(e=n.task)?void 0:e.isTimerRunning,null==(t=n.task)?void 0:t.timerStartTime,null==(r=n.task)?void 0:r.timerElapsedTime]},()=>{A()});const m=cn(!1);hr(()=>{var e;return null==(e=n.task)?void 0:e.isTimerRunning},e=>{m.value=!!e,!e&&O.value&&(clearInterval(O.value),O.value=null)},{immediate:!0}),hr([m,h,f],()=>{O.value&&(clearInterval(O.value),O.value=null),m.value&&h.value?(A(),O.value=window.setInterval(A,1e3)):A()},{immediate:!0}),Qi(()=>{O.value&&clearInterval(O.value)});const g=Ha(()=>{var e;return"story"===(null==(e=n.task)?void 0:e.type)?"yes-no-cancel":"confirm-cancel"}),v=Ha(()=>{var e,t,r;return"story"===(null==(e=n.task)?void 0:e.type)?i.value.confirmDeleteStory.replace("{name}",(null==(t=n.task)?void 0:t.name)||""):i.value.confirmDeleteTask.replace("{name}",(null==(r=n.task)?void 0:r.name)||"")}),y=Yt({id:0,name:"",type:"task",assignee:"",startDate:"",endDate:"",actualStartDate:"",actualEndDate:"",predecessor:[],estimatedHours:0,actualHours:0,progress:0,description:"",parentId:void 0,isTimerRunning:!1,timerStartTime:void 0,timerEndTime:void 0,timerElapsedTime:0,children:void 0,resources:[]}),b=cn([]),w=Ha(()=>b.value.filter(e=>{var t;return e.id!==(null==(t=n.task)?void 0:t.id)&&("story"===e.type||"task"===e.type)}).map(e=>({...e,displayName:`${e.name} (${Q(e.type||"task")})`}))),Q=e=>{var t;return(null==(t=i.value.taskTypeMap)?void 0:t[e])||e},$=Ha(()=>({"--progress-capacity":`${y.progress||0}%`})),S=cn("0"),x=e=>{const t=e.target;let n=t.value;n=n.replace(/[^\d]/g,""),t.value=n,S.value=n},k=()=>{const e=S.value;let t=parseInt(e)||0;t<0||isNaN(t)?t=0:t>100&&(t=100),y.progress=t,S.value=t.toString()},P=e=>{const t=e.target;let n=parseFloat(t.value);isNaN(n)||n<0?n=0:n>99999&&(n=99999),y.estimatedHours=Math.round(100*n)/100},T=e=>{const t=e.target;let n=parseFloat(t.value);isNaN(n)||n<0?n=0:n>99999&&(n=99999),y.actualHours=Math.round(100*n)/100},_=e=>{const t=e.target;setTimeout(()=>{t.select()},0)},C=e=>{const t=e.key,n=/^\d$/.test(t),r=["Backspace","Delete","Tab","Escape","Enter","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","Control","Meta","Alt","Shift"].includes(t);e.ctrlKey||e.metaKey||!n&&!r&&e.preventDefault()},E=(e,t)=>{if(!e)return"";if("string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e.trim())){if("start"===t)return`${e} 00:00`;if("end"===t){const t=new Date(e);t.setDate(t.getDate()+1);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")} 00:00`}}return e},R=Yt({name:"",type:"",startDate:"",endDate:"",actualStartDate:"",actualEndDate:""});hr(()=>n.visible,e=>{if(l.value=e,e){if(n.task&&n.isEdit){X();const e={...n.task};e.startDate=E(e.startDate,"start"),e.endDate=E(e.endDate,"end"),qn(()=>{Object.assign(y,e),J()})}else n.task&&!n.isEdit?(X(),y.parentId=n.task.parentId??void 0,y.predecessor=n.task.predecessor??[]):X();window.dispatchEvent(new CustomEvent("request-task-list"))}}),hr(l,e=>{r("update:visible",e)}),hr(()=>n.task,e=>{e&&!n.isEdit&&(y.parentId=e.parentId??void 0)},{immediate:!0});const X=()=>{Object.assign(y,{name:"",type:"task",assignee:"",startDate:"",endDate:"",actualStartDate:"",actualEndDate:"",predecessor:[],estimatedHours:0,actualHours:0,progress:0,description:"",parentId:void 0,isTimerRunning:!1,timerStartTime:void 0,timerEndTime:void 0,timerElapsedTime:0,children:void 0,bgColor:void 0,avatar:void 0,barColor:void 0,resources:[]}),Object.keys(R).forEach(e=>{R[e]=""})},B=()=>{l.value=!1,r("close")},U=()=>{n.enableCloseOnOverlayClick&&B()},D=async()=>{if((()=>{var e;let t=!0;return Object.keys(R).forEach(e=>{R[e]=""}),null!=(e=y.name)&&e.trim()?y.name.length>50&&(R.name=i.value.taskNameTooLong,t=!1):(R.name=i.value.taskNameRequired,t=!1),y.type||(R.type=i.value.taskTypeRequired,t=!1),y.startDate||(R.startDate=i.value.plannedStartDateRequired,t=!1),y.endDate?y.startDate&&new Date(y.endDate)<new Date(y.startDate)&&(R.endDate=i.value.plannedEndDateInvalid,t=!1):(R.endDate=i.value.plannedEndDateRequired,t=!1),y.actualStartDate&&y.actualEndDate&&new Date(y.actualEndDate)<new Date(y.actualStartDate)&&(R.actualEndDate=i.value.actualEndDateInvalid,t=!1),t})())try{s.value=!0,ee();const e={...y,id:n.isEdit&&n.task?n.task.id:Date.now(),resources:y.resources};r("submit",e),B()}catch{}finally{s.value=!1}},I=()=>{c.value=!0},z=e=>{let t="";t=e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:String(e),o(t,"error",{closable:!0})},N=()=>{if(c.value=!1,n.task&&n.isEdit)try{s.value=!0,r("delete",n.task),B()}catch(e){z(e)}finally{s.value=!1}},M=()=>{c.value=!1},L=()=>{if(c.value=!1,n.task&&n.isEdit)try{s.value=!0,r("delete",n.task,!0),B()}catch(e){z(e)}finally{s.value=!1}},V=()=>{if(c.value=!1,n.task&&n.isEdit)try{s.value=!0,r("delete",n.task,!1),B()}catch(e){z(e)}finally{s.value=!1}},q=e=>{b.value=e.detail||[]};vi(()=>{window.addEventListener("task-list-updated",q),window.dispatchEvent(new CustomEvent("request-task-list"))}),Qi(()=>{window.removeEventListener("task-list-updated",q)}),hr(()=>y.progress,e=>{S.value=(e||0).toString()},{immediate:!0}),hr(()=>n.visible,e=>{e&&n.task&&"story"!==n.task.type&&(u.value=n.task.timerElapsedTime||0,n.task.isTimerRunning||O.value&&(clearInterval(O.value),O.value=null))},{immediate:!0});const F=()=>{n.task&&"object"==typeof n.task&&r("stop-timer",n.task),m.value=!1,O.value&&(clearInterval(O.value),O.value=null),A(),window.dispatchEvent(new CustomEvent("stop-timer",{detail:n.task}))},W=cn(!1),Z=cn("");function Y(){var e;Z.value=(null==(e=n.task)?void 0:e.name)||"",W.value=!0}function j(){W.value=!1}function G(e){W.value=!1,(e=>{const t=Date.now();n.task&&"object"==typeof n.task&&(Object.assign(n.task,{timerStartTime:t,isTimerRunning:!0,timerElapsedTime:0,timerStartDesc:e||""}),r("start-timer",n.task)),u.value=0,m.value=!0,A(),O.value&&(clearInterval(O.value),O.value=null),window.dispatchEvent(new CustomEvent("start-timer",{detail:n.task}))})(e)}const H=()=>{y.resources||(y.resources=[]),y.resources.push(R2({id:"",name:"",capacity:100,tasks:[]}))},K=(e,t,r)=>{var i;if(y.resources&&y.resources[e])if("id"===t){const t=null==(i=n.assigneeOptions)?void 0:i.find(e=>e.value===r);t&&(y.resources[e].id=t.value,y.resources[e].name=t.label)}else if("capacity"===t){let t="string"==typeof r?parseInt(r):r;t<20&&(t=20),t>100&&(t=100),y.resources[e].capacity=t}},J=()=>{if(y.resources||(y.resources=[]),y.resources&&y.resources.length>0)return;const e=Array.isArray(y.assignee)?y.assignee:y.assignee?[y.assignee]:[];y.resources=e.map(e=>{var t;const r=null==(t=n.assigneeOptions)?void 0:t.find(t=>t.value===e);return R2({id:e,name:(null==r?void 0:r.label)||String(e),capacity:100,tasks:[]})})},ee=()=>{if(!y.resources||0===y.resources.length)return y.assignee="",void(y.avatar="");const e=y.resources.map(e=>String(e.id)).filter(e=>e);y.assignee=e.length>1?e:e[0]||"";const t=y.resources.map(e=>{var t;const r=null==(t=n.assigneeOptions)?void 0:t.find(t=>t.value===e.id);return(null==r?void 0:r.avatar)||""}).filter(e=>e);y.avatar=t.length>1?t:t[0]||""},te=Ha(()=>{if(!n.task)return{text:"",color:"",bgColor:"",borderColor:""};const e=n.task,t=e.progress||0,r=new Date,o=e.endDate?new Date(e.endDate):null,a=e.startDate?new Date(e.startDate):null;if(!e.actualStartDate&&0===t){const e=n.pendingTaskBackgroundColor;return{text:i.value.statusPending,color:e,bgColor:`${e}20`,borderColor:e}}if(t>=100){const e=n.completeTaskBackgroundColor;return{text:i.value.statusCompleted,color:e,bgColor:`${e}20`,borderColor:e}}if(o&&r>o&&t<100){const e=n.delayTaskBackgroundColor;return{text:i.value.statusDelayed,color:e,bgColor:`${e}20`,borderColor:e}}if(a&&r>=a&&t<100){const e=n.ongoingTaskBackgroundColor;return{text:i.value.statusOngoing,color:e,bgColor:`${e}20`,borderColor:e}}const s=n.pendingTaskBackgroundColor;return{text:i.value.statusPending,color:s,bgColor:`${s}20`,borderColor:s}});return(e,t)=>{var r,o,u,O;return la(),fa(xr,{to:"body"},[l.value?(la(),ha("div",{key:0,class:"drawer-overlay","data-theme":fn(a),onClick:U},[va("div",{class:"drawer-container",onClick:t[13]||(t[13]=Dl(()=>{},["stop"]))},[va("div",I7,[va("h3",z7,Te(e.isEdit?fn(i).editTask:fn(i).newTask),1),"story"!==(null==(r=n.task)?void 0:r.type)&&e.isEdit?(la(),ha("div",N7,[m.value?(la(),ha("button",{key:1,class:"timer-btn stop minimal",title:"停止计时",style:{width:"24px",height:"24px",background:"#f44336",border:"none",padding:"0",margin:"0","box-shadow":"none",cursor:"pointer","border-radius":"50%",display:"flex","align-items":"center","justify-content":"center",transition:"background 0.2s"},onClick:Dl(F,["stop"])},t[15]||(t[15]=[va("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[va("circle",{cx:"12",cy:"12",r:"11",stroke:"#f44336","stroke-width":"2",fill:"#f44336"}),va("rect",{x:"7",y:"7",width:"10",height:"10",fill:"#fff",rx:"1.5"})],-1)]))):(la(),ha("button",{key:0,class:"timer-btn start minimal",title:"开始计时",style:{width:"24px",height:"24px",background:"#4caf50",border:"none",padding:"0",margin:"0","box-shadow":"none",cursor:"pointer","border-radius":"50%",display:"flex","align-items":"center","justify-content":"center",transition:"background 0.2s"},onClick:Dl(Y,["stop"])},[(la(),ha("svg",M7,t[14]||(t[14]=[va("circle",{cx:"12",cy:"12",r:"11",stroke:"#4caf50","stroke-width":"2",fill:"#4caf50"},null,-1),va("polygon",{points:"9,7 18,12 9,17",fill:"#fff"},null,-1)])))])),m.value?(la(),ha("span",{key:2,class:le(["timer-badge",{"timer-active":m.value}]),style:{"margin-left":"8px","font-size":"13px","font-weight":"700",padding:"2px 10px","border-radius":"10px",background:"#fffbe6",color:"#e6a23c","box-shadow":"0 0 0 1px #ffe58f",display:"inline-flex","align-items":"center","min-width":"80px","justify-content":"center"}},[m.value?(la(),ha("span",L7)):Sa("",!0),Qa(" "+Te(p.value),1)],2)):Sa("",!0)])):Sa("",!0),t[17]||(t[17]=va("div",{style:{flex:"1"}},null,-1)),e.isEdit&&n.task?(la(),ha("div",{key:1,class:"status-badge",style:re({backgroundColor:te.value.bgColor,color:te.value.color,border:`1px solid ${te.value.borderColor}`})},Te(te.value.text),5)):Sa("",!0),va("button",{class:"drawer-close-btn",type:"button",onClick:B},[(la(),ha("svg",V7,t[16]||(t[16]=[va("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),va("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)])))])]),va("div",q7,[va("form",{class:"task-form",onSubmit:Dl(D,["prevent"])},[va("div",F7,[va("label",W7,[Qa(Te(fn(i).taskName)+" ",1),t[18]||(t[18]=va("span",{class:"required"},"*",-1))]),ir(va("input",{id:"task-name","onUpdate:modelValue":t[0]||(t[0]=e=>y.name=e),type:"text",class:le(["form-input",{error:R.name}]),placeholder:fn(i).taskNamePlaceholder},null,10,Z7),[[$l,y.name]]),R.name?(la(),ha("span",Y7,Te(R.name),1)):Sa("",!0)]),va("div",j7,[va("label",G7,[Qa(Te(fn(i).taskType)+" ",1),t[19]||(t[19]=va("span",{class:"required"},"*",-1))]),ir(va("select",{id:"task-type","onUpdate:modelValue":t[1]||(t[1]=e=>y.type=e),class:le(["form-select",{error:R.type}])},[va("option",H7,Te(fn(i).taskTypeMap.story),1),va("option",K7,Te(fn(i).taskTypeMap.task),1),va("option",J7,Te(fn(i).taskTypeMap.bug),1)],2),[[Pl,y.type]]),R.type?(la(),ha("span",e9,Te(R.type),1)):Sa("",!0)]),va("div",t9,[va("label",n9,Te(fn(i).resourceAllocation||"资源分配"),1),va("div",r9,[t[22]||(t[22]=va("div",{class:"resource-header"},[va("span",{class:"resource-header-label"},"资源名称"),va("span",{class:"resource-header-label"},"占用比例"),va("span",{class:"resource-header-action"})],-1)),(la(!0),ha(na,null,Bi(y.resources,(e,r)=>(la(),ha("div",{key:r,class:"resource-item"},[ir(va("select",{"onUpdate:modelValue":t=>e.id=t,class:"form-select resource-select",onChange:e=>K(r,"id",e.target.value)},[va("option",o9,Te(fn(i).selectResource||"选择资源"),1),(la(!0),ha(na,null,Bi(n.assigneeOptions,e=>(la(),ha("option",{key:e.key??e.value,value:e.value,"data-avatar":e.avatar},Te(e.label),9,a9))),128))],40,i9),[[Pl,e.id]]),ir(va("select",{"onUpdate:modelValue":t=>e.capacity=t,class:"form-select capacity-select",onChange:e=>K(r,"capacity",e.target.value)},t[20]||(t[20]=[va("option",{value:25},"25%",-1),va("option",{value:50},"50%",-1),va("option",{value:75},"75%",-1),va("option",{value:100},"100%",-1)]),40,s9),[[Pl,e.capacity,void 0,{number:!0}]]),va("button",{type:"button",class:"btn-remove-resource",title:"删除资源",onClick:e=>(e=>{y.resources&&y.resources.length>e&&y.resources.splice(e,1)})(r)},t[21]||(t[21]=[va("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[va("polyline",{points:"3 6 5 6 21 6"}),va("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),va("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),va("line",{x1:"14",y1:"11",x2:"14",y2:"17"})],-1)]),8,l9)]))),128)),va("button",{type:"button",class:"btn-add-resource",onClick:H}," + "+Te(fn(i).addResource||"添加资源"),1)])]),va("div",c9,[va("label",u9,Te(fn(i).parentTask),1),ir(va("select",{id:"task-parent","onUpdate:modelValue":t[2]||(t[2]=e=>y.parentId=e),class:"form-select"},[va("option",O9,Te(fn(i).noParentTask),1),(la(!0),ha(na,null,Bi(w.value,e=>(la(),ha("option",{key:e.id,value:e.id},Te(e.displayName),9,d9))),128))],512),[[Pl,y.parentId]])]),va("div",h9,[va("div",f9,[va("label",p9,[Qa(Te(fn(i).plannedStartDate)+" ",1),t[23]||(t[23]=va("span",{class:"required"},"*",-1))]),ya(x7,{id:"task-start-date",modelValue:y.startDate,"onUpdate:modelValue":t[3]||(t[3]=e=>y.startDate=e),type:"datetime","value-format":"YYYY-MM-DD HH:mm",placeholder:fn(i).plannedStartDateRequired,class:le({error:R.startDate})},null,8,["modelValue","placeholder","class"]),R.startDate?(la(),ha("span",A9,Te(R.startDate),1)):Sa("",!0)]),va("div",m9,[va("label",g9,[Qa(Te(fn(i).plannedEndDate)+" ",1),t[24]||(t[24]=va("span",{class:"required"},"*",-1))]),ya(x7,{id:"task-end-date",modelValue:y.endDate,"onUpdate:modelValue":t[4]||(t[4]=e=>y.endDate=e),type:"datetime","value-format":"YYYY-MM-DD HH:mm",placeholder:fn(i).plannedEndDateRequired,class:le({error:R.endDate})},null,8,["modelValue","placeholder","class"]),R.endDate?(la(),ha("span",v9,Te(R.endDate),1)):Sa("",!0)])]),va("div",y9,[va("div",b9,[va("label",w9,Te(fn(i).actualStartDate),1),ya(x7,{id:"task-actual-start-date",modelValue:y.actualStartDate,"onUpdate:modelValue":t[5]||(t[5]=e=>y.actualStartDate=e),type:"datetime","value-format":"YYYY-MM-DD HH:mm",placeholder:fn(i).actualStartDate,class:le({error:R.actualStartDate})},null,8,["modelValue","placeholder","class"]),R.actualStartDate?(la(),ha("span",Q9,Te(R.actualStartDate),1)):Sa("",!0)]),va("div",$9,[va("label",S9,Te(fn(i).actualEndDate),1),ya(x7,{id:"task-actual-end-date",modelValue:y.actualEndDate,"onUpdate:modelValue":t[6]||(t[6]=e=>y.actualEndDate=e),type:"datetime","value-format":"YYYY-MM-DD HH:mm",placeholder:fn(i).actualEndDate,class:le({error:R.actualEndDate})},null,8,["modelValue","placeholder","class"]),R.actualEndDate?(la(),ha("span",x9,Te(R.actualEndDate),1)):Sa("",!0)])]),ya(U7,{modelValue:y.predecessor,"onUpdate:modelValue":t[7]||(t[7]=e=>y.predecessor=e),tasks:b.value,"current-task-id":null==(o=n.task)?void 0:o.id,label:fn(i).predecessor,placeholder:fn(i).predecessorPlaceholder},null,8,["modelValue","tasks","current-task-id","label","placeholder"]),va("div",k9,[va("div",P9,[va("label",T9,Te(fn(i).estimatedHours),1),ir(va("input",{id:"task-estimated-hours","onUpdate:modelValue":t[8]||(t[8]=e=>y.estimatedHours=e),type:"number",class:"form-input",placeholder:"0.00",min:"0",max:"99999",step:"0.01",onInput:P},null,544),[[$l,y.estimatedHours]])]),va("div",_9,[va("label",C9,Te(fn(i).actualHours),1),ir(va("input",{id:"task-actual-hours","onUpdate:modelValue":t[9]||(t[9]=e=>y.actualHours=e),type:"number",class:"form-input",placeholder:"0.00",min:"0",max:"99999",step:"0.01",onInput:T},null,544),[[$l,y.actualHours]])])]),va("div",E9,[va("label",R9,Te(fn(i).progress),1),va("div",X9,[ir(va("input",{id:"task-progress","onUpdate:modelValue":t[10]||(t[10]=e=>y.progress=e),type:"range",class:"progress-slider",style:re($.value),min:"0",max:"100",step:"5"},null,4),[[$l,y.progress,void 0,{number:!0}]]),va("div",B9,[ir(va("input",{"onUpdate:modelValue":t[11]||(t[11]=e=>S.value=e),type:"text",class:"progress-input",placeholder:"0",maxlength:"3",onBlur:k,onKeyup:zl(k,["enter"]),onInput:x,onFocus:_,onKeydown:C},null,544),[[$l,S.value]]),t[25]||(t[25]=va("span",{class:"progress-unit"},"%",-1))])])]),va("div",U9,[va("label",D9,Te(fn(i).description),1),ir(va("textarea",{id:"task-description","onUpdate:modelValue":t[12]||(t[12]=e=>y.description=e),class:"form-textarea",placeholder:fn(i).descriptionPlaceholder,rows:"3"},null,8,I9),[[$l,y.description]])])],32)]),va("div",z9,[va("div",N9,[e.isEdit&&e.task?(la(),ha("button",{key:0,type:"button",class:"gantt-btn gantt-btn-danger",disabled:s.value,onClick:I},[s.value?(la(),ha("span",L9)):Sa("",!0),Qa(" "+Te(fn(i).delete),1)],8,M9)):Sa("",!0),ya(j2,{visible:c.value,title:fn(i).delete,type:g.value,message:v.value,"confirm-text":fn(i).confirm,"cancel-text":fn(i).cancel,"yes-text":fn(i).storyDeleteYes,"no-text":fn(i).storyDeleteNo,onConfirm:N,onYes:L,onNo:V,onCancel:M},null,8,["visible","title","type","message","confirm-text","cancel-text","yes-text","no-text"])]),va("div",V9,[va("button",{type:"button",class:"gantt-btn gantt-btn-default",onClick:B},Te(fn(i).cancel),1),va("button",{type:"button",class:"gantt-btn gantt-btn-primary",disabled:s.value,onClick:D},[s.value?(la(),ha("span",F9)):Sa("",!0),Qa(" "+Te(e.isEdit?fn(i).update:fn(i).create),1)],8,q9)])])])],8,D7)):Sa("",!0),W.value?(la(),fa(L2,{key:1,visible:W.value,title:fn(i).startTimer,message:`${fn(i).timerConfirmPrefix}${null==(u=n.task)?void 0:u.name}${fn(i).timerConfirmSuffix}`,"default-desc":(null==(O=n.task)?void 0:O.name)||"",onConfirm:G,onCancel:j},null,8,["visible","title","message","default-desc"])):Sa("",!0)])}}}),Z9=M2(W9,[["__scopeId","data-v-90d5164e"]]),Y9=["data-theme"],j9={class:"milestone-dialog-header"},G9={class:"milestone-dialog-title"},H9=["title"],K9={class:"milestone-dialog-content"},J9={class:"milestone-form-row"},eee={class:"milestone-form-item milestone-form-item-full"},tee={class:"milestone-form-label required",for:"milestone-name"},nee=["placeholder"],ree={key:0,class:"milestone-form-error"},iee={class:"milestone-form-row"},oee={class:"milestone-form-item"},aee={class:"milestone-form-label required",for:"milestone-date"},see={key:0,class:"milestone-form-error"},lee={class:"milestone-form-item"},cee={class:"milestone-form-label",for:"milestone-icon"},uee=["aria-expanded"],Oee={class:"selected-icon"},dee={key:0,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},hee={key:1,class:"rocket-emoji-mini"},fee={key:0,class:"milestone-icon-options"},pee={class:"milestone-form-row"},Aee={class:"milestone-form-item milestone-form-item-full"},mee={class:"milestone-form-label",for:"milestone-description"},gee={class:"textarea-wrapper"},vee=["placeholder"],yee={class:"textarea-footer"},bee={class:"char-count"},wee={class:"milestone-dialog-footer"},Qee={class:"milestone-dialog-footer-left"},$ee={class:"milestone-dialog-footer-right"},See=["disabled"],xee=Vr({__name:"MilestoneDialog",props:{visible:{type:Boolean},milestone:{}},emits:["update:visible","close","save","delete"],setup(e,{emit:t}){const n=e,r=t,i=sr("gantt-theme",cn("light")),o=Yt({id:void 0,name:"",startDate:"",assignee:"",type:"milestone",icon:"diamond",description:""}),a=Yt({name:"",startDate:""}),s=cn(!1),l=cn(!1),c=cn(null),u=()=>{const e=c.value;e&&(e.style.height="auto",e.style.height=`${Math.min(e.scrollHeight,120)}px`)};hr(()=>n.milestone,e=>{e?Object.assign(o,{id:e.id,name:e.name||"",startDate:e.startDate||"",assignee:e.assignee||"",type:e.type||"milestone",icon:e.icon||"diamond",description:e.description||""}):Object.assign(o,{id:void 0,name:"",startDate:"",assignee:"",type:"milestone",icon:"diamond",description:""}),a.name="",a.startDate=""},{immediate:!0}),hr(()=>n.visible,e=>{e&&!n.milestone&&(Object.assign(o,{id:void 0,name:"",startDate:"",assignee:"",type:"milestone",icon:"diamond",description:""}),a.name="",a.startDate="")});const O=Ha(()=>o.name.trim()&&o.startDate),d=e=>{o.icon=e,s.value=!1},h=()=>{if((()=>{a.name="",a.startDate="";let e=!0;return o.name.trim()||(a.name=b("milestoneNameRequired"),e=!1),o.startDate||(a.startDate=b("milestoneDateRequired"),e=!1),e})()){const e={...o,endDate:o.startDate,id:o.id};r("save",e),g()}},f=()=>{o.id&&(l.value=!0)},p=()=>{o.id&&(r("delete",o.id),l.value=!1,g())},A=()=>{l.value=!1},m=Ha(()=>n.milestone&&n.milestone.id),g=()=>{s.value=!1,r("update:visible",!1),r("close")},v=()=>{g()},{t:y}=w2(),b=e=>y.value[e]||e;return(e,t)=>{var n;return la(),fa(xr,{to:"body"},[e.visible?(la(),ha("div",{key:0,class:"milestone-dialog-overlay","data-theme":fn(i),onClick:v},[va("div",{class:"milestone-dialog",onClick:t[6]||(t[6]=Dl(()=>{},["stop"]))},[va("div",j9,[va("h3",G9,[t[7]||(t[7]=va("svg",{class:"milestone-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("g",{transform:"rotate(45 12 12)"},[va("rect",{x:"4",y:"4",width:"16",height:"16",rx:"4",ry:"4",fill:"currentColor",opacity:"0.1"}),va("rect",{x:"4",y:"4",width:"16",height:"16",rx:"4",ry:"4",stroke:"currentColor",fill:"none"})])],-1)),Qa(" "+Te(m.value?fn(y).editMilestone:fn(y).newMilestone),1)]),va("button",{class:"milestone-dialog-close",title:b("close"),onClick:g},"×",8,H9)]),va("div",K9,[va("form",{class:"milestone-form",onSubmit:Dl(h,["prevent"])},[va("div",J9,[va("div",eee,[va("label",tee,Te(b("milestoneName")),1),ir(va("input",{id:"milestone-name","onUpdate:modelValue":t[0]||(t[0]=e=>o.name=e),type:"text",class:le(["milestone-form-input",{error:a.name}]),placeholder:b("enterMilestoneName"),required:""},null,10,nee),[[$l,o.name]]),a.name?(la(),ha("span",ree,Te(a.name),1)):Sa("",!0)])]),va("div",iee,[va("div",oee,[va("label",aee,Te(b("milestoneDate")),1),ya(x7,{id:"milestone-date",modelValue:o.startDate,"onUpdate:modelValue":t[1]||(t[1]=e=>o.startDate=e),type:"date","value-format":"YYYY-MM-DD",placeholder:"请选择里程碑日期",class:le({error:a.startDate})},null,8,["modelValue","class"]),a.startDate?(la(),ha("span",see,Te(a.startDate),1)):Sa("",!0)]),va("div",lee,[va("label",cee,Te(b("milestoneIcon")),1),va("div",{class:le(["milestone-icon-dropdown",{active:s.value}])},[va("button",{id:"milestone-icon",type:"button",class:"milestone-icon-trigger","aria-expanded":s.value,"aria-haspopup":"listbox",onClick:t[2]||(t[2]=e=>s.value=!s.value)},[va("div",Oee,["diamond"===o.icon?(la(),ha("svg",dee,t[8]||(t[8]=[va("g",{transform:"rotate(45 12 12)"},[va("rect",{x:"6",y:"6",width:"12",height:"12",rx:"3",ry:"3",fill:"currentColor"})],-1)]))):"rocket"===o.icon?(la(),ha("div",hee,"🚀")):Sa("",!0),va("span",null,Te(b(o.icon||"diamond")),1)]),t[9]||(t[9]=va("svg",{class:"dropdown-arrow",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("polyline",{points:"6,9 12,15 18,9"})],-1))],8,uee),s.value?(la(),ha("div",fee,[va("div",{class:le(["icon-option",{selected:"diamond"===o.icon}]),onClick:t[3]||(t[3]=e=>d("diamond"))},[t[10]||(t[10]=va("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[va("g",{transform:"rotate(45 12 12)"},[va("rect",{x:"6",y:"6",width:"12",height:"12",rx:"3",ry:"3",fill:"currentColor"})])],-1)),va("span",null,Te(b("diamond")),1)],2),va("div",{class:le(["icon-option",{selected:"rocket"===o.icon}]),onClick:t[4]||(t[4]=e=>d("rocket"))},[t[11]||(t[11]=va("div",{class:"rocket-emoji-option"},"🚀",-1)),va("span",null,Te(b("rocket")),1)],2)])):Sa("",!0)],2)])]),va("div",pee,[va("div",Aee,[va("label",mee,Te(b("description")),1),va("div",gee,[ir(va("textarea",{id:"milestone-description",ref_key:"descriptionTextarea",ref:c,"onUpdate:modelValue":t[5]||(t[5]=e=>o.description=e),class:"milestone-form-textarea",placeholder:b("enterDescription"),rows:"4",maxlength:"500",onInput:u},null,40,vee),[[$l,o.description]]),va("div",yee,[va("span",bee,Te((null==(n=o.description)?void 0:n.length)||0)+"/500",1)])])])])],32)]),va("div",wee,[va("div",Qee,[m.value?(la(),ha("button",{key:0,type:"button",class:"gantt-btn gantt-btn-danger",onClick:f},Te(fn(y).delete),1)):Sa("",!0)]),va("div",$ee,[va("button",{type:"button",class:"gantt-btn gantt-btn-default",onClick:g},Te(fn(y).cancel),1),va("button",{type:"button",class:"gantt-btn gantt-btn-primary",disabled:!O.value,onClick:h},Te(fn(y).confirm),9,See)])])]),ya(j2,{visible:l.value,title:fn(y).delete,message:fn(y).confirmDelete,"confirm-text":fn(y).confirm,"cancel-text":fn(y).cancel,onConfirm:p,onCancel:A},null,8,["visible","title","message","confirm-text","cancel-text"])],8,Y9)):Sa("",!0)])}}}),kee=M2(xee,[["__scopeId","data-v-528ce102"]]);function Pee(e,t,n=null){for(const r of e){if(r.id===t)return n;if(r.children&&r.children.length>0){const e=Pee(r.children,t,r);if(null!==e)return e}}return null}function Tee(e,t){for(let n=0;n<e.length;n++){if(e[n].id===t)return e.splice(n,1)[0];if(e[n].children&&e[n].children.length>0){const r=Tee(e[n].children,t);if(r)return r}}return null}function _ee(e,t,n,r){for(let i=0;i<e.length;i++){if(e[i].id===t)return"after"===r||"milestone-group"===e[i].type?(n.parentId=e[i].parentId,e.splice(i+1,0,n)):(n.parentId=t,e[i].children||(e[i].children=[]),e[i].children.unshift(n)),!0;if(e[i].children&&e[i].children.length>0&&_ee(e[i].children,t,n,r))return!0}return!1}function Cee(e,t,n,r){const i=Pee(e,t),o=Tee(e,t);if(!o)return null;if(!_ee(e,n,o,r))return i&&i.children?i.children.push(o):e.push(o),null;return{movedTask:o,oldParent:i,newParent:Pee(e,t)}}const Eee=9e5;function Ree(e,t,n){const r=e.startDate?new Date(e.startDate).getTime():null,i=e.endDate?new Date(e.endDate).getTime():null,o=t.startDate?new Date(t.startDate).getTime():null,a=t.endDate?new Date(t.endDate).getTime():null;if(!(r&&i&&o&&a))return!1;if("hour"===n){const e=Math.floor(r/Eee)*Eee,t=Math.ceil(i/Eee)*Eee,n=Math.floor(o/Eee)*Eee,s=Math.ceil(a/Eee)*Eee;return t>n&&s>e}return i+864e5>o&&a+864e5>r}function Xee(e,t=51,n){const r=new Map,i=[];if(!e||0===e.length)return{taskRowMap:r,rowHeights:i,totalHeight:t};const o=[...e].sort((e,t)=>(e.startDate?new Date(e.startDate).getTime():0)-(t.startDate?new Date(t.startDate).getTime():0)),a=[];for(const c of o){let e=-1;for(let t=0;t<a.length;t++){const r=a[t];let i=!1;for(const e of r)if(Ree(c,e,n)){i=!0;break}if(!i){e=t,a[t].push(c);break}}-1===e&&(e=a.length,a.push([c])),r.set(c.id,e)}const s=t-10;for(let c=0;c<a.length;c++){const e=0===c?5+s+5:s+5;i.push(e)}const l=i.reduce((e,t)=>e+t,0);return{taskRowMap:r,rowHeights:i,totalHeight:l}}function Bee(e){return Bee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bee(e)}var Uee=Uint8Array,Dee=Uint16Array,Iee=Int32Array,zee=new Uee([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,0,0,0]),Nee=new Uee([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,0,0]),Mee=new Uee([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Lee=function(e,t){for(var n=new Dee(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new Iee(n[30]);for(r=1;r<30;++r)for(var o=n[r];o<n[r+1];++o)i[o]=o-n[r]<<5|r;return{b:n,r:i}},Vee=Lee(zee,2),qee=Vee.b,Fee=Vee.r;qee[28]=258,Fee[258]=28;for(var Wee=Lee(Nee,0).r,Zee=new Dee(32768),Yee=0;Yee<32768;++Yee){var jee=(43690&Yee)>>1|(21845&Yee)<<1;jee=(61680&(jee=(52428&jee)>>2|(13107&jee)<<2))>>4|(3855&jee)<<4,Zee[Yee]=((65280&jee)>>8|(255&jee)<<8)>>1}var Gee=function(e,t,n){for(var r=e.length,i=0,o=new Dee(t);i<r;++i)e[i]&&++o[e[i]-1];var a,s=new Dee(t);for(i=1;i<t;++i)s[i]=s[i-1]+o[i-1]<<1;for(a=new Dee(r),i=0;i<r;++i)e[i]&&(a[i]=Zee[s[e[i]-1]++]>>15-e[i]);return a},Hee=new Uee(288);for(Yee=0;Yee<144;++Yee)Hee[Yee]=8;for(Yee=144;Yee<256;++Yee)Hee[Yee]=9;for(Yee=256;Yee<280;++Yee)Hee[Yee]=7;for(Yee=280;Yee<288;++Yee)Hee[Yee]=8;var Kee=new Uee(32);for(Yee=0;Yee<32;++Yee)Kee[Yee]=5;var Jee=Gee(Hee,9),ete=Gee(Kee,5),tte=function(e){return(e+7)/8|0},nte=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},rte=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},ite=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,o=n.slice();if(!i)return{t:Ote,l:0};if(1==i){var a=new Uee(n[0].s+1);return a[n[0].s]=1,{t:a,l:1}}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var s=n[0],l=n[1],c=0,u=1,O=2;for(n[0]={s:-1,f:s.f+l.f,l:s,r:l};u!=i-1;)s=n[n[c].f<n[O].f?c++:O++],l=n[c!=u&&n[c].f<n[O].f?c++:O++],n[u++]={s:-1,f:s.f+l.f,l:s,r:l};var d=o[0].s;for(r=1;r<i;++r)o[r].s>d&&(d=o[r].s);var h=new Dee(d+1),f=ote(n[u-1],h,0);if(f>t){r=0;var p=0,A=f-t,m=1<<A;for(o.sort(function(e,t){return h[t.s]-h[e.s]||e.f-t.f});r<i;++r){var g=o[r].s;if(!(h[g]>t))break;p+=m-(1<<f-h[g]),h[g]=t}for(p>>=A;p>0;){var v=o[r].s;h[v]<t?p-=1<<t-h[v]++-1:++r}for(;r>=0&&p;--r){var y=o[r].s;h[y]==t&&(--h[y],++p)}f=t}return{t:new Uee(h),l:f}},ote=function(e,t,n){return-1==e.s?Math.max(ote(e.l,t,n+1),ote(e.r,t,n+1)):t[e.s]=n},ate=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Dee(++t),r=0,i=e[0],o=1,a=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(i),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(i);o=1,i=e[s]}return{c:n.subarray(0,r),n:t}},ste=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},lte=function(e,t,n){var r=n.length,i=tte(t+2);e[i]=255&r,e[i+1]=r>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o<r;++o)e[i+o+4]=n[o];return 8*(i+4+r)},cte=function(e,t,n,r,i,o,a,s,l,c,u){nte(t,u++,n),++i[256];for(var O=ite(i,15),d=O.t,h=O.l,f=ite(o,15),p=f.t,A=f.l,m=ate(d),g=m.c,v=m.n,y=ate(p),b=y.c,w=y.n,Q=new Dee(19),$=0;$<g.length;++$)++Q[31&g[$]];for($=0;$<b.length;++$)++Q[31&b[$]];for(var S=ite(Q,7),x=S.t,k=S.l,P=19;P>4&&!x[Mee[P-1]];--P);var T,_,C,E,R=c+5<<3,X=ste(i,Hee)+ste(o,Kee)+a,B=ste(i,d)+ste(o,p)+a+14+3*P+ste(Q,x)+2*Q[16]+3*Q[17]+7*Q[18];if(l>=0&&R<=X&&R<=B)return lte(t,u,e.subarray(l,l+c));if(nte(t,u,1+(B<X)),u+=2,B<X){T=Gee(d,h),_=d,C=Gee(p,A),E=p;var U=Gee(x,k);nte(t,u,v-257),nte(t,u+5,w-1),nte(t,u+10,P-4),u+=14;for($=0;$<P;++$)nte(t,u+3*$,x[Mee[$]]);u+=3*P;for(var D=[g,b],I=0;I<2;++I){var z=D[I];for($=0;$<z.length;++$){var N=31&z[$];nte(t,u,U[N]),u+=x[N],N>15&&(nte(t,u,z[$]>>5&127),u+=z[$]>>12)}}}else T=Jee,_=Hee,C=ete,E=Kee;for($=0;$<s;++$){var M=r[$];if(M>255){rte(t,u,T[(N=M>>18&31)+257]),u+=_[N+257],N>7&&(nte(t,u,M>>23&31),u+=zee[N]);var L=31&M;rte(t,u,C[L]),u+=E[L],L>3&&(rte(t,u,M>>5&8191),u+=Nee[L])}else rte(t,u,T[M]),u+=_[M]}return rte(t,u,T[256]),u+_[256]},ute=new Iee([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ote=new Uee(0),dte=function(e,t,n,r,i,o){var a=o.z||e.length,s=new Uee(r+a+5*(1+Math.ceil(a/7e3))+i),l=s.subarray(r,s.length-i),c=o.l,u=7&(o.r||0);if(t){u&&(l[0]=o.r>>3);for(var O=ute[t-1],d=O>>13,h=8191&O,f=(1<<n)-1,p=o.p||new Dee(32768),A=o.h||new Dee(f+1),m=Math.ceil(n/3),g=2*m,v=function(t){return(e[t]^e[t+1]<<m^e[t+2]<<g)&f},y=new Iee(25e3),b=new Dee(288),w=new Dee(32),Q=0,$=0,S=o.i||0,x=0,k=o.w||0,P=0;S+2<a;++S){var T=v(S),_=32767&S,C=A[T];if(p[_]=C,A[T]=_,k<=S){var E=a-S;if((Q>7e3||x>24576)&&(E>423||!c)){u=cte(e,l,0,y,b,w,$,x,P,S-P,u),x=Q=$=0,P=S;for(var R=0;R<286;++R)b[R]=0;for(R=0;R<30;++R)w[R]=0}var X=2,B=0,U=h,D=_-C&32767;if(E>2&&T==v(S-D))for(var I=Math.min(d,E)-1,z=Math.min(32767,S),N=Math.min(258,E);D<=z&&--U&&_!=C;){if(e[S+X]==e[S+X-D]){for(var M=0;M<N&&e[S+M]==e[S+M-D];++M);if(M>X){if(X=M,B=D,M>I)break;var L=Math.min(D,M-2),V=0;for(R=0;R<L;++R){var q=S-D+R&32767,F=q-p[q]&32767;F>V&&(V=F,C=q)}}}D+=(_=C)-(C=p[_])&32767}if(B){y[x++]=268435456|Fee[X]<<18|Wee[B];var W=31&Fee[X],Z=31&Wee[B];$+=zee[W]+Nee[Z],++b[257+W],++w[Z],k=S+X,++Q}else y[x++]=e[S],++b[e[S]]}}for(S=Math.max(S,k);S<a;++S)y[x++]=e[S],++b[e[S]];u=cte(e,l,c,y,b,w,$,x,P,S-P,u),c||(o.r=7&u|l[u/8|0]<<3,u-=7,o.h=A,o.p=p,o.i=S,o.w=k)}else{for(S=o.w||0;S<a+c;S+=65535){var Y=S+65535;Y>=a&&(l[u/8|0]=c,Y=a),u=lte(l,u+1,e.subarray(S,Y))}o.i=a}return function(e,t,n){return(null==n||n>e.length)&&(n=e.length),new Uee(e.subarray(t,n))}(s,0,r+tte(u)+i)},hte=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=0|n.length,a=0;a!=o;){for(var s=Math.min(a+2655,o);a<s;++a)i+=r+=n[a];r=(65535&r)+15*(r>>16),i=(65535&i)+15*(i>>16)}e=r,t=i},d:function(){return(255&(e%=65521))<<24|(65280&e)<<8|(255&(t%=65521))<<8|t>>8}}},fte=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function pte(e,t){t||(t={});var n=hte();n.p(e);var r=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),a=new Uee(o.length+e.length);a.set(o),a.set(e,o.length),e=a,i.w=o.length}return dte(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,r,i)}(e,t,t.dictionary?6:2,4);return function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;if(e[0]=120,e[1]=r<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var i=hte();i.p(t.dictionary),fte(e,2,i.d())}}(r,t),fte(r,r.length-4,n.d()),r}var Ate=typeof TextDecoder<"u"&&new TextDecoder;try{Ate.decode(Ote,{stream:!0})}catch{}function mte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gte(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0!==t)for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return mte(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mte(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vte(e,t="utf8"){return new TextDecoder(t).decode(e)}const yte=new TextEncoder;const bte=(()=>{const e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),wte={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Qte{constructor(e=8192,t={}){g2(this,"buffer"),g2(this,"byteLength"),g2(this,"byteOffset"),g2(this,"length"),g2(this,"offset"),g2(this,"lastWrittenByte"),g2(this,"littleEndian"),g2(this,"_data"),g2(this,"_mark"),g2(this,"_marks");let n=!1;"number"==typeof e?e=new ArrayBuffer(e):(n=!0,this.lastWrittenByte=e.byteLength);const r=t.offset?t.offset>>>0:0,i=e.byteLength-r;let o=r;(ArrayBuffer.isView(e)||e instanceof Qte)&&(e.byteLength!==e.buffer.byteLength&&(o=e.byteOffset+r),e=e.buffer),this.lastWrittenByte=n?i:0,this.buffer=e,this.length=i,this.byteLength=i,this.byteOffset=o,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,o,i),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const e=this._marks.pop();if(void 0===e)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){const t=2*(this.offset+e),n=new Uint8Array(t);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){const n=wte[t].BYTES_PER_ELEMENT*e,r=this.byteOffset+this.offset,i=this.buffer.slice(r,r+n);if(this.littleEndian===bte&&"uint8"!==t&&"int8"!==t){const e=new Uint8Array(this.buffer.slice(r,r+n));e.reverse();const i=new wte[t](e.buffer);return this.offset+=n,i.reverse(),i}const o=new wte[t](i);return this.offset+=n,o}readInt16(){const e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let n=0;n<e;n++)t+=this.readChar();return t}readUtf8(e=1){return vte(this.readBytes(e))}decodeText(e=1,t="utf8"){return vte(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(e?255:0),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes((t=e,yte.encode(t)));var t}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function $te(e){let t=e.length;for(;--t>=0;)e[t]=0}$te(new Array(576));$te(new Array(60));$te(new Array(512));$te(new Array(256));$te(new Array(29));$te(new Array(30));var Ste=(e,t,n,r)=>{let i=65535&e,o=e>>>16&65535,a=0;for(;0!==n;){a=n>2e3?2e3:n,n-=a;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16};const xte=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t})());var kte=(e,t,n,r)=>{const i=xte,o=r+n;e^=-1;for(let a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},Pte={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"},Tte={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const _te=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Cte=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(const t in n)_te(n,t)&&(e[t]=n[t])}}return e},Ete=e=>{let t=0;for(let r=0,i=e.length;r<i;r++)t+=e[r].length;const n=new Uint8Array(t);for(let r=0,i=0,o=e.length;r<o;r++){let t=e[r];n.set(t,i),i+=t.length}return n};let Rte=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Rte=!1}const Xte=new Uint8Array(256);for(let os=0;os<256;os++)Xte[os]=os>=252?6:os>=248?5:os>=240?4:os>=224?3:os>=192?2:1;Xte[254]=Xte[254]=1;var Bte=e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)n=e.charCodeAt(i),55296==(64512&n)&&i+1<a&&(r=e.charCodeAt(i+1),56320==(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),i++)),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)n=e.charCodeAt(i),55296==(64512&n)&&i+1<a&&(r=e.charCodeAt(i+1),56320==(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),i++)),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},Ute=(e,t)=>{const n=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));let r,i;const o=new Array(2*n);for(i=0,r=0;r<n;){let t=e[r++];if(t<128){o[i++]=t;continue}let a=Xte[t];if(a>4)o[i++]=65533,r+=a-1;else{for(t&=2===a?31:3===a?15:7;a>1&&r<n;)t=t<<6|63&e[r++],a--;a>1?o[i++]=65533:t<65536?o[i++]=t:(t-=65536,o[i++]=55296|t>>10&1023,o[i++]=56320|1023&t)}}return((e,t)=>{if(t<65534&&e.subarray&&Rte)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n})(o,i)},Dte=(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let n=t-1;for(;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+Xte[e[n]]>t?n:t};var Ite=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};const zte=16209;var Nte=function(e,t){let n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v,y,b,w,Q,$,S;const x=e.state;n=e.next_in,$=e.input,r=n+(e.avail_in-5),i=e.next_out,S=e.output,o=i-(t-e.avail_out),a=i+(e.avail_out-257),s=x.dmax,l=x.wsize,c=x.whave,u=x.wnext,O=x.window,d=x.hold,h=x.bits,f=x.lencode,p=x.distcode,A=(1<<x.lenbits)-1,m=(1<<x.distbits)-1;e:do{h<15&&(d+=$[n++]<<h,h+=8,d+=$[n++]<<h,h+=8),g=f[d&A];t:for(;;){if(v=g>>>24,d>>>=v,h-=v,v=g>>>16&255,0===v)S[i++]=65535&g;else{if(!(16&v)){if(64&v){if(32&v){x.mode=16191;break e}e.msg="invalid literal/length code",x.mode=zte;break e}g=f[(65535&g)+(d&(1<<v)-1)];continue t}for(y=65535&g,v&=15,v&&(h<v&&(d+=$[n++]<<h,h+=8),y+=d&(1<<v)-1,d>>>=v,h-=v),h<15&&(d+=$[n++]<<h,h+=8,d+=$[n++]<<h,h+=8),g=p[d&m];;){if(v=g>>>24,d>>>=v,h-=v,v=g>>>16&255,16&v){if(b=65535&g,v&=15,h<v&&(d+=$[n++]<<h,h+=8,h<v&&(d+=$[n++]<<h,h+=8)),b+=d&(1<<v)-1,b>s){e.msg="invalid distance too far back",x.mode=zte;break e}if(d>>>=v,h-=v,v=i-o,b>v){if(v=b-v,v>c&&x.sane){e.msg="invalid distance too far back",x.mode=zte;break e}if(w=0,Q=O,0===u){if(w+=l-v,v<y){y-=v;do{S[i++]=O[w++]}while(--v);w=i-b,Q=S}}else if(u<v){if(w+=l+u-v,v-=u,v<y){y-=v;do{S[i++]=O[w++]}while(--v);if(w=0,u<y){v=u,y-=v;do{S[i++]=O[w++]}while(--v);w=i-b,Q=S}}}else if(w+=u-v,v<y){y-=v;do{S[i++]=O[w++]}while(--v);w=i-b,Q=S}for(;y>2;)S[i++]=Q[w++],S[i++]=Q[w++],S[i++]=Q[w++],y-=3;y&&(S[i++]=Q[w++],y>1&&(S[i++]=Q[w++]))}else{w=i-b;do{S[i++]=S[w++],S[i++]=S[w++],S[i++]=S[w++],y-=3}while(y>2);y&&(S[i++]=S[w++],y>1&&(S[i++]=S[w++]))}break}if(64&v){e.msg="invalid distance code",x.mode=zte;break e}g=p[(65535&g)+(d&(1<<v)-1)]}}break}}while(n<r&&i<a);y=h>>3,n-=y,h-=y<<3,d&=(1<<h)-1,e.next_in=n,e.next_out=i,e.avail_in=n<r?r-n+5:5-(n-r),e.avail_out=i<a?a-i+257:257-(i-a),x.hold=d,x.bits=h};const Mte=15,Lte=new Uint16Array([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]),Vte=new Uint8Array([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]),qte=new Uint16Array([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]),Fte=new Uint8Array([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]);var Wte=(e,t,n,r,i,o,a,s)=>{const l=s.bits;let c,u,O,d,h,f,p=0,A=0,m=0,g=0,v=0,y=0,b=0,w=0,Q=0,$=0,S=null;const x=new Uint16Array(16),k=new Uint16Array(16);let P,T,_,C=null;for(p=0;p<=Mte;p++)x[p]=0;for(A=0;A<r;A++)x[t[n+A]]++;for(v=l,g=Mte;g>=1&&0===x[g];g--);if(v>g&&(v=g),0===g)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(m=1;m<g&&0===x[m];m++);for(v<m&&(v=m),w=1,p=1;p<=Mte;p++)if(w<<=1,w-=x[p],w<0)return-1;if(w>0&&(0===e||1!==g))return-1;for(k[1]=0,p=1;p<Mte;p++)k[p+1]=k[p]+x[p];for(A=0;A<r;A++)0!==t[n+A]&&(a[k[t[n+A]]++]=A);if(0===e?(S=C=a,f=20):1===e?(S=Lte,C=Vte,f=257):(S=qte,C=Fte,f=0),$=0,A=0,p=m,h=o,y=v,b=0,O=-1,Q=1<<v,d=Q-1,1===e&&Q>852||2===e&&Q>592)return 1;for(;;){P=p-b,a[A]+1<f?(T=0,_=a[A]):a[A]>=f?(T=C[a[A]-f],_=S[a[A]-f]):(T=96,_=0),c=1<<p-b,u=1<<y,m=u;do{u-=c,i[h+($>>b)+u]=P<<24|T<<16|_}while(0!==u);for(c=1<<p-1;$&c;)c>>=1;if(0!==c?($&=c-1,$+=c):$=0,A++,0===--x[p]){if(p===g)break;p=t[n+a[A]]}if(p>v&&($&d)!==O){for(0===b&&(b=v),h+=m,y=p-b,w=1<<y;y+b<g&&(w-=x[y+b],!(w<=0));)y++,w<<=1;if(Q+=1<<y,1===e&&Q>852||2===e&&Q>592)return 1;O=$&d,i[O]=v<<24|y<<16|h-o}}return 0!==$&&(i[h+$]=p-b<<24|64<<16),s.bits=v,0};const{Z_FINISH:Zte,Z_BLOCK:Yte,Z_TREES:jte,Z_OK:Gte,Z_STREAM_END:Hte,Z_NEED_DICT:Kte,Z_STREAM_ERROR:Jte,Z_DATA_ERROR:ene,Z_MEM_ERROR:tne,Z_BUF_ERROR:nne,Z_DEFLATED:rne}=Tte,ine=16180,one=16190,ane=16191,sne=16192,lne=16194,cne=16199,une=16200,One=16206,dne=16209,hne=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function fne(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pne=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<ine||t.mode>16211?1:0},Ane=e=>{if(pne(e))return Jte;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=ine,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,Gte},mne=e=>{if(pne(e))return Jte;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Ane(e)},gne=(e,t)=>{let n;if(pne(e))return Jte;const r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Jte:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,mne(e))},vne=(e,t)=>{if(!e)return Jte;const n=new fne;e.state=n,n.strm=e,n.window=null,n.mode=ine;const r=gne(e,t);return r!==Gte&&(e.state=null),r};let yne,bne,wne=!0;const Qne=e=>{if(wne){yne=new Int32Array(512),bne=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Wte(1,e.lens,0,288,yne,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Wte(2,e.lens,0,32,bne,0,e.work,{bits:5}),wne=!1}e.lencode=yne,e.lenbits=9,e.distcode=bne,e.distbits=5},$ne=(e,t,n,r)=>{let i;const o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),r>=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):(i=o.wsize-o.wnext,i>r&&(i=r),o.window.set(t.subarray(n-r,n-r+i),o.wnext),(r-=i)?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0};var Sne=e=>vne(e,15),xne=(e,t)=>{let n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v,y,b,w,Q,$=0;const S=new Uint8Array(4);let x,k;const P=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pne(e)||!e.output||!e.input&&0!==e.avail_in)return Jte;n=e.state,n.mode===ane&&(n.mode=sne),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,O=s,d=l,Q=Gte;e:for(;;)switch(n.mode){case ine:if(0===n.wrap){n.mode=sne;break}for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(2&n.wrap&&35615===c){0===n.wbits&&(n.wbits=15),n.check=0,S[0]=255&c,S[1]=c>>>8&255,n.check=kte(n.check,S,2,0),c=0,u=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=dne;break}if((15&c)!==rne){e.msg="unknown compression method",n.mode=dne;break}if(c>>>=4,u-=4,w=8+(15&c),0===n.wbits&&(n.wbits=w),w>15||w>n.wbits){e.msg="invalid window size",n.mode=dne;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&c?16189:ane,c=0,u=0;break;case 16181:for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(n.flags=c,(255&n.flags)!==rne){e.msg="unknown compression method",n.mode=dne;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=dne;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&4&n.wrap&&(S[0]=255&c,S[1]=c>>>8&255,n.check=kte(n.check,S,2,0)),c=0,u=0,n.mode=16182;case 16182:for(;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&4&n.wrap&&(S[0]=255&c,S[1]=c>>>8&255,S[2]=c>>>16&255,S[3]=c>>>24&255,n.check=kte(n.check,S,4,0)),c=0,u=0,n.mode=16183;case 16183:for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&4&n.wrap&&(S[0]=255&c,S[1]=c>>>8&255,n.check=kte(n.check,S,2,0)),c=0,u=0,n.mode=16184;case 16184:if(1024&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&4&n.wrap&&(S[0]=255&c,S[1]=c>>>8&255,n.check=kte(n.check,S,2,0)),c=0,u=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&(h=n.length,h>s&&(h=s),h&&(n.head&&(w=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+h),w)),512&n.flags&&4&n.wrap&&(n.check=kte(n.check,r,h,o)),s-=h,o+=h,n.length-=h),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===s)break e;h=0;do{w=r[o+h++],n.head&&w&&n.length<65536&&(n.head.name+=String.fromCharCode(w))}while(w&&h<s);if(512&n.flags&&4&n.wrap&&(n.check=kte(n.check,r,h,o)),s-=h,o+=h,w)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&n.flags){if(0===s)break e;h=0;do{w=r[o+h++],n.head&&w&&n.length<65536&&(n.head.comment+=String.fromCharCode(w))}while(w&&h<s);if(512&n.flags&&4&n.wrap&&(n.check=kte(n.check,r,h,o)),s-=h,o+=h,w)break e}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(4&n.wrap&&c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=dne;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=ane;break;case 16189:for(;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}e.adler=n.check=hne(c),c=0,u=0,n.mode=one;case one:if(0===n.havedict)return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=c,n.bits=u,Kte;e.adler=n.check=1,n.mode=ane;case ane:if(t===Yte||t===jte)break e;case sne:if(n.last){c>>>=7&u,u-=7&u,n.mode=One;break}for(;u<3;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}switch(n.last=1&c,c>>>=1,u-=1,3&c){case 0:n.mode=16193;break;case 1:if(Qne(n),n.mode=cne,t===jte){c>>>=2,u-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=dne}c>>>=2,u-=2;break;case 16193:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=dne;break}if(n.length=65535&c,c=0,u=0,n.mode=lne,t===jte)break e;case lne:n.mode=16195;case 16195:if(h=n.length,h){if(h>s&&(h=s),h>l&&(h=l),0===h)break e;i.set(r.subarray(o,o+h),a),s-=h,o+=h,l-=h,a+=h,n.length-=h;break}n.mode=ane;break;case 16196:for(;u<14;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(n.nlen=257+(31&c),c>>>=5,u-=5,n.ndist=1+(31&c),c>>>=5,u-=5,n.ncode=4+(15&c),c>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=dne;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.lens[P[n.have++]]=7&c,c>>>=3,u-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,x={bits:n.lenbits},Q=Wte(0,n.lens,0,19,n.lencode,0,n.work,x),n.lenbits=x.bits,Q){e.msg="invalid code lengths set",n.mode=dne;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;$=n.lencode[c&(1<<n.lenbits)-1],A=$>>>24,m=$>>>16&255,g=65535&$,!(A<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(g<16)c>>>=A,u-=A,n.lens[n.have++]=g;else{if(16===g){for(k=A+2;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(c>>>=A,u-=A,0===n.have){e.msg="invalid bit length repeat",n.mode=dne;break}w=n.lens[n.have-1],h=3+(3&c),c>>>=2,u-=2}else if(17===g){for(k=A+3;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}c>>>=A,u-=A,w=0,h=3+(7&c),c>>>=3,u-=3}else{for(k=A+7;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}c>>>=A,u-=A,w=0,h=11+(127&c),c>>>=7,u-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=dne;break}for(;h--;)n.lens[n.have++]=w}}if(n.mode===dne)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=dne;break}if(n.lenbits=9,x={bits:n.lenbits},Q=Wte(1,n.lens,0,n.nlen,n.lencode,0,n.work,x),n.lenbits=x.bits,Q){e.msg="invalid literal/lengths set",n.mode=dne;break}if(n.distbits=6,n.distcode=n.distdyn,x={bits:n.distbits},Q=Wte(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,x),n.distbits=x.bits,Q){e.msg="invalid distances set",n.mode=dne;break}if(n.mode=cne,t===jte)break e;case cne:n.mode=une;case une:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=c,n.bits=u,Nte(e,d),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,n.mode===ane&&(n.back=-1);break}for(n.back=0;$=n.lencode[c&(1<<n.lenbits)-1],A=$>>>24,m=$>>>16&255,g=65535&$,!(A<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(m&&!(240&m)){for(v=A,y=m,b=g;$=n.lencode[b+((c&(1<<v+y)-1)>>v)],A=$>>>24,m=$>>>16&255,g=65535&$,!(v+A<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}c>>>=v,u-=v,n.back+=v}if(c>>>=A,u-=A,n.back+=A,n.length=g,0===m){n.mode=16205;break}if(32&m){n.back=-1,n.mode=ane;break}if(64&m){e.msg="invalid literal/length code",n.mode=dne;break}n.extra=15&m,n.mode=16201;case 16201:if(n.extra){for(k=n.extra;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;$=n.distcode[c&(1<<n.distbits)-1],A=$>>>24,m=$>>>16&255,g=65535&$,!(A<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(!(240&m)){for(v=A,y=m,b=g;$=n.distcode[b+((c&(1<<v+y)-1)>>v)],A=$>>>24,m=$>>>16&255,g=65535&$,!(v+A<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}c>>>=v,u-=v,n.back+=v}if(c>>>=A,u-=A,n.back+=A,64&m){e.msg="invalid distance code",n.mode=dne;break}n.offset=g,n.extra=15&m,n.mode=16203;case 16203:if(n.extra){for(k=n.extra;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=dne;break}n.mode=16204;case 16204:if(0===l)break e;if(h=d-l,n.offset>h){if(h=n.offset-h,h>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=dne;break}h>n.wnext?(h-=n.wnext,f=n.wsize-h):f=n.wnext-h,h>n.length&&(h=n.length),p=n.window}else p=i,f=a-n.offset,h=n.length;h>l&&(h=l),l-=h,n.length-=h;do{i[a++]=p[f++]}while(--h);0===n.length&&(n.mode=une);break;case 16205:if(0===l)break e;i[a++]=n.length,l--,n.mode=une;break;case One:if(n.wrap){for(;u<32;){if(0===s)break e;s--,c|=r[o++]<<u,u+=8}if(d-=l,e.total_out+=d,n.total+=d,4&n.wrap&&d&&(e.adler=n.check=n.flags?kte(n.check,i,d,a-d):Ste(n.check,i,d,a-d)),d=l,4&n.wrap&&(n.flags?c:hne(c))!==n.check){e.msg="incorrect data check",n.mode=dne;break}c=0,u=0}n.mode=16207;case 16207:if(n.wrap&&n.flags){for(;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(4&n.wrap&&c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=dne;break}c=0,u=0}n.mode=16208;case 16208:Q=Hte;break e;case dne:Q=ene;break e;case 16210:return tne;default:return Jte}return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||d!==e.avail_out&&n.mode<dne&&(n.mode<One||t!==Zte))&&$ne(e,e.output,e.next_out,d-e.avail_out),O-=e.avail_in,d-=e.avail_out,e.total_in+=O,e.total_out+=d,n.total+=d,4&n.wrap&&d&&(e.adler=n.check=n.flags?kte(n.check,i,d,e.next_out-d):Ste(n.check,i,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===ane?128:0)+(n.mode===cne||n.mode===lne?256:0),(0===O&&0===d||t===Zte)&&Q===Gte&&(Q=nne),Q},kne=e=>{if(pne(e))return Jte;let t=e.state;return t.window&&(t.window=null),e.state=null,Gte},Pne=(e,t)=>{if(pne(e))return Jte;const n=e.state;return 2&n.wrap?(n.head=t,t.done=!1,Gte):Jte},Tne=(e,t)=>{const n=t.length;let r,i,o;return pne(e)||(r=e.state,0!==r.wrap&&r.mode!==one)?Jte:r.mode===one&&(i=1,i=Ste(i,t,n,0),i!==r.check)?ene:(o=$ne(e,t,n,n),o?(r.mode=16210,tne):(r.havedict=1,Gte))},_ne={inflateReset:mne,inflateReset2:gne,inflateResetKeep:Ane,inflateInit:Sne,inflateInit2:vne,inflate:xne,inflateEnd:kne,inflateGetHeader:Pne,inflateSetDictionary:Tne,inflateInfo:"pako inflate (from Nodeca project)"};var Cne=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};const Ene=Object.prototype.toString,{Z_NO_FLUSH:Rne,Z_FINISH:Xne,Z_OK:Bne,Z_STREAM_END:Une,Z_NEED_DICT:Dne,Z_STREAM_ERROR:Ine,Z_DATA_ERROR:zne,Z_MEM_ERROR:Nne}=Tte;function Mne(e){this.options=Cte({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ite,this.strm.avail_out=0;let n=_ne.inflateInit2(this.strm,t.windowBits);if(n!==Bne)throw new Error(Pte[n]);if(this.header=new Cne,_ne.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=Bte(t.dictionary):"[object ArrayBuffer]"===Ene.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=_ne.inflateSetDictionary(this.strm,t.dictionary),n!==Bne)))throw new Error(Pte[n])}Mne.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,i=this.options.dictionary;let o,a,s;if(this.ended)return!1;for(a=t===~~t?t:!0===t?Xne:Rne,"[object ArrayBuffer]"===Ene.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(0===n.avail_out&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),o=_ne.inflate(n,a),o===Dne&&i&&(o=_ne.inflateSetDictionary(n,i),o===Bne?o=_ne.inflate(n,a):o===zne&&(o=Dne));n.avail_in>0&&o===Une&&n.state.wrap>0&&0!==e[n.next_in];)_ne.inflateReset(n),o=_ne.inflate(n,a);switch(o){case Ine:case zne:case Dne:case Nne:return this.onEnd(o),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(0===n.avail_out||o===Une))if("string"===this.options.to){let e=Dte(n.output,n.next_out),t=n.next_out-e,i=Ute(n.output,e);n.next_out=t,n.avail_out=r-t,t&&n.output.set(n.output.subarray(e,e+t),0),this.onData(i)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(o!==Bne||0!==s){if(o===Une)return o=_ne.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(0===n.avail_in)break}}return!0},Mne.prototype.onData=function(e){this.chunks.push(e)},Mne.prototype.onEnd=function(e){e===Bne&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ete(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Lne=function(e,t){const n=new Mne(t);if(n.push(e),n.err)throw n.msg||Pte[n.err];return n.result},Vne={Inflate:Mne,inflate:Lne};const{Inflate:qne,inflate:Fne}=Vne;var Wne=qne,Zne=Fne;const Yne=[];for(let os=0;os<256;os++){let e=os;for(let t=0;t<8;t++)1&e?e=3988292384^e>>>1:e>>>=1;Yne[os]=e}const jne=4294967295;function Gne(e,t){return(function(e,t,n){let r=e;for(let i=0;i<n;i++)r=Yne[255&(r^t[i])]^r>>>8;return r}(jne,e,t)^jne)>>>0}function Hne(e,t,n){const r=e.readUint32(),i=Gne(new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t);if(i!==r)throw new Error(`CRC mismatch for chunk ${n}. Expected ${r}, found ${i}`)}function Kne(e,t,n){for(let r=0;r<n;r++)t[r]=e[r]}function Jne(e,t,n,r){let i=0;for(;i<r;i++)t[i]=e[i];for(;i<n;i++)t[i]=e[i]+t[i-r]&255}function ere(e,t,n,r){let i=0;if(0===n.length)for(;i<r;i++)t[i]=e[i];else for(;i<r;i++)t[i]=e[i]+n[i]&255}function tre(e,t,n,r,i){let o=0;if(0===n.length){for(;o<i;o++)t[o]=e[o];for(;o<r;o++)t[o]=e[o]+(t[o-i]>>1)&255}else{for(;o<i;o++)t[o]=e[o]+(n[o]>>1)&255;for(;o<r;o++)t[o]=e[o]+(t[o-i]+n[o]>>1)&255}}function nre(e,t,n,r,i){let o=0;if(0===n.length){for(;o<i;o++)t[o]=e[o];for(;o<r;o++)t[o]=e[o]+t[o-i]&255}else{for(;o<i;o++)t[o]=e[o]+n[o]&255;for(;o<r;o++)t[o]=e[o]+rre(t[o-i],n[o],n[o-i])&255}}function rre(e,t,n){const r=e+t-n,i=Math.abs(r-e),o=Math.abs(r-t),a=Math.abs(r-n);return i<=o&&i<=a?e:o<=a?t:n}function ire(e,t,n,r,i,o){switch(e){case 0:Kne(t,n,i);break;case 1:Jne(t,n,i,o);break;case 2:ere(t,n,r,i);break;case 3:tre(t,n,r,i,o);break;case 4:nre(t,n,r,i,o);break;default:throw new Error(`Unsupported filter: ${e}`)}}const ore=new Uint16Array([255]),are=255===new Uint8Array(ore.buffer)[0];function sre(e){return(255&e)<<8|e>>8&255}const lre=new Uint16Array([255]),cre=255===new Uint8Array(lre.buffer)[0],ure=new Uint8Array(0);function Ore(e){const{data:t,width:n,height:r,channels:i,depth:o}=e,a=Math.ceil(o/8)*i,s=Math.ceil(o/8*i*n),l=new Uint8Array(r*s);let c,u,O=ure,d=0;for(let h=0;h<r;h++){switch(c=t.subarray(d+1,d+1+s),u=l.subarray(h*s,(h+1)*s),t[d]){case 0:Kne(c,u,s);break;case 1:Jne(c,u,s,a);break;case 2:ere(c,u,O,s);break;case 3:tre(c,u,O,s,a);break;case 4:nre(c,u,O,s,a);break;default:throw new Error(`Unsupported filter: ${t[d]}`)}O=u,d+=s+1}if(16===o){const e=new Uint16Array(l.buffer);if(cre)for(let t=0;t<e.length;t++)e[t]=dre(e[t]);return e}return l}function dre(e){return(255&e)<<8|e>>8&255}const hre=Uint8Array.of(137,80,78,71,13,10,26,10);function fre(e){if(!function(e){if(e.length<hre.length)return!1;for(let t=0;t<hre.length;t++)if(e[t]!==hre[t])return!1;return!0}(e.readBytes(hre.length)))throw new Error("wrong PNG signature")}const pre=new TextDecoder("latin1");function Are(e){if(function(e){if(!mre.test(e))throw new Error("invalid latin1 text")}(e),0===e.length||e.length>79)throw new Error("keyword length must be between 1 and 79")}const mre=/^[\u0000-\u00FF]*$/;function gre(e,t,n){const r=vre(t);e[r]=function(e,t){return pre.decode(e.readBytes(t))}(t,n-r.length-1)}function vre(e){for(e.mark();0!==e.readByte(););const t=e.offset;e.reset();const n=pre.decode(e.readBytes(t-e.offset-1));return e.skip(1),Are(n),n}const yre=-1,bre=0,wre=2,Qre=3,$re=4,Sre=6,xre=-1,kre=0,Pre=-1,Tre=0,_re=-1,Cre=0,Ere=1,Rre=0,Xre=1,Bre=2,Ure=0,Dre=1;class Ire extends Qte{constructor(e,t={}){super(e),g2(this,"_checkCrc"),g2(this,"_inflator"),g2(this,"_png"),g2(this,"_apng"),g2(this,"_end"),g2(this,"_hasPalette"),g2(this,"_palette"),g2(this,"_hasTransparency"),g2(this,"_transparency"),g2(this,"_compressionMethod"),g2(this,"_filterMethod"),g2(this,"_interlaceMethod"),g2(this,"_colorType"),g2(this,"_isAnimated"),g2(this,"_numberOfFrames"),g2(this,"_numberOfPlays"),g2(this,"_frames"),g2(this,"_writingDataChunks");const{checkCrc:n=!1}=t;this._checkCrc=n,this._inflator=new Wne,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=xre,this._filterMethod=Pre,this._interlaceMethod=_re,this._colorType=yre,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(fre(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(fre(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){const n=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":gre(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Hne(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){const n=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Hne(this,e+4,t):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw new Error(`invalid bit depth: ${e}`);return e}(this.readUint8());const t=this.readUint8();let n;switch(this._colorType=t,t){case bre:n=1;break;case wre:n=3;break;case Qre:n=1;break;case $re:n=2;break;case Sre:n=4;break;default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=n,this._compressionMethod=this.readUint8(),this._compressionMethod!==kre)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const t=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let r=0;r<t;r++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const t=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,n=this.offset+this.byteOffset;if(n+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case bre:case wre:if(e%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case Qre:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){const e=this.readByte();this._palette[t].push(e)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const t=vre(this),n=this.readUint8();if(n!==kre)throw new Error(`Unsupported iCCP compression method: ${n}`);const r=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:Zne(r)}}decodepHYs(){const e=this.readUint32(),t=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:t,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=Ore({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===e||0===n.xOffset&&0===n.yOffset&&n.width===this._png.width&&n.height===this._png.height)t.data=n.data;else{const r=this._apng.frames.at(e-1);this.disposeFrame(n,r,t),this.addFrameDataToCanvas(t,n)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,n){switch(e.disposeOp){case Rre:break;case Xre:for(let t=0;t<this._png.height;t++)for(let r=0;r<this._png.width;r++){const i=(t*e.width+r)*this._png.channels;for(let e=0;e<this._png.channels;e++)n.data[i+e]=0}break;case Bre:n.data.set(t.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){const n=1<<this._png.depth,r=(e,n)=>({index:((e+t.yOffset)*this._png.width+t.xOffset+n)*this._png.channels,frameIndex:(e*t.width+n)*this._png.channels});switch(t.blendOp){case Ure:for(let n=0;n<t.height;n++)for(let i=0;i<t.width;i++){const{index:o,frameIndex:a}=r(n,i);for(let n=0;n<this._png.channels;n++)e.data[o+n]=t.data[a+n]}break;case Dre:for(let i=0;i<t.height;i++)for(let o=0;o<t.width;o++){const{index:a,frameIndex:s}=r(i,o);for(let r=0;r<this._png.channels;r++){const i=t.data[s+this._png.channels-1]/n,o=r%(this._png.channels-1)==0?1:t.data[s+r],l=Math.floor(i*o+(1-i)*e.data[a+r]);e.data[a+r]+=l}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var e;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const t=this._isAnimated?(null==(e=this._frames)?void 0:e.at(0)).data:this._inflator.result;if(this._filterMethod!==Tre)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Cre)this._png.data=Ore({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{if(this._interlaceMethod!==Ere)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=function(e){const{data:t,width:n,height:r,channels:i,depth:o}=e,a=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],s=Math.ceil(o/8)*i,l=new Uint8Array(r*n*s);let c=0;for(let u=0;u<7;u++){const e=a[u],i=Math.ceil((n-e.x)/e.xStep),o=Math.ceil((r-e.y)/e.yStep);if(i<=0||o<=0)continue;const O=i*s,d=new Uint8Array(O);for(let a=0;a<o;a++){const o=t[c++],u=t.subarray(c,c+O);c+=O;const h=new Uint8Array(O);ire(o,u,h,d,O,s),d.set(h);for(let t=0;t<i;t++){const i=e.x+t*e.xStep,o=e.y+a*e.yStep;if(!(i>=n||o>=r))for(let e=0;e<s;e++)l[(o*n+i)*s+e]=h[t*s+e]}}}if(16===o){const e=new Uint16Array(l.buffer);if(are)for(let t=0;t<e.length;t++)e[t]=sre(e[t]);return e}return l}({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Rre,blendOp:Ure,data:e}),this._inflator=new Wne,this._writingDataChunks=!1}}var zre,Nre;(Nre=zre||(zre={}))[Nre.UNKNOWN=0]="UNKNOWN",Nre[Nre.METRE=1]="METRE";var Mre=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Lre(){Mre.console&&"function"==typeof Mre.console.log&&Mre.console.log.apply(Mre.console,arguments)}var Vre={log:Lre,warn:function(e){Mre.console&&("function"==typeof Mre.console.warn?Mre.console.warn.apply(Mre.console,arguments):Lre.call(null,arguments))},error:function(e){Mre.console&&("function"==typeof Mre.console.error?Mre.console.error.apply(Mre.console,arguments):Lre(e))}};function qre(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){Zre(r.response,t,n)},r.onerror=function(){Vre.error("could not download file")},r.send()}function Fre(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Wre(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var Zre=Mre.saveAs||("object"!==(typeof window>"u"?"undefined":Bee(window))||window!==Mre?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=Mre.URL||Mre.webkitURL,i=document.createElement("a");t=t||e.name||"download",i.download=t,i.rel="noopener","string"==typeof e?(i.href=e,i.origin!==location.origin?Fre(i.href)?qre(e,t,n):Wre(i,i.target="_blank"):Wre(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){Wre(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(Fre(e))qre(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){Wre(r)})}else navigator.msSaveOrOpenBlob((i=e,void 0===(o=n)?o={autoBom:!1}:"object"!==Bee(o)&&(Vre.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\ufeff",i],{type:i.type}):i),t);var i,o}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return qre(e,t,n);var i="application/octet-stream"===e.type,o=/constructor/i.test(Mre.HTMLElement)||Mre.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o)&&"object"===(typeof FileReader>"u"?"undefined":Bee(FileReader))){var s=new FileReader;s.onloadend=function(){var e=s.result;e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},s.readAsDataURL(e)}else{var l=Mre.URL||Mre.webkitURL,c=l.createObjectURL(e);r?r.location=c:location.href=c,r=null,setTimeout(function(){l.revokeObjectURL(c)},4e4)}});function Yre(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,a=i.exec(e);a&&(t=o(a),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}var jre=Mre.atob.bind(Mre),Gre=Mre.btoa.bind(Mre);function Hre(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];n=Jre(n,r,i,o,t[0],7,-680876936),o=Jre(o,n,r,i,t[1],12,-389564586),i=Jre(i,o,n,r,t[2],17,606105819),r=Jre(r,i,o,n,t[3],22,-1044525330),n=Jre(n,r,i,o,t[4],7,-176418897),o=Jre(o,n,r,i,t[5],12,1200080426),i=Jre(i,o,n,r,t[6],17,-1473231341),r=Jre(r,i,o,n,t[7],22,-45705983),n=Jre(n,r,i,o,t[8],7,1770035416),o=Jre(o,n,r,i,t[9],12,-1958414417),i=Jre(i,o,n,r,t[10],17,-42063),r=Jre(r,i,o,n,t[11],22,-1990404162),n=Jre(n,r,i,o,t[12],7,1804603682),o=Jre(o,n,r,i,t[13],12,-40341101),i=Jre(i,o,n,r,t[14],17,-1502002290),n=eie(n,r=Jre(r,i,o,n,t[15],22,1236535329),i,o,t[1],5,-165796510),o=eie(o,n,r,i,t[6],9,-1069501632),i=eie(i,o,n,r,t[11],14,643717713),r=eie(r,i,o,n,t[0],20,-373897302),n=eie(n,r,i,o,t[5],5,-701558691),o=eie(o,n,r,i,t[10],9,38016083),i=eie(i,o,n,r,t[15],14,-660478335),r=eie(r,i,o,n,t[4],20,-405537848),n=eie(n,r,i,o,t[9],5,568446438),o=eie(o,n,r,i,t[14],9,-1019803690),i=eie(i,o,n,r,t[3],14,-187363961),r=eie(r,i,o,n,t[8],20,1163531501),n=eie(n,r,i,o,t[13],5,-1444681467),o=eie(o,n,r,i,t[2],9,-51403784),i=eie(i,o,n,r,t[7],14,1735328473),n=tie(n,r=eie(r,i,o,n,t[12],20,-1926607734),i,o,t[5],4,-378558),o=tie(o,n,r,i,t[8],11,-2022574463),i=tie(i,o,n,r,t[11],16,1839030562),r=tie(r,i,o,n,t[14],23,-35309556),n=tie(n,r,i,o,t[1],4,-1530992060),o=tie(o,n,r,i,t[4],11,1272893353),i=tie(i,o,n,r,t[7],16,-155497632),r=tie(r,i,o,n,t[10],23,-1094730640),n=tie(n,r,i,o,t[13],4,681279174),o=tie(o,n,r,i,t[0],11,-358537222),i=tie(i,o,n,r,t[3],16,-722521979),r=tie(r,i,o,n,t[6],23,76029189),n=tie(n,r,i,o,t[9],4,-640364487),o=tie(o,n,r,i,t[12],11,-421815835),i=tie(i,o,n,r,t[15],16,530742520),n=nie(n,r=tie(r,i,o,n,t[2],23,-995338651),i,o,t[0],6,-198630844),o=nie(o,n,r,i,t[7],10,1126891415),i=nie(i,o,n,r,t[14],15,-1416354905),r=nie(r,i,o,n,t[5],21,-57434055),n=nie(n,r,i,o,t[12],6,1700485571),o=nie(o,n,r,i,t[3],10,-1894986606),i=nie(i,o,n,r,t[10],15,-1051523),r=nie(r,i,o,n,t[1],21,-2054922799),n=nie(n,r,i,o,t[8],6,1873313359),o=nie(o,n,r,i,t[15],10,-30611744),i=nie(i,o,n,r,t[6],15,-1560198380),r=nie(r,i,o,n,t[13],21,1309151649),n=nie(n,r,i,o,t[4],6,-145523070),o=nie(o,n,r,i,t[11],10,-1120210379),i=nie(i,o,n,r,t[2],15,718787259),r=nie(r,i,o,n,t[9],21,-343485551),e[0]=uie(n,e[0]),e[1]=uie(r,e[1]),e[2]=uie(i,e[2]),e[3]=uie(o,e[3])}function Kre(e,t,n,r,i,o){return t=uie(uie(t,e),uie(r,o)),uie(t<<i|t>>>32-i,n)}function Jre(e,t,n,r,i,o,a){return Kre(t&n|~t&r,e,t,i,o,a)}function eie(e,t,n,r,i,o,a){return Kre(t&r|n&~r,e,t,i,o,a)}function tie(e,t,n,r,i,o,a){return Kre(t^n^r,e,t,i,o,a)}function nie(e,t,n,r,i,o,a){return Kre(n^(t|~r),e,t,i,o,a)}function rie(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)Hre(r,iie(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(Hre(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,Hre(r,i),r}function iie(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}var oie="0123456789abcdef".split("");function aie(e){for(var t="",n=0;n<4;n++)t+=oie[e>>8*n+4&15]+oie[e>>8*n&15];return t}function sie(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function lie(e){return rie(e).map(sie).join("")}var cie="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=aie(e[t]);return e.join("")}(rie("hello"));function uie(e,t){if(cie){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function Oie(e,t){var n,r,i,o;if(e!==n){for(var a=(i=e,o=1+(256/e.length|0),new Array(o+1).join(i)),s=[],l=0;l<256;l++)s[l]=l;var c=0;for(l=0;l<256;l++){var u=s[l];c=(c+u+a.charCodeAt(l))%256,s[l]=s[c],s[c]=u}n=e,r=s}else s=r;var O=t.length,d=0,h=0,f="";for(l=0;l<O;l++)h=(h+(u=s[d=(d+1)%256]))%256,s[d]=s[h],s[h]=u,a=s[(s[d]+s[h])%256],f+=String.fromCharCode(t.charCodeAt(l)^a);return f}var die={print:4,modify:8,copy:16,"annot-forms":32};function hie(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach(function(e){if(void 0!==die.perm)throw new Error("Invalid permission: "+e);i+=die[e]}),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var o=(t+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=lie(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Oie(this.encryptionKey,this.padding)}function fie(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);t+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):e[r]}return t}function pie(e){if("object"!==Bee(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var i=Math.random().toString(35);return t[e][i]=[n,!!r],i},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[n]){var a=t[n][o];try{a[0].apply(e,r)}catch(s){Mre.console&&Vre.error("jsPDF PubSub Error",s.message,s)}a[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Aie(e){if(!(this instanceof Aie))return new Aie(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function mie(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function gie(e,t,n,r,i){if(!(this instanceof gie))return new gie(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,mie.call(this,r,i)}function vie(e,t,n,r,i){if(!(this instanceof vie))return new vie(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,mie.call(this,r,i)}function yie(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],i=arguments[2],o=arguments[3],a=[],s=1,l=16,c="S",u=null;"object"===Bee(e=e||{})&&(n=e.orientation,r=e.unit||r,i=e.format||i,o=e.compress||e.compressPdf||o,null!==(u=e.encryption||null)&&(u.userPassword=u.userPassword||"",u.ownerPassword=u.ownerPassword||"",u.userPermissions=u.userPermissions||[]),s="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(l=e.floatPrecision),c=e.defaultPathOperation||"S"),a=e.filters||(!0===o?["FlateEncode"]:a),r=r||"mm",n=(""+(n||"P")).toLowerCase();var O=e.putOnlyUsedFonts||!1,d={},h={internal:{},__private__:{}};h.__private__.PubSub=pie;var f="1.3",p=h.__private__.getPdfVersion=function(){return f};h.__private__.setPdfVersion=function(e){f=e};var A={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return A};var m=h.__private__.getPageFormat=function(e){return A[e]};i=i||"a4";var g="compat",v="advanced",y=g;function b(){this.saveGraphicsState(),H(new Ce(de,0,0,-de,0,pn()*de).toString()+" cm"),this.setFontSize(this.getFontSize()/de),c="n",y=v}function w(){this.restoreGraphicsState(),c="S",y=g}var Q=h.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};h.advancedAPI=function(e){var t=y===g;return t&&b.call(this),"function"!=typeof e||(e(this),t&&w.call(this)),this},h.compatAPI=function(e){var t=y===v;return t&&w.call(this),"function"!=typeof e||(e(this),t&&b.call(this)),this},h.isAdvancedAPI=function(){return y===v};var $,S=function(e){if(y!==v)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},x=h.roundToPrecision=h.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};$=h.hpf=h.__private__.hpf="number"==typeof l?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return x(e,l)}:"smart"===l?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return x(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return x(e,16)};var k=h.f2=h.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return x(e,2)},P=h.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return x(e,3)},T=h.scale=h.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return y===g?e*de:y===v?e:void 0},_=function(e){return T((t=e,y===g?pn()-t:y===v?t:void 0));var t};h.__private__.setPrecision=h.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var C,E="00000000000000000000000000000000",R=h.__private__.getFileId=function(){return E},X=h.__private__.setFileId=function(e){return E=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():E.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==u&&(yt=new hie(u.userPermissions,u.userPassword,u.ownerPassword,E)),E};h.setFileId=function(e){return X(e),this},h.getFileId=function(){return R()};var B=h.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),o=[n,N(r),"'",N(i),"'"].join("");return["D:",e.getFullYear(),N(e.getMonth()+1),N(e.getDate()),N(e.getHours()),N(e.getMinutes()),N(e.getSeconds()),o].join("")},U=h.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),o=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,o,a,0)},D=h.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=B(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return C=t},I=h.__private__.getCreationDate=function(e){var t=C;return"jsDate"===e&&(t=U(C)),t};h.setCreationDate=function(e){return D(e),this},h.getCreationDate=function(e){return I(e)};var z,N=h.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},M=h.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},L=0,V=[],q=[],F=0,W=[],Z=[],Y=!1,j=q;h.__private__.setCustomOutputDestination=function(e){Y=!0,j=e};var G=function(e){Y||(j=e)};h.__private__.resetCustomOutputDestination=function(){Y=!1,j=q};var H=h.__private__.out=function(e){return e=e.toString(),F+=e.length+1,j.push(e),j},K=h.__private__.write=function(e){return H(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},J=h.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},ee=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];h.__private__.getStandardFonts=function(){return ee};var te=e.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(e){return te=y===v?e/de:e,this};var ne,re=h.__private__.getFontSize=h.getFontSize=function(){return y===g?te:te*de},ie=e.R2L||!1;h.__private__.setR2L=h.setR2L=function(e){return ie=e,this},h.__private__.getR2L=h.getR2L=function(){return ie};var oe,ae=h.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))ne=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');ne=e}else ne=parseInt(e,10)};h.__private__.getZoomMode=function(){return ne};var se,le=h.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');oe=e};h.__private__.getPageMode=function(){return oe};var ce=h.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');se=e};h.__private__.getLayoutMode=function(){return se},h.__private__.setDisplayMode=h.setDisplayMode=function(e,t,n){return ae(e),ce(t),le(n),this};var ue={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ue[e]},h.__private__.getDocumentProperties=function(){return ue},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(e){for(var t in ue)ue.hasOwnProperty(t)&&e[t]&&(ue[t]=e[t]);return this},h.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ue[e]=t};var Oe,de,he,fe,pe,Ae={},me={},ge=[],ve={},ye={},be={},we={},Qe=null,$e=0,Se=[],xe=new pie(h),ke=e.hotfixes||[],Pe={},Te={},_e=[],Ce=function e(t,n,r,i,o,a){if(!(this instanceof e))return new e(t,n,r,i,o,a);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(a)&&(a=0),this._matrix=[t,n,r,i,o,a]};Object.defineProperty(Ce.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ce.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ce.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ce.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ce.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ce.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ce.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ce.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ce.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ce.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ce.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ce.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ce.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ce.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ce.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ce.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ce.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map($).join(e)},Ce.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,o=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ce(t,n,r,i,o,a)},Ce.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*n+(t/=a)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,a=-a),{scale:new Ce(a,0,0,l,0,0),translate:new Ce(1,0,0,1,i,o),rotate:new Ce(e,t,-t,e,0,0),skew:new Ce(1,0,s,1,0,0)}},Ce.prototype.toString=function(e){return this.join(" ")},Ce.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=1/(e*r-t*n),s=r*a,l=-t*a,c=-n*a,u=e*a;return new Ce(s,l,c,u,-s*i-c*o,-l*i-u*o)},Ce.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new rn(t,n)},Ce.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new rn(e.x+e.w,e.y+e.h));return new on(t.x,t.y,n.x-t.x,n.y-t.y)},Ce.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty;return new Ce(e,t,n,r,i,o)},h.Matrix=Ce;var Ee=h.matrixMult=function(e,t){return t.multiply(e)},Re=new Ce(1,0,0,1,0,0);h.unitMatrix=h.identityMatrix=Re;var Xe=function(e,t){if(!ye[e]){var n=(t instanceof gie?"Sh":"P")+(Object.keys(ve).length+1).toString(10);t.id=n,ye[e]=n,ve[n]=t,xe.publish("addPattern",t)}};h.ShadingPattern=gie,h.TilingPattern=vie,h.addShadingPattern=function(e,t){return S("addShadingPattern()"),Xe(e,t),this},h.beginTilingPattern=function(e){S("beginTilingPattern()"),sn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},h.endTilingPattern=function(e,t){S("endTilingPattern()"),t.stream=Z[z].join("\n"),Xe(e,t),xe.publish("endTilingPattern",t),_e.pop().restore()};var Be,Ue=h.__private__.newObject=function(){var e=De();return Ie(e,!0),e},De=h.__private__.newObjectDeferred=function(){return L++,V[L]=function(){return F},L},Ie=function(e,t){return t="boolean"==typeof t&&t,V[e]=F,t&&H(e+" 0 obj"),e},ze=h.__private__.newAdditionalObject=function(){var e={objId:De(),content:""};return W.push(e),e},Ne=De(),Me=De(),Le=h.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},Ve=h.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,r=e.ch2,i=e.ch3,o=e.ch4,a="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var s=new Yre(n);if(s.ok)n=s.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var l=parseInt(n.substr(1),16);n=l>>16&255,r=l>>8&255,i=255&l}if(void 0===r||void 0===o&&n===r&&r===i)t="string"==typeof n?n+" "+a[0]:2===e.precision?k(n/255)+" "+a[0]:P(n/255)+" "+a[0];else if(void 0===o||"object"===Bee(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",a[1]].join(" ");t="string"==typeof n?[n,r,i,a[1]].join(" "):2===e.precision?[k(n/255),k(r/255),k(i/255),a[1]].join(" "):[P(n/255),P(r/255),P(i/255),a[1]].join(" ")}else t="string"==typeof n?[n,r,i,o,a[2]].join(" "):2===e.precision?[k(n),k(r),k(i),k(o),a[2]].join(" "):[P(n),P(r),P(i),P(o),a[2]].join(" ");return t},qe=h.__private__.getFilters=function(){return a},Fe=h.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||qe(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,o=t.length,a=e.objectId,s=function(e){return e};if(null!==u&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==u&&(s=yt.encryptor(a,0));var l={};!0===n&&(n=["FlateEncode"]);var c=e.additionalKeyValues||[],O=(l=void 0!==yie.API.processDataByFilters?yie.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===i&&c.push({key:"Length1",value:o})),0!=O.length)if(O.split("/").length-1==1)c.push({key:"Filter",value:O});else{c.push({key:"Filter",value:"["+O+"]"});for(var d=0;d<c.length;d+=1)if("DecodeParms"===c[d].key){for(var h=[],f=0;f<l.reverseChain.split("/").length-1;f+=1)h.push("null");h.push(c[d].value),c[d].value="["+h.join(" ")+"]"}}H("<<");for(var p=0;p<c.length;p++)H("/"+c[p].key+" "+c[p].value);H(">>"),0!==l.data.length&&(H("stream"),H(s(l.data)),H("endstream"))},We=h.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;Ie(r,!0),H("<</Type /Page"),H("/Parent "+e.rootDictionaryObjId+" 0 R"),H("/Resources "+e.resourceDictionaryObjId+" 0 R"),H("/MediaBox ["+parseFloat($(e.mediaBox.bottomLeftX))+" "+parseFloat($(e.mediaBox.bottomLeftY))+" "+$(e.mediaBox.topRightX)+" "+$(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&H("/CropBox ["+$(e.cropBox.bottomLeftX)+" "+$(e.cropBox.bottomLeftY)+" "+$(e.cropBox.topRightX)+" "+$(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&H("/BleedBox ["+$(e.bleedBox.bottomLeftX)+" "+$(e.bleedBox.bottomLeftY)+" "+$(e.bleedBox.topRightX)+" "+$(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&H("/TrimBox ["+$(e.trimBox.bottomLeftX)+" "+$(e.trimBox.bottomLeftY)+" "+$(e.trimBox.topRightX)+" "+$(e.trimBox.topRightY)+"]"),null!==e.artBox&&H("/ArtBox ["+$(e.artBox.bottomLeftX)+" "+$(e.artBox.bottomLeftY)+" "+$(e.artBox.topRightX)+" "+$(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&H("/UserUnit "+e.userUnit),xe.publish("putPage",{objId:r,pageContext:Se[t],pageNumber:t,page:n}),H("/Contents "+i+" 0 R"),H(">>"),H("endobj");var o=n.join("\n");return y===v&&(o+="\nQ"),Ie(i,!0),Fe({data:o,filters:qe(),objectId:i}),H("endobj"),r},Ze=h.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=$e;e++)Se[e].objId=De(),Se[e].contentsObjId=De();for(e=1;e<=$e;e++)n.push(We({number:e,data:Z[e],objId:Se[e].objId,contentsObjId:Se[e].contentsObjId,mediaBox:Se[e].mediaBox,cropBox:Se[e].cropBox,bleedBox:Se[e].bleedBox,trimBox:Se[e].trimBox,artBox:Se[e].artBox,userUnit:Se[e].userUnit,rootDictionaryObjId:Ne,resourceDictionaryObjId:Me}));Ie(Ne,!0),H("<</Type /Pages");var r="/Kids [";for(t=0;t<$e;t++)r+=n[t]+" 0 R ";H(r+"]"),H("/Count "+$e),H(">>"),H("endobj"),xe.publish("postPutPages")},Ye=function(e){xe.publish("putFont",{font:e,out:H,newObject:Ue,putStream:Fe}),!0!==e.isAlreadyPutted&&(e.objectNumber=Ue(),H("<<"),H("/Type /Font"),H("/BaseFont /"+fie(e.postScriptName)),H("/Subtype /Type1"),"string"==typeof e.encoding&&H("/Encoding /"+e.encoding),H("/FirstChar 32"),H("/LastChar 255"),H(">>"),H("endobj"))},je=function(e){e.objectNumber=Ue();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[$(e.x),$(e.y),$(e.x+e.width),$(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");Fe({data:n,additionalKeyValues:t,objectId:e.objectNumber}),H("endobj")},Ge=function(e,t){t||(t=21);var n=Ue(),r=function(e,t){var n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}for(var s="",l=0,c=0;c<r.length;c++){for(n=r[c];n>e[l+1].offset;)l++;var u=e[l].offset,O=(n-u)/(e[l+1].offset-u),d=e[l].color,h=e[l+1].color;s+=M(Math.round((1-O)*d[0]+O*h[0]).toString(16))+M(Math.round((1-O)*d[1]+O*h[1]).toString(16))+M(Math.round((1-O)*d[2]+O*h[2]).toString(16))}return s.trim()}(e.colors,t),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Fe({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),H("endobj"),e.objectNumber=Ue(),H("<< /ShadingType "+e.type),H("/ColorSpace /DeviceRGB");var o="/Coords ["+$(parseFloat(e.coords[0]))+" "+$(parseFloat(e.coords[1]))+" ";2===e.type?o+=$(parseFloat(e.coords[2]))+" "+$(parseFloat(e.coords[3])):o+=$(parseFloat(e.coords[2]))+" "+$(parseFloat(e.coords[3]))+" "+$(parseFloat(e.coords[4]))+" "+$(parseFloat(e.coords[5])),H(o+="]"),e.matrix&&H("/Matrix ["+e.matrix.toString()+"]"),H("/Function "+n+" 0 R"),H("/Extend [true true]"),H(">>"),H("endobj")},He=function(e,t){var n=De(),r=Ue();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+e.boundingBox.map($).join(" ")+"]"}),i.push({key:"XStep",value:$(e.xStep)}),i.push({key:"YStep",value:$(e.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),Fe({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),H("endobj")},Ke=function(e){for(var t in e.objectNumber=Ue(),H("<<"),e)switch(t){case"opacity":H("/ca "+k(e[t]));break;case"stroke-opacity":H("/CA "+k(e[t]))}H(">>"),H("endobj")},Je=function(e){Ie(e.resourcesOid,!0),H("<<"),H("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in H("/Font <<"),Ae)Ae.hasOwnProperty(e)&&(!1===O||!0===O&&d.hasOwnProperty(e))&&H("/"+e+" "+Ae[e].objectNumber+" 0 R");H(">>")}(),function(){if(Object.keys(ve).length>0){for(var e in H("/Shading <<"),ve)ve.hasOwnProperty(e)&&ve[e]instanceof gie&&ve[e].objectNumber>=0&&H("/"+e+" "+ve[e].objectNumber+" 0 R");xe.publish("putShadingPatternDict"),H(">>")}}(),function(e){if(Object.keys(ve).length>0){for(var t in H("/Pattern <<"),ve)ve.hasOwnProperty(t)&&ve[t]instanceof h.TilingPattern&&ve[t].objectNumber>=0&&ve[t].objectNumber<e&&H("/"+t+" "+ve[t].objectNumber+" 0 R");xe.publish("putTilingPatternDict"),H(">>")}}(e.objectOid),function(){if(Object.keys(be).length>0){var e;for(e in H("/ExtGState <<"),be)be.hasOwnProperty(e)&&be[e].objectNumber>=0&&H("/"+e+" "+be[e].objectNumber+" 0 R");xe.publish("putGStateDict"),H(">>")}}(),function(){for(var e in H("/XObject <<"),Pe)Pe.hasOwnProperty(e)&&Pe[e].objectNumber>=0&&H("/"+e+" "+Pe[e].objectNumber+" 0 R");xe.publish("putXobjectDict"),H(">>")}(),H(">>"),H("endobj")},et=function(e){me[e.fontName]=me[e.fontName]||{},me[e.fontName][e.fontStyle]=e.id},tt=function(e,t,n,r,i){var o={id:"F"+(Object.keys(Ae).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return xe.publish("addFont",{font:o,instance:this}),Ae[o.id]=o,et(o),o.id},nt=h.__private__.pdfEscape=h.pdfEscape=function(e,t){return function(e,t){var n,r,i,o,a,s,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&Ae[Oe].metadata&&Ae[Oe].metadata[i]&&Ae[Oe].metadata[i].encoding&&(o=Ae[Oe].metadata[i].encoding,!a&&Ae[Oe].encoding&&(a=Ae[Oe].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(c=a[e.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},rt=h.__private__.beginPage=function(e){Z[++$e]=[],Se[$e]={objId:0,contentsObjId:0,userUnit:Number(s),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},at($e),G(Z[z])},it=function(e,t){var r,o,a;switch(n=t||n,"string"==typeof e&&(r=m(e.toLowerCase()),Array.isArray(r)&&(o=r[0],a=r[1])),Array.isArray(e)&&(o=e[0]*de,a=e[1]*de),isNaN(o)&&(o=i[0],a=i[1]),(o>14400||a>14400)&&(Vre.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),a=Math.min(14400,a)),i=[o,a],n.substr(0,1)){case"l":a>o&&(i=[a,o]);break;case"p":o>a&&(i=[a,o])}rt(i),Nt(It),H(Yt),0!==en&&H(en+" J"),0!==tn&&H(tn+" j"),xe.publish("addPage",{pageNumber:$e})},ot=function(e){e>0&&e<=$e&&(Z.splice(e,1),Se.splice(e,1),$e--,z>$e&&(z=$e),this.setPage(z))},at=function(e){e>0&&e<=$e&&(z=e)},st=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return Z.length-1},lt=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:Ae[Oe].fontName,t=void 0!==t?t:Ae[Oe].fontStyle,r=e.toLowerCase(),void 0!==me[r]&&void 0!==me[r][t]?i=me[r][t]:void 0!==me[e]&&void 0!==me[e][t]?i=me[e][t]:!1===n.disableWarning&&Vre.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=me.times[t])&&(i=me.times.normal),i},ct=h.__private__.putInfo=function(){var e=Ue(),t=function(e){return e};for(var n in null!==u&&(t=yt.encryptor(e,0)),H("<<"),H("/Producer ("+nt(t("jsPDF "+yie.version))+")"),ue)ue.hasOwnProperty(n)&&ue[n]&&H("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+nt(t(ue[n]))+")");H("/CreationDate ("+nt(t(C))+")"),H(">>"),H("endobj")},ut=h.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Ne;switch(Ue(),H("<<"),H("/Type /Catalog"),H("/Pages "+t+" 0 R"),ne||(ne="fullwidth"),ne){case"fullwidth":H("/OpenAction [3 0 R /FitH null]");break;case"fullheight":H("/OpenAction [3 0 R /FitV null]");break;case"fullpage":H("/OpenAction [3 0 R /Fit]");break;case"original":H("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+ne;"%"===n.substr(n.length-1)&&(ne=parseInt(ne)/100),"number"==typeof ne&&H("/OpenAction [3 0 R /XYZ null null "+k(ne)+"]")}switch(se||(se="continuous"),se){case"continuous":H("/PageLayout /OneColumn");break;case"single":H("/PageLayout /SinglePage");break;case"two":case"twoleft":H("/PageLayout /TwoColumnLeft");break;case"tworight":H("/PageLayout /TwoColumnRight")}oe&&H("/PageMode /"+oe),xe.publish("putCatalog"),H(">>"),H("endobj")},Ot=h.__private__.putTrailer=function(){H("trailer"),H("<<"),H("/Size "+(L+1)),H("/Root "+L+" 0 R"),H("/Info "+(L-1)+" 0 R"),null!==u&&H("/Encrypt "+yt.oid+" 0 R"),H("/ID [ <"+E+"> <"+E+"> ]"),H(">>")},dt=h.__private__.putHeader=function(){H("%PDF-"+f),H("%ºß¬à")},ht=h.__private__.putXRef=function(){var e="0000000000";H("xref"),H("0 "+(L+1)),H("0000000000 65535 f ");for(var t=1;t<=L;t++)"function"==typeof V[t]?H((e+V[t]()).slice(-10)+" 00000 n "):void 0!==V[t]?H((e+V[t]).slice(-10)+" 00000 n "):H("0000000000 00000 n ")},ft=h.__private__.buildDocument=function(){var e;L=0,F=0,q=[],V=[],W=[],Ne=De(),Me=De(),G(q),xe.publish("buildDocument"),dt(),Ze(),function(){xe.publish("putAdditionalObjects");for(var e=0;e<W.length;e++){var t=W[e];Ie(t.objId,!0),H(t.content),H("endobj")}xe.publish("postPutAdditionalObjects")}(),e=[],function(){for(var e in Ae)Ae.hasOwnProperty(e)&&(!1===O||!0===O&&d.hasOwnProperty(e))&&Ye(Ae[e])}(),function(){var e;for(e in be)be.hasOwnProperty(e)&&Ke(be[e])}(),function(){for(var e in Pe)Pe.hasOwnProperty(e)&&je(Pe[e])}(),function(e){var t;for(t in ve)ve.hasOwnProperty(t)&&(ve[t]instanceof gie?Ge(ve[t]):ve[t]instanceof vie&&He(ve[t],e))}(e),xe.publish("putResources"),e.forEach(Je),Je({resourcesOid:Me,objectOid:Number.MAX_SAFE_INTEGER}),xe.publish("postPutResources"),null!==u&&(yt.oid=Ue(),H("<<"),H("/Filter /Standard"),H("/V "+yt.v),H("/R "+yt.r),H("/U <"+yt.toHexString(yt.U)+">"),H("/O <"+yt.toHexString(yt.O)+">"),H("/P "+yt.P),H(">>"),H("endobj")),ct(),ut();var t=F;return ht(),Ot(),H("startxref"),H(""+t),H("%%EOF"),G(Z[z]),q.join("\n")},pt=h.__private__.getBlob=function(e){return new Blob([J(e)],{type:"application/pdf"})},At=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},mt=function(e){var t,n=e.document,r=n.documentElement,i=n.head,o=n.body;return i||(i=n.createElement("head"),r.appendChild(i)),o||(o=n.createElement("body"),r.appendChild(o)),At(i),At(o),(t=n.createElement("style")).appendChild(n.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),i.appendChild(t),{document:n,body:o}},gt=h.output=h.__private__.output=((Be=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return ft();case"save":h.save(t.filename);break;case"arraybuffer":return J(ft());case"blob":return pt(ft());case"bloburi":case"bloburl":if(void 0!==Mre.URL&&"function"==typeof Mre.URL.createObjectURL)return Mre.URL&&Mre.URL.createObjectURL(pt(ft()))||void 0;Vre.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=ft();try{n=Gre(r)}catch{n=Gre(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+encodeURIComponent(t.filename)+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(Mre)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=!t.pdfObjectUrl;o||(i=t.pdfObjectUrl);var a=Mre.open();if(null!==a){var s=mt(a),l=s.document.createElement("script"),c=this;l.src=i,o&&(l.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",l.crossOrigin="anonymous"),l.onload=function(){a.PDFObject.embed(c.output("dataurlstring"),t)},s.body.appendChild(l)}return a}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(Mre)){var u=t.pdfJsUrl||"examples/PDF.js/web/viewer.html",O=Mre.open();if(null!==O){var d=mt(O),f=d.document.createElement("iframe"),p=-1===u.indexOf("?")?"?":"&";c=this,f.id="pdfViewer",f.width="500px",f.height="400px",f.src=u+p+"file=&downloadName="+encodeURIComponent(t.filename),f.onload=function(){O.document.title=t.filename,f.contentWindow.PDFViewerApplication.open(c.output("bloburl"))},d.body.appendChild(f)}return O}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(Mre))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var A=Mre.open();if(null!==A){var m=mt(A),g=m.document.createElement("iframe");g.src=this.output("datauristring",t),m.body.appendChild(g),A.document.title=t.filename}if(A||typeof safari>"u")return A;break;case"datauri":case"dataurl":return Mre.document.location.href=this.output("datauristring",t);default:return null}}).foo=function(){try{return Be.apply(this,arguments)}catch(n){var e=n.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+n.message;if(!Mre.console)throw new Error(t);Mre.console.error(t,n),Mre.alert&&alert(t)}},Be.foo.bar=Be,Be.foo),vt=function(e){return!0===Array.isArray(ke)&&ke.indexOf(e)>-1};switch(r){case"pt":de=1;break;case"mm":de=72/25.4;break;case"cm":de=72/2.54;break;case"in":de=72;break;case"px":de=1==vt("px_scaling")?.75:96/72;break;case"pc":case"em":de=12;break;case"ex":de=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);de=r}var yt=null;D(),X();var bt=h.__private__.getPageInfo=h.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Se[e].objId,pageNumber:e,pageContext:Se[e]}},wt=h.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Se)if(Se[t].objId===e)break;return bt(t)},Qt=h.__private__.getCurrentPageInfo=h.getCurrentPageInfo=function(){return{objId:Se[z].objId,pageNumber:z,pageContext:Se[z]}};h.addPage=function(){return it.apply(this,arguments),this},h.setPage=function(){return at.apply(this,arguments),G.call(this,Z[z]),this},h.insertPage=function(e){return this.addPage(),this.movePage(z,e),this},h.movePage=function(e,t){var n,r;if(e>t){n=Z[e],r=Se[e];for(var i=e;i>t;i--)Z[i]=Z[i-1],Se[i]=Se[i-1];Z[t]=n,Se[t]=r,this.setPage(t)}else if(e<t){n=Z[e],r=Se[e];for(var o=e;o<t;o++)Z[o]=Z[o+1],Se[o]=Se[o+1];Z[t]=n,Se[t]=r,this.setPage(t)}return this},h.deletePage=function(){return ot.apply(this,arguments),this},h.__private__.text=h.text=function(e,t,n,r,i){var o,a,s,l,c,u,O,h,f,p=(r=r||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var A=n;n=t,t=e,e=A}if(arguments[3]instanceof Ce==0?(s=arguments[4],l=arguments[5],"object"===Bee(O=arguments[3])&&null!==O||("string"==typeof s&&(l=s,s=null),"string"==typeof O&&(l=O,O=null),"number"==typeof O&&(s=O,O=null),r={flags:O,angle:s,align:l})):(S("The transform parameter of text() with a Matrix value"),f=i),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return p;var m,g="",b="number"==typeof r.lineHeightFactor?r.lineHeightFactor:Dt,w=p.internal.scaleFactor;function Q(e){return e=e.split("\t").join(Array(r.TabLen||9).join(" ")),nt(e,O)}function x(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function k(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,o=e.concat(),a=[],s=o.length;s--;)"string"==typeof(r=o.shift())?a.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=t(r[0],r[1],r[2]),a.push([i[0],i[1],i[2]]));n=a}return n}var P=!1,_=!0;if("string"==typeof e)P=!0;else if(Array.isArray(e)){var C=e.concat();a=[];for(var E,R=C.length;R--;)("string"!=typeof(E=C.shift())||Array.isArray(E)&&"string"!=typeof E[0])&&(_=!1);P=_}if(!1===P)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var X=te/p.internal.scaleFactor,B=X*(b-1);switch(r.baseline){case"bottom":n-=B;break;case"top":n+=X-B;break;case"hanging":n+=X-2*B;break;case"middle":n+=X/2-B}if((u=r.maxWidth||0)>0&&("string"==typeof e?e=p.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(p.splitTextToSize(t,u))},[]))),o={text:e,x:t,y:n,options:r,mutex:{pdfEscape:nt,activeFontKey:Oe,fonts:Ae,activeFontSize:te}},xe.publish("preProcessText",o),e=o.text,s=(r=o.options).angle,f instanceof Ce==0&&s&&"number"==typeof s){s*=Math.PI/180,0===r.rotationDirection&&(s=-s),y===v&&(s=-s);var U=Math.cos(s),D=Math.sin(s);f=new Ce(U,D,-D,U,0,0)}else s&&s instanceof Ce&&(f=s);y!==v||f||(f=Re),void 0!==(c=r.charSpace||Kt)&&(g+=$(T(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(h=r.horizontalScale)&&(g+=$(100*h)+" Tz\n"),r.lang;var I=-1,z=void 0!==r.renderingMode?r.renderingMode:r.stroke,N=p.internal.getCurrentPageInfo().pageContext;switch(z){case 0:case!1:case"fill":I=0;break;case 1:case!0:case"stroke":I=1;break;case 2:case"fillThenStroke":I=2;break;case 3:case"invisible":I=3;break;case 4:case"fillAndAddForClipping":I=4;break;case 5:case"strokeAndAddPathForClipping":I=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":I=6;break;case 7:case"addToPathForClipping":I=7}var M=void 0!==N.usedRenderingMode?N.usedRenderingMode:-1;-1!==I?g+=I+" Tr\n":-1!==M&&(g+="0 Tr\n"),-1!==I&&(N.usedRenderingMode=I),l=r.align||"left";var L,V=te*b,q=p.internal.pageSize.getWidth(),F=Ae[Oe];c=r.charSpace||Kt,u=r.maxWidth||0,O=Object.assign({autoencode:!0,noBOM:!0},r.flags);var W=[],Z=function(e){return p.getStringUnitWidth(e,{font:F,charSpace:c,fontSize:te,doKerning:!1})*te/w};if("[object Array]"===Object.prototype.toString.call(e)){var Y;a=x(e),"left"!==l&&(L=a.map(Z));var j,G=0;if("right"===l){t-=L[0],e=[],R=a.length;for(var K=0;K<R;K++)0===K?(j=qt(t),Y=Ft(n)):(j=T(G-L[K]),Y=-V),e.push([a[K],j,Y]),G=L[K]}else if("center"===l){t-=L[0]/2,e=[],R=a.length;for(var J=0;J<R;J++)0===J?(j=qt(t),Y=Ft(n)):(j=T((G-L[J])/2),Y=-V),e.push([a[J],j,Y]),G=L[J]}else if("left"===l){e=[],R=a.length;for(var ee=0;ee<R;ee++)e.push(a[ee])}else if("justify"===l&&"Identity-H"===F.encoding){e=[],R=a.length,u=0!==u?u:q;for(var ne=0,re=0;re<R;re++)if(Y=0===re?Ft(n):-V,j=0===re?qt(t):ne,re<R-1){var oe=T((u-L[re])/(a[re].split(" ").length-1)),ae=a[re].split(" ");e.push([ae[0]+" ",j,Y]),ne=0;for(var se=1;se<ae.length;se++){var le=(Z(ae[se-1]+" "+ae[se])-Z(ae[se]))*w+oe;se==ae.length-1?e.push([ae[se],le,0]):e.push([ae[se]+" ",le,0]),ne-=le}}else e.push([a[re],j,Y]);e.push(["",ne,0])}else{if("justify"!==l)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],R=a.length,u=0!==u?u:q,re=0;re<R;re++){Y=0===re?Ft(n):-V,j=0===re?qt(t):0;var ce=a[re].split(" ").length-1,ue=ce>0?(u-L[re])/ce:0;re<R-1?W.push($(T(ue))):W.push(0),e.push([a[re],j,Y])}}}!0===("boolean"==typeof r.R2L?r.R2L:ie)&&(e=k(e,function(e,t,n){return[e.split("").reverse().join(""),t,n]})),o={text:e,x:t,y:n,options:r,mutex:{pdfEscape:nt,activeFontKey:Oe,fonts:Ae,activeFontSize:te}},xe.publish("postProcessText",o),e=o.text,m=o.mutex.isHex||!1;var de=Ae[Oe].encoding;"WinAnsiEncoding"!==de&&"StandardEncoding"!==de||(e=k(e,function(e,t,n){return[Q(e),t,n]})),a=x(e),e=[];for(var he,fe,pe,me=Array.isArray(a[0])?1:0,ge="",ve=function(e,t,n){var i="";return n instanceof Ce?(n="number"==typeof r.angle?Ee(n,new Ce(1,0,0,1,e,t)):Ee(new Ce(1,0,0,1,e,t),n),y===v&&(n=Ee(new Ce(1,0,0,-1,0,0),n)),i=n.join(" ")+" Tm\n"):i=$(e)+" "+$(t)+" Td\n",i},ye=0;ye<a.length;ye++){switch(ge="",me){case 1:pe=(m?"<":"(")+a[ye][0]+(m?">":")"),he=parseFloat(a[ye][1]),fe=parseFloat(a[ye][2]);break;case 0:pe=(m?"<":"(")+a[ye]+(m?">":")"),he=qt(t),fe=Ft(n)}void 0!==W&&void 0!==W[ye]&&(ge=W[ye]+" Tw\n"),0===ye?e.push(ge+ve(he,fe,f)+pe):0===me?e.push(ge+pe):1===me&&e.push(ge+ve(he,fe,f)+pe)}e=0===me?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var be="BT\n/";return be+=Oe+" "+te+" Tf\n",be+=$(te*b)+" TL\n",be+=Gt+"\n",be+=g,be+=e,H(be+="ET"),d[Oe]=!0,p};var $t=h.__private__.clip=h.clip=function(e){return H("evenodd"===e?"W*":"W"),this};h.clipEvenOdd=function(){return $t("evenodd")},h.__private__.discardPath=h.discardPath=function(){return H("n"),this};var St=h.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};h.__private__.setDefaultPathOperation=h.setDefaultPathOperation=function(e){return St(e)&&(c=e),this};var xt=h.__private__.getStyle=h.getStyle=function(e){var t=c;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},kt=h.close=function(){return H("h"),this};h.stroke=function(){return H("S"),this},h.fill=function(e){return Pt("f",e),this},h.fillEvenOdd=function(e){return Pt("f*",e),this},h.fillStroke=function(e){return Pt("B",e),this},h.fillStrokeEvenOdd=function(e){return Pt("B*",e),this};var Pt=function(e,t){"object"===Bee(t)?Ct(t,e):H(e)},Tt=function(e){null===e||y===v&&void 0===e||(e=xt(e),H(e))};function _t(e,t,n,r,i){var o=new vie(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var a=e+"$$"+this.cloneIndex+++"$$";return Xe(a,o),o}var Ct=function(e,t){var n=ye[e.key],r=ve[n];if(r instanceof gie)H("q"),H(Et(t)),r.gState&&h.setGState(r.gState),H(e.matrix.toString()+" cm"),H("/"+n+" sh"),H("Q");else if(r instanceof vie){var i=new Ce(1,0,0,-1,0,pn());e.matrix&&(i=i.multiply(e.matrix||Re),n=_t.call(r,e.key,e.boundingBox,e.xStep,e.yStep,i).id),H("q"),H("/Pattern cs"),H("/"+n+" scn"),r.gState&&h.setGState(r.gState),H(t),H("Q")}},Et=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Rt=h.moveTo=function(e,t){return H($(T(e))+" "+$(_(t))+" m"),this},Xt=h.lineTo=function(e,t){return H($(T(e))+" "+$(_(t))+" l"),this},Bt=h.curveTo=function(e,t,n,r,i,o){return H([$(T(e)),$(_(t)),$(T(n)),$(_(r)),$(T(i)),$(_(o)),"c"].join(" ")),this};h.__private__.line=h.line=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!St(i))throw new Error("Invalid arguments passed to jsPDF.line");return y===g?this.lines([[n-e,r-t]],e,t,[1,1],i||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},h.__private__.lines=h.lines=function(e,t,n,r,i,o){var a,s,l,c,u,O,d,h,f,p,A,m;if("number"==typeof e&&(m=n,n=t,t=e,e=m),r=r||[1,1],o=o||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!St(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(Rt(t,n),a=r[0],s=r[1],c=e.length,p=t,A=n,l=0;l<c;l++)2===(u=e[l]).length?(p=u[0]*a+p,A=u[1]*s+A,Xt(p,A)):(O=u[0]*a+p,d=u[1]*s+A,h=u[2]*a+p,f=u[3]*s+A,p=u[4]*a+p,A=u[5]*s+A,Bt(O,d,h,f,p,A));return o&&kt(),Tt(i),this},h.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":Rt(r[0],r[1]);break;case"l":Xt(r[0],r[1]);break;case"c":Bt.apply(this,r);break;case"h":kt()}}return this},h.__private__.rect=h.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!St(i))throw new Error("Invalid arguments passed to jsPDF.rect");return y===g&&(r=-r),H([$(T(e)),$(_(t)),$(T(n)),$(T(r)),"re"].join(" ")),Tt(i),this},h.__private__.triangle=h.triangle=function(e,t,n,r,i,o,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!St(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,o-r],[e-i,t-o]],e,t,[1,1],a,!0),this},h.__private__.roundedRect=h.roundedRect=function(e,t,n,r,i,o,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!St(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),o=Math.min(o,.5*r),this.lines([[n-2*i,0],[i*s,0,i,o-o*s,i,o],[0,r-2*o],[0,o*s,-i*s,o,-i,o],[2*i-n,0],[-i*s,0,-i,-o*s,-i,-o],[0,2*o-r],[0,-o*s,i*s,-o,i,-o]],e+i,t,[1,1],a,!0),this},h.__private__.ellipse=h.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!St(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return Rt(e+n,t),Bt(e+n,t-a,e+o,t-r,e,t-r),Bt(e-o,t-r,e-n,t-a,e-n,t),Bt(e-n,t+a,e-o,t+r,e,t+r),Bt(e+o,t+r,e+n,t+a,e+n,t),Tt(i),this},h.__private__.circle=h.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!St(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},h.setFont=function(e,t,n){return n&&(t=Q(t,n)),Oe=lt(e,t,{disableWarning:!1}),this};var Ut=h.__private__.getFont=h.getFont=function(){return Ae[lt.apply(h,arguments)]};h.__private__.getFontList=h.getFontList=function(){var e,t,n={};for(e in me)if(me.hasOwnProperty(e))for(t in n[e]=[],me[e])me[e].hasOwnProperty(t)&&n[e].push(t);return n},h.addFont=function(e,t,n,r,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(n=Q(n,r)),tt.call(this,e,t,n,i=i||"Identity-H")};var Dt,It=e.lineWidth||.200025,zt=h.__private__.getLineWidth=h.getLineWidth=function(){return It},Nt=h.__private__.setLineWidth=h.setLineWidth=function(e){return It=e,H($(T(e))+" w"),this};h.__private__.setLineDash=yie.API.setLineDash=yie.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map(function(e){return $(T(e))}).join(" "),t=$(T(t)),H("["+e+"] "+t+" d"),this};var Mt=h.__private__.getLineHeight=h.getLineHeight=function(){return te*Dt};h.__private__.getLineHeight=h.getLineHeight=function(){return te*Dt};var Lt=h.__private__.setLineHeightFactor=h.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Dt=e),this},Vt=h.__private__.getLineHeightFactor=h.getLineHeightFactor=function(){return Dt};Lt(e.lineHeight);var qt=h.__private__.getHorizontalCoordinate=function(e){return T(e)},Ft=h.__private__.getVerticalCoordinate=function(e){return y===v?e:Se[z].mediaBox.topRightY-Se[z].mediaBox.bottomLeftY-T(e)},Wt=h.__private__.getHorizontalCoordinateString=h.getHorizontalCoordinateString=function(e){return $(qt(e))},Zt=h.__private__.getVerticalCoordinateString=h.getVerticalCoordinateString=function(e){return $(Ft(e))},Yt=e.strokeColor||"0 G";h.__private__.getStrokeColor=h.getDrawColor=function(){return Le(Yt)},h.__private__.setStrokeColor=h.setDrawColor=function(e,t,n,r){return Yt=Ve({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),H(Yt),this};var jt=e.fillColor||"0 g";h.__private__.getFillColor=h.getFillColor=function(){return Le(jt)},h.__private__.setFillColor=h.setFillColor=function(e,t,n,r){return jt=Ve({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),H(jt),this};var Gt=e.textColor||"0 g",Ht=h.__private__.getTextColor=h.getTextColor=function(){return Le(Gt)};h.__private__.setTextColor=h.setTextColor=function(e,t,n,r){return Gt=Ve({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var Kt=e.charSpace,Jt=h.__private__.getCharSpace=h.getCharSpace=function(){return parseFloat(Kt||0)};h.__private__.setCharSpace=h.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Kt=e,this};var en=0;h.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},h.__private__.setLineCap=h.setLineCap=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return en=t,H(t+" J"),this};var tn=0;h.__private__.setLineJoin=h.setLineJoin=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return tn=t,H(t+" j"),this},h.__private__.setLineMiterLimit=h.__private__.setMiterLimit=h.setLineMiterLimit=h.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return H($(T(e))+" M"),this},h.GState=Aie,h.setGState=function(e){(e="string"==typeof e?be[we[e]]:nn(null,e)).equals(Qe)||(H("/"+e.id+" gs"),Qe=e)};var nn=function(e,t){if(!e||!we[e]){var n=!1;for(var r in be)if(be.hasOwnProperty(r)&&be[r].equals(t)){n=!0;break}if(n)t=be[r];else{var i="GS"+(Object.keys(be).length+1).toString(10);be[i]=t,t.id=i}return e&&(we[e]=t.id),xe.publish("addGState",t),t}};h.addGState=function(e,t){return nn(e,t),this},h.saveGraphicsState=function(){return H("q"),ge.push({key:Oe,size:te,color:Gt}),this},h.restoreGraphicsState=function(){H("Q");var e=ge.pop();return Oe=e.key,te=e.size,Gt=e.color,Qe=null,this},h.setCurrentTransformationMatrix=function(e){return H(e.toString()+" cm"),this},h.comment=function(e){return H("#"+e),this};var rn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},on=function(e,t,n,r){rn.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var o=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}}),this},an=function(){this.page=$e,this.currentPage=z,this.pages=Z.slice(0),this.pagesContext=Se.slice(0),this.x=he,this.y=fe,this.matrix=pe,this.width=cn(z),this.height=On(z),this.outputDestination=j,this.id="",this.objectNumber=-1};an.prototype.restore=function(){$e=this.page,z=this.currentPage,Se=this.pagesContext,Z=this.pages,he=this.x,fe=this.y,pe=this.matrix,un(z,this.width),dn(z,this.height),j=this.outputDestination};var sn=function(e,t,n,r,i){_e.push(new an),$e=z=0,Z=[],he=e,fe=t,pe=i,rt([n,r])};for(var ln in h.beginFormObject=function(e,t,n,r,i){return sn(e,t,n,r,i),this},h.endFormObject=function(e){return function(e){if(Te[e])_e.pop().restore();else{var t=new an,n="Xo"+(Object.keys(Pe).length+1).toString(10);t.id=n,Te[e]=n,Pe[n]=t,xe.publish("addFormObject",t),_e.pop().restore()}}(e),this},h.doFormObject=function(e,t){var n=Pe[Te[e]];return H("q"),H(t.toString()+" cm"),H("/"+n.id+" Do"),H("Q"),this},h.getFormObject=function(e){var t=Pe[Te[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},h.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(Zre(pt(ft()),e),"function"==typeof Zre.unload&&Mre.setTimeout&&setTimeout(Zre.unload,911),this):new Promise(function(t,n){try{var r=Zre(pt(ft()),e);"function"==typeof Zre.unload&&Mre.setTimeout&&setTimeout(Zre.unload,911),t(r)}catch(i){n(i.message)}})},yie.API)yie.API.hasOwnProperty(ln)&&("events"===ln&&yie.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(xe,yie.API.events):h[ln]=yie.API[ln]);function cn(e){return Se[e].mediaBox.topRightX-Se[e].mediaBox.bottomLeftX}function un(e,t){Se[e].mediaBox.topRightX=t+Se[e].mediaBox.bottomLeftX}function On(e){return Se[e].mediaBox.topRightY-Se[e].mediaBox.bottomLeftY}function dn(e,t){Se[e].mediaBox.topRightY=t+Se[e].mediaBox.bottomLeftY}var hn=h.getPageWidth=function(e){return cn(e=e||z)/de},fn=h.setPageWidth=function(e,t){un(e,t*de)},pn=h.getPageHeight=function(e){return On(e=e||z)/de},An=h.setPageHeight=function(e,t){dn(e,t*de)};return h.internal={pdfEscape:nt,getStyle:xt,getFont:Ut,getFontSize:re,getCharSpace:Jt,getTextColor:Ht,getLineHeight:Mt,getLineHeightFactor:Vt,getLineWidth:zt,write:K,getHorizontalCoordinate:qt,getVerticalCoordinate:Ft,getCoordinateString:Wt,getVerticalCoordinateString:Zt,collections:{},newObject:Ue,newAdditionalObject:ze,newObjectDeferred:De,newObjectDeferredBegin:Ie,getFilters:qe,putStream:Fe,events:xe,scaleFactor:de,pageSize:{getWidth:function(){return hn(z)},setWidth:function(e){fn(z,e)},getHeight:function(){return pn(z)},setHeight:function(e){An(z,e)}},encryptionOptions:u,encryption:yt,getEncryptor:function(e){return null!==u?yt.encryptor(e,0):function(e){return e}},output:gt,getNumberOfPages:st,get pages(){return Z},out:H,f2:k,f3:P,getPageInfo:bt,getPageInfoByObjId:wt,getCurrentPageInfo:Qt,getPDFVersion:p,Point:rn,Rectangle:on,Matrix:Ce,hasHotfix:vt},Object.defineProperty(h.internal.pageSize,"width",{get:function(){return hn(z)},set:function(e){fn(z,e)},enumerable:!0,configurable:!0}),Object.defineProperty(h.internal.pageSize,"height",{get:function(){return pn(z)},set:function(e){An(z,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=ee.length;t<n;t++){var r=tt.call(this,e[t][0],e[t][1],e[t][2],ee[t][3],!0);!1===O&&(d[r]=!0);var i=e[t][0].split("-");et({id:r,fontName:i[0],fontStyle:i[1]||""})}xe.publish("addFonts",{fonts:Ae,dictionary:me})}.call(h,ee),Oe="F1",it(i,n),xe.publish("initialized"),h}hie.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},hie.prototype.toHexString=function(e){return e.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},hie.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},hie.prototype.processOwnerPassword=function(e,t){return Oie(lie(t).substr(0,5),e)},hie.prototype.encryptor=function(e,t){var n=lie(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return Oie(n,e)}},Aie.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||Bee(e)!==Bee(this))return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t)||this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return 0===r},yie.API={events:[]},yie.version="4.2.1";var bie=yie.API,wie=1,Qie=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},$ie=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Sie=function(e){return e.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"#"+(1===t.length?"0"+t:t)})},xie=function(e){return e.toFixed(2)},kie=function(e){return e.toFixed(5)};bie.__acroform__={};var Pie=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},Tie=function(e){return e*wie},_ie=function(e){var t=new Wie,n=aoe.internal.getHeight(e)||0,r=aoe.internal.getWidth(e)||0;return t.BBox=[0,0,Number(xie(r)),Number(xie(n))],t},Cie=bie.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},Eie=bie.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},Rie=bie.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},Xie=bie.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Rie(e,t-1)},Bie=bie.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Cie(e,t-1)},Uie=bie.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Eie(e,t-1)},Die=bie.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],o=e[1],a=e[2],s=e[3],l={};return l.lowerLeft_X=n(i)||0,l.lowerLeft_Y=r(o+s)||0,l.upperRight_X=n(i+a)||0,l.upperRight_Y=r(o)||0,[Number(xie(l.lowerLeft_X)),Number(xie(l.lowerLeft_Y)),Number(xie(l.upperRight_X)),Number(xie(l.upperRight_Y))]},Iie=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=zie(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+xie(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=_ie(e);return o.scope=e.scope,o.stream=t.join("\n"),o}},zie=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");i=e.multiline?i.map(function(e){return e.split("\n")}):i.map(function(e){return[e]});var o=n,a=aoe.internal.getHeight(e)||0;a=a<0?-a:a;var s=aoe.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,n,r){if(t+1<i.length){var o=n+" "+i[t+1][0];return Nie(o,e,r).width<=s-4}return!1};o++;e:for(;o>0;){t="",o--;var c,u,O=Nie("3",e,o).height,d=e.multiline?a-o:(a-O)/2,h=d+=2,f=0,p=0,A=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+Nie(t,e,o=12).width+", FieldWidth:"+s+"\n";break}for(var m="",g=0,v=0;v<i.length;v++)if(i.hasOwnProperty(v)){var y=!1;if(1!==i[v].length&&A!==i[v].length-1){if((O+2)*(g+2)+2>a)continue e;m+=i[v][A],y=!0,p=v,v--}else{m=" "==(m+=i[v][A]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var b=parseInt(v),w=l(b,m,o),Q=v>=i.length-1;if(w&&!Q){m+=" ",A=0;continue}if(w||Q){if(Q)p=b;else if(e.multiline&&(O+2)*(g+2)+2>a)continue e}else{if(!e.multiline||(O+2)*(g+2)+2>a)continue e;p=b}}for(var $="",S=f;S<=p;S++){var x=i[S];if(e.multiline){if(S===p){$+=x[A]+" ",A=(A+1)%x.length;continue}if(S===f){$+=x[x.length-1]+" ";continue}}$+=x[0]+" "}switch($=" "==$.substr($.length-1)?$.substr(0,$.length-1):$,u=Nie($,e,o).width,e.textAlign){case"right":c=s-u-2;break;case"center":c=(s-u)/2;break;default:c=2}t+=xie(c)+" "+xie(h)+" Td\n",t+="("+Qie($)+") Tj\n",t+=-xie(c)+" 0 Td\n",h=-(o+2),u=0,f=y?p:p+1,g++,m=""}break}return r.text=t,r.fontSize=o,r},Nie=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},Mie={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Lie=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===n.type&&e.object===n.object})&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},Vie=bie.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(e){return e};if(Array.isArray(e)){for(var i="[",o=0;o<e.length;o++)switch(0!==o&&(i+=" "),Bee(e[o])){case"boolean":case"number":case"object":i+=e[o].toString();break;case"string":"/"===e[o].substr(0,1)?i+="/"+Sie(e[o].substr(1)):(void 0!==t&&n&&(r=n.internal.getEncryptor(t)),i+="("+Qie(r(e[o].toString()))+")")}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},qie=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+Qie(r(e))+")"},Fie=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Fie.prototype.toString=function(){return this.objId+" 0 R"},Fie.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},Fie.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)});for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:Vie(i,this.objId,this.scope)}):i instanceof Fie?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:r,value:i}))}return e};var Wie=function(){Fie.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};Pie(Wie,Fie);var Zie=function(){Fie.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Qie(t(e))+")"}},set:function(t){e=t}})};Pie(Zie,Fie);var Yie=function e(){Fie.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Xie(t,3)},set:function(e){this.F=e?Bie(t,3):Uie(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof noe)return;o="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Qie(t(o))+")"},set:function(e){o=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(e){o=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/wie:c},set:function(e){c=e}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(e){u=e}});var O="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!O||this instanceof noe||this instanceof ioe))return qie(O,this.objId,this.scope)},set:function(e){e=e.toString(),O=e}});var d=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof Jie==0?qie(d,this.objId,this.scope):d},set:function(e){e=e.toString(),d=this instanceof Jie==0?"("===e.substr(0,1)?$ie(e.substr(1,e.length-2)):$ie(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Jie==1?$ie(d.substr(1,d.length-1)):d},set:function(e){e=e.toString(),d=this instanceof Jie==1?"/"+Sie(e):e}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof Jie==0?qie(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof Jie==0?"("===e.substr(0,1)?$ie(e.substr(1,e.length-2)):$ie(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Jie==1?$ie(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof Jie==1?"/"+Sie(e):e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var f,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){p=e=!!e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(f)return f},set:function(e){f=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,1)},set:function(e){this.Ff=e?Bie(this.Ff,1):Uie(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,2)},set:function(e){this.Ff=e?Bie(this.Ff,2):Uie(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,3)},set:function(e){this.Ff=e?Bie(this.Ff,3):Uie(this.Ff,3)}});var A=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==A)return A},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');A=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(A){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:A=2;break;case"center":case 1:A=1;break;default:A=0}}})};Pie(Yie,Fie);var jie=function(){Yie.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Vie(t,this.objId,this.scope)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,18)},set:function(e){this.Ff=e?Bie(this.Ff,18):Uie(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,19)},set:function(e){!0===this.combo&&(this.Ff=e?Bie(this.Ff,19):Uie(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,20)},set:function(e){e?(this.Ff=Bie(this.Ff,20),t.sort()):this.Ff=Uie(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,22)},set:function(e){this.Ff=e?Bie(this.Ff,22):Uie(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,23)},set:function(e){this.Ff=e?Bie(this.Ff,23):Uie(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,27)},set:function(e){this.Ff=e?Bie(this.Ff,27):Uie(this.Ff,27)}}),this.hasAppearanceStream=!1};Pie(jie,Yie);var Gie=function(){jie.call(this),this.fontName="helvetica",this.combo=!1};Pie(Gie,jie);var Hie=function(){Gie.call(this),this.combo=!0};Pie(Hie,Gie);var Kie=function(){Hie.call(this),this.edit=!0};Pie(Kie,Hie);var Jie=function(){Yie.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,15)},set:function(e){this.Ff=e?Bie(this.Ff,15):Uie(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,16)},set:function(e){this.Ff=e?Bie(this.Ff,16):Uie(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,17)},set:function(e){this.Ff=e?Bie(this.Ff,17):Uie(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,26)},set:function(e){this.Ff=e?Bie(this.Ff,26):Uie(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+Qie(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===Bee(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){var n=null==t?"":t.toString();"/"===n.substr(0,1)&&(n=n.substr(1)),e="/"+Sie(n)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+Sie(t)}})};Pie(Jie,Yie);var eoe=function(){Jie.call(this),this.pushButton=!0};Pie(eoe,Jie);var toe=function(){Jie.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};Pie(toe,Jie);var noe=function(){var e,t;Yie.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),r)n.push("/"+t+" ("+Qie(e(r[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===Bee(e)&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){var t=null==e?"":e.toString();"/"===t.substr(0,1)&&(t=t.substr(1)),n="/"+Sie(t)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){var t=null==e?"":e.toString();"/"===t.substr(0,1)&&(t=t.substr(1)),n="/"+Sie(t)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=aoe.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Pie(noe,Yie),toe.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},toe.prototype.createOption=function(e){var t=new noe;return t.Parent=this,t.optionName=e,this.Kids.push(t),soe.call(this.scope,t),t};var roe=function(){Jie.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=aoe.CheckBox.createAppearanceStream()};Pie(roe,Jie);var ioe=function(){Yie.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,13)},set:function(e){this.Ff=e?Bie(this.Ff,13):Uie(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,21)},set:function(e){this.Ff=e?Bie(this.Ff,21):Uie(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,23)},set:function(e){this.Ff=e?Bie(this.Ff,23):Uie(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,24)},set:function(e){this.Ff=e?Bie(this.Ff,24):Uie(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,25)},set:function(e){this.Ff=e?Bie(this.Ff,25):Uie(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,26)},set:function(e){this.Ff=e?Bie(this.Ff,26):Uie(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Pie(ioe,Yie);var ooe=function(){ioe.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Xie(this.Ff,14)},set:function(e){this.Ff=e?Bie(this.Ff,14):Uie(this.Ff,14)}}),this.password=!0};Pie(ooe,ioe);var aoe={CheckBox:{createAppearanceStream:function(){return{N:{On:aoe.CheckBox.YesNormal},D:{On:aoe.CheckBox.YesPushDown,Off:aoe.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=_ie(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),o=zie(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+xie(aoe.internal.getWidth(e))+" "+xie(aoe.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+xie(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=_ie(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],o=aoe.internal.getHeight(e),a=aoe.internal.getWidth(e),s=zie(e,e.caption);return i.push("1 g"),i.push("0 0 "+xie(a)+" "+xie(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+xie(a-1)+" "+xie(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+xie(s.fontSize)+" Tf "+r),i.push(s.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=_ie(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+xie(aoe.internal.getWidth(e))+" "+xie(aoe.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:aoe.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=aoe.RadioButton.Circle.YesNormal,t.D[e]=aoe.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=_ie(e);t.scope=e.scope;var n=[],r=aoe.internal.getWidth(e)<=aoe.internal.getHeight(e)?aoe.internal.getWidth(e)/4:aoe.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=aoe.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+kie(aoe.internal.getWidth(e)/2)+" "+kie(aoe.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=_ie(e);t.scope=e.scope;var n=[],r=aoe.internal.getWidth(e)<=aoe.internal.getHeight(e)?aoe.internal.getWidth(e)/4:aoe.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*aoe.internal.Bezier_C).toFixed(5)),a=Number((r*aoe.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+kie(aoe.internal.getWidth(e)/2)+" "+kie(aoe.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+kie(aoe.internal.getWidth(e)/2)+" "+kie(aoe.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=_ie(e);t.scope=e.scope;var n=[],r=aoe.internal.getWidth(e)<=aoe.internal.getHeight(e)?aoe.internal.getWidth(e)/4:aoe.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*aoe.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+kie(aoe.internal.getWidth(e)/2)+" "+kie(aoe.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:aoe.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=aoe.RadioButton.Cross.YesNormal,t.D[e]=aoe.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=_ie(e);t.scope=e.scope;var n=[],r=aoe.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+xie(aoe.internal.getWidth(e)-2)+" "+xie(aoe.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(xie(r.x1.x)+" "+xie(r.x1.y)+" m"),n.push(xie(r.x2.x)+" "+xie(r.x2.y)+" l"),n.push(xie(r.x4.x)+" "+xie(r.x4.y)+" m"),n.push(xie(r.x3.x)+" "+xie(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=_ie(e);t.scope=e.scope;var n=aoe.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+xie(aoe.internal.getWidth(e))+" "+xie(aoe.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+xie(aoe.internal.getWidth(e)-2)+" "+xie(aoe.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(xie(n.x1.x)+" "+xie(n.x1.y)+" m"),r.push(xie(n.x2.x)+" "+xie(n.x2.y)+" l"),r.push(xie(n.x4.x)+" "+xie(n.x4.y)+" m"),r.push(xie(n.x3.x)+" "+xie(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=_ie(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+xie(aoe.internal.getWidth(e))+" "+xie(aoe.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};aoe.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=aoe.internal.getWidth(e),n=aoe.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},aoe.internal.getWidth=function(e){var t=0;return"object"===Bee(e)&&(t=Tie(e.Rect[2])),t},aoe.internal.getHeight=function(e){var t=0;return"object"===Bee(e)&&(t=Tie(e.Rect[3])),t};var soe=bie.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(Yie.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Mie)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");wie=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new Zie,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)}),e.internal.events.subscribe("buildDocument",function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&Lie(r,e)}}(e)}),e.internal.events.subscribe("putCatalog",function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)}),e.internal.events.subscribe("postPutPages",function(t){!function(e,t){var n=!e;for(var r in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(r)){var i=e[r],o=[],a=i.Rect;if(i.Rect&&(i.Rect=Die(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=aoe.createDefaultAppearanceStream(i),"object"===Bee(i)&&"function"==typeof i.getKeyValueListForStream&&(o=i.getKeyValueListForStream()),i.Rect=a,i.hasAppearanceStream&&!i.appearanceStreamContent){var s=Iie(i);o.push({key:"AP",value:"<</N "+s+">>"}),t.internal.acroformPlugin.xForms.push(s)}if(i.appearanceStreamContent){var l="";for(var c in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(c)){var u=i.appearanceStreamContent[c];if(l+="/"+c+" ",l+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var r in u)if(u.hasOwnProperty(r)){var O=u[r];"function"==typeof O&&(O=O.call(t,i)),l+="/"+r+" "+O+" ",t.internal.acroformPlugin.xForms.indexOf(O)>=0||t.internal.acroformPlugin.xForms.push(O)}}else"function"==typeof(O=u)&&(O=O.call(t,i)),l+="/"+r+" "+O,t.internal.acroformPlugin.xForms.indexOf(O)>=0||t.internal.acroformPlugin.xForms.push(O);l+=">>"}o.push({key:"AP",value:"<<\n"+l+">>"})}t.internal.putStream({additionalKeyValues:o,objectId:i.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,i=e[n];t.internal.newObjectDeferredBegin(i.objId,!0),"object"===Bee(i)&&"function"==typeof i.putStream&&i.putStream(),delete e[r]}}(t.internal.acroformPlugin.xForms,t)}(t,e)}),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof Yie))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};function loe(e){return e.reduce(function(e,t,n){return e[t]=n,e},{})}bie.AcroFormChoiceField=jie,bie.AcroFormListBox=Gie,bie.AcroFormComboBox=Hie,bie.AcroFormEditBox=Kie,bie.AcroFormButton=Jie,bie.AcroFormPushButton=eoe,bie.AcroFormRadioButton=toe,bie.AcroFormCheckBox=roe,bie.AcroFormTextField=ioe,bie.AcroFormPasswordField=ooe,bie.AcroFormAppearance=aoe,bie.AcroForm={ChoiceField:jie,ListBox:Gie,ComboBox:Hie,EditBox:Kie,Button:Jie,PushButton:eoe,RadioButton:toe,CheckBox:roe,TextField:ioe,PasswordField:ooe,Appearance:aoe},yie.AcroForm={ChoiceField:jie,ListBox:Gie,ComboBox:Hie,EditBox:Kie,Button:Jie,PushButton:eoe,RadioButton:toe,CheckBox:roe,TextField:ioe,PasswordField:ooe,Appearance:aoe},yie.AcroForm,function(e){var t="addImage_";e.__addimage__={};var n="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(e,t){var i,o,a,s,l,c=n;if("RGBA"===(t=t||n)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(w(e))for(l in r)for(a=r[l],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==e[o]){s=!1;break}if(!0===s){c=l;break}}else for(l in r)for(a=r[l],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==e.charCodeAt(o)){s=!1;break}if(!0===s){c=l;break}}return c===n&&t!==n&&(c=t),c},o=function e(t){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:t.width}),o.push({key:"Height",value:t.height}),t.colorSpace===m.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===m.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var a="",s=0,l=t.transparency.length;s<l;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";o.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&o.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:o,alreadyAppliedFilters:c,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var u,O=null!==(u=t.sMaskBitsPerComponent)&&void 0!==u?u:t.bitsPerComponent,d={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:O,data:t.sMask};"filter"in t&&(d.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(O," /Columns ").concat(t.width),d.filter=t.filter),e.call(this,d)}if(t.colorSpace===m.INDEXED){var h=this.internal.newObject();r({data:$(new Uint8Array(t.palette)),objectId:h}),n("endobj")}},a=function(){var e=this.internal.collections[t+"images"];for(var n in e)o.call(this,e[n])},s=function(){var e,n=this.internal.collections[t+"images"],r=this.internal.write;for(var i in n)r("/I"+(e=n[i]).index,e.objectId,"0","R")},l=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},c=function(){var e=this.internal.collections[t+"images"];return l.call(this),e},u=function(){return Object.keys(this.internal.collections[t+"images"]).length},O=function(t){return"function"==typeof e["process"+t.toUpperCase()]},d=function(e){return"object"===Bee(e)&&1===e.nodeType},h=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return jre(unescape(r).split("base64,").pop());var i=e.loadFile(r,!0);if(void 0!==i)return i}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var o;switch(n){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;default:o="image/jpeg"}return jre(t.toDataURL(o,1).split("base64,").pop())}},f=function(e){var n=this.internal.collections[t+"images"];if(n)for(var r in n)if(e===n[r].alias)return n[r]},p=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},A=function(e,t,n,r,i,o){var a=p.call(this,n,r,i),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=c.call(this);if(n=a[0],r=a[1],u[i.index]=i,o){o*=Math.PI/180;var O=Math.cos(o),d=Math.sin(o),h=function(e){return e.toFixed(4)},f=[h(O),h(d),h(-1*d),h(O),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(e),l(t+r),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(e),l(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},m=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var g=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(w(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},y=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},b=e.__addimage__.extractImageFromDataUrl=function(e){if(null==e||!(e=e.trim()).startsWith("data:"))return null;var t=e.indexOf(",");return t<0?null:e.substring(0,t).trim().endsWith("base64")?e.substring(t+1):null};e.__addimage__.isArrayBuffer=function(e){return e instanceof ArrayBuffer};var w=e.__addimage__.isArrayBufferView=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},Q=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},$=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=w(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){var e,t,r,i,o,a,s,c,u;if("number"==typeof arguments[1]?(t=n,r=arguments[1],i=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7]):(t=arguments[1],r=arguments[2],i=arguments[3],o=arguments[4],a=arguments[5],s=arguments[6],c=arguments[7],u=arguments[8]),"object"===Bee(e=arguments[0])&&!d(e)&&"imageData"in e){var O=e;e=O.imageData,t=O.format||t||n,r=O.x||r||0,i=O.y||i||0,o=O.w||O.width||o,a=O.h||O.height||a,s=O.alias||s,c=O.compression||c,u=O.rotation||O.angle||u}var h=this.internal.getFilters();if(void 0===c&&-1!==h.indexOf("FlateEncode")&&(c="SLOW"),isNaN(r)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var f=S.call(this,e,t,s,c);return A.call(this,r,i,o,a,f,u),this};var S=function(t,r,o,a){var s,l,c,p;if("string"==typeof t&&i(t)===n){t=unescape(t);var A=x(t,!1);(""!==A||void 0!==(A=e.loadFile(t,!0)))&&(t=A)}if(d(t)&&(t=h(t,r)),r=i(t,r),!O(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(c=o)||0===c.length)&&(o="string"==typeof(p=t)||w(p)?v(p):w(p.data)?v(p.data):null),(s=f.call(this,o))||(t instanceof Uint8Array||"RGBA"===r||(l=t,t=Q(t)),s=this["process"+r.toUpperCase()](t,u.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:g.NONE}(a),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},x=e.__addimage__.convertBase64ToBinaryString=function(e,t){t="boolean"!=typeof t||t;var n,r="";if("string"==typeof e){var i;n=null!==(i=b(e))&&void 0!==i?i:e;try{r=jre(n)}catch(o){if(t)throw y(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+o.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return r};e.getImageProperties=function(t){var r,o,a="";if(d(t)&&(t=h(t)),"string"==typeof t&&i(t)===n&&(""===(a=x(t,!1))&&(a=e.loadFile(t)||""),t=a),o=i(t),!O(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(t instanceof Uint8Array||(t=Q(t)),!(r=this["process"+o.toUpperCase()](t)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=o,r}}(yie.API),
37 /**
38 * @license
39 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
40 *
41 * Licensed under the MIT License.
42 * http://opensource.org/licenses/mit-license
43 */
44 function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};yie.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,i,o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,c=!1,u=0;u<l.length&&!c;u++)switch((n=l[u]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(0!=c){this.internal.write("/Annots [");for(var O=0;O<l.length;O++){n=l[O];var d=this.internal.pdfEscape,h=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var f=this.internal.newAdditionalObject(),p=this.internal.newAdditionalObject(),A=this.internal.getEncryptor(f.objId),m=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y)+"] ")+"/Contents ("+d(A(n.contents))+")",i+=" /Popup "+p.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+d(A(m))+") >>",f.content=i;var g=f.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+o(n.bounds.x+30)+" "+a(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w+30)+" "+a(n.bounds.y)+"] ")+" /Parent "+g,n.open&&(i+=" /Open true"),i+=" >>",p.content=i,this.internal.write(f.objId,"0 R",p.objId,"0 R");break;case"freetext":r="/Rect ["+o(n.bounds.x)+" "+a(n.bounds.y)+" "+o(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y+n.bounds.h)+"] ";var v="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(n.color||"#000000");i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+d(h(n.contents))+")",i+=" /DS("+d(h(v))+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(n.options.name){var y=this.annotations._nameMap[n.options.name];n.options.pageNumber=y.page,n.options.top=y.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+d(h(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;default:var b=a(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+b+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,r,i){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(e),y:s(t),w:a(e+n),h:s(t+r)},options:i,type:"link"})},e.textWithLink=function(e,t,n,r){var i,o,a=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){o=r.maxWidth;var l=this.splitTextToSize(e,o).length;i=Math.ceil(s*l)}else o=a,i=s;return this.text(e,t,n,r),n+=.2*s,"center"===r.align&&(t-=a/2),"right"===r.align&&(t-=a),this.link(t,n-s,o,i,r),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(yie.API),
45 /**
46 * @license
47 * Copyright (c) 2017 Aras Abbasi
48 *
49 * Licensed under the MIT License.
50 * http://opensource.org/licenses/mit-license
51 */
52 function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=1};var c=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&o(e)&&4==t[e.charCodeAt(0)].length},O=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i="",o=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(o++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i+=String.fromCharCode(r),r=n,o=0),t===e.length-1&&(r=n,i+=e.charAt(t-(o-1)),t-=o-1,o=0)):(r=n,i+=e.charAt(t-o),t-=o,o=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var d=e.__arabicParser__.getCorrectForm=function(e,t,n){return a(e)?!1===o(e)?-1:!c(e)||!a(t)&&!a(n)||!a(n)&&s(t)||s(e)&&!a(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&a(t)&&!s(t)&&a(n)&&c(n)?3:s(e)||!a(n)?1:2:-1},h=function(e){var n=0,r=0,i=0,o="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(n=0;n<c.length;n+=1){for(u.push(""),r=0;r<c[n].length;r+=1)o=c[n][r],s=c[n][r-1],l=c[n][r+1],a(o)?(i=d(o,s,l),u[n]+=-1!==i?String.fromCharCode(t[o.charCodeAt(0)][i]):o):u[n]+=o;u[n]=O(u[n])}return u.join(" ")},f=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([h(t[r][0]),t[r][1],t[r][2]]):n.push([h(t[r])]);e=n}else e=h(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",f])}(yie.API),yie.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform","javascript"===e.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},
53 /**
54 * @license
55 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
56 *
57 * Licensed under the MIT License.
58 * http://opensource.org/licenses/mit-license
59 */
60 function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(yie.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(e){a=e}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){r.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),i=t.font||this.getFont(),o=t.scaleFactor||this.internal.scaleFactor,a=0,s=0,l=0,c=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(c.splitTextToSize(t,u))},[])):e=Array.isArray(e)?e:[e];for(var O=0;O<e.length;O++)a<(l=this.getStringUnitWidth(e[O],{font:i})*n)&&(a=l);return 0!==a&&(s=e.length),{w:a/=o,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/o,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=e.cell=function(){var e;e=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),r.call(this);var i=this.internal.__cell__.lastCell,a=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===e.lineNumber?(e.x=(i.x||0)+(i.width||0),e.y=i.y||0):i.y+i.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,c&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=i.y+i.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-a,e.y+a,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+a,{align:"center",baseline:"top",maxWidth:e.width-a-a}):this.text(e.text,e.x+a,e.y+a,{align:"left",baseline:"top",maxWidth:e.width-a-a})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,l,c,u){if(r.call(this),!l)throw new Error("No data for PDF table.");var O,d,h,f,p=[],A=[],m=[],g={},v={},y=[],b=[],w=(u=u||{}).autoSize||!1,Q=!1!==u.printHeaders,$=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,S=u.margins||Object.assign({width:this.getPageWidth()},t),x="number"==typeof u.padding?u.padding:3,k=u.headerBackgroundColor||"#c8c8c8",P=u.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=Q,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=$,this.internal.__cell__.padding=x,this.internal.__cell__.headerBackgroundColor=k,this.internal.__cell__.headerTextColor=P,this.setFontSize($),null==c)A=p=Object.keys(l[0]),m=p.map(function(){return"left"});else if(Array.isArray(c)&&"object"===Bee(c[0]))for(p=c.map(function(e){return e.name}),A=c.map(function(e){return e.prompt||e.name||""}),m=c.map(function(e){return e.align||"left"}),O=0;O<c.length;O+=1)v[c[O].name]=.7499990551181103*c[O].width;else Array.isArray(c)&&"string"==typeof c[0]&&(A=p=c,m=p.map(function(){return"left"}));if(w||Array.isArray(c)&&"string"==typeof c[0])for(O=0;O<p.length;O+=1){for(g[f=p[O]]=l.map(function(e){return e[f]}),this.setFont(void 0,"bold"),y.push(this.getTextDimensions(A[O],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=g[f],this.setFont(void 0,"normal"),h=0;h<d.length;h+=1)y.push(this.getTextDimensions(d[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);v[f]=Math.max.apply(null,y)+x+x,y=[]}if(Q){var T={};for(O=0;O<p.length;O+=1)T[p[O]]={},T[p[O]].text=A[O],T[p[O]].align=m[O];var _=s.call(this,T,v);b=p.map(function(t){return new o(e,n,v[t],_,T[t].text,void 0,T[t].align)}),this.setTableHeaderRow(b),this.printHeaderRow(1,!1)}var C=c.reduce(function(e,t){return e[t.name]=t.align,e},{});for(O=0;O<l.length;O+=1){"rowStart"in u&&u.rowStart instanceof Function&&u.rowStart({row:O,data:l[O]},this);var E=s.call(this,l[O],v);for(h=0;h<p.length;h+=1){var R=l[O][p[h]];"cellStart"in u&&u.cellStart instanceof Function&&u.cellStart({row:O,col:h,data:R},this),a.call(this,new o(e,n,v[p[h]],E,R,O+2,C[p[h]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var s=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map(function(r){var i=e[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[r]-n-n)},this).map(function(e){return this.getLineHeightFactor()*e.length*r/i+n+n},this).reduce(function(e,t){return Math.max(e,t)},0)};e.setTableHeaderRow=function(e){r.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){i=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(i.y=this.internal.__cell__.margins.top||0,l.push(i)),i.lineNumber=e;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,i),this.setTextColor(u)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(yie.API);var coe={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},uoe=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ooe=loe(uoe),doe=[100,200,300,400,500,600,700,800,900],hoe=loe(doe);function foe(e){var t,n=e.family.replace(/"|'/g,"").toLowerCase(),r=(t=e.style,coe[t=t||"normal"]?t:"normal"),i=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),o=function(e){return"number"==typeof Ooe[e=e||"normal"]?e:"normal"}(e.stretch);return{family:n,style:r,weight:i,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,r,i].join(" ")}}}function poe(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var Aoe={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},moe={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function goe(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function voe(e){return e.trimLeft()}function yoe(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function boe(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var woe,Qoe,$oe,Soe,xoe,koe=["times"];function Poe(e,t,n,r,i){var o=4,a=Coe;switch(i){case yie.API.image_compression.FAST:o=1,a=_oe;break;case yie.API.image_compression.MEDIUM:o=6,a=Eoe;break;case yie.API.image_compression.SLOW:o=9,a=Roe}var s=pte(e=function(e,t,n,r){for(var i,o=e.length/t,a=new Uint8Array(e.length+o),s=[Toe,_oe,Coe,Eoe,Roe],l=0;l<o;l+=1){var c=l*t,u=e.subarray(c,c+t);if(r)a.set(r(u,n,i),c+l);else{for(var O=s.length,d=[],h=0;h<O;h+=1)d[h]=s[h](u,n,i);var f=Boe(d.concat());a.set(d[f],c+l)}i=u}return a}(e,t,Math.ceil(n*r/8),a),{level:o});return yie.API.__addimage__.arrayBufferToBinaryString(s)}function Toe(e){var t=Array.apply([],e);return t.unshift(0),t}function _oe(e,t){var n=e.length,r=[];r[0]=1;for(var i=0;i<n;i+=1){var o=e[i-t]||0;r[i+1]=e[i]-o+256&255}return r}function Coe(e,t,n){var r=e.length,i=[];i[0]=2;for(var o=0;o<r;o+=1){var a=n&&n[o]||0;i[o+1]=e[o]-a+256&255}return i}function Eoe(e,t,n){var r=e.length,i=[];i[0]=3;for(var o=0;o<r;o+=1){var a=e[o-t]||0,s=n&&n[o]||0;i[o+1]=e[o]+256-(a+s>>>1)&255}return i}function Roe(e,t,n){var r=e.length,i=[];i[0]=4;for(var o=0;o<r;o+=1){var a=Xoe(e[o-t]||0,n&&n[o]||0,n&&n[o-t]||0);i[o+1]=e[o]-a+256&255}return i}function Xoe(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),o=Math.abs(e+t-n-n);return r<=i&&r<=o?e:i<=o?t:n}function Boe(e){var t=e.map(function(e){return e.reduce(function(e,t){return e+Math.abs(t)},0)});return t.indexOf(Math.min.apply(null,t))}function Uoe(e,t,n){var r=t*n,i=Math.floor(r/8),o=16-(r-8*i+n),a=(1<<n)-1;return Ioe(e,i)>>o&a}function Doe(e,t,n,r){var i=n*r,o=Math.floor(i/8),a=16-(i-8*o+r),s=(1<<r)-1,l=(t&s)<<a;!function(e,t,n){if(t+1<e.byteLength)e.setUint16(t,n,!1);else{var r=n>>8&255;e.setUint8(t,r)}}(e,o,Ioe(e,o)&~(s<<a)&65535|l)}function Ioe(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function zoe(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],o=i>>7,a=1<<1+(7&i);e[t++],e[t++];var s=null,l=null;o&&(s=t,l=a,t+=3*a);var c=!0,u=[],O=0,d=null,h=0,f=null;for(this.width=n,this.height=r;c&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,f=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((k=e[t++])>=0))throw Error("Invalid block size");if(0===k)break;t+=k}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var p=e[t++];O=e[t++]|e[t++]<<8,d=e[t++],1&p||(d=null),h=p>>2&7,t++;break;case 254:for(;;){if(!((k=e[t++])>=0))throw Error("Invalid block size");if(0===k)break;t+=k}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var A=e[t++]|e[t++]<<8,m=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++],b=y>>6&1,w=1<<1+(7&y),Q=s,$=l,S=!1;y>>7&&(S=!0,Q=t,$=w,t+=3*w);var x=t;for(t++;;){var k;if(!((k=e[t++])>=0))throw Error("Invalid block size");if(0===k)break;t+=k}u.push({x:A,y:m,width:g,height:v,has_local_palette:S,palette_offset:Q,palette_size:$,data_offset:x,data_length:t-x,transparent_index:d,interlaced:!!b,delay:O,disposal:h});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return f},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,r){var i=this.frameInfo(t),o=i.width*i.height;if(o>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var a=new Uint8Array(o);Noe(e,i.data_offset,a,o);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,O=c,d=4*(i.y*n+i.x),h=4*((i.y+i.height)*n+i.x),f=d,p=4*u;!0===i.interlaced&&(p+=4*n*7);for(var A=8,m=0,g=a.length;m<g;++m){var v=a[m];if(0===O&&(O=c,(f+=p)>=h&&(p=4*u+4*n*(A-1),f=d+(c+u)*(A<<1),A>>=1)),v===l)f+=4;else{var y=e[s+3*v],b=e[s+3*v+1],w=e[s+3*v+2];r[f++]=w,r[f++]=b,r[f++]=y,r[f++]=255}--O}},this.decodeAndBlitFrameRGBA=function(t,r){var i=this.frameInfo(t),o=i.width*i.height;if(o>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var a=new Uint8Array(o);Noe(e,i.data_offset,a,o);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,O=c,d=4*(i.y*n+i.x),h=4*((i.y+i.height)*n+i.x),f=d,p=4*u;!0===i.interlaced&&(p+=4*n*7);for(var A=8,m=0,g=a.length;m<g;++m){var v=a[m];if(0===O&&(O=c,(f+=p)>=h&&(p=4*u+4*n*(A-1),f=d+(c+u)*(A<<1),A>>=1)),v===l)f+=4;else{var y=e[s+3*v],b=e[s+3*v+1],w=e[s+3*v+2];r[f++]=y,r[f++]=b,r[f++]=w,r[f++]=255}--O}}}function Noe(e,t,n,r){for(var i=e[t++],o=1<<i,a=o+1,s=a+1,l=i+1,c=(1<<l)-1,u=0,O=0,d=0,h=e[t++],f=new Int32Array(4096),p=null;;){for(;u<16&&0!==h;)O|=e[t++]<<u,u+=8,1===h?h=e[t++]:--h;if(u<l)break;var A=O&c;if(O>>=l,u-=l,A!==o){if(A===a)break;for(var m=A<s?A:p,g=0,v=m;v>o;)v=f[v]>>8,++g;var y=v;if(d+g+(m!==A?1:0)>r)return void Vre.log("Warning, gif stream longer than expected.");n[d++]=y;var b=d+=g;for(m!==A&&(n[d++]=y),v=m;g--;)v=f[v],n[--b]=255&v,v>>=8;null!==p&&s<4096&&(f[s++]=p<<8|y,s>=c+1&&l<12&&(++l,c=c<<1|1)),p=A}else s=a+1,c=(1<<(l=i+1))-1,p=null}return d!==r&&Vre.log("Warning, gif stream shorter than expected."),n}function Moe(e){var t,n,r,i,o,a=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),O=new Array(65535),d=new Array(65535),h=new Array(64),f=new Array(64),p=[],A=0,m=7,g=new Array(64),v=new Array(64),y=new Array(64),b=new Array(256),w=new Array(2048),Q=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],$=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],x=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],k=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],P=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],T=[0,1,2,3,4,5,6,7,8,9,10,11],_=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],C=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function E(e,t){for(var n=0,r=0,i=new Array,o=1;o<=16;o++){for(var a=1;a<=e[o];a++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=o,r++,n++;n*=2}return i}function R(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(A|=1<<m),n--,--m<0&&(255==A?(X(255),X(0)):X(A),m=7,A=0)}function X(e){p.push(e)}function B(e){X(e>>8&255),X(255&e)}function U(e,t,n,r,i){for(var o,a=i[0],s=i[240],l=function(e,t){var n,r,i,o,a,s,l,c,u,O,d=0;for(u=0;u<8;++u){n=e[d],r=e[d+1],i=e[d+2],o=e[d+3],a=e[d+4],s=e[d+5],l=e[d+6];var f=n+(c=e[d+7]),p=n-c,A=r+l,m=r-l,g=i+s,v=i-s,y=o+a,b=o-a,w=f+y,Q=f-y,$=A+g,S=A-g;e[d]=w+$,e[d+4]=w-$;var x=.707106781*(S+Q);e[d+2]=Q+x,e[d+6]=Q-x;var k=.382683433*((w=b+v)-(S=m+p)),P=.5411961*w+k,T=1.306562965*S+k,_=.707106781*($=v+m),C=p+_,E=p-_;e[d+5]=E+P,e[d+3]=E-P,e[d+1]=C+T,e[d+7]=C-T,d+=8}for(d=0,u=0;u<8;++u){n=e[d],r=e[d+8],i=e[d+16],o=e[d+24],a=e[d+32],s=e[d+40],l=e[d+48];var R=n+(c=e[d+56]),X=n-c,B=r+l,U=r-l,D=i+s,I=i-s,z=o+a,N=o-a,M=R+z,L=R-z,V=B+D,q=B-D;e[d]=M+V,e[d+32]=M-V;var F=.707106781*(q+L);e[d+16]=L+F,e[d+48]=L-F;var W=.382683433*((M=N+I)-(q=U+X)),Z=.5411961*M+W,Y=1.306562965*q+W,j=.707106781*(V=I+U),G=X+j,H=X-j;e[d+40]=H+Z,e[d+24]=H-Z,e[d+8]=G+Y,e[d+56]=G-Y,d++}for(u=0;u<64;++u)O=e[u]*t[u],h[u]=O>0?O+.5|0:O-.5|0;return h}(e,t),c=0;c<64;++c)f[Q[c]]=l[c];var u=f[0]-n;n=f[0],0==u?R(r[0]):(R(r[d[o=32767+u]]),R(O[o]));for(var p=63;p>0&&0==f[p];)p--;if(0==p)return R(a),n;for(var A,m=1;m<=p;){for(var g=m;0==f[m]&&m<=p;)++m;var v=m-g;if(v>=16){A=v>>4;for(var y=1;y<=A;++y)R(s);v&=15}o=32767+f[m],R(i[(v<<4)+d[o]]),R(O[o]),m++}return 63!=p&&R(a),n}function D(e){e=Math.min(Math.max(e,1),100),o!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=a((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[Q[n]]=r}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var O=a((i[o]*e+50)/100);O=Math.min(Math.max(O,1),255),l[Q[o]]=O}for(var d=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],h=0,f=0;f<8;f++)for(var p=0;p<8;p++)c[h]=1/(s[Q[h]]*d[f]*d[p]*8),u[h]=1/(l[Q[h]]*d[f]*d[p]*8),h++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),o=e)}this.encode=function(e,o){var a,O;o&&D(o),p=new Array,A=0,m=7,B(65496),B(65504),B(16),X(74),X(70),X(73),X(70),X(0),X(1),X(1),X(0),B(1),B(1),X(0),X(0),function(){B(65499),B(132),X(0);for(var e=0;e<64;e++)X(s[e]);X(1);for(var t=0;t<64;t++)X(l[t])}(),a=e.width,O=e.height,B(65472),B(17),X(8),B(O),B(a),X(3),X(1),X(17),X(0),X(2),X(17),X(1),X(3),X(17),X(1),function(){B(65476),B(418),X(0);for(var e=0;e<16;e++)X($[e+1]);for(var t=0;t<=11;t++)X(S[t]);X(16);for(var n=0;n<16;n++)X(x[n+1]);for(var r=0;r<=161;r++)X(k[r]);X(1);for(var i=0;i<16;i++)X(P[i+1]);for(var o=0;o<=11;o++)X(T[o]);X(17);for(var a=0;a<16;a++)X(_[a+1]);for(var s=0;s<=161;s++)X(C[s])}(),B(65498),B(12),X(3),X(1),X(0),X(2),X(17),X(3),X(17),X(0),X(63),X(0);var d=0,h=0,f=0;A=0,m=7,this.encode.displayName="_encode_";for(var b,Q,E,I,z,N,M,L,V,q=e.data,F=e.width,W=e.height,Z=4*F,Y=0;Y<W;){for(b=0;b<Z;){for(z=Z*Y+b,M=-1,L=0,V=0;V<64;V++)N=z+(L=V>>3)*Z+(M=4*(7&V)),Y+L>=W&&(N-=Z*(Y+1+L-W)),b+M>=Z&&(N-=b+M-Z+4),Q=q[N++],E=q[N++],I=q[N++],g[V]=(w[Q]+w[E+256|0]+w[I+512|0]>>16)-128,v[V]=(w[Q+768|0]+w[E+1024|0]+w[I+1280|0]>>16)-128,y[V]=(w[Q+1280|0]+w[E+1536|0]+w[I+1792|0]>>16)-128;d=U(g,c,d,t,r),h=U(v,u,h,n,i),f=U(y,u,f,n,i),b+=32}Y+=8}if(m>=0){var j=[];j[1]=m+1,j[0]=(1<<m+1)-1,R(j)}return B(65497),new Uint8Array(p)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)b[t]=e(t)}(),t=E($,S),n=E(P,T),r=E(x,k),i=E(_,C),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)d[32767+r]=n,O[32767+r]=[],O[32767+r][1]=n,O[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)d[32767+i]=n,O[32767+i]=[],O[32767+i][1]=n,O[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)w[e]=19595*e,w[e+256|0]=38470*e,w[e+512|0]=7471*e+32768,w[e+768|0]=-11059*e,w[e+1024|0]=-21709*e,w[e+1280|0]=32768*e+8421375,w[e+1536|0]=-27439*e,w[e+1792|0]=-5329*e}(),D(e)}function Loe(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Voe(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,i){for(var o=0;o<i;o++)e[t+o]=n[r+o]}function i(e,t,n,r){for(var i=0;i<r;i++)e[t+i]=n}function o(e){return new Int32Array(e)}function a(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,i){for(var o=i[r],a=0;a<o&&(n.push(i.length>r+1?[]:new t),!(i.length<r+1));a++)e(n[a],r+1,i)}(n,0,e),n}var l=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function c(e,n,r,i,o){t(!(i%r));do{e[n+(i-=r)]=o}while(0<i)}function u(e,n,r,i,a){if(t(2328>=a),512>=a)var s=o(512);else if(null==(s=o(a)))return 0;return function(e,n,r,i,a,s){var u,d,h=n,f=1<<r,p=o(16),A=o(16);for(t(0!=a),t(null!=i),t(null!=e),t(0<r),d=0;d<a;++d){if(15<i[d])return 0;++p[i[d]]}if(p[0]==a)return 0;for(A[1]=0,u=1;15>u;++u){if(p[u]>1<<u)return 0;A[u+1]=A[u]+p[u]}for(d=0;d<a;++d)u=i[d],0<i[d]&&(s[A[u]++]=d);if(1==A[15])return(i=new O).g=0,i.value=s[0],c(e,h,1,f,i),f;var m,g=-1,v=f-1,y=0,b=1,w=1,Q=1<<r;for(d=0,u=1,a=2;u<=r;++u,a<<=1){if(b+=w<<=1,0>(w-=p[u]))return 0;for(;0<p[u];--p[u])(i=new O).g=u,i.value=s[d++],c(e,h+y,a,Q,i),y=l(y,u)}for(u=r+1,a=2;15>=u;++u,a<<=1){if(b+=w<<=1,0>(w-=p[u]))return 0;for(;0<p[u];--p[u]){if(i=new O,(y&v)!=g){for(h+=Q,m=1<<(g=u)-r;15>g&&!(0>=(m-=p[g]));)++g,m<<=1;f+=Q=1<<(m=g-r),e[n+(g=y&v)].g=m+r,e[n+g].value=h-n-g}i.g=u-r,i.value=s[d++],c(e,h+(y>>r),a,Q,i),y=l(y,u)}}return b!=2*A[15]-1?0:f}(e,n,r,i,a,s)}function O(){this.value=this.g=0}function d(){this.value=this.g=0}function h(){this.G=a(5,O),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(In,d)}function f(e,n,r,i){t(null!=e),t(null!=n),t(2147483648>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+i,e.Zc=4<=i?r+i-4+1:r,x(e)}function p(e,t){for(var n=0;0<t--;)n|=P(e,128)<<t;return n}function A(e,t){var n=p(e,t);return k(e)?-n:n}function m(e,n,r,i){var o,a=0;for(t(null!=e),t(null!=n),t(4294967288>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),o=0;o<i;++o)a+=n[r+o]<<8*o;e.Ra=a,e.bb=i,e.oa=n,e.pa=r}function g(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Mn-8>>>0,++e.bb,e.u-=8;Q(e)&&(e.h=1,e.u=0)}function v(e,n){if(t(0<=n),!e.h&&n<=Nn){var r=w(e)&zn[n];return e.u+=n,g(e),r}return e.h=1,e.u=0}function y(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function b(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(e){return e.Ra>>>(e.u&Mn-1)>>>0}function Q(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Mn}function $(e,t){e.u=t,e.h=Q(e)}function S(e){e.u>=Ln&&(t(e.u>=Ln),g(e))}function x(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function k(e){return p(e,1)}function P(e,t){var n=e.Ca;0>e.b&&x(e);var r=e.b,i=n*t>>>8,o=(e.I>>>r>i)+0;for(o?(n-=i,e.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+Vn[r],e.b-=r,e.Ca=(n<<r)-1,o}function T(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function _(e,t){return e[t+0]|e[t+1]<<8}function C(e,t){return _(e,t)|e[t+2]<<16}function E(e,t){return _(e,t)|_(e,t+2)<<16}function R(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=o(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function X(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function B(){this.X=[],this.Xa=this.Mb=0}function U(e,n,r,i){t(null!=r),t(null!=i);var o=r[0],a=i[0];return 0==o&&(o=(e*a+n/2)/n),0==a&&(a=(n*o+e/2)/e),0>=o||0>=a?0:(r[0]=o,i[0]=a,1)}function D(e,t){return e+(1<<t)-1>>>t}function I(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function z(t,n){e[n]=function(n,r,i,o,a,s,l){var c;for(c=0;c<a;++c){var u=e[t](s[l+c-1],i,o+c);s[l+c]=I(n[r+c],u)}}}function N(){this.ud=this.hd=this.jd=0}function M(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function L(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function V(e,t){return L(e+(e-t+.5>>1))}function q(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function F(e,t,n,r,i,o,a){for(r=o[a-1],n=0;n<i;++n)o[a+n]=r=I(e[t+n],r)}function W(e,t,n,r,i){var o;for(o=0;o<n;++o){var a=e[t+o],s=a>>8&255,l=16711935&(l=(l=16711935&a)+((s<<16)+s));r[i+o]=(4278255360&a)+l>>>0}}function Z(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function Y(e,t,n,r,i,o){var a;for(a=0;a<r;++a){var s=t[n+a],l=s>>>8,c=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));c=255&(c=(c+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),i[o+a]=(4278255360&s)+(u<<16)+c}}function j(t,n,r,i,o){e[n]=function(e,t,n,r,a,s,l,c,u){for(r=l;r<c;++r)for(l=0;l<u;++l)a[s++]=o(n[i(e[t++])])},e[t]=function(t,n,a,s,l,c,u){var O=8>>t.b,d=t.Ea,h=t.K[0],f=t.w;if(8>O)for(t=(1<<t.b)-1,f=(1<<O)-1;n<a;++n){var p,A=0;for(p=0;p<d;++p)p&t||(A=i(s[l++])),c[u++]=o(h[A&f]),A>>=O}else e["VP8LMapColor"+r](s,l,h,f,c,u,n,a,d)}}function G(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=255&o}}function H(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=255&o,r[i++]=o>>24&255}}function K(e,t,n,r,i){for(n=t+n;t<n;){var o=(a=e[t++])>>16&240|a>>12&15,a=240&a|a>>28&15;r[i++]=o,r[i++]=a}}function J(e,t,n,r,i){for(n=t+n;t<n;){var o=(a=e[t++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;r[i++]=o,r[i++]=a}}function ee(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=255&o,r[i++]=o>>8&255,r[i++]=o>>16&255}}function te(e,t,n,i,o,a){if(0==a)for(n=t+n;t<n;)T(i,((a=e[t++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),o+=32;else r(i,o,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Lr||e==Vr||e==qr||e==Fr}function ie(){this.eb=[],this.size=this.A=this.fb=0}function oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ae(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new oe,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ce(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var n=e.T,i=t.ba.f.RGBA,o=i.eb,a=i.fb+e.ka*i.A,s=Ai[t.ba.S],l=e.y,c=e.O,u=e.f,O=e.N,d=e.ea,h=e.W,f=t.cc,p=t.dc,A=t.Mc,m=t.Nc,g=e.ka,v=e.ka+e.T,y=e.U,b=y+1>>1;for(0==g?s(l,c,null,null,u,O,d,h,u,O,d,h,o,a,null,null,y):(s(t.ec,t.fc,l,c,f,p,A,m,u,O,d,h,o,a-i.A,o,a,y),++n);g+2<v;g+=2)f=u,p=O,A=d,m=h,O+=e.Rc,h+=e.Rc,a+=2*i.A,s(l,(c+=2*e.fa)-e.fa,l,c,f,p,A,m,u,O,d,h,o,a-i.A,o,a,y);return c+=e.fa,e.j+v<e.o?(r(t.ec,t.fc,l,c,y),r(t.cc,t.dc,u,O,b),r(t.Mc,t.Nc,d,h,b),n--):1&v||s(l,c,null,null,u,O,d,h,u,O,d,h,o,a+i.A,null,null,y),n}function Oe(e,n,r){var i=e.F,o=[e.J];if(null!=i){var a=e.U,s=n.ba.S,l=s==zr||s==qr;n=n.ba.f.RGBA;var c=[0],u=e.ka;c[0]=e.T,e.Kb&&(0==u?--c[0]:(--u,o[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-u));var O=n.eb;u=n.fb+u*n.A,e=$r(i,o[0],e.width,a,c,O,u+(l?0:3),n.A),t(r==c),e&&re(s)&&wr(O,u,l,a,c,n.A)}return 0}function de(e){var t=e.ma,n=t.ba.S,r=11>n,i=n==Ur||n==Ir||n==zr||n==Nr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Bn(t.Oa,e,i?11:12))return 0;if(i&&re(n)&&gn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ce,e.Kb){if(n=e.U+1>>1,t.memory=o(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ue,gn()}}else alert("todo:EmitYUV");i&&(t.Jb=Oe,r&&An())}if(r&&!Ti){for(e=0;256>e;++e)_i[e]=89858*(e-128)+Si>>$i,Ri[e]=-22014*(e-128)+Si,Ei[e]=-45773*(e-128),Ci[e]=113618*(e-128)+Si>>$i;for(e=xi;e<ki;++e)t=76283*(e-16)+Si>>$i,Xi[e-xi]=Fe(t,255),Bi[e-xi]=Fe(t+8>>4,15);Ti=1}return 1}function he(e){var n=e.ma,r=e.U,i=e.T;return t(!(1&e.ka)),0>=r||0>=i?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function fe(e){e.ma.memory=null}function pe(e,t,n,r){return 47!=v(e,8)?0:(t[0]=v(e,14)+1,n[0]=v(e,14)+1,r[0]=v(e,1),0!=v(e,3)?0:!e.h)}function Ae(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+v(t,n)+1}function me(e,t){return 120<t?t-120:1<=(n=((n=Hr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ge(e,t,n){var r=w(n),i=e[t+=255&r].g-8;return 0<i&&($(n,n.u+8),r=w(n),t+=e[t].value,t+=r&(1<<i)-1),$(n,n.u+e[t].g),e[t].value}function ve(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function ye(e,n,r){var i=e.xc;return t((n=0==i?0:e.vc[e.md*(r>>i)+(n>>i)])<e.Wb),e.Ya[n]}function be(e,n,i,o){var a=e.ab,s=e.c*n,l=e.C;n=l+n;var c=i,u=o;for(o=e.Ta,i=e.Ua;0<a--;){var O=e.gc[a],d=l,h=n,f=c,p=u,A=(u=o,c=i,O.Ea);switch(t(d<h),t(h<=O.nc),O.hc){case 2:Wn(f,p,(h-d)*A,u,c);break;case 0:var m=d,g=h,v=u,y=c,b=(x=O).Ea;0==m&&(qn(f,p,null,null,1,v,y),F(f,p+1,0,0,b-1,v,y+1),p+=b,y+=b,++m);for(var w=1<<x.b,Q=w-1,$=D(b,x.b),S=x.K,x=x.w+(m>>x.b)*$;m<g;){var k=S,P=x,T=1;for(Fn(f,p,v,y-b,1,v,y);T<b;){var _=(T&~Q)+w;_>b&&(_=b),(0,Hn[k[P++]>>8&15])(f,p+ +T,v,y+T-b,_-T,v,y+T),T=_}p+=b,y+=b,++m&Q||(x+=$)}h!=O.nc&&r(u,c-A,u,c+(h-d-1)*A,A);break;case 1:for(A=f,g=p,b=(f=O.Ea)-(y=f&~(v=(p=1<<O.b)-1)),m=D(f,O.b),w=O.K,O=O.w+(d>>O.b)*m;d<h;){for(Q=w,$=O,S=new N,x=g+y,k=g+f;g<x;)Z(Q[$++],S),Kn(S,A,g,p,u,c),g+=p,c+=p;g<k&&(Z(Q[$++],S),Kn(S,A,g,b,u,c),g+=b,c+=b),++d&v||(O+=m)}break;case 3:if(f==u&&p==c&&0<O.b){for(g=u,f=A=c+(h-d)*A-(y=(h-d)*D(O.Ea,O.b)),p=u,v=c,m=[],y=(b=y)-1;0<=y;--y)m[y]=p[v+y];for(y=b-1;0<=y;--y)g[f+y]=m[y];Zn(O,d,h,u,A,u,c)}else Zn(O,d,h,f,p,u,c)}c=o,u=i}u!=i&&r(o,i,c,u,s)}function we(e,n){var r=e.V,i=e.Ba+e.c*e.C,o=n-e.C;if(t(n<=e.l.o),t(16>=o),0<o){var a=e.l,s=e.Ta,l=e.Ua,c=a.width;if(be(e,o,r,i),o=l=[l],t((r=e.C)<(i=n)),t(a.v<a.va),i>a.o&&(i=a.o),r<a.j){var u=a.j-r;r=a.j,o[0]+=u*c}if(r>=i?r=0:(o[0]+=4*a.v,a.ka=r-a.j,a.U=a.va-a.v,a.T=i-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var O=r.f.RGBA,d=(i=r.S,o=a.U,a=a.T,u=O.eb,O.A),h=a;for(O=O.fb+e.Ma*O.A;0<h--;){var f=s,p=l,A=o,m=u,g=O;switch(i){case Br:Jn(f,p,A,m,g);break;case Ur:er(f,p,A,m,g);break;case Lr:er(f,p,A,m,g),wr(m,g,0,A,1,0);break;case Dr:rr(f,p,A,m,g);break;case Ir:te(f,p,A,m,g,1);break;case Vr:te(f,p,A,m,g,1),wr(m,g,0,A,1,0);break;case zr:te(f,p,A,m,g,0);break;case qr:te(f,p,A,m,g,0),wr(m,g,1,A,1,0);break;case Nr:tr(f,p,A,m,g);break;case Fr:tr(f,p,A,m,g),Qr(m,g,A,1,0);break;case Mr:nr(f,p,A,m,g);break;default:t(0)}l+=c,O+=d}e.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function Qe(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function $e(e,n,r,i,o,a){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=pi[e.Z]);n<r;++n)pi[e.Z](s,l,i,o,i,o,a),s=i,l=o,o+=a;e.qd=s,e.rd=l}}function Se(e,n){var r=e.l.ma,i=0==r.Z||1==r.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(n<=e.l.o),n>i){var o=e.l.width,a=r.ca,s=r.tb+o*i,l=e.V,c=e.Ba+e.c*i,u=e.gc;t(1==e.ab),t(3==u[0].hc),jn(u[0],i,n,l,c,a,s),$e(r,i,n,a,s,o)}e.C=e.Ma=n}function xe(e,n,r,i,o,a,s){var l=e.$/i,c=e.$%i,u=e.m,O=e.s,d=r+e.$,h=d;o=r+i*o;var f=r+i*a,p=280+O.ua,A=e.Pb?l:16777216,m=0<O.ua?O.Wa:null,g=O.wc,v=d<f?ye(O,c,l):null;t(e.C<a),t(f<=o);var y=!1;e:for(;;){for(;y||d<f;){var b=0;if(l>=A){var x=d-r;t((A=e).Pb),A.wd=A.m,A.xd=x,0<A.s.ua&&X(A.s.Wa,A.s.vb),A=l+Jr}if(c&g||(v=ye(O,c,l)),t(null!=v),v.Qb&&(n[d]=v.qb,y=!0),!y)if(S(u),v.jc){b=u,x=n;var k=d,P=v.pd[w(b)&In-1];t(v.jc),256>P.g?($(b,b.u+P.g),x[k]=P.value,b=0):($(b,b.u+P.g-256),t(256<=P.value),b=P.value),0==b&&(y=!0)}else b=ge(v.G[0],v.H[0],u);if(u.h)break;if(y||256>b){if(!y)if(v.nd)n[d]=(v.qb|b<<8)>>>0;else{if(S(u),y=ge(v.G[1],v.H[1],u),S(u),x=ge(v.G[2],v.H[2],u),k=ge(v.G[3],v.H[3],u),u.h)break;n[d]=(k<<24|y<<16|b<<8|x)>>>0}if(y=!1,++d,++c>=i&&(c=0,++l,null!=s&&l<=a&&!(l%16)&&s(e,l),null!=m))for(;h<d;)b=n[h++],m.X[(506832829*b&4294967295)>>>m.Mb]=b}else if(280>b){if(b=Ae(b-256,u),x=ge(v.G[4],v.H[4],u),S(u),x=me(i,x=Ae(x,u)),u.h)break;if(d-r<x||o-d<b)break e;for(k=0;k<b;++k)n[d+k]=n[d+k-x];for(d+=b,c+=b;c>=i;)c-=i,++l,null!=s&&l<=a&&!(l%16)&&s(e,l);if(t(d<=o),c&g&&(v=ye(O,c,l)),null!=m)for(;h<d;)b=n[h++],m.X[(506832829*b&4294967295)>>>m.Mb]=b}else{if(!(b<p))break e;for(y=b-280,t(null!=m);h<d;)b=n[h++],m.X[(506832829*b&4294967295)>>>m.Mb]=b;b=d,t(!(y>>>(x=m).Xa)),n[b]=x.X[y],y=!0}y||t(u.h==Q(u))}if(e.Pb&&u.h&&d<o)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&X(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,l>a?a:l),e.a=0,e.$=d-r}return 1}return e.a=3,0}function ke(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Pe(){var t=new an;return null==t?null:(t.a=0,t.xb=fi,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Wn=W,Kn=Y,Jn=G,er=H,tr=K,nr=J,rr=ee,e.VP8LMapColor32b=Yn,e.VP8LMapColor8b=Gn,t)}function Te(e,n,r,s,l){var c=1,d=[e],f=[n],p=s.m,A=s.s,m=null,g=0;e:for(;;){if(r)for(;c&&v(p,1);){var y=d,b=f,Q=s,x=1,k=Q.m,P=Q.gc[Q.ab],T=v(k,2);if(Q.Oc&1<<T)c=0;else{switch(Q.Oc|=1<<T,P.hc=T,P.Ea=y[0],P.nc=b[0],P.K=[null],++Q.ab,t(4>=Q.ab),T){case 0:case 1:P.b=v(k,3)+2,x=Te(D(P.Ea,P.b),D(P.nc,P.b),0,Q,P.K),P.K=P.K[0];break;case 3:var _,C=v(k,8)+1,E=16<C?0:4<C?1:2<C?2:3;if(y[0]=D(P.Ea,E),P.b=E,_=x=Te(C,1,0,Q,P.K)){var X,B=C,U=P,z=1<<(8>>U.b),N=o(z);if(null==N)_=0;else{var M=U.K[0],L=U.w;for(N[0]=U.K[0][0],X=1;X<1*B;++X)N[X]=I(M[L+X],N[X-1]);for(;X<4*z;++X)N[X]=0;U.K[0]=null,U.K[0]=N,_=1}}x=_;break;case 2:break;default:t(0)}c=x}}if(d=d[0],f=f[0],c&&v(p,1)&&!(c=1<=(g=v(p,4))&&11>=g)){s.a=3;break e}var V;if(V=c)t:{var q,F,W,Z=s,Y=d,j=f,G=g,H=r,K=Z.m,J=Z.s,ee=[null],te=1,ne=0,re=Kr[G];n:for(;;){if(H&&v(K,1)){var ie=v(K,3)+2,oe=D(Y,ie),ae=D(j,ie),se=oe*ae;if(!Te(oe,ae,0,Z,ee))break n;for(ee=ee[0],J.xc=ie,q=0;q<se;++q){var le=ee[q]>>8&65535;ee[q]=le,le>=te&&(te=le+1)}}if(K.h)break n;for(F=0;5>F;++F){var ce=Yr[F];!F&&0<G&&(ce+=1<<G),ne<ce&&(ne=ce)}var ue=a(te*re,O),Oe=te,de=a(Oe,h);if(null==de)var he=null;else t(65536>=Oe),he=de;var fe=o(ne);if(null==he||null==fe||null==ue){Z.a=1;break n}var pe=ue;for(q=W=0;q<te;++q){var Ae=he[q],me=Ae.G,ge=Ae.H,ye=0,be=1,we=0;for(F=0;5>F;++F){ce=Yr[F],me[F]=pe,ge[F]=W,!F&&0<G&&(ce+=1<<G);r:{var Qe,$e=ce,Se=Z,Pe=fe,_e=pe,Ce=W,Ee=0,Re=Se.m,Xe=v(Re,1);if(i(Pe,0,0,$e),Xe){var Be=v(Re,1)+1,Ue=v(Re,1),De=v(Re,0==Ue?1:8);Pe[De]=1,2==Be&&(Pe[De=v(Re,8)]=1);var Ie=1}else{var ze=o(19),Ne=v(Re,4)+4;if(19<Ne){Se.a=3;var Me=0;break r}for(Qe=0;Qe<Ne;++Qe)ze[Gr[Qe]]=v(Re,3);var Le=void 0,Ve=void 0,qe=Se,Fe=ze,We=$e,Ze=Pe,Ye=0,je=qe.m,Ge=8,He=a(128,O);i:for(;u(He,0,7,Fe,19);){if(v(je,1)){var Ke=2+2*v(je,3);if((Le=2+v(je,Ke))>We)break i}else Le=We;for(Ve=0;Ve<We&&Le--;){S(je);var Je=He[0+(127&w(je))];$(je,je.u+Je.g);var et=Je.value;if(16>et)Ze[Ve++]=et,0!=et&&(Ge=et);else{var tt=16==et,nt=et-16,rt=Zr[nt],it=v(je,Wr[nt])+rt;if(Ve+it>We)break i;for(var ot=tt?Ge:0;0<it--;)Ze[Ve++]=ot}}Ye=1;break i}Ye||(qe.a=3),Ie=Ye}(Ie=Ie&&!Re.h)&&(Ee=u(_e,Ce,8,Pe,$e)),Ie&&0!=Ee?Me=Ee:(Se.a=3,Me=0)}if(0==Me)break n;if(be&&1==jr[F]&&(be=0==pe[W].g),ye+=pe[W].g,W+=Me,3>=F){var at,st=fe[0];for(at=1;at<ce;++at)fe[at]>st&&(st=fe[at]);we+=st}}if(Ae.nd=be,Ae.Qb=0,be&&(Ae.qb=(me[3][ge[3]+0].value<<24|me[1][ge[1]+0].value<<16|me[2][ge[2]+0].value)>>>0,0==ye&&256>me[0][ge[0]+0].value&&(Ae.Qb=1,Ae.qb+=me[0][ge[0]+0].value<<8)),Ae.jc=!Ae.Qb&&6>we,Ae.jc){var lt,ct=Ae;for(lt=0;lt<In;++lt){var ut=lt,Ot=ct.pd[ut],dt=ct.G[0][ct.H[0]+ut];256<=dt.value?(Ot.g=dt.g+256,Ot.value=dt.value):(Ot.g=0,Ot.value=0,ut>>=ve(dt,8,Ot),ut>>=ve(ct.G[1][ct.H[1]+ut],16,Ot),ut>>=ve(ct.G[2][ct.H[2]+ut],0,Ot),ve(ct.G[3][ct.H[3]+ut],24,Ot))}}}J.vc=ee,J.Wb=te,J.Ya=he,J.yc=ue,V=1;break t}V=0}if(!(c=V)){s.a=3;break e}if(0<g){if(A.ua=1<<g,!R(A.Wa,g)){s.a=1,c=0;break e}}else A.ua=0;var ht=s,ft=d,pt=f,At=ht.s,mt=At.xc;if(ht.c=ft,ht.i=pt,At.md=D(ft,mt),At.wc=0==mt?-1:(1<<mt)-1,r){s.xb=hi;break e}if(null==(m=o(d*f))){s.a=1,c=0;break e}c=(c=xe(s,m,0,d,f,f,null))&&!p.h;break e}return c?(null!=l?l[0]=m:(t(null==m),t(r)),s.$=0,r||ke(A)):ke(A),c}function _e(e,n){var r=e.c*e.i,i=r+n+16*n;return t(e.c<=n),e.V=o(i),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Ce(e,n){var r=e.C,i=n-r,o=e.V,a=e.Ba+e.c*r;for(t(n<=e.l.o);0<i;){var s=16<i?16:i,l=e.l.ma,c=e.l.width,u=c*s,O=l.ca,d=l.tb+c*r,h=e.Ta,f=e.Ua;be(e,s,o,a),Sr(h,f,O,d,u),$e(l,r,r+s,O,d,c),i-=s,o+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function Ee(){this.ub=this.yd=this.td=this.Rb=0}function Re(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Xe(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Be(){var e;this.Yb=(function e(t,n,r){for(var i=r[n],o=0;o<i&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));o++)e(t[o],n+1,r)}(e=[],0,[3,11]),e)}function Ue(){this.jb=o(3),this.Wc=s([4,8],Be),this.Xc=s([4,17],Be)}function De(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Ie(){this.ld=this.La=this.dd=this.tc=0}function ze(){this.Na=this.la=0}function Ne(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Me(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Le(){this.uc=this.M=this.Nb=0,this.wa=Array(new Ie),this.Y=0,this.ya=Array(new Me),this.aa=0,this.l=new We}function Ve(){this.y=o(16),this.f=o(8),this.ea=o(8)}function qe(){this.cb=this.a=0,this.sc="",this.m=new y,this.Od=new Ee,this.Kc=new Re,this.ed=new De,this.Qa=new Xe,this.Ic=this.$c=this.Aa=0,this.D=new Le,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,y),this.ia=0,this.pb=a(4,Ne),this.Pa=new Ue,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ve),this.Hd=0,this.rb=Array(new ze),this.sb=0,this.wa=Array(new Ie),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Me),this.L=this.aa=0,this.gd=s([4,2],Ie),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Fe(e,t){return 0>e?0:e>t?t:e}function We(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ze(){var e=new qe;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ni||(ni=He)),e}function Ye(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function je(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ge(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Ye(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,o=n.w,a=n.ha;if(4>a)return Ye(e,7,"Truncated header.");var s=r[o+0]|r[o+1]<<8|r[o+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return Ye(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Ye(e,4,"Frame not displayable.");o+=3,a-=3;var c=e.Kc;if(l.Rb){if(7>a)return Ye(e,7,"cannot parse picture header");if(!je(r,o,a))return Ye(e,3,"Bad code word");c.c=16383&(r[o+4]<<8|r[o+3]),c.Td=r[o+4]>>6,c.i=16383&(r[o+6]<<8|r[o+5]),c.Ud=r[o+6]>>6,o+=7,a-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,n.width=c.c,n.height=c.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(l.ub>a)return Ye(e,7,"bad partition length");f(s=e.m,r,o,l.ub),o+=l.ub,a-=l.ub,l.Rb&&(c.Ld=k(s),c.Kd=k(s)),c=e.Qa;var u,O=e.Pa;if(t(null!=s),t(null!=c),c.Cb=k(s),c.Cb){if(c.Bb=k(s),k(s)){for(c.Fb=k(s),u=0;4>u;++u)c.Zb[u]=k(s)?A(s,7):0;for(u=0;4>u;++u)c.Lb[u]=k(s)?A(s,6):0}if(c.Bb)for(u=0;3>u;++u)O.jb[u]=k(s)?p(s,8):255}else c.Bb=0;if(s.Ka)return Ye(e,3,"cannot parse segment header");if((c=e.ed).zd=k(s),c.Tb=p(s,6),c.wb=p(s,3),c.Pc=k(s),c.Pc&&k(s)){for(O=0;4>O;++O)k(s)&&(c.vd[O]=A(s,6));for(O=0;4>O;++O)k(s)&&(c.od[O]=A(s,6))}if(e.L=0==c.Tb?0:c.zd?1:2,s.Ka)return Ye(e,3,"cannot parse filter header");var d=a;if(a=u=o,o=u+d,c=d,e.Xb=(1<<p(e.m,2))-1,d<3*(O=e.Xb))r=7;else{for(u+=3*O,c-=3*O,d=0;d<O;++d){var h=r[a+0]|r[a+1]<<8|r[a+2]<<16;h>c&&(h=c),f(e.Jc[+d],r,u,h),u+=h,c-=h,a+=3}f(e.Jc[+O],r,u,c),r=u<o?0:5}if(0!=r)return Ye(e,r,"cannot parse partitions");for(r=p(u=e.m,7),a=k(u)?A(u,4):0,o=k(u)?A(u,4):0,c=k(u)?A(u,4):0,O=k(u)?A(u,4):0,u=k(u)?A(u,4):0,d=e.Qa,h=0;4>h;++h){if(d.Cb){var m=d.Zb[h];d.Fb||(m+=r)}else{if(0<h){e.pb[h]=e.pb[0];continue}m=r}var g=e.pb[h];g.Sc[0]=ei[Fe(m+a,127)],g.Sc[1]=ti[Fe(m+0,127)],g.Eb[0]=2*ei[Fe(m+o,127)],g.Eb[1]=101581*ti[Fe(m+c,127)]>>16,8>g.Eb[1]&&(g.Eb[1]=8),g.Qc[0]=ei[Fe(m+O,117)],g.Qc[1]=ti[Fe(m+u,127)],g.lc=m+u}if(!l.Rb)return Ye(e,4,"Not a key frame.");for(k(s),l=e.Pa,r=0;4>r;++r){for(a=0;8>a;++a)for(o=0;3>o;++o)for(c=0;11>c;++c)O=P(s,li[r][a][o][c])?p(s,8):ai[r][a][o][c],l.Wc[r][a].Yb[o][c]=O;for(a=0;17>a;++a)l.Xc[r][a]=l.Wc[r][ci[a]]}return e.kc=k(s),e.kc&&(e.Bd=p(s,8)),e.cb=1}function He(e,t,n,r,i,o,a){var s=t[i].Yb[n];for(n=0;16>i;++i){if(!P(e,s[n+0]))return i;for(;!P(e,s[n+1]);)if(s=t[++i].Yb[0],n=0,16==i)return 16;var l=t[i+1].Yb;if(P(e,s[n+2])){var c=e,u=0;if(P(c,(d=s)[(O=n)+3]))if(P(c,d[O+6])){for(s=0,O=2*(u=P(c,d[O+8]))+(d=P(c,d[O+9+u])),u=0,d=ri[O];d[s];++s)u+=u+P(c,d[s]);u+=3+(8<<O)}else P(c,d[O+7])?(u=7+2*P(c,165),u+=P(c,145)):u=5+P(c,159);else u=P(c,d[O+4])?3+P(c,d[O+5]):2;s=l[2]}else u=1,s=l[1];l=a+ii[i],0>(c=e).b&&x(c);var O,d=c.b,h=(O=c.Ca>>1)-(c.I>>d)>>31;--c.b,c.Ca+=h,c.Ca|=1,c.I-=(O+1&h)<<d,o[l]=((u^h)-h)*r[(0<i)+0]}return 16}function Ke(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function Je(e,t,n,r,i){i=e[t+n+32*r]+(i>>3),e[t+n+32*r]=-256&i?0>i?0:255:i}function et(e,t,n,r,i,o){Je(e,t,0,n,r+i),Je(e,t,1,n,r+o),Je(e,t,2,n,r-o),Je(e,t,3,n,r-i)}function tt(e){return(20091*e>>16)+e}function nt(e,t,n,r){var i,a=0,s=o(16);for(i=0;4>i;++i){var l=e[t+0]+e[t+8],c=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-tt(e[t+12]),O=tt(e[t+4])+(35468*e[t+12]>>16);s[a+0]=l+O,s[a+1]=c+u,s[a+2]=c-u,s[a+3]=l-O,a+=4,t++}for(i=a=0;4>i;++i)l=(e=s[a+0]+4)+s[a+8],c=e-s[a+8],u=(35468*s[a+4]>>16)-tt(s[a+12]),Je(n,r,0,0,l+(O=tt(s[a+4])+(35468*s[a+12]>>16))),Je(n,r,1,0,c+u),Je(n,r,2,0,c-u),Je(n,r,3,0,l-O),a++,r+=32}function rt(e,t,n,r){var i=e[t+0]+4,o=35468*e[t+4]>>16,a=tt(e[t+4]),s=35468*e[t+1]>>16;et(n,r,0,i+a,e=tt(e[t+1]),s),et(n,r,1,i+o,e,s),et(n,r,2,i-o,e,s),et(n,r,3,i-a,e,s)}function it(e,t,n,r,i){nt(e,t,n,r),i&&nt(e,t+16,n,r+4)}function ot(e,t,n,r){or(e,t+0,n,r,1),or(e,t+32,n,r+128,1)}function at(e,t,n,r){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)Je(n,r,t,i,e)}function st(e,t,n,r){e[t+0]&&lr(e,t+0,n,r),e[t+16]&&lr(e,t+16,n,r+4),e[t+32]&&lr(e,t+32,n,r+128),e[t+48]&&lr(e,t+48,n,r+128+4)}function lt(e,t,n,r){var i,a=o(16);for(i=0;4>i;++i){var s=e[t+0+i]+e[t+12+i],l=e[t+4+i]+e[t+8+i],c=e[t+4+i]-e[t+8+i],u=e[t+0+i]-e[t+12+i];a[0+i]=s+l,a[8+i]=s-l,a[4+i]=u+c,a[12+i]=u-c}for(i=0;4>i;++i)s=(e=a[0+4*i]+3)+a[3+4*i],l=a[1+4*i]+a[2+4*i],c=a[1+4*i]-a[2+4*i],u=e-a[3+4*i],n[r+0]=s+l>>3,n[r+16]=u+c>>3,n[r+32]=s-l>>3,n[r+48]=u-c>>3,r+=64}function ct(e,t,n){var r,i=t-32,o=Rr,a=255-e[i-1];for(r=0;r<n;++r){var s,l=o,c=a+e[t-1];for(s=0;s<n;++s)e[t+s]=l[c+e[i+s]];t+=32}}function ut(e,t){ct(e,t,4)}function Ot(e,t){ct(e,t,8)}function dt(e,t){ct(e,t,16)}function ht(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function ft(e,t){var n;for(n=16;0<n;--n)i(e,t,e[t-1],16),t+=32}function pt(e,t,n){var r;for(r=0;16>r;++r)i(t,n+32*r,e,16)}function At(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];pt(r>>5,e,t)}function mt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];pt(r>>4,e,t)}function gt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];pt(r>>4,e,t)}function vt(e,t){pt(128,e,t)}function yt(e,t,n){return e+2*t+n+2>>2}function bt(e,t){var n,i=t-32;for(i=new Uint8Array([yt(e[i-1],e[i+0],e[i+1]),yt(e[i+0],e[i+1],e[i+2]),yt(e[i+1],e[i+2],e[i+3]),yt(e[i+2],e[i+3],e[i+4])]),n=0;4>n;++n)r(e,t+32*n,i,0,i.length)}function wt(e,t){var n=e[t-1],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];T(e,t+0,16843009*yt(e[t-1-32],n,r)),T(e,t+32,16843009*yt(n,r,i)),T(e,t+64,16843009*yt(r,i,o)),T(e,t+96,16843009*yt(i,o,o))}function Qt(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)i(e,t+32*n,r,4)}function $t(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+96]=yt(r,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=yt(n,r,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=yt(o,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=yt(a,o,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=yt(s,a,o),e[t+3+32]=e[t+2+0]=yt(l,s,a),e[t+3+0]=yt(c,l,s)}function St(e,t){var n=e[t+1-32],r=e[t+2-32],i=e[t+3-32],o=e[t+4-32],a=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=yt(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=yt(n,r,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=yt(r,i,o),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=yt(i,o,a),e[t+3+32]=e[t+2+64]=e[t+1+96]=yt(o,a,s),e[t+3+64]=e[t+2+96]=yt(a,s,l),e[t+3+96]=yt(s,l,l)}function xt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+0]=e[t+1+64]=o+a+1>>1,e[t+1+0]=e[t+2+64]=a+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+c+1>>1,e[t+0+96]=yt(i,r,n),e[t+0+64]=yt(r,n,o),e[t+0+32]=e[t+1+96]=yt(n,o,a),e[t+1+32]=e[t+2+96]=yt(o,a,s),e[t+2+32]=e[t+3+96]=yt(a,s,l),e[t+3+32]=yt(s,l,c)}function kt(e,t){var n=e[t+0-32],r=e[t+1-32],i=e[t+2-32],o=e[t+3-32],a=e[t+4-32],s=e[t+5-32],l=e[t+6-32],c=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+i+1>>1,e[t+2+0]=e[t+1+64]=i+o+1>>1,e[t+3+0]=e[t+2+64]=o+a+1>>1,e[t+0+32]=yt(n,r,i),e[t+1+32]=e[t+0+96]=yt(r,i,o),e[t+2+32]=e[t+1+96]=yt(i,o,a),e[t+3+32]=e[t+2+96]=yt(o,a,s),e[t+3+64]=yt(a,s,l),e[t+3+96]=yt(s,l,c)}function Pt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+i+1>>1,e[t+2+32]=e[t+0+64]=i+o+1>>1,e[t+1+0]=yt(n,r,i),e[t+3+0]=e[t+1+32]=yt(r,i,o),e[t+3+32]=e[t+1+64]=yt(i,o,o),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=o}function Tt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96],a=e[t-1-32],s=e[t+0-32],l=e[t+1-32],c=e[t+2-32];e[t+0+0]=e[t+2+32]=n+a+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=i+r+1>>1,e[t+0+96]=o+i+1>>1,e[t+3+0]=yt(s,l,c),e[t+2+0]=yt(a,s,l),e[t+1+0]=e[t+3+32]=yt(n,a,s),e[t+1+32]=e[t+3+64]=yt(r,n,a),e[t+1+64]=e[t+3+96]=yt(i,r,n),e[t+1+96]=yt(o,i,r)}function _t(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function Ct(e,t){var n;for(n=0;8>n;++n)i(e,t,e[t-1],8),t+=32}function Et(e,t,n){var r;for(r=0;8>r;++r)i(t,n+32*r,e,8)}function Rt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];Et(r>>4,e,t)}function Xt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];Et(r>>3,e,t)}function Bt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];Et(r>>3,e,t)}function Ut(e,t){Et(128,e,t)}function Dt(e,t,n){var r=e[t-n],i=e[t+0],o=3*(i-r)+Cr[1020+e[t-2*n]-e[t+n]],a=Er[112+(o+4>>3)];e[t-n]=Rr[255+r+Er[112+(o+3>>3)]],e[t+0]=Rr[255+i-a]}function It(e,t,n,r){var i=e[t+0],o=e[t+n];return Xr[255+e[t-2*n]-e[t-n]]>r||Xr[255+o-i]>r}function zt(e,t,n,r){return 4*Xr[255+e[t-n]-e[t+0]]+Xr[255+e[t-2*n]-e[t+n]]<=r}function Nt(e,t,n,r,i){var o=e[t-3*n],a=e[t-2*n],s=e[t-n],l=e[t+0],c=e[t+n],u=e[t+2*n],O=e[t+3*n];return 4*Xr[255+s-l]+Xr[255+a-c]>r?0:Xr[255+e[t-4*n]-o]<=i&&Xr[255+o-a]<=i&&Xr[255+a-s]<=i&&Xr[255+O-u]<=i&&Xr[255+u-c]<=i&&Xr[255+c-l]<=i}function Mt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)zt(e,t+r,n,i)&&Dt(e,t+r,n)}function Lt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)zt(e,t+r*n,1,i)&&Dt(e,t+r*n,1)}function Vt(e,t,n,r){var i;for(i=3;0<i;--i)Mt(e,t+=4*n,n,r)}function qt(e,t,n,r){var i;for(i=3;0<i;--i)Lt(e,t+=4,n,r)}function Ft(e,t,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(Nt(e,t,n,o,a))if(It(e,t,n,s))Dt(e,t,n);else{var l=e,c=t,u=n,O=l[c-2*u],d=l[c-u],h=l[c+0],f=l[c+u],p=l[c+2*u],A=27*(g=Cr[1020+3*(h-d)+Cr[1020+O-f]])+63>>7,m=18*g+63>>7,g=9*g+63>>7;l[c-3*u]=Rr[255+l[c-3*u]+g],l[c-2*u]=Rr[255+O+m],l[c-u]=Rr[255+d+A],l[c+0]=Rr[255+h-A],l[c+u]=Rr[255+f-m],l[c+2*u]=Rr[255+p-g]}t+=r}}function Wt(e,t,n,r,i,o,a,s){for(o=2*o+1;0<i--;){if(Nt(e,t,n,o,a))if(It(e,t,n,s))Dt(e,t,n);else{var l=e,c=t,u=n,O=l[c-u],d=l[c+0],h=l[c+u],f=Er[112+(4+(p=3*(d-O))>>3)],p=Er[112+(p+3>>3)],A=f+1>>1;l[c-2*u]=Rr[255+l[c-2*u]+A],l[c-u]=Rr[255+O+p],l[c+0]=Rr[255+d-f],l[c+u]=Rr[255+h-A]}t+=r}}function Zt(e,t,n,r,i,o){Ft(e,t,n,1,16,r,i,o)}function Yt(e,t,n,r,i,o){Ft(e,t,1,n,16,r,i,o)}function jt(e,t,n,r,i,o){var a;for(a=3;0<a;--a)Wt(e,t+=4*n,n,1,16,r,i,o)}function Gt(e,t,n,r,i,o){var a;for(a=3;0<a;--a)Wt(e,t+=4,1,n,16,r,i,o)}function Ht(e,t,n,r,i,o,a,s){Ft(e,t,i,1,8,o,a,s),Ft(n,r,i,1,8,o,a,s)}function Kt(e,t,n,r,i,o,a,s){Ft(e,t,1,i,8,o,a,s),Ft(n,r,1,i,8,o,a,s)}function Jt(e,t,n,r,i,o,a,s){Wt(e,t+4*i,i,1,8,o,a,s),Wt(n,r+4*i,i,1,8,o,a,s)}function en(e,t,n,r,i,o,a,s){Wt(e,t+4,1,i,8,o,a,s),Wt(n,r+4,1,i,8,o,a,s)}function tn(){this.ba=new ae,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function rn(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function on(){this.ua=0,this.Wa=new B,this.vb=new B,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new h,this.yc=new O}function an(){this.xb=this.a=0,this.l=new We,this.ca=new ae,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new b,this.Pb=0,this.wd=new b,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new on,this.ab=0,this.gc=a(4,rn),this.Oc=0}function sn(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new We,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ln(e,t,n,r,i,o,a){for(e=null==e?0:e[t+0],t=0;t<a;++t)i[o+t]=e+n[r+t]&255,e=i[o+t]}function cn(e,t,n,r,i,o,a){var s;if(null==e)ln(null,null,n,r,i,o,a);else for(s=0;s<a;++s)i[o+s]=e[t+s]+n[r+s]&255}function un(e,t,n,r,i,o,a){if(null==e)ln(null,null,n,r,i,o,a);else{var s,l=e[t+0],c=l,u=l;for(s=0;s<a;++s)c=u+(l=e[t+s])-c,u=n[r+s]+(-256&c?0>c?0:255:c)&255,c=l,i[o+s]=u}}function On(e,n,i,a){var s=n.width,l=n.o;if(t(null!=e&&null!=n),0>i||0>=a||i+a>l)return null;if(!e.Cc){if(null==e.ga){var c;if(e.ga=new sn,(c=null==e.ga)||(c=n.width*n.o,t(0==e.Gb.length),e.Gb=o(c),e.Uc=0,null==e.Gb?c=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,c=1),c=!c),!c){c=e.ga;var u=e.Fa,O=e.P,d=e.qc,h=e.mb,f=e.nb,p=O+1,A=d-1,g=c.l;if(t(null!=u&&null!=h&&null!=n),pi[0]=null,pi[1]=ln,pi[2]=cn,pi[3]=un,c.ca=h,c.tb=f,c.c=n.width,c.i=n.height,t(0<c.c&&0<c.i),1>=d)n=0;else if(c.$a=3&u[O+0],c.Z=u[O+0]>>2&3,c.Lc=u[O+0]>>4&3,O=u[O+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||O)n=0;else if(g.put=he,g.ac=de,g.bc=fe,g.ma=c,g.width=n.width,g.height=n.height,g.Da=n.Da,g.v=n.v,g.va=n.va,g.j=n.j,g.o=n.o,c.$a)e:{t(1==c.$a),n=Pe();t:for(;;){if(null==n){n=0;break e}if(t(null!=c),c.mc=n,n.c=c.c,n.i=c.i,n.l=c.l,n.l.ma=c,n.l.width=c.c,n.l.height=c.i,n.a=0,m(n.m,u,p,A),!Te(c.c,c.i,1,n,null)||(1==n.ab&&3==n.gc[0].hc&&Qe(n.s)?(c.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=o(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(c.ic=0,n=_e(n,c.c)),!n))break t;n=1;break e}c.mc=null,n=0}else n=A>=c.c*c.i;c=!n}if(c)return null;1!=e.ga.Lc?e.Ga=0:a=l-i}t(null!=e.ga),t(i+a<=l);e:{if(n=(u=e.ga).c,l=u.l.o,0==u.$a){if(p=e.rc,A=e.Vc,g=e.Fa,O=e.P+1+i*n,d=e.mb,h=e.nb+i*n,t(O<=e.P+e.qc),0!=u.Z)for(t(null!=pi[u.Z]),c=0;c<a;++c)pi[u.Z](p,A,g,O,d,h,n),p=d,A=h,h+=n,O+=n;else for(c=0;c<a;++c)r(d,h,g,O,n),p=d,A=h,h+=n,O+=n;e.rc=p,e.Vc=A}else{if(t(null!=u.mc),n=i+a,t(null!=(c=u.mc)),t(n<=c.i),c.C>=n)n=1;else if(u.ic||An(),u.ic){u=c.V,p=c.Ba,A=c.c;var v=c.i,y=(g=1,O=c.$/A,d=c.$%A,h=c.m,f=c.s,c.$),b=A*v,w=A*n,$=f.wc,x=y<w?ye(f,d,O):null;t(y<=b),t(n<=v),t(Qe(f));t:for(;;){for(;!h.h&&y<w;){if(d&$||(x=ye(f,d,O)),t(null!=x),S(h),256>(v=ge(x.G[0],x.H[0],h)))u[p+y]=v,++y,++d>=A&&(d=0,++O<=n&&!(O%16)&&Se(c,O));else{if(!(280>v)){g=0;break t}v=Ae(v-256,h);var k,P=ge(x.G[4],x.H[4],h);if(S(h),!(y>=(P=me(A,P=Ae(P,h)))&&b-y>=v)){g=0;break t}for(k=0;k<v;++k)u[p+y+k]=u[p+y+k-P];for(y+=v,d+=v;d>=A;)d-=A,++O<=n&&!(O%16)&&Se(c,O);y<w&&d&$&&(x=ye(f,d,O))}t(h.h==Q(h))}Se(c,O>n?n:O);break t}!g||h.h&&y<b?(g=0,c.a=h.h?5:3):c.$=y,n=g}else n=xe(c,c.V,c.Ba,c.c,c.i,n,Ce);if(!n){a=0;break e}}i+a>=l&&(e.Cc=1),a=1}if(!a)return null;if(e.Cc&&(null!=(a=e.ga)&&(a.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*s}function dn(e,t,n,r,i,o){for(;0<i--;){var a,s=e,l=t+(n?1:0),c=e,u=t+(n?0:3);for(a=0;a<r;++a){var O=c[u+4*a];255!=O&&(O*=32897,s[l+4*a+0]=s[l+4*a+0]*O>>23,s[l+4*a+1]=s[l+4*a+1]*O>>23,s[l+4*a+2]=s[l+4*a+2]*O>>23)}t+=o}}function hn(e,t,n,r,i){for(;0<r--;){var o;for(o=0;o<n;++o){var a=e[t+2*o+0],s=15&(c=e[t+2*o+1]),l=4369*s,c=(240&c|c>>4)*l>>16;e[t+2*o+0]=(240&a|a>>4)*l>>16&240|(15&a|a<<4)*l>>16>>4&15,e[t+2*o+1]=240&c|s}t+=i}}function fn(e,t,n,r,i,o,a,s){var l,c,u=255;for(c=0;c<i;++c){for(l=0;l<r;++l){var O=e[t+l];o[a+4*l]=O,u&=O}t+=n,a+=s}return 255!=u}function pn(e,t,n,r,i){var o;for(o=0;o<i;++o)n[r+o]=e[t+o]>>8}function An(){wr=dn,Qr=hn,$r=fn,Sr=pn}function mn(n,r,i){e[n]=function(e,n,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v){var y,b=v-1>>1,w=s[l+0]|c[u+0]<<16,Q=O[d+0]|h[f+0]<<16;t(null!=e);var $=3*w+Q+131074>>2;for(r(e[n+0],255&$,$>>16,p,A),null!=o&&($=3*Q+w+131074>>2,r(o[a+0],255&$,$>>16,m,g)),y=1;y<=b;++y){var S=s[l+y]|c[u+y]<<16,x=O[d+y]|h[f+y]<<16,k=w+S+Q+x+524296,P=k+2*(S+Q)>>3;$=P+w>>1,w=(k=k+2*(w+x)>>3)+S>>1,r(e[n+2*y-1],255&$,$>>16,p,A+(2*y-1)*i),r(e[n+2*y-0],255&w,w>>16,p,A+(2*y-0)*i),null!=o&&($=k+Q>>1,w=P+x>>1,r(o[a+2*y-1],255&$,$>>16,m,g+(2*y-1)*i),r(o[a+2*y+0],255&w,w>>16,m,g+(2*y+0)*i)),w=S,Q=x}1&v||($=3*w+Q+131074>>2,r(e[n+v-1],255&$,$>>16,p,A+(v-1)*i),null!=o&&($=3*Q+w+131074>>2,r(o[a+v-1],255&$,$>>16,m,g+(v-1)*i)))}}function gn(){Ai[Br]=mi,Ai[Ur]=vi,Ai[Dr]=gi,Ai[Ir]=yi,Ai[zr]=bi,Ai[Nr]=wi,Ai[Mr]=Qi,Ai[Lr]=vi,Ai[Vr]=yi,Ai[qr]=bi,Ai[Fr]=wi}function vn(e){return-16384&e?0>e?0:255:e>>Pi}function yn(e,t){return vn((19077*e>>8)+(26149*t>>8)-14234)}function bn(e,t,n){return vn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function wn(e,t){return vn((19077*e>>8)+(33050*t>>8)-17685)}function Qn(e,t,n,r,i){r[i+0]=yn(e,n),r[i+1]=bn(e,t,n),r[i+2]=wn(e,t)}function $n(e,t,n,r,i){r[i+0]=wn(e,t),r[i+1]=bn(e,t,n),r[i+2]=yn(e,n)}function Sn(e,t,n,r,i){var o=bn(e,t,n);t=o<<3&224|wn(e,t)>>3,r[i+0]=248&yn(e,n)|o>>5,r[i+1]=t}function xn(e,t,n,r,i){var o=240&wn(e,t)|15;r[i+0]=240&yn(e,n)|bn(e,t,n)>>4,r[i+1]=o}function kn(e,t,n,r,i){r[i+0]=255,Qn(e,t,n,r,i+1)}function Pn(e,t,n,r,i){$n(e,t,n,r,i),r[i+3]=255}function Tn(e,t,n,r,i){Qn(e,t,n,r,i),r[i+3]=255}function _n(t,n,r){e[t]=function(e,t,i,o,a,s,l,c,u){for(var O=c+(-2&u)*r;c!=O;)n(e[t+0],i[o+0],a[s+0],l,c),n(e[t+1],i[o+0],a[s+0],l,c+r),t+=2,++o,++s,c+=2*r;1&u&&n(e[t+0],i[o+0],a[s+0],l,c)}}function Cn(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function En(e,t,n,r,i){switch(e>>>30){case 3:or(t,n,r,i,0);break;case 2:ar(t,n,r,i);break;case 1:lr(t,n,r,i)}}function Rn(e,t){var n,o,a=t.M,s=t.Nb,l=e.oc,c=e.pc+40,u=e.oc,O=e.pc+584,d=e.oc,h=e.pc+600;for(n=0;16>n;++n)l[c+32*n-1]=129;for(n=0;8>n;++n)u[O+32*n-1]=129,d[h+32*n-1]=129;for(0<a?l[c-1-32]=u[O-1-32]=d[h-1-32]=129:(i(l,c-32-1,127,21),i(u,O-32-1,127,9),i(d,h-32-1,127,9)),o=0;o<e.za;++o){var f=t.ya[t.aa+o];if(0<o){for(n=-1;16>n;++n)r(l,c+32*n-4,l,c+32*n+12,4);for(n=-1;8>n;++n)r(u,O+32*n-4,u,O+32*n+4,4),r(d,h+32*n-4,d,h+32*n+4,4)}var p=e.Gd,A=e.Hd+o,m=f.ad,g=f.Hc;if(0<a&&(r(l,c-32,p[A].y,0,16),r(u,O-32,p[A].f,0,8),r(d,h-32,p[A].ea,0,8)),f.Za){var v=l,y=c-32+16;for(0<a&&(o>=e.za-1?i(v,y,p[A].y[15],4):r(v,y,p[A+1].y,0,4)),n=0;4>n;n++)v[y+128+n]=v[y+256+n]=v[y+384+n]=v[y+0+n];for(n=0;16>n;++n,g<<=2)v=l,y=c+Ui[n],Oi[f.Ob[n]](v,y),En(g,m,16*+n,v,y)}else if(v=Cn(o,a,f.Ob[0]),ui[v](l,c),0!=g)for(n=0;16>n;++n,g<<=2)En(g,m,16*+n,l,c+Ui[n]);for(n=f.Gc,v=Cn(o,a,f.Dd),di[v](u,O),di[v](d,h),g=m,v=u,y=O,255&(f=0|n)&&(170&f?sr(g,256,v,y):cr(g,256,v,y)),f=d,g=h,255&(n>>=8)&&(170&n?sr(m,320,f,g):cr(m,320,f,g)),a<e.Ub-1&&(r(p[A].y,0,l,c+480,16),r(p[A].f,0,u,O+224,8),r(p[A].ea,0,d,h+224,8)),n=8*s*e.B,p=e.sa,A=e.ta+16*o+16*s*e.R,m=e.qa,f=e.ra+8*o+n,g=e.Ha,v=e.Ia+8*o+n,n=0;16>n;++n)r(p,A+n*e.R,l,c+32*n,16);for(n=0;8>n;++n)r(m,f+n*e.B,u,O+32*n,8),r(g,v+n*e.B,d,h+32*n,8)}}function Xn(e,r,i,o,a,s,l,c,u){var O=[0],d=[0],h=0,f=null!=u?u.kd:0,p=u??new nn;if(null==e||12>i)return 7;p.data=e,p.w=r,p.ha=i,r=[r],i=[i],p.gb=[p.gb];e:{var A=r,g=i,v=p.gb;if(t(null!=e),t(null!=g),t(null!=v),v[0]=0,12<=g[0]&&!n(e,A[0],"RIFF")){if(n(e,A[0]+8,"WEBP")){v=3;break e}var y=E(e,A[0]+4);if(12>y||4294967286<y){v=3;break e}if(f&&y>g[0]-8){v=7;break e}v[0]=y,A[0]+=12,g[0]-=12}v=0}if(0!=v)return v;for(y=0<p.gb[0],i=i[0];;){e:{var w=e;g=r,v=i;var Q=O,$=d,S=A=[0];if((P=h=[h])[0]=0,8>v[0])v=7;else{if(!n(w,g[0],"VP8X")){if(10!=E(w,g[0]+4)){v=3;break e}if(18>v[0]){v=7;break e}var x=E(w,g[0]+8),k=1+C(w,g[0]+12);if(2147483648<=k*(w=1+C(w,g[0]+15))){v=3;break e}null!=S&&(S[0]=x),null!=Q&&(Q[0]=k),null!=$&&($[0]=w),g[0]+=18,v[0]-=18,P[0]=1}v=0}}if(h=h[0],A=A[0],0!=v)return v;if(g=!!(2&A),!y&&h)return 3;if(null!=s&&(s[0]=!!(16&A)),null!=l&&(l[0]=g),null!=c&&(c[0]=0),l=O[0],A=d[0],h&&g&&null==u){v=0;break}if(4>i){v=7;break}if(y&&h||!y&&!h&&!n(e,r[0],"ALPH")){i=[i],p.na=[p.na],p.P=[p.P],p.Sa=[p.Sa];e:{x=e,v=r,y=i;var P=p.gb;Q=p.na,$=p.P,S=p.Sa,k=22,t(null!=x),t(null!=y),w=v[0];var T=y[0];for(t(null!=Q),t(null!=S),Q[0]=null,$[0]=null,S[0]=0;;){if(v[0]=w,y[0]=T,8>T){v=7;break e}var _=E(x,w+4);if(4294967286<_){v=3;break e}var R=8+_+1&-2;if(k+=R,0<P&&k>P){v=3;break e}if(!n(x,w,"VP8 ")||!n(x,w,"VP8L")){v=0;break e}if(T[0]<R){v=7;break e}n(x,w,"ALPH")||(Q[0]=x,$[0]=w+8,S[0]=_),w+=R,T-=R}}if(i=i[0],p.na=p.na[0],p.P=p.P[0],p.Sa=p.Sa[0],0!=v)break}i=[i],p.Ja=[p.Ja],p.xa=[p.xa];e:if(P=e,v=r,y=i,Q=p.gb[0],$=p.Ja,S=p.xa,x=v[0],w=!n(P,x,"VP8 "),k=!n(P,x,"VP8L"),t(null!=P),t(null!=y),t(null!=$),t(null!=S),8>y[0])v=7;else{if(w||k){if(P=E(P,x+4),12<=Q&&P>Q-12){v=3;break e}if(f&&P>y[0]-8){v=7;break e}$[0]=P,v[0]+=8,y[0]-=8,S[0]=k}else S[0]=5<=y[0]&&47==P[x+0]&&!(P[x+4]>>5),$[0]=y[0];v=0}if(i=i[0],p.Ja=p.Ja[0],p.xa=p.xa[0],r=r[0],0!=v)break;if(4294967286<p.Ja)return 3;if(null==c||g||(c[0]=p.xa?2:1),l=[l],A=[A],p.xa){if(5>i){v=7;break}c=l,f=A,g=s,null==e||5>i?e=0:5<=i&&47==e[r+0]&&!(e[r+4]>>5)?(y=[0],P=[0],Q=[0],m($=new b,e,r,i),pe($,y,P,Q)?(null!=c&&(c[0]=y[0]),null!=f&&(f[0]=P[0]),null!=g&&(g[0]=Q[0]),e=1):e=0):e=0}else{if(10>i){v=7;break}c=A,null==e||10>i||!je(e,r+3,i-3)?e=0:(f=e[r+0]|e[r+1]<<8|e[r+2]<<16,g=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&f||3<(f>>1&7)||!(f>>4&1)||f>>5>=p.Ja||!g||!e?e=0:(l&&(l[0]=g),c&&(c[0]=e),e=1))}if(!e||(l=l[0],A=A[0],h&&(O[0]!=l||d[0]!=A)))return 3;null!=u&&(u[0]=p,u.offset=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-i));break}return 0==v||7==v&&h&&null==u?(null!=s&&(s[0]|=null!=p.na&&0<p.na.length),null!=o&&(o[0]=l),null!=a&&(a[0]=A),0):v}function Bn(e,t,n){var r=t.width,i=t.height,o=0,a=0,s=r,l=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,o=e.v,a=e.j,11>n||(o&=-2,a&=-2),0>o||0>a||0>=s||0>=l||o+s>r||a+l>i))return 0;if(t.v=o,t.j=a,t.va=o+s,t.o=a+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!U(s,l,n=[e.ib],o=[e.hb]))return 0;t.ib=n[0],t.hb=o[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*i/4,t.Kb=0),1}function Un(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Dn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var i=n.cd,a=n.bd,s=-2&n.v,l=-2&n.j;if(0>s||0>l||0>=i||0>=a||s+i>e||l+a>t)return 2;e=i,t=a}if(n.da){if(!U(e,t,i=[n.ib],a=[n.hb]))return 2;e=i[0],t=a[0]}}r.width=e,r.height=t;e:{var c=r.width,u=r.height;if(e=r.S,0>=c||0>=u||!(e>=Br&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=a=i=t=0;var O=(l=c*zi[e])*u;if(11>e||(a=(u+1)/2*(t=(c+1)/2),12==e&&(s=(i=c)*u)),null==(u=o(O+2*a+s))){e=1;break e}r.sd=u,11>e?((c=r.f.RGBA).eb=u,c.fb=0,c.A=l,c.size=O):((c=r.f.kb).y=u,c.O=0,c.fa=l,c.Fd=O,c.f=u,c.N=0+O,c.Ab=t,c.Cd=a,c.ea=u,c.W=0+O+a,c.Db=t,c.Ed=a,12==e&&(c.F=u,c.J=0+O+2*a),c.Tc=s,c.lb=i)}if(t=1,i=r.S,a=r.width,s=r.height,i>=Br&&13>i)if(11>i)e=r.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+a<=e.size,t&=l>=a*zi[i],t&=null!=e.eb;else{e=r.f.kb,l=(a+1)/2,O=(s+1)/2,c=Math.abs(e.fa),u=Math.abs(e.Ab);var d=Math.abs(e.Db),h=Math.abs(e.lb),f=h*(s-1)+a;t&=c*(s-1)+a<=e.Fd,t&=u*(O-1)+l<=e.Cd,t=(t&=d*(O-1)+l<=e.Ed)&c>=a&u>=l&d>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==i&&(t&=h>=a,t&=f<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Un(r)),e}var In=64,zn=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Nn=24,Mn=32,Ln=8,Vn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];z("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return M(M(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return M(e,t[n-1])},e.Predictor7=function(e,t,n){return M(e,t[n+0])},e.Predictor8=function(e,t,n){return M(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return M(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return M(M(e,t[n-1]),M(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=q(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+q(r>>16&255,e>>16&255,t>>16&255)+q(r>>8&255,e>>8&255,t>>8&255)+q(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(L((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|L((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|L((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|L((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(V((e=M(e,t[n+0]))>>24&255,r>>24&255)<<24|V(e>>16&255,r>>16&255)<<16|V(e>>8&255,r>>8&255)<<8|V(255&e,255&r))>>>0};var qn=e.PredictorAdd0;e.PredictorAdd1=F,z("Predictor2","PredictorAdd2"),z("Predictor3","PredictorAdd3"),z("Predictor4","PredictorAdd4"),z("Predictor5","PredictorAdd5"),z("Predictor6","PredictorAdd6"),z("Predictor7","PredictorAdd7"),z("Predictor8","PredictorAdd8"),z("Predictor9","PredictorAdd9"),z("Predictor10","PredictorAdd10"),z("Predictor11","PredictorAdd11"),z("Predictor12","PredictorAdd12"),z("Predictor13","PredictorAdd13");var Fn=e.PredictorAdd2;j("ColorIndexInverseTransform","MapARGB","32b",function(e){return e>>8&255},function(e){return e}),j("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(e){return e},function(e){return e>>8&255});var Wn,Zn=e.ColorIndexInverseTransform,Yn=e.MapARGB,jn=e.VP8LColorIndexInverseTransformAlpha,Gn=e.MapAlpha,Hn=e.VP8LPredictorsAdd=[];Hn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Kn,Jn,er,tr,nr,rr,ir,or,ar,sr,lr,cr,ur,Or,dr,hr,fr,pr,Ar,mr,gr,vr,yr,br,wr,Qr,$r,Sr,xr=o(511),kr=o(2041),Pr=o(225),Tr=o(767),_r=0,Cr=kr,Er=Pr,Rr=Tr,Xr=xr,Br=0,Ur=1,Dr=2,Ir=3,zr=4,Nr=5,Mr=6,Lr=7,Vr=8,qr=9,Fr=10,Wr=[2,3,7],Zr=[3,3,11],Yr=[280,256,256,256,40],jr=[0,1,1,1,0],Gr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Hr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Kr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Jr=8,ei=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ti=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ri=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ii=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oi=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ai=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],si=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],li=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ci=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ui=[],Oi=[],di=[],hi=1,fi=2,pi=[],Ai=[];mn("UpsampleRgbLinePair",Qn,3),mn("UpsampleBgrLinePair",$n,3),mn("UpsampleRgbaLinePair",Tn,4),mn("UpsampleBgraLinePair",Pn,4),mn("UpsampleArgbLinePair",kn,4),mn("UpsampleRgba4444LinePair",xn,2),mn("UpsampleRgb565LinePair",Sn,2);var mi=e.UpsampleRgbLinePair,gi=e.UpsampleBgrLinePair,vi=e.UpsampleRgbaLinePair,yi=e.UpsampleBgraLinePair,bi=e.UpsampleArgbLinePair,wi=e.UpsampleRgba4444LinePair,Qi=e.UpsampleRgb565LinePair,$i=16,Si=1<<$i-1,xi=-227,ki=482,Pi=6,Ti=0,_i=o(256),Ci=o(256),Ei=o(256),Ri=o(256),Xi=o(ki-xi),Bi=o(ki-xi);_n("YuvToRgbRow",Qn,3),_n("YuvToBgrRow",$n,3),_n("YuvToRgbaRow",Tn,4),_n("YuvToBgraRow",Pn,4),_n("YuvToArgbRow",kn,4),_n("YuvToRgba4444Row",xn,2),_n("YuvToRgb565Row",Sn,2);var Ui=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Di=[0,2,8],Ii=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(e,n,s,l,c){var u=Ur,O=new tn,d=new ae;O.ba=d,d.S=u,d.width=[d.width],d.height=[d.height];var h=d.width,f=d.height,p=new se;if(null==p||null==e)var A=2;else t(null!=p),A=Xn(e,n,s,p.width,p.height,p.Pd,p.Qd,p.format,null);if(0!=A?h=0:(null!=h&&(h[0]=p.width[0]),null!=f&&(f[0]=p.height[0]),h=1),h){d.width=d.width[0],d.height=d.height[0],null!=l&&(l[0]=d.width),null!=c&&(c[0]=d.height);e:{if(l=new We,(c=new nn).data=e,c.w=n,c.ha=s,c.kd=1,n=[0],t(null!=c),(0==(e=Xn(c.data,c.w,c.ha,null,null,null,n,null,c))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=O),l.data=c.data,l.w=c.w+c.offset,l.ha=c.ha-c.offset,l.put=he,l.ac=de,l.bc=fe,l.ma=O,c.xa){if(null==(e=Pe())){O=1;break e}if(function(e,n){var r=[0],i=[0],o=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,m(e.m,n.data,n.w,n.ha),!pe(e.m,r,i,o)){e.a=3;break t}if(e.xb=fi,n.width=r[0],n.height=i[0],!Te(r[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,l)){if(l=0==(n=Dn(l.width,l.height,O.Oa,O.ba))){t:{l=e;n:for(;;){if(null==l){l=0;break t}if(t(null!=l.s.yc),t(null!=l.s.Ya),t(0<l.s.Wb),t(null!=(s=l.l)),t(null!=(c=s.ma)),0!=l.xb){if(l.ca=c.ba,l.tb=c.tb,t(null!=l.ca),!Bn(c.Oa,s,Ir)){l.a=2;break n}if(!_e(l,s.width)||s.da)break n;if((s.da||re(l.ca.S))&&An(),11>l.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=l.ca.f.kb.F&&An()),l.Pb&&0<l.s.ua&&null==l.s.vb.X&&!R(l.s.vb,l.s.Wa.Xa)){l.a=1;break n}l.xb=0}if(!xe(l,l.V,l.Ba,l.c,l.i,s.o,we))break n;c.Dc=l.Ma,l=1;break t}t(0!=l.a),l=0}l=!l}l&&(n=e.a)}else n=e.a}else{if(null==(e=new Ze)){O=1;break e}if(e.Fa=c.na,e.P=c.P,e.qc=c.Sa,Ge(e,l)){if(0==(n=Dn(l.width,l.height,O.Oa,O.ba))){if(e.Aa=0,s=O.Oa,t(null!=(c=e)),null!=s){if(0<(h=0>(h=s.Md)?0:100<h?255:255*h/100)){for(f=p=0;4>f;++f)12>(A=c.pb[f]).lc&&(A.ia=h*Ii[0>A.lc?0:A.lc]>>3),p|=A.ia;p&&(alert("todo:VP8InitRandom"),c.ia=1)}c.Ga=s.Id,100<c.Ga?c.Ga=100:0>c.Ga&&(c.Ga=0)}(function(e,n){if(null==e)return 0;if(null==n)return Ye(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ge(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=Di[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var c;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=l.Tb)}else u=l.Tb;for(c=0;1>=c;++c){var O=e.gd[s][c],d=u;if(l.Pc&&(d+=l.vd[0],c&&(d+=l.od[0])),0<(d=0>d?0:63<d?63:d)){var h=d;0<l.wb&&(h=4<l.wb?h>>2:h>>1)>9-l.wb&&(h=9-l.wb),1>h&&(h=1),O.dd=h,O.tc=2*d+h,O.ld=40<=d?2:15<=d?1:0}else O.tc=0;O.La=c}}}s=0}else Ye(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=1);t:{s=e.Ic,l=4*(h=e.za);var f=32*h,p=h+1,A=0<e.L?h*(0<e.Aa?2:1):0,m=(2==e.Aa?2:1)*h;if((O=l+832+(c=3*(16*s+Di[e.L])/2*f)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=O)s=0;else{if(O>e.Vb){if(e.Vb=0,e.Ec=o(O),e.Fc=0,null==e.Ec){s=Ye(e,1,"no memory during frame initialization.");break t}e.Vb=O}O=e.Ec,d=e.Fc,e.Ac=O,e.Bc=d,d+=l,e.Gd=a(f,Ve),e.Hd=0,e.rb=a(p+1,ze),e.sb=1,e.wa=A?a(A,Ie):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=h),t(!0),e.oc=O,e.pc=d,d+=832,e.ya=a(m,Me),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=h),e.R=16*h,e.B=8*h,h=(f=Di[e.L])*e.R,f=f/2*e.B,e.sa=O,e.ta=d+h,e.qa=e.sa,e.ra=e.ta+16*s*e.R+f,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+f,e.$c=0,d+=c,e.mb=u?O:null,e.nb=u?d:null,t(d+u<=e.Fc+e.Vb),Ke(e),i(e.Ac,e.Bc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(u,128)?1:3:P(u,163)?2:0,p.Ob[0]=v,i(d,h,v,4),i(f,0,v,4);p.Dd=P(u,142)?P(u,114)?P(u,183)?1:3:2:0}if(c.m.Ka)return Ye(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(c=s,u=(l=e).rb[l.sb-1],d=l.rb[l.sb+l.ja],a=l.ya[l.aa+l.ja],h=l.kc?a.Ad:0)u.la=d.la=0,a.Za||(u.Na=d.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var b,w;if(u=d,d=c,h=l.Pa.Xc,f=l.ya[l.aa+l.ja],p=l.pb[f.$b],O=f.ad,A=0,m=l.rb[l.sb-1],v=g=0,i(O,A,0,384),f.Za)var Q=0,$=h[3];else{y=o(16);var S=u.Na+m.Na;if(S=ni(d,h[1],S,p.Eb,0,y,0),u.Na=m.Na=(0<S)+0,1<S)ir(y,0,O,A);else{var x=y[0]+3>>3;for(y=0;256>y;y+=16)O[A+y]=x}Q=1,$=h[0]}var k=15&u.la,T=15&m.la;for(y=0;4>y;++y){var _=1&T;for(x=w=0;4>x;++x)k=k>>1|(_=(S=ni(d,$,S=_+(1&k),p.Sc,Q,O,A))>Q)<<7,w=w<<2|(3<S?3:1<S?2:0!=O[A+0]),A+=16;k>>=4,T=T>>1|_<<7,g=(g<<8|w)>>>0}for($=k,Q=T>>4,b=0;4>b;b+=2){for(w=0,k=u.la>>4+b,T=m.la>>4+b,y=0;2>y;++y){for(_=1&T,x=0;2>x;++x)S=_+(1&k),k=k>>1|(_=0<(S=ni(d,h[2],S,p.Qc,0,O,A)))<<3,w=w<<2|(3<S?3:1<S?2:0!=O[A+0]),A+=16;k>>=2,T=T>>1|_<<5}v|=w<<4*b,$|=k<<4<<b,Q|=(240&T)<<b}u.la=$,m.la=Q,f.Hc=g,f.Gc=v,f.ia=43690&v?0:p.ia,h=!(g|v)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[a.$b][a.Za],l.wa[l.Y+l.ja].La|=!h),c.Ka)return Ye(e,7,"Premature end-of-file encountered.")}if(Ke(e),l=n,c=1,a=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(a.M=s.M,a.uc=u,Rn(s,a),c=1,a=(w=s.D).Nb,u=(v=Di[s.L])*s.R,d=v/2*s.B,y=16*a*s.R,x=8*a*s.B,h=s.sa,f=s.ta-u+y,p=s.qa,O=s.ra-d+x,A=s.Ha,m=s.Ia-d+x,T=0==(k=w.M),g=k>=s.Va-1,2==s.Aa&&Rn(s,w),w.uc)for(_=(S=s).D.M,t(S.D.uc),w=S.yb;w<S.Hb;++w){Q=w,$=_;var C=(E=(M=S).D).Nb;b=M.R;var E=E.wa[E.Y+Q],R=M.sa,X=M.ta+16*C*b+16*Q,B=E.dd,U=E.tc;if(0!=U)if(t(3<=U),1==M.L)0<Q&&vr(R,X,b,U+4),E.La&&br(R,X,b,U),0<$&&gr(R,X,b,U+4),E.La&&yr(R,X,b,U);else{var D=M.B,I=M.qa,z=M.ra+8*C*D+8*Q,N=M.Ha,M=M.Ia+8*C*D+8*Q;C=E.ld,0<Q&&(Or(R,X,b,U+4,B,C),hr(I,z,N,M,D,U+4,B,C)),E.La&&(pr(R,X,b,U,B,C),mr(I,z,N,M,D,U,B,C)),0<$&&(ur(R,X,b,U+4,B,C),dr(I,z,N,M,D,U+4,B,C)),E.La&&(fr(R,X,b,U,B,C),Ar(I,z,N,M,D,U,B,C))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(w=16*k,k=16*(k+1),T?(l.y=s.sa,l.O=s.ta+y,l.f=s.qa,l.N=s.ra+x,l.ea=s.Ha,l.W=s.Ia+x):(w-=v,l.y=h,l.O=f,l.f=p,l.N=O,l.ea=A,l.W=m),g||(k-=v),k>l.o&&(k=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&w<k&&(l.J=On(s,l,w,k-w),l.F=s.mb,null==l.F&&0==l.F.length)){c=Ye(s,3,"Could not decode alpha data.");break t}w<l.j&&(v=l.j-w,w=l.j,t(!(1&v)),l.O+=s.R*v,l.N+=s.B*(v>>1),l.W+=s.B*(v>>1),null!=l.F&&(l.J+=l.width*v)),w<k&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=w-l.j,l.U=l.va-l.v,l.T=k-w,c=l.put(l))}a+1!=s.Ic||g||(r(s.sa,s.ta-u,h,f+16*s.R,u),r(s.qa,s.ra-d,p,O+8*s.B,d),r(s.Ha,s.Ia-d,A,m+8*s.B,d))}if(!c)return Ye(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0})(e,l)||(n=e.a)}}else n=e.a}0==n&&null!=O.Oa&&O.Oa.fd&&(n=Un(O.ba))}O=n}u=0!=O?null:11>u?d.f.RGBA.eb:d.f.kb.y}else u=null;return u};var zi=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function u(e,t){return e[t+0]|e[t+1]<<8}function O(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function d(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var h=[0],f=[0],p=[],A=new l,m=e,g=function(e,t){var n={},r=0,i=!1,o=0,a=0;if(n.frames=[],!
61 /** @license
62 * Copyright (c) 2017 Dominik Homberger
63 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
64 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
65 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
66 https://webpjs.appspot.com
67 WebPRiffParser dominikhlbg@gmail.com
68 */
69 function(e,t){for(var n=0;n<4;n++)if(e[t+n]!="RIFF".charCodeAt(n))return!0;return!1}(e,t)){for(d(e,t+=4),t+=8;t<e.length;){var s=c(e,t),l=d(e,t+=4);t+=4;var h=l+(1&l);switch(s){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(A=n.frames[r]).src_off=i?a:t-8,A.src_size=o+l+8,r++,i&&(i=!1,o=0,a=0);break;case"VP8X":(A=n.header={}).feature_flags=e[t];var f=t+4;A.canvas_width=1+O(e,f),f+=3,A.canvas_height=1+O(e,f),f+=3;break;case"ALPH":i=!0,o=h+8,a=t-8;break;case"ANIM":(A=n.header).bgcolor=d(e,t),f=t+4,A.loop_count=u(e,f),f+=2;break;case"ANMF":var p,A;(A=n.frames[r]={}).offset_x=2*O(e,t),t+=3,A.offset_y=2*O(e,t),t+=3,A.width=1+O(e,t),t+=3,A.height=1+O(e,t),t+=3,A.duration=O(e,t),t+=3,p=e[t++],A.dispose=1&p,A.blend=p>>1&1}"ANMF"!=s&&(t+=h)}return n}}(m,0);g.response=m,g.rgbaoutput=!0,g.dataurl=!1;var v=g.header?g.header:null,y=g.frames?g.frames:null;if(v){v.loop_counter=v.loop_count,h=[v.canvas_height],f=[v.canvas_width];for(var b=0;b<y.length&&0!=y[b].blend;b++);}var w=y[0],Q=A.WebPDecodeRGBA(m,w.src_off,w.src_size,f,h);w.rgba=Q,w.imgwidth=f[0],w.imgheight=h[0];for(var $=0;$<f[0]*h[0]*4;$++)p[$]=Q[$];return this.width=f,this.height=h,this.data=p,this}function qoe(){var e,t=this.internal.__metadata__.metadata,n=unescape(encodeURIComponent(t));e=this.internal.__metadata__.rawXml?n:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+e.length+" >>"),this.internal.write("stream"),this.internal.write(e),this.internal.write("endstream"),this.internal.write("endobj")}function Foe(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(e){var t,n,r,i,o,a,s,l,c,u=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new l,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new a,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new a,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new O(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,a=this.internal.Point,s=this.internal.Rectangle,l=this.internal.Matrix,c=new u}]);var O=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=!!e}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=!!e}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}}),Object.defineProperty(this,"margin",{get:function(){return c.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),c.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return c},set:function(e){e instanceof u&&(c=e)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(e){c.path=e}});var O=[];Object.defineProperty(this,"ctxStack",{get:function(){return O},set:function(e){O=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=d(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=d(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var h=null,f=null,p=null;Object.defineProperty(this,"fontFaces",{get:function(){return p},set:function(e){h=null,f=null,p=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(e))){var n=t[1];t[2];var r=t[3],i=t[4];t[5];var o=t[6],a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i=Math.floor("px"===a?parseFloat(i)*this.pdf.internal.scaleFactor:"em"===a?parseFloat(i)*this.pdf.getFontSize():parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(e){var t,n,r=[],i=e.trim();if(""===i)return koe;if(i in moe)return[moe[i]];for(;""!==i;){switch(n=null,t=(i=voe(i)).charAt(0)){case'"':case"'":n=yoe(i.substring(1),t);break;default:n=boe(i)}if(null===n||(r.push(n[0]),""!==(i=voe(n[1]))&&","!==i.charAt(0)))return koe;i=i.replace(/^,/,"")}return r}(o);if(this.fontFaces){var l=function(e,t){var n=e.getFontList(),r=JSON.stringify(n);if(null===h||f!==r){var i=function(e){var t=[];return Object.keys(e).forEach(function(n){e[n].forEach(function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))})}),t}(n);h=function(e){for(var t={},n=0;n<e.length;++n){var r=foe(e[n]),i=r.family,o=r.stretch,a=r.style,s=r.weight;t[i]=t[i]||{},t[i][o]=t[i][o]||{},t[i][o][a]=t[i][o][a]||{},t[i][o][a][s]=r}return t}(i.concat(t)),f=r}return h}(this.pdf,this.fontFaces),c=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},Aoe,n.genericFontFamilies||{}),o=null,a=null,s=0;s<t.length;++s)if(i[(o=foe(t[s])).family]&&(o.family=i[o.family]),e.hasOwnProperty(o.family)){a=e[o.family];break}if(!(a=a||e[r]))throw new Error("Could not find a font-family for the rule '"+goe(o)+"' and default family '"+r+"'.");if(a=function(e,t){if(t[e])return t[e];var n=Ooe[e],r=n<=Ooe.normal?-1:1,i=poe(t,uoe,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+e);return i}(o.stretch,a),a=function(e,t){if(t[e])return t[e];for(var n=coe[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(o.style,a),!(a=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=hoe[e],r=poe(t,doe,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(o.weight,a)))throw new Error("Failed to resolve a font for the rule '"+goe(o)+"'.");return a}(l,s.map(function(e){return{family:e,stretch:"normal",weight:r,style:n}}));this.pdf.setFont(c.ref.name,c.ref.style)}else{var u="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(u="bold"),"italic"===n&&(u+="italic"),0===u.length&&(u="normal");for(var O="",d={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},p=0;p<s.length;p++){if(void 0!==this.pdf.internal.getFont(s[p],u,{noFallback:!0,disableWarning:!0})){O=s[p];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(s[p],"bold",{noFallback:!0,disableWarning:!0}))O=s[p],u="bold";else if(void 0!==this.pdf.internal.getFont(s[p],"normal",{noFallback:!0,disableWarning:!0})){O=s[p],u="normal";break}}if(""===O)for(var A=0;A<s.length;A++)if(d[s[A]]){O=d[s[A]];break}O=""===O?"Times":O,this.pdf.setFont(O,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,D.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,D.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=!!e}})};O.prototype.setLineDash=function(e){this.lineDash=e},O.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},O.prototype.fill=function(){y.call(this,"fill",!1)},O.prototype.stroke=function(){y.call(this,"stroke",!1)},O.prototype.beginPath=function(){this.path=[{type:"begin"}]},O.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw Vre.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(e,t)},O.prototype.closePath=function(){var e=new a(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===Bee(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new a(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new a(e.x,e.y)},O.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw Vre.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(n.x,n.y)},O.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),y.call(this,null,!0)},O.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw Vre.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new a(n,r)),o=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new a(i.x,i.y)},O.prototype.bezierCurveTo=function(e,t,n,r,i,o){if(isNaN(i)||isNaN(o)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Vre.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var s=this.ctx.transform.applyToPoint(new a(i,o)),l=this.ctx.transform.applyToPoint(new a(e,t)),c=this.ctx.transform.applyToPoint(new a(n,r));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:c.x,y2:c.y,x:s.x,y:s.y}),this.ctx.lastPoint=new a(s.x,s.y)},O.prototype.arc=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i))throw Vre.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(o=!!o,!this.ctx.transform.isIdentity){var s=this.ctx.transform.applyToPoint(new a(e,t));e=s.x,t=s.y;var l=this.ctx.transform.applyToPoint(new a(0,n)),c=this.ctx.transform.applyToPoint(new a(0,0));n=Math.sqrt(Math.pow(l.x-c.x,2)+Math.pow(l.y-c.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:i,counterclockwise:o})},O.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},O.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Vre.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},O.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Vre.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!h.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},O.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Vre.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");f.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},O.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Vre.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},O.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},O.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},O.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(e){var t,n,r,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==o)t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var a=new Yre(e);e=a.ok?a.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:i,style:e}},h=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},f=function(){return!(!this.ctx.isStrokeTransparent&&0!=this.globalAlpha)};O.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw Vre.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!h.call(this)){var i=X(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;P.call(this,{text:e,x:t,y:n,scale:o,angle:i,align:this.textAlign,maxWidth:r})}},O.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw Vre.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!f.call(this)){r=isNaN(r)?void 0:r;var i=X(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;P.call(this,{text:e,x:t,y:n,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},O.prototype.measureText=function(e){if("string"!=typeof e)throw Vre.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:i*=Math.round(96*n/72*1e4)/1e4})},O.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw Vre.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new l(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},O.prototype.rotate=function(e){if(isNaN(e))throw Vre.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new l(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},O.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw Vre.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new l(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},O.prototype.transform=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o))throw Vre.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new l(e,t,n,r,i,o);this.ctx.transform=this.ctx.transform.multiply(a)},O.prototype.setTransform=function(e,t,n,r,i,o){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new l(e,t,n,r,i,o)};var p=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};O.prototype.drawImage=function(e,t,n,r,i,o,a,c,u){var O=this.pdf.getImageProperties(e),d=1,h=1,f=1,m=1;void 0!==r&&void 0!==c&&(f=c/r,m=u/i,d=O.width/r*c/r,h=O.height/i*u/i),void 0===o&&(o=t,a=n,t=0,n=0),void 0!==r&&void 0===c&&(c=r,u=i),void 0===r&&void 0===c&&(c=O.width,u=O.height);var y=this.ctx.transform.decompose(),w=X(y.rotate.shx),Q=new l,$=(Q=(Q=(Q=Q.multiply(y.translate)).multiply(y.skew)).multiply(y.scale)).applyToRectangle(new s(o-t*f,a-n*m,r*d,i*h));if(this.autoPaging){for(var S,x=A.call(this,$),k=[],P=0;P<x.length;P+=1)-1===k.indexOf(x[P])&&k.push(x[P]);v(k);for(var T=k[0],_=k[k.length-1],C=T;C<_+1;C++){this.pdf.setPage(C);var E=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],R=1===C?this.posY+this.margin[0]:this.margin[0],B=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],U=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],D=1===C?0:B+(C-2)*U;if(0!==this.ctx.clip_path.length){var I=this.path;S=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(S,this.posX+this.margin[3],-D+R+this.ctx.prevPageLastElemOffset),b.call(this,"fill",!0),this.path=I}var z=JSON.parse(JSON.stringify($));z=g([z],this.posX+this.margin[3],-D+R+this.ctx.prevPageLastElemOffset)[0];var N=(C>T||C<_)&&p.call(this);N&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],E,U,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",z.x,z.y,z.w,z.h,null,null,w),N&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(e,"JPEG",$.x,$.y,$.w,$.h,null,null,w)};var A=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+i)/n)+1);break;case"arc":r.push(Math.floor((e.y+i-e.radius)/n)+1),r.push(Math.floor((e.y+i+e.radius)/n)+1);break;case"qct":var o=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((o.y+i)/n)+1),r.push(Math.floor((o.y+o.h+i)/n)+1);break;case"bct":var a=U(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((a.y+i)/n)+1),r.push(Math.floor((a.y+a.h+i)/n)+1);break;case"rect":r.push(Math.floor((e.y+i)/n)+1),r.push(Math.floor((e.y+e.h+i)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)m.call(this);return r},m=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=o},g=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;default:e[r].x+=t,e[r].y+=n}return e},v=function(e){return e.sort(function(e,t){return e-t})},y=function(e,t){var n=this.fillStyle,r=this.strokeStyle,i=this.lineCap,o=this.lineWidth,a=Math.abs(o*this.ctx.transform.scaleX),s=this.lineJoin;if(this.autoPaging){for(var l,c,u=JSON.parse(JSON.stringify(this.path)),O=JSON.parse(JSON.stringify(this.path)),d=[],h=0;h<O.length;h++)if(void 0!==O[h].x)for(var f=A.call(this,O[h]),y=0;y<f.length;y+=1)-1===d.indexOf(f[y])&&d.push(f[y]);for(var w=0;w<d.length;w++)for(;this.pdf.internal.getNumberOfPages()<d[w];)m.call(this);v(d);for(var Q=d[0],$=d[d.length-1],S=Q;S<$+1;S++){this.pdf.setPage(S),this.fillStyle=n,this.strokeStyle=r,this.lineCap=i,this.lineWidth=a,this.lineJoin=s;var x=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],k=1===S?this.posY+this.margin[0]:this.margin[0],P=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],T=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_=1===S?0:P+(S-2)*T;if(0!==this.ctx.clip_path.length){var C=this.path;l=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(l,this.posX+this.margin[3],-_+k+this.ctx.prevPageLastElemOffset),b.call(this,e,!0),this.path=C}if(c=JSON.parse(JSON.stringify(u)),this.path=g(c,this.posX+this.margin[3],-_+k+this.ctx.prevPageLastElemOffset),!1===t||0===S){var E=(S>Q||S<$)&&p.call(this);E&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],x,T,null).clip().discardPath()),b.call(this,e,t),E&&this.pdf.restoreGraphicsState()}this.lineWidth=o}this.path=u}else this.lineWidth=a,b.call(this,e,t),this.lineWidth=o},b=function(e,t){if(("stroke"!==e||t||!f.call(this))&&("stroke"===e||t||!h.call(this))){for(var n,r,i=[],o=this.path,a=0;a<o.length;a++){var s=o[a];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var l=i.length;if(o[a-1]&&!isNaN(o[a-1].x)&&(n=[s.x-o[a-1].x,s.y-o[a-1].y],l>0))for(;l>=0;l--)if(!0!==i[l-1].close&&!0!==i[l-1].begin){i[l-1].deltas.push(n),i[l-1].abs.push(s);break}break;case"bct":n=[s.x1-o[a-1].x,s.y1-o[a-1].y,s.x2-o[a-1].x,s.y2-o[a-1].y,s.x-o[a-1].x,s.y-o[a-1].y],i[i.length-1].deltas.push(n);break;case"qct":var c=o[a-1].x+2/3*(s.x1-o[a-1].x),u=o[a-1].y+2/3*(s.y1-o[a-1].y),O=s.x+2/3*(s.x1-s.x),d=s.y+2/3*(s.y1-s.y),p=s.x,A=s.y;n=[c-o[a-1].x,u-o[a-1].y,O-o[a-1].x,d-o[a-1].y,p-o[a-1].x,A-o[a-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var m=!1,g=0;g<i.length;g++)if(i[g].arc)for(var v=i[g].abs,y=0;y<v.length;y++){var b=v[y];"arc"===b.type?$.call(this,b.x,b.y,b.radius,b.startAngle,b.endAngle,b.counterclockwise,void 0,t,!m):T.call(this,b.x,b.y),m=!0}else if(!0===i[g].close)this.pdf.internal.out("h"),m=!1;else if(!0!==i[g].begin){var w=i[g].start.x,Q=i[g].start.y;_.call(this,i[g].deltas,w,Q),m=!0}r&&S.call(this,r),t&&x.call(this)}},w=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},Q=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};O.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},O.prototype.createPattern=function(){return this.createLinearGradient()},O.prototype.createRadialGradient=function(){return this.createLinearGradient()};var $=function(e,t,n,r,i,o,a,s,l){for(var c=E.call(this,n,r,i,o),u=0;u<c.length;u++){var O=c[u];0===u&&(l?k.call(this,O.x1+e,O.y1+t):T.call(this,O.x1+e,O.y1+t)),C.call(this,e,t,O.x2,O.y2,O.x3,O.y3,O.x4,O.y4)}s?x.call(this):S.call(this,a)},S=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},x=function(){this.pdf.clip(),this.pdf.discardPath()},k=function(e,t){this.pdf.internal.out(n(e)+" "+r(t)+" m")},P=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n,r,i,o=this.pdf.getTextDimensions(e.text),c=w.call(this,e.y),u=Q.call(this,c)-o.h,O=this.ctx.transform.applyToPoint(new a(e.x,c));if(this.autoPaging){var d=this.ctx.transform.decompose(),h=new l;h=(h=(h=h.multiply(d.translate)).multiply(d.skew)).multiply(d.scale);for(var f=this.ctx.transform.applyToRectangle(new s(e.x,c,o.w,o.h)),m=h.applyToRectangle(new s(e.x,u,o.w,o.h)),y=A.call(this,m),$=[],S=0;S<y.length;S+=1)-1===$.indexOf(y[S])&&$.push(y[S]);v($);for(var x=$[0],k=$[$.length-1],P=x;P<k+1;P++){this.pdf.setPage(P);var T=1===P?this.posY+this.margin[0]:this.margin[0],_=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],C=this.pdf.internal.pageSize.height-this.margin[2],E=C-this.margin[0],R=this.pdf.internal.pageSize.width-this.margin[1],X=R-this.margin[3],B=1===P?0:_+(P-2)*E;if(0!==this.ctx.clip_path.length){var U=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(n,this.posX+this.margin[3],-1*B+T),b.call(this,"fill",!0),this.path=U}var D=g([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-B+T+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(r=this.pdf.internal.getFontSize(),this.pdf.setFontSize(r*e.scale),i=this.lineWidth,this.lineWidth=i*e.scale);var I="text"!==this.autoPaging;if(I||D.y+D.h<=C){if(I||D.y>=T&&D.x<=R){var z=I?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||R-D.x)[0],N=g([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-B+T+this.ctx.prevPageLastElemOffset)[0],M=I&&(P>x||P<k)&&p.call(this);M&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],X,E,null).clip().discardPath()),this.pdf.text(z,N.x,N.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),M&&this.pdf.restoreGraphicsState()}}else D.y<C&&(this.ctx.prevPageLastElemOffset+=C-D.y);e.scale>=.01&&(this.pdf.setFontSize(r),this.lineWidth=i)}}else e.scale>=.01&&(r=this.pdf.internal.getFontSize(),this.pdf.setFontSize(r*e.scale),i=this.lineWidth,this.lineWidth=i*e.scale),this.pdf.text(e.text,O.x+this.posX,O.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(r),this.lineWidth=i)},T=function(e,t,i,o){i=i||0,o=o||0,this.pdf.internal.out(n(e+i)+" "+r(t+o)+" l")},_=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},C=function(e,n,r,a,s,l,c,u){this.pdf.internal.out([t(i(r+e)),t(o(a+n)),t(i(s+e)),t(o(l+n)),t(i(c+e)),t(o(u+n)),"c"].join(" "))},E=function(e,t,n,r){for(var i=2*Math.PI,o=Math.PI/2;t>n;)t-=i;var a=Math.abs(n-t);a<i&&r&&(a=i-a);for(var s=[],l=r?-1:1,c=t;a>1e-5;){var u=c+l*Math.min(a,o);s.push(R.call(this,e,c,u)),a-=Math.abs(u-c),c=u}return s},R=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),o=e*Math.sin(r),a=i,s=-o,l=a*a+s*s,c=l+a*i+s*o,u=4/3*(Math.sqrt(2*l*c)-c)/(a*o-s*i),O=a-u*s,d=s+u*a,h=O,f=-d,p=r+t,A=Math.cos(p),m=Math.sin(p);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:O*A-d*m,y2:O*m+d*A,x3:h*A-f*m,y3:h*m+f*A,x4:e*Math.cos(n),y4:e*Math.sin(n)}},X=function(e){return 180*e/Math.PI},B=function(e,t,n,r,i,o){var a=e+.5*(n-e),l=t+.5*(r-t),c=i+.5*(n-i),u=o+.5*(r-o),O=Math.min(e,i,a,c),d=Math.max(e,i,a,c),h=Math.min(t,o,l,u),f=Math.max(t,o,l,u);return new s(O,h,d-O,f-h)},U=function(e,t,n,r,i,o,a,l){var c,u,O,d,h,f,p,A,m,g,v,y,b,w,Q=n-e,$=r-t,S=i-n,x=o-r,k=a-i,P=l-o;for(u=0;u<41;u++)m=(p=(O=e+(c=u/40)*Q)+c*((h=n+c*S)-O))+c*(h+c*(i+c*k-h)-p),g=(A=(d=t+c*$)+c*((f=r+c*x)-d))+c*(f+c*(o+c*P-f)-A),0==u?(v=m,y=g,b=m,w=g):(v=Math.min(v,m),y=Math.min(y,g),b=Math.max(b,m),w=Math.max(w,g));return new s(Math.round(v),Math.round(y),Math.round(b-v),Math.round(w-y))},D=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}})(yie.API),
70 /**
71 * @license
72 * jsPDF filters PlugIn
73 * Copyright (c) 2014 Aras Abbasi
74 *
75 * Licensed under the MIT License.
76 * http://opensource.org/licenses/mit-license
77 */
78 function(e){var t=function(e){var t,n,r,i,o,a,s,l,c,u;for(n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>r;r+=4)0!==(o=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(a=(o=((o=((o=((o=(o-(u=o%85))/85)-(c=o%85))/85)-(l=o%85))/85)-(s=o%85))/85)%85,n.push(a+33,s+33,l+33,c+33,u+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,i,o,a=String,s="length",l=255,c="charCodeAt",u="slice",O="replace";for(e[u](-2),e=e[u](0,-2)[O](/\s/g,"")[O]("z","!!!!!"),r=[],i=0,o=(e+=t="uuuuu"[u](e[s]%5||5))[s];o>i;i+=5)n=52200625*(e[c](i)-33)+614125*(e[c](i+1)-33)+7225*(e[c](i+2)-33)+85*(e[c](i+3)-33)+(e[c](i+4)-33),r.push(l&n>>24,l&n>>16,l&n>>8,l&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),a.fromCharCode.apply(a,r)},r=function(e){return e.split("").map(function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},o=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=pte(t)).reduce(function(e,t){return e+String.fromCharCode(t)},"")};e.processDataByFilters=function(e,a){var s=0,l=e||"",c=[];for("string"==typeof(a=a||[])&&(a=[a]),s=0;s<a.length;s+=1)switch(a[s]){case"ASCII85Decode":case"/ASCII85Decode":l=n(l),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=t(l),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=i(l),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=r(l),c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=o(l),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[s]+'" is not implemented')}return{data:l,reverseChain:c.reverse().join(" ")}}}(yie.API),
79 /**
80 * @license
81 * jsPDF fileloading PlugIn
82 * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
83 *
84 * Licensed under the MIT License.
85 * http://opensource.org/licenses/mit-license
86 */
87 function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,i=0,o=function(e){var t=e.length,n=[],r=String.fromCharCode;for(i=0;i<t;i+=1)n.push(r(255&e.charCodeAt(i)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(o(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return o(r.responseText)}(e,t,n)}catch{}return r}(e,t,n)},e.allowFsRead=void 0,e.loadImageFile=e.loadFile}(yie.API),function(e){function t(){return(Mre.html2canvas?Promise.resolve(Mre.html2canvas):Promise.resolve().then(()=>Bhe)).catch(function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))}).then(function(e){return e.default?e.default:e})}function n(){return(Mre.DOMPurify?Promise.resolve(Mre.DOMPurify):Promise.resolve().then(()=>ipe)).catch(function(e){return Promise.reject(new Error("Could not load dompurify: "+e))}).then(function(e){return e.default?e.default:e})}var r=function(e){var t=Bee(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},o=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft},!0)),r},a=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(e,t){return e.__proto__=t||a.prototype,e},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(r(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(n).then(function(t){return this.set({src:i("div",{innerHTML:e,dompurify:t})})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},a.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},a.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},a.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var o=0;o<n.length;++o){var a=n[o],s=a.src.find(function(e){return"truetype"===e.format});s&&t.addFont(s.url,a.ref.name,a.ref.style)}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,t.context2d.save(!0),e(this.prop.container,i)}).then(function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},a.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},a.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},a.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},a.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},a.prototype.set=function(e){if("object"!==r(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in a.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},a.prototype.get=function(e,t){return this.then(function(){var n=e in a.template.prop?this.prop[e]:this.opt[e];return t?t(n):n})},a.prototype.setMargin=function(e){return this.then(function(){switch(r(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},a.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||yie.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},a.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},a.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return n.updateProgress(null,e),t}).then(e,t).then(function(e){return n.updateProgress(1),e})})},a.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var i=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:a.convert(Object.assign({},r),Promise.prototype),o=n.call(i,e,t);return a.convert(o,r.__proto__)},a.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},a.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},a.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return a.convert(t,this)},a.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},a.prototype.error=function(e){return this.then(function(){throw new Error(e)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,yie.getPageSize=function(e,t,n){if("object"===Bee(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i,o=(""+n).toLowerCase(),a={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var s,l=0,c=0;if(a.hasOwnProperty(o))l=a[o][1]/i,c=a[o][0]/i;else try{l=n[1],c=n[0]}catch{throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",c>l&&(s=c,c=l,l=s);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>c&&(s=c,c=l,l=s)}return{width:c,height:l,unit:t,k:i,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(foe):null;var n=new a(t);return t.worker?n:n.from(e).doCallback()}}(yie.API),yie.API.addJS=function(e){var t,n,r=function(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if("("===r||")"===r){for(var i=0,o=n-1;o>=0&&"\\"===e[o];o--)i++;t+=i%2==0?"\\"+r:r}else t+=r}return t}(e);return this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==t&&void 0!==n&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")}),this},
88 /**
89 * @license
90 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
91 *
92 * Licensed under the MIT License.
93 * http://opensource.org/licenses/mit-license
94 */
95 function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),i=0;i<r.length;i++){var o=r[i],a=n.exec(o);if(null!=a){var s=a[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,c=[];for(i=0;i<l;i++){var u=e.internal.newObject();c.push(u);var O=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+O.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<c.length;i++)e.internal.write("(page_"+(i+1)+")"+c[i]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(yie.API),
96 /**
97 * @license
98 *
99 * Licensed under the MIT License.
100 * http://opensource.org/licenses/mit-license
101 */
102 function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,i,o,a){var s,l=this.decode.DCT_DECODE,c=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=o||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,o={width:0,height:0,numcomponents:1},a=4;a<i;a+=2){if(a+=r,-1!==t.indexOf(e.charCodeAt(a+1))){n=256*e.charCodeAt(a+5)+e.charCodeAt(a+6),o={width:256*e.charCodeAt(a+7)+e.charCodeAt(a+8),height:n,numcomponents:e.charCodeAt(a+9)};break}r=256*e.charCodeAt(a+2)+e.charCodeAt(a+3)}return o}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}c={data:e,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:l,index:n,alias:r}}return c}}(yie.API),yie.API.processPNG=function(e,t,n,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var i,o,a,s=function(e,t){return new Ire(e,t).decode()}(e,{checkCrc:!0}),l=s.width,c=s.height,u=s.channels,O=s.palette,d=s.depth,h=O&&1===u?function(e){for(var t=e.width,n=e.height,r=e.data,i=e.palette,o=e.depth,a=!1,s=[],l=[],c=void 0,u=!1,O=0,d=0;d<i.length;d++){var h=gte(i[d],4),f=h[0],p=h[1],A=h[2],m=h[3];s.push(f,p,A),null!=m&&(0===m?(O++,l.length<1&&l.push(d)):m<255&&(u=!0))}if(u||O>1){a=!0,l=void 0;var g=t*n;c=new Uint8Array(g);for(var v=new DataView(r.buffer),y=0;y<g;y++){var b=gte(i[Uoe(v,y,o)],4)[3];c[y]=b}}else 0===O&&(l=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:a?8:void 0,colorBytes:r,alphaBytes:c,needSMask:a,palette:s,mask:l}}(s):2===u||4===u?function(e){for(var t=e.data,n=e.width,r=e.height,i=e.channels,o=e.depth,a=2===i?"DeviceGray":"DeviceRGB",s=i-1,l=n*r,c=s,u=l*c,O=1*l,d=Math.ceil(u*o/8),h=Math.ceil(O*o/8),f=new Uint8Array(d),p=new Uint8Array(h),A=new DataView(t.buffer),m=new DataView(f.buffer),g=new DataView(p.buffer),v=!1,y=0;y<l;y++){for(var b=y*i,w=0;w<c;w++)Doe(m,Uoe(A,b+w,o),y*c+w,o);var Q=Uoe(A,b+c,o);Q<(1<<o)-1&&(v=!0),Doe(g,Q,1*y,o)}return{colorSpace:a,colorsPerPixel:s,sMaskBitsPerComponent:v?o:void 0,colorBytes:f,alphaBytes:p,needSMask:v}}(s):($=(Q=s).data,{colorSpace:S=1===Q.channels?"DeviceGray":"DeviceRGB",colorsPerPixel:"DeviceGray"===S?1:3,colorBytes:$ instanceof Uint16Array?function(e){for(var t=e.length,n=new Uint8Array(2*t),r=new DataView(n.buffer,n.byteOffset,n.byteLength),i=0;i<t;i++)r.setUint16(2*i,e[i],!1);return n}($):$,needSMask:!1}),f=h.colorSpace,p=h.colorsPerPixel,A=h.sMaskBitsPerComponent,m=h.colorBytes,g=h.alphaBytes,v=h.needSMask,y=h.palette,b=h.mask,w=null;return r!==yie.API.image_compression.NONE?(w=function(e){var t;switch(e){case yie.API.image_compression.FAST:t=11;break;case yie.API.image_compression.MEDIUM:t=13;break;case yie.API.image_compression.SLOW:t=14;break;default:t=12}return t}(r),i=this.decode.FLATE_DECODE,o="/Predictor ".concat(w," /Colors ").concat(p," /BitsPerComponent ").concat(d," /Columns ").concat(l),e=Poe(m,Math.ceil(l*p*d/8),p,d,r),v&&(a=Poe(g,Math.ceil(l*A/8),1,A,r))):(i=void 0,o=void 0,e=m,v&&(a=g)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(a&&this.__addimage__.isArrayBuffer(a)||this.__addimage__.isArrayBufferView(a))&&(a=this.__addimage__.arrayBufferToBinaryString(a)),{alias:n,data:e,index:t,filter:i,decodeParameters:o,transparency:b,palette:y,sMask:a,predictor:w,width:l,height:c,bitsPerComponent:d,sMaskBitsPerComponent:A,colorSpace:f}}var Q,$,S},function(e){e.processGIF89A=function(t,n,r,i){var o=new zoe(t),a=o.width,s=o.height,l=[];o.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:a,height:s},u=new Moe(100).encode(c,100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A}(yie.API),Loe.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Loe.prototype.parseBGR=function(){this.pos=this.offset;var e="bit"+this.bitPP,t=this.width*this.height*4;if(t>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(t);try{this[e]()}catch(sy){Vre.log("bit decode error:"+sy)}},Loe.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[o>>7-s&1];this.data[a+4*s]=l.blue,this.data[a+4*s+1]=l.green,this.data[a+4*s+2]=l.red,this.data[a+4*s+3]=255}0!==n&&(this.pos+=4-n)}},Loe.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var o=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*i*4,s=o>>4,l=15&o,c=this.palette[s];if(this.data[a]=c.blue,this.data[a+1]=c.green,this.data[a+2]=c.red,this.data[a+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[a+4]=c.blue,this.data[a+4+1]=c.green,this.data[a+4+2]=c.red,this.data[a+4+3]=255}0!==t&&(this.pos+=4-t)}},Loe.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*r;if(i<this.palette.length){var a=this.palette[i];this.data[o]=a.red,this.data[o+1]=a.green,this.data[o+2]=a.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==e&&(this.pos+=4-e)}},Loe.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&t)/t*255|0,s=(o>>5&t)/t*255|0,l=(o>>10&t)/t*255|0,c=o>>15?255:0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=a,this.data[u+3]=c}this.pos+=e}},Loe.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&t)/t*255|0,l=(a>>5&n)/n*255|0,c=(a>>11)/t*255|0,u=i*this.width*4+4*o;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},Loe.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},Loe.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=a}},Loe.prototype.getData=function(){return this.data},
103 /**
104 * @license
105 * Copyright (c) 2018 Aras Abbasi
106 *
107 * Licensed under the MIT License.
108 * http://opensource.org/licenses/mit-license
109 */
110 function(e){e.processBMP=function(t,n,r,i){var o=new Loe(t,!1),a=o.width,s=o.height,l={data:o.getData(),width:a,height:s},c=new Moe(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(yie.API),Voe.prototype.getData=function(){return this.data},
111 /**
112 * @license
113 * Copyright (c) 2019 Aras Abbasi
114 *
115 * Licensed under the MIT License.
116 * http://opensource.org/licenses/mit-license
117 */
118 function(e){e.processWEBP=function(t,n,r,i){var o=new Voe(t),a=o.width,s=o.height,l={data:o.getData(),width:a,height:s},c=new Moe(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(yie.API),yie.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,o=new Uint8Array(i/4*3),a=new Uint8Array(i/4),s=0,l=0,c=0;c<i;c+=4){var u=r[c],O=r[c+1],d=r[c+2],h=r[c+3];o[s++]=u,o[s++]=O,o[s++]=d,a[l++]=h}var f=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:f,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},yie.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},woe=yie.API,Qoe=woe.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),a=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:i.metadata.Unicode.widths,l=s.fof?s.fof:1,c=t.kerning?t.kerning:i.metadata.Unicode.kerning,u=c.fof?c.fof:1,O=!1!==t.doKerning,d=0,h=e.length,f=0,p=s[0]||l,A=[];for(n=0;n<h;n++)r=e.charCodeAt(n),"function"==typeof i.metadata.widthOfString?A.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+a*(1e3/o)||0)/1e3):(d=O&&"object"===Bee(c[r])&&!isNaN(parseInt(c[r][f],10))?c[r][f]/u:0,A.push((s[r]||p)/l+d)),f=r;return A},$oe=woe.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return woe.processArabic&&(e=woe.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:Qoe.apply(this,arguments).reduce(function(e,t){return e+t},0)},Soe=function(e,t,n,r){for(var i=[],o=0,a=e.length,s=0;o!==a&&s+t[o]<n;)s+=t[o],o++;i.push(e.slice(0,o));var l=o;for(s=0;o!==a;)s+t[o]>r&&(i.push(e.slice(l,o)),s=0,l=o),s+=t[o],o++;return l!==o&&i.push(e.slice(l,o)),i},xoe=function(e,t,n){n||(n={});var r,i,o,a,s,l,c,u=[],O=[u],d=n.textIndent||0,h=0,f=0,p=e.split(" "),A=Qoe.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var m=Array(l).join(" "),g=[];p.map(function(e){(e=e.split(/\s*\n/)).length>1?g=g.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):g.push(e[0])}),p=g,l=$oe.apply(this,[m,n])}for(o=0,a=p.length;o<a;o++){var v=0;if(r=p[o],l&&"\n"==r[0]&&(r=r.substr(1),v=1),d+h+(f=(i=Qoe.apply(this,[r,n])).reduce(function(e,t){return e+t},0))>t||v){if(f>t){for(s=Soe.apply(this,[r,i,t-(d+h),t]),u.push(s.shift()),u=[s.pop()];s.length;)O.push([s.shift()]);f=i.slice(r.length-(u[0]?u[0].length:0)).reduce(function(e,t){return e+t},0)}else u=[r];O.push(u),d=f+l,h=A}else u.push(r),d+=h+f,h=A}return c=l?function(e,t){return(t?m:"")+e.join(" ")}:function(e){return e.join(" ")},O.map(c)},woe.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),o=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),n="Unicode";return t.metadata[n]?{widths:t.metadata[n].widths||{0:1},kerning:t.metadata[n].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var a=1*this.internal.scaleFactor*t/i;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(xoe.apply(this,[r[s],a,o]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i={},o=0;o<16;o++)r[n[o]]=t[o],i[t[o]]=n[o];var a=function(e){return"0x"+parseInt(e,10).toString(16)},s=e.__fontmetrics__.compress=function(e){var t,n,r,o,l=["{"];for(var c in e){if(t=e[c],isNaN(parseInt(c,10))?n="'"+c+"'":(c=parseInt(c,10),n=(n=a(c).slice(2)).slice(0,-1)+i[n.slice(-1)]),"number"==typeof t)t<0?(r=a(t).slice(3),o="-"):(r=a(t).slice(2),o=""),r=o+r.slice(0,-1)+i[r.slice(-1)];else{if("object"!==Bee(t))throw new Error("Don't know what to do with value type "+Bee(t)+".");r=s(t)}l.push(n+r)}return l.push("}"),l.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,n,i,o,a={},s=1,l=a,c=[],u="",O="",d=e.length-1,h=1;h<d;h+=1)"'"==(o=e[h])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(o):"{"==o?(c.push([l,i]),l={},i=void 0):"}"==o?((n=c.pop())[0][n[1]]=l,i=void 0,l=n[0]):"-"==o?s=-1:void 0===i?r.hasOwnProperty(o)?(u+=r[o],i=parseInt(u,16)*s,s=1,u=""):u+=o:r.hasOwnProperty(o)?(O+=r[o],l[i]=parseInt(O,16)*s,s=1,i=void 0,O=""):O+=o;return a},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},O={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=O.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(yie.API),
119 /**
120 * @license
121 * Licensed under the MIT License.
122 * http://opensource.org/licenses/mit-license
123 */
124 function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,o=n.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(jre(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(yie),yie.API.addSvgAsImage=function(e,t,n,r,i,o,a,s){if(isNaN(t)||isNaN(n))throw Vre.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw Vre.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=i;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},O=this;return(Mre.canvg?Promise.resolve(Mre.canvg):Promise.resolve().then(()=>GSe)).catch(function(e){return Promise.reject(new Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e}).then(function(t){return t.fromString(c,e,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(e){return e.render(u)}).then(function(){O.addImage(l.toDataURL("image/jpeg",1),t,n,r,i,a,s)})},yie.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},yie.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,o,a={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(a),l=[],c=0,u=0,O=0;function d(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var h=s.length;for(O=0;O<h;O+=1)n[s[O]].value=n[s[O]].defaultValue,n[s[O]].explicitSet=!1}if("object"===Bee(e))for(i in e)if(o=e[i],d(s,i)&&void 0!==o){if("boolean"===n[i].type&&"boolean"==typeof o)n[i].value=o;else if("name"===n[i].type&&d(n[i].valueSet,o))n[i].value=o;else if("integer"===n[i].type&&Number.isInteger(o))n[i].value=o;else if("array"===n[i].type){for(c=0;c<o.length;c+=1)if(r=!0,1===o[c].length&&"number"==typeof o[c][0])l.push(String(o[c]-1));else if(o[c].length>1){for(u=0;u<o[c].length;u+=1)"number"!=typeof o[c][u]&&(r=!1);!0===r&&l.push([o[c][0]-1,o[c][1]-1].join(" "))}n[i].value="["+l.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},yie.API.addMetadata=function(e,t){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceUri:t??"http://jspdf.default.namespaceuri/",rawXml:"boolean"==typeof t&&t},this.internal.events.subscribe("putCatalog",Foe),this.internal.events.subscribe("postPutResources",qoe)),this},function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=e.length;a<s;++a){if(n=t.metadata.characterToGlyph(e.charCodeAt(a)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(a),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return o.join("");n=n.toString(16),o.push(i[4-n.length],n)}return o.join("")},r=function(e){var t,n,r,i,o,a,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],a=0,s=(n=Object.keys(e).sort(function(e,t){return e-t})).length;a<s;a++)t=n[a],r.length>=100&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+i+">"));return r.length&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,l=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),c="",u=0;u<l.length;u++)c+=String.fromCharCode(l[u]);var O=o();a({data:c,addLength1:!0,objectId:O}),i("endobj");var d=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var h=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+fie(n.fontName)),i("/FontFile2 "+O+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var f=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+fie(n.fontName)),i("/FontDescriptor "+h+" 0 R"),i("/W "+e.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+d+" 0 R"),i("/BaseFont /"+fie(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+f+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,l="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var u=o();a({data:l,addLength1:!0,objectId:u}),i("endobj");var O=o();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:O}),i("endobj");var d=o();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+u+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+fie(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=o();for(var h=0;h<n.metadata.hmtx.widths.length;h++)n.metadata.hmtx.widths[h]=parseInt(n.metadata.hmtx.widths[h]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+O+" 0 R/BaseFont/"+fie(n.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]);var i=function(e){var t,r=e.text||"",i=e.x,o=e.y,a=e.options||{},s=e.mutex||{},l=s.pdfEscape,c=s.activeFontKey,u=s.fonts,O=c,d="",h=0,f="",p=u[O].encoding;if("Identity-H"!==u[O].encoding)return{text:r,x:i,y:o,options:a,mutex:s};for(f=r,O=c,Array.isArray(r)&&(f=r[0]),h=0;h<f.length;h+=1)u[O].metadata.hasOwnProperty("cmap")&&(t=u[O].metadata.cmap.unicode.codeMap[f[h].charCodeAt(0)]),t||f[h].charCodeAt(0)<256&&u[O].metadata.hasOwnProperty("Unicode")?d+=f[h]:d+="";var A="";return parseInt(O.slice(1))<14||"WinAnsiEncoding"===p?A=l(d,O).split("").map(function(e){return e.charCodeAt(0).toString(16)}).join(""):"Identity-H"===p&&(A=n(d,u[O])),s.isHex=!0,{text:A,x:i,y:o,options:a,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var o=0;for(o=0;o<t.length;o+=1)Array.isArray(t[o])&&3===t[o].length?n.push([i(Object.assign({},r,{text:t[o][0]})).text,t[o][1],t[o][2]]):n.push(i(Object.assign({},r,{text:t[o]})).text);e.text=n}else e.text=i(Object.assign({},r,{text:t})).text}])}(yie),
125 /**
126 * @license
127 * jsPDF virtual FileSystem functionality
128 *
129 * Licensed under the MIT License.
130 * http://opensource.org/licenses/mit-license
131 */
132 function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(yie.API),
133 /**
134 * @license
135 * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
136 * MIT License
137 */
138 function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,o,a,s,l,c=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],O=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],d={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},h={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},f=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],p=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),A=!1,m=0;this.__bidiEngine__={};var g=function(e){var t=e.charCodeAt(),n=t>>8,r=h[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":p.test(n)?"L":8===n?"R":"N"},v=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=g(e.charAt(n))))return!1;if("R"===t)return!0}return!1},y=function(e,t,a,s){var l,c,u,O,d=t[s];switch(d){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":A=!1;break;case"N":case"AN":break;case"EN":A&&(d="AN");break;case"AL":A=!0,d="R";break;case"WS":case"BN":d="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=a[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?d="N":A&&(c="AN"),d=c===l?c:"N";break;case"ES":d="EN"===(l=s>0?a[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){d="EN";break}if(A){d="N";break}for(u=s+1,O=t.length;u<O&&"ET"===t[u];)u++;d=u<O&&"EN"===t[u]?"EN":"N";break;case"NSM":if(i&&!o){for(O=t.length,u=s+1;u<O&&"NSM"===t[u];)u++;if(u<O){var h=e[s],f=h>=1425&&h<=2303||64286===h;if(l=t[u],f&&("R"===l||"AL"===l)){d="R";break}}}d=s<1||"B"===(l=t[s-1])?"N":a[s-1];break;case"B":A=!1,n=!0,d=m;break;case"S":r=!0,d="N"}return d},b=function(e,t,n){var r=e.split("");return n&&w(r,n,{hiLevel:m}),r.reverse(),t&&t.reverse(),r.join("")},w=function(e,t,i){var o,a,s,l,c,h=-1,f=e.length,p=0,v=[],b=m?O:u,w=[];for(A=!1,n=!1,r=!1,a=0;a<f;a++)w[a]=g(e[a]);for(s=0;s<f;s++){if(c=p,v[s]=y(e,w,v,s),o=240&(p=b[c][d[v[s]]]),p&=15,t[s]=l=b[p][5],o>0)if(16===o){for(a=h;a<s;a++)t[a]=1;h=-1}else h=-1;if(b[p][6])-1===h&&(h=s);else if(h>-1){for(a=h;a<s;a++)t[a]=l;h=-1}"B"===w[s]&&(t[s]=0),i.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=m;for(var i=r-1;i>=0&&"WS"===e[i];i--)t[i]=m}}(w,t,f)},Q=function(e,t,r,i,o){if(!(o.hiLevel<e)){if(1===e&&1===m&&!n)return t.reverse(),void(r&&r.reverse());for(var a,s,l,c,u=t.length,O=0;O<u;){if(i[O]>=e){for(l=O+1;l<u&&i[l]>=e;)l++;for(c=O,s=l-1;c<s;c++,s--)a=t[c],t[c]=t[s],t[s]=a,r&&(a=r[c],r[c]=r[s],r[s]=a);O=l}O++}}},$=function(e,t,n){var r=e.split(""),i={hiLevel:m};return n||(n=[]),w(r,n,i),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=f.indexOf(e[i]))>=0&&(e[i]=f[r+1])}(r,n,i),Q(2,r,t,n,i),Q(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===o&&(o=v(e)),void 0===s&&(s=v(e))}(e,t),i||!a||s)if(i&&a&&o^s)m=o?1:0,e=b(e,t,n);else if(!i&&a&&s)m=o?1:0,e=$(e,t,n),e=b(e,t);else if(!i||o||a||s){if(i&&!a&&o^s)e=b(e,t),o?(m=0,e=$(e,t,n)):(m=1,e=$(e,t,n),e=b(e,t));else if(i&&o&&!a&&s)m=1,e=$(e,t,n),e=b(e,t);else if(!i&&!a&&o^s){var r=l;o?(m=1,e=$(e,t,n),m=0,l=!1,e=$(e,t,n),l=r):(m=0,e=$(e,t,n),e=b(e,t),m=1,l=!1,e=$(e,t,n),l=r,e=b(e,t))}}else m=0,e=$(e,t,n);else m=o?1:0,e=$(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,a=e.isOutputVisual,o=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text;e.x,e.y;var r=e.options||{};e.mutex,r.lang;var i=[];if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var o=0;for(i=[],o=0;o<t.length;o+=1)"[object Array]"===Object.prototype.toString.call(t[o])?i.push([n.doBidiReorder(t[o][0]),t[o][1],t[o][2]]):i.push([n.doBidiReorder(t[o])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(yie),yie.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Zoe(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new dae(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Yoe(this.contents),this.head=new Hoe(this),this.name=new iae(this),this.cmap=new Joe(this),this.toUnicode={},this.hhea=new eae(this),this.maxp=new oae(this),this.hmtx=new aae(this),this.post=new nae(this),this.os2=new tae(this),this.loca=new Oae(this),this.glyf=new lae(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),32768&(t=r>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,i,o,a;for(o=0,i=0,a=(e=""+e).length;0<=a?i<a:i>a;i=0<=a?++i:--i)r=e.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return o*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var Woe,Zoe=function(){function e(e){this.data=e??[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,o,a,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*o+256*a+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),Yoe=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,i,o,a,s,l,c,u,O,d,h,f;for(f in d=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(d)/s),o=Math.floor(u/s),c=16*d-u,(r=new Zoe).writeInt(this.scalarType),r.writeShort(d),r.writeShort(u),r.writeShort(o),r.writeShort(c),i=16*d,l=r.pos+i,a=null,h=[],t)for(O=t[f],r.writeString(f),r.writeInt(e(O)),r.writeInt(l),r.writeInt(O.length),h=h.concat(O),"head"===f&&(a=l),l+=O.length;l%4;)h.push(0),l++;return r.write(h),n=2981146554-e(r.data),r.pos=a+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=sae.call(e);e.length%4;)e.push(0);for(r=new Zoe(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),joe={}.hasOwnProperty,Goe=function(e,t){for(var n in t)joe.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};Woe=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var Hoe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new Zoe).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),Koe=function(){function e(e,t){var n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(d=e.readUInt16(),O=d/2,e.pos+=6,i=function(){var t,n;for(n=[],s=t=0;0<=O?t<O:t>O;s=0<=O?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,f=function(){var t,n;for(n=[],s=t=0;0<=O?t<O:t>O;s=0<=O?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=O?t<O:t>O;s=0<=O?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=O?t<O:t>O;s=0<=O?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,a=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=A=0,g=i.length;A<g;s=++A)for(p=i[s],n=m=h=f[s];h<=p?m<=p:m>=p;n=h<=p?++m:--m)0===c[s]?o=n+l[s]:0!==(o=a[c[s]/2+(n-h)-(O-s)]||0)&&(o+=l[s]),this.codeMap[n]=65535&o}e.pos=u}return e.encode=function(e,t){var n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v,y,b,w,Q,$,S,x,k,P,T,_,C,E,R,X,B,U,D,I,z,N,M,L,V,q,F,W,Z;switch(T=new Zoe,o=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(f=0,p=function(){var e=[];for(h=0;h<256;++h)e.push(0);return e}(),m={0:0},i={},_=0,X=o.length;_<X;_++)null==m[q=e[r=o[_]]]&&(m[q]=++f),i[r]={old:e[r],new:m[e[r]]},p[r]=m[e[r]];return T.writeUInt16(1),T.writeUInt16(0),T.writeUInt32(12),T.writeUInt16(0),T.writeUInt16(262),T.writeUInt16(0),T.write(p),{charMap:i,subtable:T.data,maxGlyphID:f+1};case"unicode":for(k=[],u=[],g=0,m={},n={},A=l=null,C=0,B=o.length;C<B;C++)null==m[y=e[r=o[C]]]&&(m[y]=++g),n[r]={old:y,new:m[y]},a=m[y]-r,null!=A&&a===l||(A&&u.push(A),k.push(r),l=a),A=r;for(A&&u.push(A),u.push(65535),k.push(65535),S=2*($=k.length),Q=2*Math.pow(Math.log($)/Math.LN2,2),O=Math.log(Q/2)/Math.LN2,w=2*$-Q,s=[],b=[],d=[],h=E=0,U=k.length;E<U;h=++E){if(x=k[h],c=u[h],65535===x){s.push(0),b.push(0);break}if(x-(P=n[x].new)>=32768)for(s.push(0),b.push(2*(d.length+$-h)),r=R=x;x<=c?R<=c:R>=c;r=x<=c?++R:--R)d.push(n[r].new);else s.push(P-x),b.push(0)}for(T.writeUInt16(3),T.writeUInt16(1),T.writeUInt32(12),T.writeUInt16(4),T.writeUInt16(16+8*$+2*d.length),T.writeUInt16(0),T.writeUInt16(S),T.writeUInt16(Q),T.writeUInt16(O),T.writeUInt16(w),L=0,D=u.length;L<D;L++)r=u[L],T.writeUInt16(r);for(T.writeUInt16(0),V=0,I=k.length;V<I;V++)r=k[V],T.writeUInt16(r);for(F=0,z=s.length;F<z;F++)a=s[F],T.writeUInt16(a);for(W=0,N=b.length;W<N;W++)v=b[W],T.writeUInt16(v);for(Z=0,M=d.length;Z<M;Z++)f=d[Z],T.writeUInt16(f);return{charMap:n,subtable:T.data,maxGlyphID:g+1}}},e}(),Joe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new Koe(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=Koe.encode(e,t),(r=new Zoe).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},e}(),eae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),tae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),nae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="post",e.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var i;for(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},e}(),rae=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},iae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="name",e.prototype.parse=function(e){var t,n,r,i,o,a,s,l,c,u,O;for(e.pos=this.offset,e.readShort(),t=e.readShort(),a=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+a+e.readShort()});for(s={},i=c=0,u=n.length;c<u;i=++c)r=n[i],e.pos=r.offset,l=e.readString(r.length),o=new rae(l,r),null==s[O=r.nameID]&&(s[O]=[]),s[r.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(),oae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),aae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,n,r,i,o,a,s;for(e.pos=this.offset,this.metrics=[],t=0,a=this.file.hhea.numberOfMetrics;0<=a?t<a:t>a;t=0<=a?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],t=o=0;0<=r?o<r:o>r;t=0<=r?++o:--o)s.push(this.widths.push(n));return s},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),sae=[].slice,lae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,n,r,i,o,a,s,l,c,u;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,o=(a=new Zoe(t.read(r))).readShort(),l=a.readShort(),u=a.readShort(),s=a.readShort(),c=a.readShort(),this.cache[e]=-1===o?new uae(a,l,u,s,c):new cae(a,o,l,u,s,c),this.cache[e]))},e.prototype.encode=function(e,t,n){var r,i,o,a,s;for(o=[],i=[],a=0,s=t.length;a<s;a++)r=e[t[a]],i.push(o.length),r&&(o=o.concat(r.encode(n)));return i.push(o.length),{table:o,offsets:i}},e}(),cae=function(){function e(e,t,n,r,i,o){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),uae=function(){function e(e,t,n,r,i){var o,a;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;a=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&a;)o.pos+=1&a?4:2,128&a?o.pos+=8:64&a?o.pos+=4:8&a&&(o.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Zoe(sae.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Oae=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Goe(e,Woe),e.prototype.tag="loca",e.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,i=0,o=0;o<n.length;++o)if(n[o]=r,i<t.length&&t[i]==o){++i,n[o]=r;var a=this.offsets[o],s=this.offsets[o+1]-a;s>0&&(r+=s)}for(var l=new Array(4*n.length),c=0;c<n.length;++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},e}(),dae=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,o,a,s;for(r={},o=0,a=e.length;o<a;o++)r[i=e[o]]=this.font.glyf.glyphFor(i);for(i in t=[],r)null!=(n=r[i])&&n.compound&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in s=this.glyphsFor(t))n=s[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,o,a,s,l,c,u,O,d,h,f,p,A;for(r in n=Joe.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(e),d={0:0},A=n.charMap)d[(s=A[r]).old]=s.new;for(h in O=n.maxGlyphID,o)h in d||(d[h]=O++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(d),u=Object.keys(c).sort(function(e,t){return e-t}),f=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)a=u[e],n.push(c[a]);return n}(),i=this.font.glyf.encode(o,f,d),l=this.font.loca.encode(i.offsets,f),p={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(p["OS/2"]=this.font.os2.raw()),this.font.directory.encode(p)},e}();yie.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,i,o,a;if(Array.isArray(n))return"["+function(){var e,i,o;for(o=[],e=0,i=n.length;e<i;e++)r=n[e],o.push(t.convert(r));return o}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n&&n.isString)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in o=["<<"],n)a=n[i],o.push("/"+i+" "+t.convert(a));return o.push(">>"),o.join("\n")}return""+n},t}();var hae=function(e,t){return hae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},hae(e,t)};function fae(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}hae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var pae=function(){return pae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},pae.apply(this,arguments)};function Aae(e,t,n,r){return new(n||(n=Promise))(function(t,i){function o(e){try{s(r.next(e))}catch(t){i(t)}}function a(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){e.done?t(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(o,a)}s((r=r.apply(e,[])).next())})}function mae(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}for(var gae=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),vae=function(e,t){return gae.fromClientRect(e,t.getBoundingClientRect())},yae=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},bae=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},wae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qae=typeof Uint8Array>"u"?[]:new Uint8Array(256),$ae=0;$ae<64;$ae++)Qae[wae.charCodeAt($ae)]=$ae;for(var Sae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xae=typeof Uint8Array>"u"?[]:new Uint8Array(256),kae=0;kae<64;kae++)xae[Sae.charCodeAt(kae)]=kae;for(var Pae=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Tae=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),_ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cae=typeof Uint8Array>"u"?[]:new Uint8Array(256),Eae=0;Eae<64;Eae++)Cae[_ae.charCodeAt(Eae)]=Eae;var Rae=10,Xae=13,Bae=15,Uae=17,Dae=18,Iae=19,zae=20,Nae=21,Mae=22,Lae=24,Vae=25,qae=26,Fae=27,Wae=28,Zae=30,Yae=32,jae=33,Gae=34,Hae=35,Kae=37,Jae=38,ese=39,tse=40,nse=42,rse=[9001,65288],ise="×",ose="÷",ase=function(e){var t=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=xae[e.charCodeAt(t)],r=xae[e.charCodeAt(t+1)],i=xae[e.charCodeAt(t+2)],o=xae[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=Pae(r,12,n[4]/2),o=2===n[5]?Pae(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new Tae(n[0],n[1],n[2],n[3],i,o)}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrg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BywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsByw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AMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwAD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ywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA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ABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwA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B4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVw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QAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA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AFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),sse=[Zae,36],lse=[1,2,3,5],cse=[Rae,8],use=[Fae,qae],Ose=lse.concat(cse),dse=[Jae,ese,tse,Gae,Hae],hse=[Bae,Xae],fse=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=n;o<=r.length;){if((l=r[++o])===t)return!0;if(l!==Rae)break}if(i===Rae)for(o=n;o>0;){var a=r[--o];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=r.length;){var l;if((l=r[++s])===t)return!0;if(l!==Rae)break}if(a!==Rae)break}return!1},pse=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==Rae)return r;n--}return 0},Ase=function(e,t,n,r,i){if(0===n[r])return ise;var o=r-1;if(Array.isArray(i)&&!0===i[o])return ise;var a=o-1,s=o+1,l=t[o],c=a>=0?t[a]:0,u=t[s];if(2===l&&3===u)return ise;if(-1!==lse.indexOf(l))return"!";if(-1!==lse.indexOf(u)||-1!==cse.indexOf(u))return ise;if(8===pse(o,t))return ose;if(11===ase.get(e[o])||(l===Yae||l===jae)&&11===ase.get(e[s])||7===l||7===u||9===l||-1===[Rae,Xae,Bae].indexOf(l)&&9===u||-1!==[Uae,Dae,Iae,Lae,Wae].indexOf(u)||pse(o,t)===Mae||fse(23,Mae,o,t)||fse([Uae,Dae],Nae,o,t)||fse(12,12,o,t))return ise;if(l===Rae)return ose;if(23===l||23===u)return ise;if(16===u||16===l)return ose;if(-1!==[Xae,Bae,Nae].indexOf(u)||14===l||36===c&&-1!==hse.indexOf(l)||l===Wae&&36===u||u===zae||-1!==sse.indexOf(u)&&l===Vae||-1!==sse.indexOf(l)&&u===Vae||l===Fae&&-1!==[Kae,Yae,jae].indexOf(u)||-1!==[Kae,Yae,jae].indexOf(l)&&u===qae||-1!==sse.indexOf(l)&&-1!==use.indexOf(u)||-1!==use.indexOf(l)&&-1!==sse.indexOf(u)||-1!==[Fae,qae].indexOf(l)&&(u===Vae||-1!==[Mae,Bae].indexOf(u)&&t[s+1]===Vae)||-1!==[Mae,Bae].indexOf(l)&&u===Vae||l===Vae&&-1!==[Vae,Wae,Lae].indexOf(u))return ise;if(-1!==[Vae,Wae,Lae,Uae,Dae].indexOf(u))for(var O=o;O>=0;){if((d=t[O])===Vae)return ise;if(-1===[Wae,Lae].indexOf(d))break;O--}if(-1!==[Fae,qae].indexOf(u))for(O=-1!==[Uae,Dae].indexOf(l)?a:o;O>=0;){var d;if((d=t[O])===Vae)return ise;if(-1===[Wae,Lae].indexOf(d))break;O--}if(Jae===l&&-1!==[Jae,ese,Gae,Hae].indexOf(u)||-1!==[ese,Gae].indexOf(l)&&-1!==[ese,tse].indexOf(u)||-1!==[tse,Hae].indexOf(l)&&u===tse||-1!==dse.indexOf(l)&&-1!==[zae,qae].indexOf(u)||-1!==dse.indexOf(u)&&l===Fae||-1!==sse.indexOf(l)&&-1!==sse.indexOf(u)||l===Lae&&-1!==sse.indexOf(u)||-1!==sse.concat(Vae).indexOf(l)&&u===Mae&&-1===rse.indexOf(e[s])||-1!==sse.concat(Vae).indexOf(u)&&l===Dae)return ise;if(41===l&&41===u){for(var h=n[o],f=1;h>0&&41===t[--h];)f++;if(f%2!=0)return ise}return l===Yae&&u===jae?ise:ose},mse=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=function(e,t){void 0===t&&(t="strict");var n=[],r=[],i=[];return e.forEach(function(e,o){var a=ase.get(e);if(a>50?(i.push(!0),a-=50):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(16);if(4===a||11===a){if(0===o)return r.push(o),n.push(Zae);var s=n[o-1];return-1===Ose.indexOf(s)?(r.push(r[o-1]),n.push(s)):(r.push(o),n.push(Zae))}return r.push(o),31===a?n.push("strict"===t?Nae:Kae):a===nse||29===a?n.push(Zae):43===a?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(Kae):n.push(Zae):void n.push(a)}),[r,n,i]}(e,t.lineBreak),r=n[0],i=n[1],o=n[2];return("break-all"===t.wordBreak||"break-word"===t.wordBreak)&&(i=i.map(function(e){return-1!==[Vae,Zae,nse].indexOf(e)?Kae:e})),[r,i,"keep-all"===t.wordBreak?o.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0]},gse=function(){function e(e,t,n,r){this.codePoints=e,this.required="!"===t,this.start=n,this.end=r}return e.prototype.slice=function(){return bae.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),vse=45,yse=43,bse=-1,wse=function(e){return e>=48&&e<=57},Qse=function(e){return wse(e)||e>=65&&e<=70||e>=97&&e<=102},$se=function(e){return 10===e||9===e||32===e},Sse=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},xse=function(e){return Sse(e)||wse(e)||e===vse},kse=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},Pse=function(e,t){return 92===e&&10!==t},Tse=function(e,t,n){return e===vse?Sse(t)||Pse(t,n):!!Sse(e)||!(92!==e||!Pse(e,t))},_se=function(e,t,n){return e===yse||e===vse?!!wse(t)||46===t&&wse(n):wse(46===e?t:e)},Cse=function(e){var t=0,n=1;(e[t]===yse||e[t]===vse)&&(e[t]===vse&&(n=-1),t++);for(var r=[];wse(e[t]);)r.push(e[t++]);var i=r.length?parseInt(bae.apply(void 0,r),10):0;46===e[t]&&t++;for(var o=[];wse(e[t]);)o.push(e[t++]);var a=o.length,s=a?parseInt(bae.apply(void 0,o),10):0;(69===e[t]||101===e[t])&&t++;var l=1;(e[t]===yse||e[t]===vse)&&(e[t]===vse&&(l=-1),t++);for(var c=[];wse(e[t]);)c.push(e[t++]);var u=c.length?parseInt(bae.apply(void 0,c),10):0;return n*(i+s*Math.pow(10,-a))*Math.pow(10,l*u)},Ese={type:2},Rse={type:3},Xse={type:4},Bse={type:13},Use={type:8},Dse={type:21},Ise={type:9},zse={type:10},Nse={type:11},Mse={type:12},Lse={type:14},Vse={type:23},qse={type:1},Fse={type:25},Wse={type:24},Zse={type:26},Yse={type:27},jse={type:28},Gse={type:29},Hse={type:31},Kse={type:32},Jse=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(yae(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Kse;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(xse(t)||Pse(n,r)){var i=Tse(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:i}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Bse;break;case 39:return this.consumeStringToken(39);case 40:return Ese;case 41:return Rse;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Lse;break;case yse:if(_se(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return Xse;case vse:var o=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(_se(o,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Tse(o,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===vse&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Wse;break;case 46:if(_se(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(42===l&&47===(l=this.consumeCodePoint()))return this.consumeToken();if(l===bse)return this.consumeToken()}break;case 58:return Zse;case 59:return Yse;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===vse&&this.peekCodePoint(2)===vse)return this.consumeCodePoint(),this.consumeCodePoint(),Fse;break;case 64:var c=this.peekCodePoint(0),u=this.peekCodePoint(1),O=this.peekCodePoint(2);if(Tse(c,u,O))return{type:7,value:this.consumeName()};break;case 91:return jse;case 92:if(Pse(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return Gse;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Use;break;case 123:return Nse;case 125:return Mse;case 117:case 85:var d=this.peekCodePoint(0),h=this.peekCodePoint(1);return d===yse&&(Qse(h)||63===h)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ise;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),Dse;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),zse;break;case bse:return Kse}return $se(e)?(this.consumeWhiteSpace(),Hse):wse(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Sse(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:bae(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Qse(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(bae.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(bae.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(bae.apply(void 0,e),16);if(this.peekCodePoint(0)===vse&&Qse(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];Qse(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(bae.apply(void 0,i),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===bse)return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===bse||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Vse)}for(;;){var r=this.consumeCodePoint();if(r===bse||41===r)return{type:22,value:bae.apply(void 0,e)};if($se(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===bse||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:bae.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Vse);if(34===r||39===r||40===r||kse(r))return this.consumeBadUrlRemnants(),Vse;if(92===r){if(!Pse(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Vse;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;$se(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===bse)return;Pse(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t="";e>0;){var n=Math.min(5e4,e);t+=bae.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(r===bse||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),qse;if(92===r){var i=this._value[n+1];i!==bse&&void 0!==i&&(10===i?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):Pse(r,i)&&(t+=this.consumeStringSlice(n),t+=bae(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for((n===yse||n===vse)&&e.push(this.consumeCodePoint());wse(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&wse(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;wse(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((69===n||101===n)&&((r===yse||r===vse)&&wse(i)||wse(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;wse(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[Cse(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);return Tse(r,i,o)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Qse(e)){for(var t=bae(e);Qse(this.peekCodePoint(0))&&t.length<6;)t+=bae(this.consumeCodePoint());$se(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===bse?65533:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(xse(t))e+=bae(t);else{if(!Pse(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=bae(this.consumeEscapedCodePoint())}}},e}(),ele=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Jse;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||cle(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Kse:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),tle=function(e){return 15===e.type},nle=function(e){return 17===e.type},rle=function(e){return 20===e.type},ile=function(e){return 0===e.type},ole=function(e,t){return rle(e)&&e.value===t},ale=function(e){return 31!==e.type},sle=function(e){return 31!==e.type&&4!==e.type},lle=function(e){var t=[],n=[];return e.forEach(function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)}),n.length&&t.push(n),t},cle=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},ule=function(e){return 17===e.type||15===e.type},Ole=function(e){return 16===e.type||ule(e)},dle=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},hle={type:17,number:0,flags:4},fle={type:16,number:50,flags:4},ple={type:16,number:100,flags:4},Ale=function(e,t,n){var r=e[0],i=e[1];return[mle(r,t),mle(typeof i<"u"?i:r,n)]},mle=function(e,t){if(16===e.type)return e.number/100*t;if(tle(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},gle="grad",vle="turn",yle=function(e,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case gle:return Math.PI/200*t.number;case"rad":return t.number;case vle:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},ble=function(e){return 15===e.type&&("deg"===e.unit||e.unit===gle||"rad"===e.unit||e.unit===vle)},wle=function(e){var t=e.filter(rle).map(function(e){return e.value}).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[hle,hle];case"to top":case"bottom":return Qle(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[hle,ple];case"to right":case"left":return Qle(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ple,ple];case"to bottom":case"top":return Qle(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ple,hle];case"to left":case"right":return Qle(270)}return 0},Qle=function(e){return Math.PI*e/180},$le=function(e,t){if(18===t.type){var n=Ele[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return kle(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var a=t.value.substring(3,4);return kle(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(a+a,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return kle(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),a=t.value.substring(6,8);return kle(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(a,16)/255)}}if(20===t.type){var s=Xle[t.value.toUpperCase()];if(typeof s<"u")return s}return Xle.TRANSPARENT},Sle=function(e){return!(255&e)},xle=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},kle=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},Ple=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},Tle=function(e,t){var n=t.filter(sle);if(3===n.length){var r=n.map(Ple),i=r[0],o=r[1],a=r[2];return kle(i,o,a,1)}if(4===n.length){var s=n.map(Ple),l=(i=s[0],o=s[1],a=s[2],s[3]);return kle(i,o,a,l)}return 0};function _le(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var Cle=function(e,t){var n=t.filter(sle),r=n[0],i=n[1],o=n[2],a=n[3],s=(17===r.type?Qle(r.number):yle(e,r))/(2*Math.PI),l=Ole(i)?i.number/100:0,c=Ole(o)?o.number/100:0,u=typeof a<"u"&&Ole(a)?mle(a,1):1;if(0===l)return kle(255*c,255*c,255*c,1);var O=c<=.5?c*(l+1):c+l-c*l,d=2*c-O,h=_le(d,O,s+1/3),f=_le(d,O,s),p=_le(d,O,s-1/3);return kle(255*h,255*f,255*p,u)},Ele={hsl:Cle,hsla:Cle,rgb:Tle,rgba:Tle},Rle=function(e,t){return $le(e,ele.create(t).parseComponentValue())},Xle={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Ble={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(rle(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ule={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Dle=function(e,t){var n=$le(e,t[0]),r=t[1];return r&&Ole(r)?{color:n,stop:r}:{color:n,stop:null}},Ile=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=hle),null===r.stop&&(r.stop=ple);for(var i=[],o=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=mle(s,t);l>o?i.push(l):i.push(o),o=l}else i.push(null)}var c=null;for(a=0;a<i.length;a++){var u=i[a];if(null===u)null===c&&(c=a);else if(null!==c){for(var O=a-c,d=(u-i[c-1])/(O+1),h=1;h<=O;h++)i[c+h-1]=d*h;c=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}})},zle=function(e,t,n){var r="number"==typeof e?e:function(e,t,n){var r=t/2,i=n/2,o=mle(e[0],t)-r,a=i-mle(e[1],n);return(Math.atan2(a,o)+2*Math.PI)%(2*Math.PI)}(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,a=n/2,s=i/2,l=Math.sin(r-Math.PI/2)*s,c=Math.cos(r-Math.PI/2)*s;return[i,o-c,o+c,a-l,a+l]},Nle=function(e,t){return Math.sqrt(e*e+t*t)},Mle=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var o=t[0],a=t[1],s=Nle(n-o,r-a);return(i?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Lle=function(e,t){var n=Qle(180),r=[];return lle(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(n=wle(t));if(ble(o))return void(n=(yle(e,o)+Qle(270))%Qle(360))}var a=Dle(e,t);r.push(a)}),{angle:n,stops:r,type:1}},Vle="closest-side",qle="farthest-side",Fle="closest-corner",Wle="farthest-corner",Zle="circle",Yle="ellipse",jle="cover",Gle="contain",Hle=function(e,t){var n=0,r=3,i=[],o=[];return lle(t).forEach(function(t,a){var s=!0;if(0===a?s=t.reduce(function(e,t){if(rle(t))switch(t.value){case"center":return o.push(fle),!1;case"top":case"left":return o.push(hle),!1;case"right":case"bottom":return o.push(ple),!1}else if(Ole(t)||ule(t))return o.push(t),!1;return e},s):1===a&&(s=t.reduce(function(e,t){if(rle(t))switch(t.value){case Zle:return n=0,!1;case Yle:return n=1,!1;case Gle:case Vle:return r=0,!1;case qle:return r=1,!1;case Fle:return r=2,!1;case jle:case Wle:return r=3,!1}else if(ule(t)||Ole(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},s)),s){var l=Dle(e,t);i.push(l)}}),{size:r,shape:n,stops:i,position:o,type:2}},Kle=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=ece[t.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)};var Jle,ece={"linear-gradient":function(e,t){var n=Qle(180),r=[];return lle(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&"to"===o.value)return void(n=wle(t));if(ble(o))return void(n=yle(e,o))}var a=Dle(e,t);r.push(a)}),{angle:n,stops:r,type:1}},"-moz-linear-gradient":Lle,"-ms-linear-gradient":Lle,"-o-linear-gradient":Lle,"-webkit-linear-gradient":Lle,"radial-gradient":function(e,t){var n=0,r=3,i=[],o=[];return lle(t).forEach(function(t,a){var s=!0;if(0===a){var l=!1;s=t.reduce(function(e,t){if(l)if(rle(t))switch(t.value){case"center":return o.push(fle),e;case"top":case"left":return o.push(hle),e;case"right":case"bottom":return o.push(ple),e}else(Ole(t)||ule(t))&&o.push(t);else if(rle(t))switch(t.value){case Zle:return n=0,!1;case Yle:return n=1,!1;case"at":return l=!0,!1;case Vle:return r=0,!1;case jle:case qle:return r=1,!1;case Gle:case Fle:return r=2,!1;case Wle:return r=3,!1}else if(ule(t)||Ole(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},s)}if(s){var c=Dle(e,t);i.push(c)}}),{size:r,shape:n,stops:i,position:o,type:2}},"-moz-radial-gradient":Hle,"-ms-radial-gradient":Hle,"-o-radial-gradient":Hle,"-webkit-radial-gradient":Hle,"-webkit-gradient":function(e,t){var n=Qle(180),r=[],i=1;return lle(t).forEach(function(t,n){var o=t[0];if(0===n){if(rle(o)&&"linear"===o.value)return void(i=1);if(rle(o)&&"radial"===o.value)return void(i=2)}if(18===o.type)if("from"===o.name){var a=$le(e,o.values[0]);r.push({stop:hle,color:a})}else if("to"===o.name){a=$le(e,o.values[0]);r.push({stop:ple,color:a})}else if("color-stop"===o.name){var s=o.values.filter(sle);if(2===s.length){a=$le(e,s[1]);var l=s[0];nle(l)&&r.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}}),1===i?{angle:(n+Qle(180))%Qle(360),stops:r,type:i}:{size:3,shape:0,stops:r,position:[],type:i}}},tce={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter(function(e){return sle(e)&&function(e){return!(20===e.type&&"none"===e.value||18===e.type&&!ece[e.name])}(e)}).map(function(t){return Kle(e,t)})}},nce={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(rle(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},rce={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return lle(t).map(function(e){return e.filter(Ole)}).map(dle)}},ice={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return lle(t).map(function(e){return e.filter(rle).map(function(e){return e.value}).join(" ")}).map(oce)}},oce=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Jle||(Jle={}));var ace,sce={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return lle(t).map(function(e){return e.filter(lce)})}},lce=function(e){return rle(e)||Ole(e)},cce=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},uce=cce("top"),Oce=cce("right"),dce=cce("bottom"),hce=cce("left"),fce=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return dle(t.filter(Ole))}}},pce=fce("top-left"),Ace=fce("top-right"),mce=fce("bottom-right"),gce=fce("bottom-left"),vce=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},yce=vce("top"),bce=vce("right"),wce=vce("bottom"),Qce=vce("left"),$ce=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return tle(t)?t.number:0}}},Sce=$ce("top"),xce=$ce("right"),kce=$ce("bottom"),Pce=$ce("left"),Tce={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_ce={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},Cce={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(rle).reduce(function(e,t){return e|Ece(t.value)},0)}},Ece=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Rce={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Xce={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(ace||(ace={}));var Bce,Uce={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?ace.STRICT:ace.NORMAL}},Dce={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ice=function(e,t){return rle(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Ole(e)?mle(e,t):t},zce={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Kle(e,t)}},Nce={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},Mce={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Lce=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Vce=Lce("top"),qce=Lce("right"),Fce=Lce("bottom"),Wce=Lce("left"),Zce={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(rle).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Yce={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},jce=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Gce=jce("top"),Hce=jce("right"),Kce=jce("bottom"),Jce=jce("left"),eue={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},tue={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},nue={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&ole(t[0],"none")?[]:lle(t).map(function(t){for(var n={color:Xle.TRANSPARENT,offsetX:hle,offsetY:hle,blur:hle},r=0,i=0;i<t.length;i++){var o=t[i];ule(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=$le(e,o)}return n})}},rue={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},iue={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=oue[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},oue={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[n,r,i,o,a,s]:null}},aue={type:16,number:50,flags:4},sue=[aue,aue],lue={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Ole);return 2!==n.length?sue:[n[0],n[1]]}},cue={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(Bce||(Bce={}));for(var uue={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Bce.BREAK_ALL;case"keep-all":return Bce.KEEP_ALL;default:return Bce.NORMAL}}},Oue={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(nle(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},due=function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")},hue={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return nle(t)?t.number:1}},fue={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pue={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(rle).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return 0!==e})}},Aue={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0}}),n.length&&r.push(n.join(" ")),r.map(function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"})}},mue={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},gue={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(nle(t))return t.number;if(rle(t)){if("bold"===t.value)return 700;return 400}return 400}},vue={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(rle).map(function(e){return e.value})}},yue={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},bue=function(e,t){return 0!==(e&t)},wue={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},Que={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],i=t.filter(ale),o=0;o<i.length;o++){var a=i[o],s=i[o+1];if(20===a.type){var l=s&&nle(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},$ue={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(ale),i=0;i<r.length;i++){var o=r[i],a=r[i+1];if(rle(o)&&"none"!==o.value){var s=a&&nle(a)?a.number:0;n.push({counter:o.value,reset:s})}}return n}},Sue={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(tle).map(function(t){return due(e,t)})}},xue={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],i=t.filter(ile);if(i.length%2!=0)return null;for(var o=0;o<i.length;o+=2){var a=i[o].value,s=i[o+1].value;r.push({open:a,close:s})}return r}},kue=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},Pue={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&ole(t[0],"none")?[]:lle(t).map(function(t){for(var n={color:255,offsetX:hle,offsetY:hle,blur:hle,spread:hle,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];ole(o,"inset")?n.inset=!0:ule(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=$le(e,o)}return n})}},Tue={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter(rle).forEach(function(e){switch(e.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2)}}),[0,1,2].forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),n}},_ue={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Cue={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return tle(t)?t.number:0}},Eue=function(){function e(e,t){var n,r;this.animationDuration=Bue(e,Sue,t.animationDuration),this.backgroundClip=Bue(e,Ble,t.backgroundClip),this.backgroundColor=Bue(e,Ule,t.backgroundColor),this.backgroundImage=Bue(e,tce,t.backgroundImage),this.backgroundOrigin=Bue(e,nce,t.backgroundOrigin),this.backgroundPosition=Bue(e,rce,t.backgroundPosition),this.backgroundRepeat=Bue(e,ice,t.backgroundRepeat),this.backgroundSize=Bue(e,sce,t.backgroundSize),this.borderTopColor=Bue(e,uce,t.borderTopColor),this.borderRightColor=Bue(e,Oce,t.borderRightColor),this.borderBottomColor=Bue(e,dce,t.borderBottomColor),this.borderLeftColor=Bue(e,hce,t.borderLeftColor),this.borderTopLeftRadius=Bue(e,pce,t.borderTopLeftRadius),this.borderTopRightRadius=Bue(e,Ace,t.borderTopRightRadius),this.borderBottomRightRadius=Bue(e,mce,t.borderBottomRightRadius),this.borderBottomLeftRadius=Bue(e,gce,t.borderBottomLeftRadius),this.borderTopStyle=Bue(e,yce,t.borderTopStyle),this.borderRightStyle=Bue(e,bce,t.borderRightStyle),this.borderBottomStyle=Bue(e,wce,t.borderBottomStyle),this.borderLeftStyle=Bue(e,Qce,t.borderLeftStyle),this.borderTopWidth=Bue(e,Sce,t.borderTopWidth),this.borderRightWidth=Bue(e,xce,t.borderRightWidth),this.borderBottomWidth=Bue(e,kce,t.borderBottomWidth),this.borderLeftWidth=Bue(e,Pce,t.borderLeftWidth),this.boxShadow=Bue(e,Pue,t.boxShadow),this.color=Bue(e,Tce,t.color),this.direction=Bue(e,_ce,t.direction),this.display=Bue(e,Cce,t.display),this.float=Bue(e,Rce,t.cssFloat),this.fontFamily=Bue(e,Aue,t.fontFamily),this.fontSize=Bue(e,mue,t.fontSize),this.fontStyle=Bue(e,yue,t.fontStyle),this.fontVariant=Bue(e,vue,t.fontVariant),this.fontWeight=Bue(e,gue,t.fontWeight),this.letterSpacing=Bue(e,Xce,t.letterSpacing),this.lineBreak=Bue(e,Uce,t.lineBreak),this.lineHeight=Bue(e,Dce,t.lineHeight),this.listStyleImage=Bue(e,zce,t.listStyleImage),this.listStylePosition=Bue(e,Nce,t.listStylePosition),this.listStyleType=Bue(e,Mce,t.listStyleType),this.marginTop=Bue(e,Vce,t.marginTop),this.marginRight=Bue(e,qce,t.marginRight),this.marginBottom=Bue(e,Fce,t.marginBottom),this.marginLeft=Bue(e,Wce,t.marginLeft),this.opacity=Bue(e,hue,t.opacity);var i=Bue(e,Zce,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Bue(e,Yce,t.overflowWrap),this.paddingTop=Bue(e,Gce,t.paddingTop),this.paddingRight=Bue(e,Hce,t.paddingRight),this.paddingBottom=Bue(e,Kce,t.paddingBottom),this.paddingLeft=Bue(e,Jce,t.paddingLeft),this.paintOrder=Bue(e,Tue,t.paintOrder),this.position=Bue(e,tue,t.position),this.textAlign=Bue(e,eue,t.textAlign),this.textDecorationColor=Bue(e,fue,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=Bue(e,pue,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=Bue(e,nue,t.textShadow),this.textTransform=Bue(e,rue,t.textTransform),this.transform=Bue(e,iue,t.transform),this.transformOrigin=Bue(e,lue,t.transformOrigin),this.visibility=Bue(e,cue,t.visibility),this.webkitTextStrokeColor=Bue(e,_ue,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Bue(e,Cue,t.webkitTextStrokeWidth),this.wordBreak=Bue(e,uue,t.wordBreak),this.zIndex=Bue(e,Oue,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return Sle(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return bue(this.display,4)||bue(this.display,33554432)||bue(this.display,268435456)||bue(this.display,536870912)||bue(this.display,67108864)||bue(this.display,134217728)},e}(),Rue=function(){return function(e,t){this.content=Bue(e,wue,t.content),this.quotes=Bue(e,xue,t.quotes)}}(),Xue=function(){return function(e,t){this.counterIncrement=Bue(e,Que,t.counterIncrement),this.counterReset=Bue(e,$ue,t.counterReset)}}(),Bue=function(e,t,n){var r=new Jse,i=null!==n&&typeof n<"u"?n.toString():t.initialValue;r.write(i);var o=new ele(r.read());switch(t.type){case 2:var a=o.parseComponentValue();return t.parse(e,rle(a)?a.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return yle(e,o.parseComponentValue());case"color":return $le(e,o.parseComponentValue());case"image":return Kle(e,o.parseComponentValue());case"length":var s=o.parseComponentValue();return ule(s)?s:hle;case"length-percentage":var l=o.parseComponentValue();return Ole(l)?l:hle;case"time":return due(e,o.parseComponentValue())}}},Uue=function(e,t){var n=function(e){switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===n||t===n},Due=function(){return function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Uue(t,3),this.styles=new Eue(e,window.getComputedStyle(t,null)),MOe(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=vae(this.context,t),Uue(t,4)&&(this.flags|=16)}}(),Iue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zue=typeof Uint8Array>"u"?[]:new Uint8Array(256),Nue=0;Nue<64;Nue++)zue[Iue.charCodeAt(Nue)]=Nue;for(var Mue=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Lue=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Vue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",que=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fue=0;Fue<64;Fue++)que[Vue.charCodeAt(Fue)]=Fue;var Wue,Zue=8,Yue=9,jue=11,Gue=12,Hue=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},Kue=function(e){var t=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=zue[e.charCodeAt(t)],r=zue[e.charCodeAt(t+1)],i=zue[e.charCodeAt(t+2)],o=zue[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=Mue(r,12,n[4]/2),o=2===n[5]?Mue(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new Lue(n[0],n[1],n[2],n[3],i,o)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAA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U3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAI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AAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKB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AAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),Jue="×",eOe=function(e){return Kue.get(e)},tOe=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],a=t[n];if(2===o&&3===a)return Jue;if(2===o||3===o||4===o||2===a||3===a||4===a)return"÷";if(o===Zue&&-1!==[Zue,Yue,jue,Gue].indexOf(a)||(o===jue||o===Yue)&&(a===Yue||10===a)||(o===Gue||10===o)&&10===a||13===a||5===a||7===a||1===o)return Jue;if(13===o&&14===a){for(;5===i;)i=t[--r];if(14===i)return Jue}if(15===o&&15===a){for(var s=0;15===i;)s++,i=t[--r];if(s%2==0)return Jue}return"÷"},nOe=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e),n=t.length,r=0,i=0,o=t.map(eOe);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=Jue;r<n&&(e=tOe(0,o,++r))===Jue;);if(e!==Jue||r===n){var a=Hue.apply(null,t.slice(i,r));return i=r,{value:a,done:!1}}return{done:!0,value:null}}}},rOe=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},iOe=function(e,t,n,r,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},oOe=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},aOe={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height="123px",n.style.display="block",e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(n),123===i)return!0}}return!1}(document);return Object.defineProperty(aOe,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=aOe.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var r=t.firstChild,i=yae(r.data).map(function(e){return bae(e)}),o=0,a={},s=i.every(function(e,t){n.setStart(r,o),n.setEnd(r,o+e.length);var i=n.getBoundingClientRect();o+=e.length;var s=i.x>a.x||i.y>a.y;return a=i,0===t||s});return e.body.removeChild(t),s}(document);return Object.defineProperty(aOe,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch{return!1}return!0}(document);return Object.defineProperty(aOe,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var a=iOe(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),oOe(a).then(function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=n+"px",rOe(i)?oOe(iOe(n,n,0,0,a)):Promise.reject(!1)}).then(function(e){return r.drawImage(e,0,0),rOe(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(aOe,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=typeof(new Image).crossOrigin<"u";return Object.defineProperty(aOe,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(aOe,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(aOe,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(aOe,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},sOe=function(){return function(e,t){this.text=e,this.bounds=t}}(),lOe=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=vae(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return gae.EMPTY},cOe=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},uOe=function(e){if(aOe.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,n=nOe(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},OOe=function(e,t){return 0!==t.letterSpacing?uOe(e):function(e,t){if(aOe.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map(function(e){return e.segment})}return hOe(e,t)}(e,t)},dOe=[32,160,4961,65792,65793,4153,4241],hOe=function(e,t){for(var n,r=function(e,t){var n=yae(e),r=mse(n,t),i=r[0],o=r[1],a=r[2],s=n.length,l=0,c=0;return{next:function(){if(c>=s)return{done:!0,value:null};for(var e=ise;c<s&&(e=Ase(n,o,i,++c,a))===ise;);if(e!==ise||c===s){var t=new gse(n,e,l,c);return l=c,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t=yae(e),r="";t.forEach(function(e){-1===dOe.indexOf(e)?r+=bae(e):(r.length&&i.push(r),i.push(bae(e)),r="")}),r.length&&i.push(r)}};!(n=r.next()).done;)o();return i},fOe=function(){return function(e,t,n){this.text=pOe(t.data,n.textTransform),this.textBounds=function(e,t,n,r){var i=OOe(t,n),o=[],a=0;return i.forEach(function(t){if(n.textDecorationLine.length||t.trim().length>0)if(aOe.SUPPORT_RANGE_BOUNDS){var i=cOe(r,a,t.length).getClientRects();if(i.length>1){var s=uOe(t),l=0;s.forEach(function(t){o.push(new sOe(t,gae.fromDOMRectList(e,cOe(r,l+a,t.length).getClientRects()))),l+=t.length})}else o.push(new sOe(t,gae.fromDOMRectList(e,i)))}else{var c=r.splitText(t.length);o.push(new sOe(t,lOe(e,r))),r=c}else aOe.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));a+=t.length}),o}(e,this.text,n,t)}}(),pOe=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(AOe,mOe);case 2:return e.toUpperCase();default:return e}},AOe=/(^|\s|:|-|\(|\))([a-z])/g,mOe=function(e,t,n){return e.length>0?t+n.toUpperCase():e},gOe=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return fae(t,e),t}(Due),vOe=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return fae(t,e),t}(Due),yOe=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=vae(t,n);return n.setAttribute("width",o.width+"px"),n.setAttribute("height",o.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return fae(t,e),t}(Due),bOe=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return fae(t,e),t}(Due),wOe=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"==typeof n.reversed&&!0===n.reversed,r}return fae(t,e),t}(Due),QOe=[{type:15,flags:0,unit:"px",number:3}],$Oe=[{type:16,flags:0,number:50}],SOe="checkbox",xOe="radio",kOe="password",POe=707406591,TOe=function(e){function t(t,n){var r=e.call(this,t,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=function(e){var t=e.type===kOe?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t}(n),(r.type===SOe||r.type===xOe)&&(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=function(e){return e.width>e.height?new gae(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new gae(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e}(r.bounds)),r.type){case SOe:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=QOe;break;case xOe:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=$Oe}return r}return fae(t,e),t}(Due),_Oe=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||"",r}return fae(t,e),t}(Due),COe=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return fae(t,e),t}(Due),EOe=function(e){function t(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=UOe(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?Rle(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):Xle.TRANSPARENT,o=n.contentWindow.document.body?Rle(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):Xle.TRANSPARENT;r.backgroundColor=Sle(i)?Sle(o)?r.styles.backgroundColor:o:i}}catch{}return r}return fae(t,e),t}(Due),ROe=["OL","UL","MENU"],XOe=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,zOe(i)&&i.data.trim().length>0)n.textNodes.push(new fOe(e,i,n.styles));else if(NOe(i))if(tde(i)&&i.assignedNodes)i.assignedNodes().forEach(function(t){return XOe(e,t,n,r)});else{var a=BOe(e,i);a.styles.isVisible()&&(DOe(i,a,r)?a.flags|=4:IOe(a.styles)&&(a.flags|=2),-1!==ROe.indexOf(i.tagName)&&(a.flags|=8),n.elements.push(a),i.slot,i.shadowRoot?XOe(e,i.shadowRoot,a,r):!JOe(i)&&!WOe(i)&&!ede(i)&&XOe(e,i,a,r))}},BOe=function(e,t){return GOe(t)?new gOe(e,t):YOe(t)?new vOe(e,t):WOe(t)?new yOe(e,t):VOe(t)?new bOe(e,t):qOe(t)?new wOe(e,t):FOe(t)?new TOe(e,t):ede(t)?new _Oe(e,t):JOe(t)?new COe(e,t):HOe(t)?new EOe(e,t):new Due(e,t)},UOe=function(e,t){var n=BOe(e,t);return n.flags|=4,XOe(e,t,n,n),n},DOe=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||ZOe(e)&&n.styles.isTransparent()},IOe=function(e){return e.isPositioned()||e.isFloating()},zOe=function(e){return e.nodeType===Node.TEXT_NODE},NOe=function(e){return e.nodeType===Node.ELEMENT_NODE},MOe=function(e){return NOe(e)&&typeof e.style<"u"&&!LOe(e)},LOe=function(e){return"object"==typeof e.className},VOe=function(e){return"LI"===e.tagName},qOe=function(e){return"OL"===e.tagName},FOe=function(e){return"INPUT"===e.tagName},WOe=function(e){return"svg"===e.tagName},ZOe=function(e){return"BODY"===e.tagName},YOe=function(e){return"CANVAS"===e.tagName},jOe=function(e){return"VIDEO"===e.tagName},GOe=function(e){return"IMG"===e.tagName},HOe=function(e){return"IFRAME"===e.tagName},KOe=function(e){return"STYLE"===e.tagName},JOe=function(e){return"TEXTAREA"===e.tagName},ede=function(e){return"SELECT"===e.tagName},tde=function(e){return"SLOT"===e.tagName},nde=function(e){return e.tagName.indexOf("-")>0},rde=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){return this.counters[e]||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)});var o=[];return i&&r.forEach(function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),o},e}(),ide={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ode={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ade={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},sde={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},lde=function(e,t,n,r,i,o){return e<t||e>n?mde(e,i,o.length>0):r.integers.reduce(function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t},"")+o},cde=function(e,t,n,r){var i="";do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},ude=function(e,t,n,r,i){var o=n-t+1;return(e<0?"-":"")+(cde(Math.abs(e),o,r,function(e){return bae(Math.floor(e%o)+t)})+i)},Ode=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return cde(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},dde=function(e,t,n,r,i,o){if(e<-9999||e>9999)return mde(e,4,i.length>0);var a=Math.abs(e),s=i;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var c=a%10;0===c&&bue(o,1)&&""!==s?s=t[c]+s:c>1||1===c&&0===l||1===c&&1===l&&bue(o,2)||1===c&&1===l&&bue(o,4)&&e>100||1===c&&l>1&&bue(o,8)?s=t[c]+(l>0?n[l-1]:"")+s:1===c&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},hde="十百千萬",fde="拾佰仟萬",pde="マイナス",Ade="마이너스",mde=function(e,t,n){var r=n?". ":"",i=n?"、":"",o=n?", ":"",a=n?" ":"";switch(t){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=ude(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return Ode(e,"〇一二三四五六七八九",i);case 6:return lde(e,1,3999,ide,3,r).toLowerCase();case 7:return lde(e,1,3999,ide,3,r);case 8:return ude(e,945,969,!1,r);case 9:return ude(e,97,122,!1,r);case 10:return ude(e,65,90,!1,r);case 11:return ude(e,1632,1641,!0,r);case 12:case 49:return lde(e,1,9999,ode,3,r);case 35:return lde(e,1,9999,ode,3,r).toLowerCase();case 13:return ude(e,2534,2543,!0,r);case 14:case 30:return ude(e,6112,6121,!0,r);case 15:return Ode(e,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return Ode(e,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return dde(e,"零一二三四五六七八九",hde,"負",i,14);case 47:return dde(e,"零壹貳參肆伍陸柒捌玖",fde,"負",i,15);case 42:return dde(e,"零一二三四五六七八九",hde,"负",i,14);case 41:return dde(e,"零壹贰叁肆伍陆柒捌玖",fde,"负",i,15);case 26:return dde(e,"〇一二三四五六七八九","十百千万",pde,i,0);case 25:return dde(e,"零壱弐参四伍六七八九","拾百千万",pde,i,7);case 31:return dde(e,"영일이삼사오육칠팔구","십백천만",Ade,o,7);case 33:return dde(e,"零一二三四五六七八九","十百千萬",Ade,o,0);case 32:return dde(e,"零壹貳參四五六七八九","拾百千",Ade,o,7);case 18:return ude(e,2406,2415,!0,r);case 20:return lde(e,1,19999,sde,3,r);case 21:return ude(e,2790,2799,!0,r);case 22:return ude(e,2662,2671,!0,r);case 22:return lde(e,1,10999,ade,3,r);case 23:return Ode(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ode(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ude(e,3302,3311,!0,r);case 28:return Ode(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return Ode(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return ude(e,3792,3801,!0,r);case 37:return ude(e,6160,6169,!0,r);case 38:return ude(e,4160,4169,!0,r);case 39:return ude(e,2918,2927,!0,r);case 40:return ude(e,1776,1785,!0,r);case 43:return ude(e,3046,3055,!0,r);case 44:return ude(e,3174,3183,!0,r);case 45:return ude(e,3664,3673,!0,r);case 46:return ude(e,3872,3881,!0,r);default:return ude(e,48,57,!0,r)}},gde="data-html2canvas-ignore",vde=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new rde,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,r=bde(e,t);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,a=r.contentWindow,s=a.document,l=$de(r).then(function(){return Aae(n,0,void 0,function(){var e,n;return mae(this,function(i){switch(i.label){case 0:return this.scrolledElements.forEach(Tde),a&&(a.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==t.top||a.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),e=this.options.onclone,typeof(n=this.clonedReferenceElement)>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:s.fonts&&s.fonts.ready?[4,s.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Qde(s)]:[3,4];case 3:i.sent(),i.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then(function(){return e(s,n)}).then(function(){return r})]:[2,r]}})})});return s.open(),s.write(kde(document.doctype)+"<html></html>"),Pde(this.referenceElement.ownerDocument,i,o),s.replaceChild(s.adoptNode(this.documentElement),s.documentElement),s.close(),l},e.prototype.createElementClone=function(e){if(Uue(e,2),YOe(e))return this.createCanvasClone(e);if(jOe(e))return this.createVideoClone(e);if(KOe(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return GOe(t)&&(GOe(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),nde(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return xde(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e},""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),"SecurityError"!==i.name)throw i}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext("2d"),o=r.getContext("2d");if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null==s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}o.drawImage(e,0,0)}return r}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){(!NOe(t)||!function(e){return"SCRIPT"===e.tagName}(t)&&!t.hasAttribute(gde)&&("function"!=typeof this.options.ignoreElements||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!NOe(t)||!KOe(t))&&e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(NOe(i)&&tde(i)&&"function"==typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach(function(e){return r.appendChildNode(t,e,n)})}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(zOe(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&NOe(e)&&(MOe(e)||LOe(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var i=n.getComputedStyle(e),o=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&MOe(r)&&(this.clonedReferenceElement=r),ZOe(r)&&Rde(r);var s=this.counters.parse(new Xue(this.context,i)),l=this.resolvePseudoContent(e,r,o,Wue.BEFORE);nde(e)&&(t=!0),jOe(e)||this.cloneChildNodes(e,r,t),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(e,r,a,Wue.AFTER);return c&&r.appendChild(c),this.counters.pop(s),(i&&(this.options.copyStyles||LOe(e))&&!HOe(e)||t)&&xde(i,r),(0!==e.scrollTop||0!==e.scrollLeft)&&this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(JOe(e)||ede(e))&&(JOe(r)||ede(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==n.display){this.counters.parse(new Xue(this.context,n));var s=new Rue(this.context,n),l=a.createElement("html2canvaspseudoelement");xde(n,l),s.content.forEach(function(t){if(0===t.type)l.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(rle);r.length&&l.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(sle),c=o[0],u=o[1];if(c&&rle(c)){var O=i.counters.getCounterValue(c.value),d=u&&rle(u)?Mce.parse(i.context,u.value):3;l.appendChild(a.createTextNode(mde(O,d,!1)))}}else if("counters"===t.name){var h=t.values.filter(sle),f=(c=h[0],h[1]);u=h[2];if(c&&rle(c)){var p=i.counters.getCounterValues(c.value),A=u&&rle(u)?Mce.parse(i.context,u.value):3,m=f&&0===f.type?f.value:"",g=p.map(function(e){return mde(e,A,!1)}).join(m);l.appendChild(a.createTextNode(g))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(kue(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(kue(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}}),l.className=_de+" "+Cde;var c=r===Wue.BEFORE?" "+_de:" "+Cde;return LOe(t)?t.className.baseValue+=c:t.className+=c,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(Wue||(Wue={}));var yde,bde=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(gde,"true"),e.body.appendChild(n),n},wde=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},Qde=function(e){return Promise.all([].slice.call(e.images,0).map(wde))},$de=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),t(e))},50)}})},Sde=["all","d","content"],xde=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===Sde.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},kde=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},Pde=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},Tde=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},_de="___html2canvas___pseudoelement_before",Cde="___html2canvas___pseudoelement_after",Ede='{\n content: "" !important;\n display: none !important;\n}',Rde=function(e){Xde(e,"."+_de+":before"+Ede+"\n ."+Cde+":after"+Ede)},Xde=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},Bde=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),Ude=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Vde(e)||Nde(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return Aae(this,0,void 0,function(){var t,n,r,i,o=this;return mae(this,function(a){switch(a.label){case 0:return t=Bde.isSameOrigin(e),n=!Mde(e)&&!0===this._options.useCORS&&aOe.SUPPORT_CORS_IMAGES&&!t,r=!Mde(e)&&!t&&!Vde(e)&&"string"==typeof this._options.proxy&&aOe.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Mde(e)||Vde(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Lde(i)||n)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout(function(){return e(r)},500),o._options.imageTimeout>0&&setTimeout(function(){return t("Timed out ("+o._options.imageTimeout+"ms) loading image")},o._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},e.prototype.has=function(e){return typeof this._cache[e]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise(function(i,o){var a=aOe.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var e=new FileReader;e.addEventListener("load",function(){return i(e.result)},!1),e.addEventListener("error",function(e){return o(e)},!1),e.readAsDataURL(s.response)}else o("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=o;var l=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+l+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var c=t._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return o("Timed out ("+c+"ms) proxying "+r)}}s.send()})},e}(),Dde=/^data:image\/svg\+xml/i,Ide=/^data:image\/.*;base64,/i,zde=/^data:image\/.*/i,Nde=function(e){return aOe.SUPPORT_SVG_DRAWING||!qde(e)},Mde=function(e){return zde.test(e)},Lde=function(e){return Ide.test(e)},Vde=function(e){return"blob"===e.substr(0,4)},qde=function(e){return"svg"===e.substr(-3).toLowerCase()||Dde.test(e)},Fde=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Wde=function(e,t,n){return new Fde(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Zde=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Wde(this.start,this.startControl,t),i=Wde(this.startControl,this.endControl,t),o=Wde(this.endControl,this.end,t),a=Wde(r,i,t),s=Wde(i,o,t),l=Wde(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Yde=function(e){return 1===e.type},jde=function(){return function(e){var t=e.styles,n=e.bounds,r=Ale(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],a=Ale(t.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],c=Ale(t.borderBottomRightRadius,n.width,n.height),u=c[0],O=c[1],d=Ale(t.borderBottomLeftRadius,n.width,n.height),h=d[0],f=d[1],p=[];p.push((i+s)/n.width),p.push((h+u)/n.width),p.push((o+f)/n.height),p.push((l+O)/n.height);var A=Math.max.apply(Math,p);A>1&&(i/=A,o/=A,s/=A,l/=A,u/=A,O/=A,h/=A,f/=A);var m=n.width-s,g=n.height-O,v=n.width-u,y=n.height-f,b=t.borderTopWidth,w=t.borderRightWidth,Q=t.borderBottomWidth,$=t.borderLeftWidth,S=mle(t.paddingTop,e.bounds.width),x=mle(t.paddingRight,e.bounds.width),k=mle(t.paddingBottom,e.bounds.width),P=mle(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?Gde(n.left+$/3,n.top+b/3,i-$/3,o-b/3,yde.TOP_LEFT):new Fde(n.left+$/3,n.top+b/3),this.topRightBorderDoubleOuterBox=i>0||o>0?Gde(n.left+m,n.top+b/3,s-w/3,l-b/3,yde.TOP_RIGHT):new Fde(n.left+n.width-w/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=u>0||O>0?Gde(n.left+v,n.top+g,u-w/3,O-Q/3,yde.BOTTOM_RIGHT):new Fde(n.left+n.width-w/3,n.top+n.height-Q/3),this.bottomLeftBorderDoubleOuterBox=h>0||f>0?Gde(n.left+$/3,n.top+y,h-$/3,f-Q/3,yde.BOTTOM_LEFT):new Fde(n.left+$/3,n.top+n.height-Q/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?Gde(n.left+2*$/3,n.top+2*b/3,i-2*$/3,o-2*b/3,yde.TOP_LEFT):new Fde(n.left+2*$/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=i>0||o>0?Gde(n.left+m,n.top+2*b/3,s-2*w/3,l-2*b/3,yde.TOP_RIGHT):new Fde(n.left+n.width-2*w/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=u>0||O>0?Gde(n.left+v,n.top+g,u-2*w/3,O-2*Q/3,yde.BOTTOM_RIGHT):new Fde(n.left+n.width-2*w/3,n.top+n.height-2*Q/3),this.bottomLeftBorderDoubleInnerBox=h>0||f>0?Gde(n.left+2*$/3,n.top+y,h-2*$/3,f-2*Q/3,yde.BOTTOM_LEFT):new Fde(n.left+2*$/3,n.top+n.height-2*Q/3),this.topLeftBorderStroke=i>0||o>0?Gde(n.left+$/2,n.top+b/2,i-$/2,o-b/2,yde.TOP_LEFT):new Fde(n.left+$/2,n.top+b/2),this.topRightBorderStroke=i>0||o>0?Gde(n.left+m,n.top+b/2,s-w/2,l-b/2,yde.TOP_RIGHT):new Fde(n.left+n.width-w/2,n.top+b/2),this.bottomRightBorderStroke=u>0||O>0?Gde(n.left+v,n.top+g,u-w/2,O-Q/2,yde.BOTTOM_RIGHT):new Fde(n.left+n.width-w/2,n.top+n.height-Q/2),this.bottomLeftBorderStroke=h>0||f>0?Gde(n.left+$/2,n.top+y,h-$/2,f-Q/2,yde.BOTTOM_LEFT):new Fde(n.left+$/2,n.top+n.height-Q/2),this.topLeftBorderBox=i>0||o>0?Gde(n.left,n.top,i,o,yde.TOP_LEFT):new Fde(n.left,n.top),this.topRightBorderBox=s>0||l>0?Gde(n.left+m,n.top,s,l,yde.TOP_RIGHT):new Fde(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||O>0?Gde(n.left+v,n.top+g,u,O,yde.BOTTOM_RIGHT):new Fde(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=h>0||f>0?Gde(n.left,n.top+y,h,f,yde.BOTTOM_LEFT):new Fde(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?Gde(n.left+$,n.top+b,Math.max(0,i-$),Math.max(0,o-b),yde.TOP_LEFT):new Fde(n.left+$,n.top+b),this.topRightPaddingBox=s>0||l>0?Gde(n.left+Math.min(m,n.width-w),n.top+b,m>n.width+w?0:Math.max(0,s-w),Math.max(0,l-b),yde.TOP_RIGHT):new Fde(n.left+n.width-w,n.top+b),this.bottomRightPaddingBox=u>0||O>0?Gde(n.left+Math.min(v,n.width-$),n.top+Math.min(g,n.height-Q),Math.max(0,u-w),Math.max(0,O-Q),yde.BOTTOM_RIGHT):new Fde(n.left+n.width-w,n.top+n.height-Q),this.bottomLeftPaddingBox=h>0||f>0?Gde(n.left+$,n.top+Math.min(y,n.height-Q),Math.max(0,h-$),Math.max(0,f-Q),yde.BOTTOM_LEFT):new Fde(n.left+$,n.top+n.height-Q),this.topLeftContentBox=i>0||o>0?Gde(n.left+$+P,n.top+b+S,Math.max(0,i-($+P)),Math.max(0,o-(b+S)),yde.TOP_LEFT):new Fde(n.left+$+P,n.top+b+S),this.topRightContentBox=s>0||l>0?Gde(n.left+Math.min(m,n.width+$+P),n.top+b+S,m>n.width+$+P?0:s-$+P,l-(b+S),yde.TOP_RIGHT):new Fde(n.left+n.width-(w+x),n.top+b+S),this.bottomRightContentBox=u>0||O>0?Gde(n.left+Math.min(v,n.width-($+P)),n.top+Math.min(g,n.height+b+S),Math.max(0,u-(w+x)),O-(Q+k),yde.BOTTOM_RIGHT):new Fde(n.left+n.width-(w+x),n.top+n.height-(Q+k)),this.bottomLeftContentBox=h>0||f>0?Gde(n.left+$+P,n.top+y,Math.max(0,h-($+P)),f-(Q+k),yde.BOTTOM_LEFT):new Fde(n.left+$+P,n.top+n.height-(Q+k))}}();!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(yde||(yde={}));var Gde=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,a=n*o,s=r*o,l=e+n,c=t+r;switch(i){case yde.TOP_LEFT:return new Zde(new Fde(e,c),new Fde(e,c-s),new Fde(l-a,t),new Fde(l,t));case yde.TOP_RIGHT:return new Zde(new Fde(e,t),new Fde(e+a,t),new Fde(l,c-s),new Fde(l,c));case yde.BOTTOM_RIGHT:return new Zde(new Fde(l,t),new Fde(l,t+s),new Fde(e+a,c),new Fde(e,c));case yde.BOTTOM_LEFT:default:return new Zde(new Fde(l,c),new Fde(l-a,c),new Fde(e,t+s),new Fde(e,t))}},Hde=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Kde=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Jde=function(){return function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}}(),ehe=function(){return function(e,t){this.path=e,this.target=t,this.type=1}}(),the=function(){return function(e){this.opacity=e,this.type=2,this.target=6}}(),nhe=function(e){return 1===e.type},rhe=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},ihe=function(){return function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),ohe=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new jde(this.container),this.container.styles.opacity<1&&this.effects.push(new the(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new Jde(n,r,i))}if(0!==this.container.styles.overflowX){var o=Hde(this.curves),a=Kde(this.curves);rhe(o,a)?this.effects.push(new ehe(o,6)):(this.effects.push(new ehe(o,2)),this.effects.push(new ehe(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(e){return!nhe(e)});if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=Hde(n.curves),a=Kde(n.curves);rhe(o,a)||r.unshift(new ehe(a,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(t){return bue(t.target,e)})},e}(),ahe=function(e,t,n,r){e.container.elements.forEach(function(i){var o=bue(i.flags,4),a=bue(i.flags,2),s=new ohe(i,e);bue(i.styles.display,2048)&&r.push(s);var l=bue(i.flags,8)?[]:r;if(o||a){var c=o||i.styles.isPositioned()?n:t,u=new ihe(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var O=i.styles.zIndex.order;if(O<0){var d=0;c.negativeZIndex.some(function(e,t){return O>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),c.negativeZIndex.splice(d,0,u)}else if(O>0){var h=0;c.positiveZIndex.some(function(e,t){return O>=e.element.container.styles.zIndex.order?(h=t+1,!1):h>0}),c.positiveZIndex.splice(h,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);ahe(s,u,o?u:n,l)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),ahe(s,t,n,l);bue(i.flags,8)&&she(i,l)})},she=function(e,t){for(var n=e instanceof wOe?e.start:1,r=e instanceof wOe&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof bOe&&"number"==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=mde(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},lhe=function(e,t){switch(t){case 0:return uhe(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return uhe(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return uhe(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return uhe(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},che=function(e,t){var n=[];return Yde(e)?n.push(e.subdivide(.5,!1)):n.push(e),Yde(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},uhe=function(e,t,n,r){var i=[];return Yde(e)?i.push(e.subdivide(.5,!1)):i.push(e),Yde(n)?i.push(n.subdivide(.5,!0)):i.push(n),Yde(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),Yde(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},Ohe=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},dhe=function(e){var t=e.styles,n=e.bounds,r=mle(t.paddingLeft,n.width),i=mle(t.paddingRight,n.width),o=mle(t.paddingTop,n.width),a=mle(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+a))},hhe=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?dhe(t):Ohe(t)}(mhe(e.styles.backgroundOrigin,t),e),i=function(e,t){return 0===e?t.bounds:2===e?dhe(t):Ohe(t)}(mhe(e.styles.backgroundClip,t),e),o=Ahe(mhe(e.styles.backgroundSize,t),n,r),a=o[0],s=o[1],l=Ale(mhe(e.styles.backgroundPosition,t),r.width-a,r.height-s);return[ghe(mhe(e.styles.backgroundRepeat,t),l,o,r,i),Math.round(r.left+l[0]),Math.round(r.top+l[1]),a,s]},fhe=function(e){return rle(e)&&e.value===Jle.AUTO},phe=function(e){return"number"==typeof e},Ahe=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Ole(a)&&s&&Ole(s))return[mle(a,n.width),mle(s,n.height)];var l=phe(o);if(rle(a)&&(a.value===Jle.CONTAIN||a.value===Jle.COVER))return phe(o)?n.width/n.height<o!=(a.value===Jle.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var c=phe(r),u=phe(i),O=c||u;if(fhe(a)&&(!s||fhe(s)))return c&&u?[r,i]:l||O?O&&l?[c?r:i*o,u?i:r/o]:[c?r:n.width,u?i:n.height]:[n.width,n.height];if(l){var d=0,h=0;return Ole(a)?d=mle(a,n.width):Ole(s)&&(h=mle(s,n.height)),fhe(a)?d=h*o:(!s||fhe(s))&&(h=d/o),[d,h]}var f=null,p=null;if(Ole(a)?f=mle(a,n.width):s&&Ole(s)&&(p=mle(s,n.height)),null!==f&&(!s||fhe(s))&&(p=c&&u?f/r*i:n.height),null!==p&&fhe(a)&&(f=c&&u?p/i*r:n.width),null!==f&&null!==p)return[f,p];throw new Error("Unable to calculate background-size for element")},mhe=function(e,t){var n=e[t];return typeof n>"u"?e[0]:n},ghe=function(e,t,n,r,i){var o=t[0],a=t[1],s=n[0],l=n[1];switch(e){case 2:return[new Fde(Math.round(r.left),Math.round(r.top+a)),new Fde(Math.round(r.left+r.width),Math.round(r.top+a)),new Fde(Math.round(r.left+r.width),Math.round(l+r.top+a)),new Fde(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new Fde(Math.round(r.left+o),Math.round(r.top)),new Fde(Math.round(r.left+o+s),Math.round(r.top)),new Fde(Math.round(r.left+o+s),Math.round(r.height+r.top)),new Fde(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new Fde(Math.round(r.left+o),Math.round(r.top+a)),new Fde(Math.round(r.left+o+s),Math.round(r.top+a)),new Fde(Math.round(r.left+o+s),Math.round(r.top+a+l)),new Fde(Math.round(r.left+o),Math.round(r.top+a+l))];default:return[new Fde(Math.round(i.left),Math.round(i.top)),new Fde(Math.round(i.left+i.width),Math.round(i.top)),new Fde(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Fde(Math.round(i.left),Math.round(i.height+i.top))]}},vhe="Hidden Text",yhe=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),o=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",o.appendChild(n),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(vhe)),n.appendChild(i),n.appendChild(r);var a=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(vhe)),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),bhe=function(){return function(e,t){this.context=e,this.options=t}}(),whe=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new yhe(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return fae(t,e),t.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},t.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),nhe(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(e){return Aae(this,0,void 0,function(){return mae(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(e){return Aae(this,0,void 0,function(){return mae(this,function(t){switch(t.label){case 0:return bue(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):uOe(e.text).reduce(function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width},e.bounds.left)},t.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return"normal"===e||"small-caps"===e}).join(""),n=khe(e.fontFamily).join(", "),r=tle(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},t.prototype.renderTextNode=function(e,t){return Aae(this,0,void 0,function(){var n,r,i,o,a,s,l,c,u=this;return mae(this,function(O){return n=this.createFontStyle(t),r=n[0],i=n[1],o=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(i,o),s=a.baseline,l=a.middle,c=t.paintOrder,e.textBounds.forEach(function(e){c.forEach(function(n){switch(n){case 0:u.ctx.fillStyle=xle(t.color),u.renderTextWithLetterSpacing(e,t.letterSpacing,s);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(n){u.ctx.shadowColor=xle(n.color),u.ctx.shadowOffsetX=n.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=n.offsetY.number*u.options.scale,u.ctx.shadowBlur=n.blur.number,u.renderTextWithLetterSpacing(e,t.letterSpacing,s)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=xle(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+s),e.bounds.width,1);break;case 2:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:u.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+l),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(u.ctx.strokeStyle=xle(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+s)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter"}})}),[2]})})},t.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=dhe(e),i=Kde(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return Aae(this,0,void 0,function(){var n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v;return mae(this,function(y){switch(y.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,o=0,a=n.textNodes,y.label=1;case 1:return o<a.length?(s=a[o],[4,this.renderTextNode(s,i)]):[3,4];case 2:y.sent(),y.label=3;case 3:return o++,[3,1];case 4:if(!(n instanceof gOe))return[3,8];y.label=5;case 5:return y.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return A=y.sent(),this.renderReplacedElement(n,r,A),[3,8];case 7:return y.sent(),this.context.logger.error("Error loading image "+n.src),[3,8];case 8:if(n instanceof vOe&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof yOe))return[3,12];y.label=9;case 9:return y.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return A=y.sent(),this.renderReplacedElement(n,r,A),[3,12];case 11:return y.sent(),this.context.logger.error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof EOe&&n.tree?[4,new t(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}).render(n.tree)]:[3,14];case 13:l=y.sent(),n.width&&n.height&&this.ctx.drawImage(l,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),y.label=14;case 14:if(n instanceof TOe&&(c=Math.min(n.bounds.width,n.bounds.height),n.type===SOe?n.checked&&(this.ctx.save(),this.path([new Fde(n.bounds.left+.39363*c,n.bounds.top+.79*c),new Fde(n.bounds.left+.16*c,n.bounds.top+.5549*c),new Fde(n.bounds.left+.27347*c,n.bounds.top+.44071*c),new Fde(n.bounds.left+.39694*c,n.bounds.top+.5649*c),new Fde(n.bounds.left+.72983*c,n.bounds.top+.23*c),new Fde(n.bounds.left+.84*c,n.bounds.top+.34085*c),new Fde(n.bounds.left+.39363*c,n.bounds.top+.79*c)]),this.ctx.fillStyle=xle(POe),this.ctx.fill(),this.ctx.restore()):n.type===xOe&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+c/2,n.bounds.top+c/2,c/4,0,2*Math.PI,!0),this.ctx.fillStyle=xle(POe),this.ctx.fill(),this.ctx.restore())),Qhe(n)&&n.value.length){switch(u=this.createFontStyle(i),g=u[0],O=u[1],d=this.fontMetrics.getMetrics(g,O).baseline,this.ctx.font=g,this.ctx.fillStyle=xle(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=She(n.styles.textAlign),v=dhe(n),h=0,n.styles.textAlign){case 1:h+=v.width/2;break;case 2:h+=v.width}f=v.add(h,0,0,-v.height/2+1),this.ctx.save(),this.path([new Fde(v.left,v.top),new Fde(v.left+v.width,v.top),new Fde(v.left+v.width,v.top+v.height),new Fde(v.left,v.top+v.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new sOe(n.value,f),i.letterSpacing,d),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!bue(n.styles.display,2048))return[3,20];if(null===n.styles.listStyleImage)return[3,19];if(0!==(p=n.styles.listStyleImage).type)return[3,18];A=void 0,m=p.url,y.label=15;case 15:return y.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return A=y.sent(),this.ctx.drawImage(A,n.bounds.left-(A.width+10),n.bounds.top),[3,18];case 17:return y.sent(),this.context.logger.error("Error loading list-style-image "+m),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==n.styles.listStyleType&&(g=this.createFontStyle(i)[0],this.ctx.font=g,this.ctx.fillStyle=xle(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",v=new gae(n.bounds.left,n.bounds.top+mle(n.styles.paddingTop,n.bounds.width),n.bounds.width,Ice(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new sOe(e.listValue,v),i.letterSpacing,Ice(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),y.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(e){return Aae(this,0,void 0,function(){var t,n,r,i,o,a,s,l,c,u,O,d,h,f,p;return mae(this,function(A){switch(A.label){case 0:return bue(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:A.sent(),t=0,n=e.negativeZIndex,A.label=2;case 2:return t<n.length?(p=n[t],[4,this.renderStack(p)]):[3,5];case 3:A.sent(),A.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:A.sent(),r=0,i=e.nonInlineLevel,A.label=7;case 7:return r<i.length?(p=i[r],[4,this.renderNode(p)]):[3,10];case 8:A.sent(),A.label=9;case 9:return r++,[3,7];case 10:o=0,a=e.nonPositionedFloats,A.label=11;case 11:return o<a.length?(p=a[o],[4,this.renderStack(p)]):[3,14];case 12:A.sent(),A.label=13;case 13:return o++,[3,11];case 14:s=0,l=e.nonPositionedInlineLevel,A.label=15;case 15:return s<l.length?(p=l[s],[4,this.renderStack(p)]):[3,18];case 16:A.sent(),A.label=17;case 17:return s++,[3,15];case 18:c=0,u=e.inlineLevel,A.label=19;case 19:return c<u.length?(p=u[c],[4,this.renderNode(p)]):[3,22];case 20:A.sent(),A.label=21;case 21:return c++,[3,19];case 22:O=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,A.label=23;case 23:return O<d.length?(p=d[O],[4,this.renderStack(p)]):[3,26];case 24:A.sent(),A.label=25;case 25:return O++,[3,23];case 26:h=0,f=e.positiveZIndex,A.label=27;case 27:return h<f.length?(p=f[h],[4,this.renderStack(p)]):[3,30];case 28:A.sent(),A.label=29;case 29:return h++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},t.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=Yde(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Yde(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},t.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},t.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return i.width=Math.max(1,t),i.height=Math.max(1,n),i.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),i},t.prototype.renderBackgroundImage=function(e){return Aae(this,0,void 0,function(){var t,n,r,i,o,a;return mae(this,function(s){switch(s.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v,y,b,w,Q,$,S,x,k,P,T,_,C,E,R,X;return mae(this,function(B){switch(B.label){case 0:if(0!==n.type)return[3,5];i=void 0,o=n.url,B.label=1;case 1:return B.trys.push([1,3,,4]),[4,r.context.cache.match(o)];case 2:return i=B.sent(),[3,4];case 3:return B.sent(),r.context.logger.error("Error loading background-image "+o),[3,4];case 4:return i&&(a=hhe(e,t,[i.width,i.height,i.width/i.height]),v=a[0],S=a[1],x=a[2],w=a[3],Q=a[4],m=r.ctx.createPattern(r.resizeImage(i,w,Q),"repeat"),r.renderRepeat(v,m,S,x)),[3,6];case 5:!function(e){return 1===e.type}(n)?function(e){return 2===e.type}(n)&&(g=hhe(e,t,[null,null,null]),v=g[0],y=g[1],b=g[2],w=g[3],Q=g[4],$=0===n.position.length?[fle]:n.position,S=mle($[0],w),x=mle($[$.length-1],Q),k=function(e,t,n,r,i){var o=0,a=0;switch(e.size){case 0:0===e.shape?o=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=a=Math.min(Nle(t,n),Nle(t,n-i),Nle(t-r,n),Nle(t-r,n-i));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),l=Mle(r,i,t,n,!0),c=l[0],u=l[1];a=s*(o=Nle(c-t,(u-n)/s))}break;case 1:0===e.shape?o=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=a=Math.max(Nle(t,n),Nle(t,n-i),Nle(t-r,n),Nle(t-r,n-i));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var O=Mle(r,i,t,n,!1);c=O[0],u=O[1],a=s*(o=Nle(c-t,(u-n)/s))}}return Array.isArray(e.size)&&(o=mle(e.size[0],r),a=2===e.size.length?mle(e.size[1],i):o),[o,a]}(n,S,x,w,Q),P=k[0],T=k[1],P>0&&T>0&&(_=r.ctx.createRadialGradient(y+S,b+x,0,y+S,b+x,P),Ile(n.stops,2*P).forEach(function(e){return _.addColorStop(e.stop,xle(e.color))}),r.path(v),r.ctx.fillStyle=_,P!==T?(C=e.bounds.left+.5*e.bounds.width,E=e.bounds.top+.5*e.bounds.height,X=1/(R=T/P),r.ctx.save(),r.ctx.translate(C,E),r.ctx.transform(1,0,0,R,0,0),r.ctx.translate(-C,-E),r.ctx.fillRect(y,X*(b-E)+E,w,Q*X),r.ctx.restore()):r.ctx.fill())):(s=hhe(e,t,[null,null,null]),v=s[0],S=s[1],x=s[2],w=s[3],Q=s[4],l=zle(n.angle,w,Q),c=l[0],u=l[1],O=l[2],d=l[3],h=l[4],(f=document.createElement("canvas")).width=w,f.height=Q,p=f.getContext("2d"),A=p.createLinearGradient(u,d,O,h),Ile(n.stops,c).forEach(function(e){return A.addColorStop(e.stop,xle(e.color))}),p.fillStyle=A,p.fillRect(0,0,w,Q),w>0&&Q>0&&(m=r.ctx.createPattern(f,"repeat"),r.renderRepeat(v,m,S,x))),B.label=6;case 6:return t--,[2]}})},r=this,i=0,o=e.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return i<o.length?(a=o[i],[5,n(a)]):[3,4];case 2:s.sent(),s.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(e,t,n){return Aae(this,0,void 0,function(){return mae(this,function(r){return this.path(lhe(n,t)),this.ctx.fillStyle=xle(e),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(e,t,n,r){return Aae(this,0,void 0,function(){var i,o;return mae(this,function(a){switch(a.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,r)]:[3,2];case 1:return a.sent(),[2];case 2:return i=function(e,t){switch(t){case 0:return uhe(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return uhe(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return uhe(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return uhe(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(r,n),this.path(i),this.ctx.fillStyle=xle(e),this.ctx.fill(),o=function(e,t){switch(t){case 0:return uhe(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return uhe(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return uhe(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return uhe(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(r,n),this.path(o),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(e){return Aae(this,0,void 0,function(){var t,n,r,i,o,a,s,l,c=this;return mae(this,function(u){switch(u.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!Sle(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=$he(mhe(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),Sle(t.backgroundColor)||(this.ctx.fillStyle=xle(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:u.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){c.ctx.save();var n=Hde(e.curves),r=t.inset?0:1e4,i=function(e,t,n,r,i){return e.map(function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e})}(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(c.path(n),c.ctx.clip(),c.mask(i)):(c.mask(n),c.ctx.clip(),c.path(i)),c.ctx.shadowOffsetX=t.offsetX.number+r,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=xle(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?xle(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()}),u.label=2;case 2:o=0,a=0,s=r,u.label=3;case 3:return a<s.length?0!==(l=s[a]).style&&!Sle(l.color)&&l.width>0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,o,e.curves,2)]:[3,11]:[3,13];case 4:return u.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,o,e.curves,3)];case 6:return u.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,o,e.curves)];case 8:return u.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,o,e.curves)];case 10:u.sent(),u.label=11;case 11:o++,u.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(e,t,n,r,i){return Aae(this,0,void 0,function(){var o,a,s,l,c,u,O,d,h,f,p,A,m,g,v,y;return mae(this,function(b){return this.ctx.save(),o=function(e,t){switch(t){case 0:return che(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return che(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return che(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return che(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(r,n),a=lhe(r,n),2===i&&(this.path(a),this.ctx.clip()),Yde(a[0])?(s=a[0].start.x,l=a[0].start.y):(s=a[0].x,l=a[0].y),Yde(a[1])?(c=a[1].end.x,u=a[1].end.y):(c=a[1].x,u=a[1].y),O=0===n||2===n?Math.abs(s-c):Math.abs(l-u),this.ctx.beginPath(),3===i?this.formatPath(o):this.formatPath(a.slice(0,2)),d=t<3?3*t:2*t,h=t<3?2*t:t,3===i&&(d=t,h=t),f=!0,O<=2*d?f=!1:O<=2*d+h?(d*=p=O/(2*d+h),h*=p):(A=Math.floor((O+h)/(d+h)),m=(O-A*d)/(A-1),h=(g=(O-(A+1)*d)/A)<=0||Math.abs(h-m)<Math.abs(h-g)?m:g),f&&(3===i?this.ctx.setLineDash([0,d+h]):this.ctx.setLineDash([d,h])),3===i?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=xle(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===i&&(Yde(a[0])&&(v=a[3],y=a[0],this.ctx.beginPath(),this.formatPath([new Fde(v.end.x,v.end.y),new Fde(y.start.x,y.start.y)]),this.ctx.stroke()),Yde(a[1])&&(v=a[1],y=a[2],this.ctx.beginPath(),this.formatPath([new Fde(v.end.x,v.end.y),new Fde(y.start.x,y.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(e){return Aae(this,0,void 0,function(){var t;return mae(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=xle(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=function(e){var t=new ohe(e,null),n=new ihe(t),r=[];return ahe(t,n,n,r),she(t.container,r),n}(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(bhe),Qhe=function(e){return e instanceof COe||e instanceof _Oe||e instanceof TOe&&e.type!==xOe&&e.type!==SOe},$he=function(e,t){switch(e){case 0:return Hde(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return Kde(t)}},She=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},xhe=["-apple-system","system-ui"],khe=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===xhe.indexOf(e)}):e},Phe=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return fae(t,e),t.prototype.render=function(e){return Aae(this,0,void 0,function(){var t,n;return mae(this,function(r){switch(r.label){case 0:return t=iOe(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,The(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=xle(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(bhe),The=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},_he=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.debug||this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&console.info},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.warn||this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.error||this.info.apply(this,e))},e.instances={},e}(),Che=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new _he({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new Ude(this,t)}return e.instanceCount=1,e}(),Ehe=function(e,t){return void 0===t&&(t={}),Rhe(e,t)};typeof window<"u"&&Bde.setContext(window);var Rhe=function(e,t){return Aae(void 0,0,void 0,function(){var n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v,y,b,w,Q,$,S,x,k,P,T,_,C,E,R,X,B,U,D,I,z;return mae(this,function(N){switch(N.label){case 0:if(!e||"object"!=typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(n=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(r=n.defaultView))throw new Error("Document is not attached to a Window");return i={allowTaint:null!==(Q=t.allowTaint)&&void 0!==Q&&Q,imageTimeout:null!==($=t.imageTimeout)&&void 0!==$?$:15e3,proxy:t.proxy,useCORS:null!==(S=t.useCORS)&&void 0!==S&&S},o=pae({logging:null===(x=t.logging)||void 0===x||x,cache:t.cache},i),a={windowWidth:null!==(k=t.windowWidth)&&void 0!==k?k:r.innerWidth,windowHeight:null!==(P=t.windowHeight)&&void 0!==P?P:r.innerHeight,scrollX:null!==(T=t.scrollX)&&void 0!==T?T:r.pageXOffset,scrollY:null!==(_=t.scrollY)&&void 0!==_?_:r.pageYOffset},s=new gae(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),l=new Che(o,s),c=null!==(C=t.foreignObjectRendering)&&void 0!==C&&C,u={allowTaint:null!==(E=t.allowTaint)&&void 0!==E&&E,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:c,copyStyles:c},l.logger.debug("Starting document clone with size "+s.width+"x"+s.height+" scrolled to "+-s.left+","+-s.top),O=new vde(l,e,u),(d=O.clonedReferenceElement)?[4,O.toIFrame(n,s)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return h=N.sent(),f=ZOe(d)||function(e){return"HTML"===e.tagName}(d)?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new gae(0,0,r,i)}(d.ownerDocument):vae(l,d),p=f.width,A=f.height,m=f.left,g=f.top,v=Xhe(l,d,t.backgroundColor),y={canvas:t.canvas,backgroundColor:v,scale:null!==(X=null!==(R=t.scale)&&void 0!==R?R:r.devicePixelRatio)&&void 0!==X?X:1,x:(null!==(B=t.x)&&void 0!==B?B:0)+m,y:(null!==(U=t.y)&&void 0!==U?U:0)+g,width:null!==(D=t.width)&&void 0!==D?D:Math.ceil(p),height:null!==(I=t.height)&&void 0!==I?I:Math.ceil(A)},c?(l.logger.debug("Document cloned, using foreign object rendering"),[4,new Phe(l,y).render(d)]):[3,3];case 2:return b=N.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+m+","+g+" with size "+p+"x"+A+" using computed rendering"),l.logger.debug("Starting DOM parsing"),w=UOe(l,d),v===w.styles.backgroundColor&&(w.styles.backgroundColor=Xle.TRANSPARENT),l.logger.debug("Starting renderer for element at "+y.x+","+y.y+" with size "+y.width+"x"+y.height),[4,new whe(l,y).render(w)];case 4:b=N.sent(),N.label=5;case 5:return(!(null!==(z=t.removeContainer)&&void 0!==z)||z)&&(vde.destroy(h)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,b]}})})},Xhe=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?Rle(e,getComputedStyle(r.documentElement).backgroundColor):Xle.TRANSPARENT,o=r.body?Rle(e,getComputedStyle(r.body).backgroundColor):Xle.TRANSPARENT,a="string"==typeof n?Rle(e,n):null===n?Xle.TRANSPARENT:4294967295;return t===r.documentElement?Sle(i)?Sle(o)?a:o:i:a};const Bhe=Object.freeze(Object.defineProperty({__proto__:null,default:Ehe},Symbol.toStringTag,{value:"Module"}));function Uhe(e){let t=!1;if("object"==typeof e.type){const n=e.type;t="TaskListContextMenu"===n.name||"TaskListContextMenu"===n.__name||void 0!==n.__file&&n.__file.includes("TaskListContextMenu")}if(!t)return null;const n=e.props||{},r=e.children,i=null==r?void 0:r.default;return i?{defaultSlot:i,taskType:n.taskType||n["task-type"]}:null}function Dhe(e){const t=Ha(()=>function(e){var t;const n=null==(t=e.default)?void 0:t.call(e);if(!n||!Array.isArray(n))return null;const r=e=>{for(const t of e){if(!t)continue;if("symbol"==typeof t.type){if(t.children&&Array.isArray(t.children)){const e=r(t.children);if(e)return e}continue}const e=Uhe(t);if(e)return e;if(t.children&&Array.isArray(t.children)){const e=r(t.children);if(e)return e}}return null};return r(n)}(e)),n=Ha(()=>!!t.value);return{declarativeContextMenu:t,hasDeclarativeContextMenu:n}}function Ihe(e){let t=!1;if("object"==typeof e.type){const n=e.type;t="TaskBarContextMenu"===n.name||"TaskBarContextMenu"===n.__name||void 0!==n.__file&&n.__file.includes("TaskBarContextMenu")}if(!t)return null;const n=e.props||{},r=e.children,i=null==r?void 0:r.default;return i?{defaultSlot:i,taskType:n.taskType||n["task-type"]}:null}function zhe(e){const t=Ha(()=>function(e){var t;const n=null==(t=e.default)?void 0:t.call(e);if(!n||!Array.isArray(n))return null;const r=e=>{for(const t of e){if(!t)continue;if("symbol"==typeof t.type){if(t.children&&Array.isArray(t.children)){const e=r(t.children);if(e)return e}continue}const e=Ihe(t);if(e)return e;if(t.children&&Array.isArray(t.children)){const e=r(t.children);if(e)return e}}return null};return r(n)}(e)),n=Ha(()=>!!t.value);return{declarativeContextMenu:t,hasDeclarativeContextMenu:n}}const Nhe={class:"gantt-body"},Mhe=["title"],Lhe={width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5"},Vhe={key:0,points:"15,18 9,12 15,6"},qhe={key:1,points:"9,18 15,12 9,6"},Fhe={class:"close-text"},Whe=Vr({__name:"GanttChart",props:{tasks:{default:()=>[]},milestones:{default:()=>[]},resources:{default:()=>[]},viewMode:{default:"task"},useDefaultDrawer:{type:Boolean,default:!0},useDefaultMilestoneDialog:{type:Boolean,default:!0},toolbarConfig:{default:()=>({})},showToolbar:{type:Boolean,default:!0},onTodayLocate:{type:Function,default:void 0},onExportCsv:{type:Function,default:void 0},onExportPdf:{type:Function,default:void 0},onLanguageChange:{type:Function,default:void 0},onThemeChange:{type:Function,default:void 0},onFullscreenChange:{type:Function,default:void 0},onSettingsConfirm:{type:Function,default:void 0},onExpandAll:{type:Function,default:void 0},onCollapseAll:{type:Function,default:void 0},localeMessages:{default:void 0},workingHours:{default:()=>({morning:{start:8,end:11},afternoon:{start:13,end:17}})},taskListConfig:{default:void 0},resourceListConfig:{default:void 0},taskListColumnRenderMode:{default:"default"},taskBarConfig:{default:void 0},autoSortByStartDate:{type:Boolean,default:!1},allowDragAndResize:{type:Boolean,default:!0},enableTaskRowMove:{type:Boolean,default:!1},assigneeOptions:{default:()=>[]},taskListRowClassName:{type:[String,Function],default:void 0},taskListRowStyle:{type:[Boolean,null,String,Object,Array,Function],default:void 0},enableTaskListContextMenu:{type:Boolean,default:!0},enableTaskBarContextMenu:{type:Boolean,default:!0},enableLinkAnchor:{type:Boolean,default:!0},enableTaskBarTooltip:{type:Boolean,default:!0},enableMilestoneTooltip:{type:Boolean,default:!0},showActualTaskbar:{type:Boolean,default:!1},showConflicts:{type:Boolean,default:!0},showTaskbarTab:{type:Boolean,default:!0},pendingTaskBackgroundColor:{},delayTaskBackgroundColor:{},completeTaskBackgroundColor:{},ongoingTaskBackgroundColor:{},fullscreen:{type:Boolean,default:!1},expandAll:{type:Boolean,default:!0},locale:{default:"zh-CN"},timeScale:{default:"week"},theme:{default:void 0},enableTaskListCollapsible:{type:Boolean,default:!0},taskListVisible:{type:Boolean,default:!0},enableTaskDrawerAutoClose:{type:Boolean,default:!0},scaleConfigs:{default:void 0},rowHeight:{default:51},enableParentTaskAutoSchedule:{type:Boolean,default:!0}},emits:["task-click","task-double-click","taskbar-drag-end","taskbar-resize-end","milestone-drag-end","milestone-double-click","timer-started","timer-stopped","predecessor-added","successor-added","task-deleted","task-added","task-updated","task-collapse-change","link-deleted","view-mode-changed","add-task","add-milestone","milestone-saved","milestone-deleted","milestone-icon-changed","add-predecessor","add-successor","task-row-moved","taskbar-resource-change","resource-drag-end"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=cn(),a=cn(null),{showMessage:s}=M8(),l=Fi(),c=cn(r.viewMode||"task"),u=Ha(()=>"resource"===c.value?r.resources:r.tasks),O=Ha(()=>"resource"===c.value?r.resourceListConfig:r.taskListConfig);ar("gantt-view-mode",c),ar("gantt-data-source",u),ar("gantt-list-config",O),ar("gantt-show-conflicts",Ha(()=>r.showConflicts)),ar("gantt-show-taskbar-tab",Ha(()=>r.showTaskbarTab)),ar("gantt-row-height",Ha(()=>Math.min(60,Math.max(30,r.rowHeight??51))));const d=new Map,h=new Map,f=e=>e.map(e=>`${e.id}-${e.startDate||""}-${e.endDate||""}`).join("|"),p=Ha(()=>{const e=new Map;if("resource"===c.value){const t=u.value,n=Math.min(60,Math.max(30,r.rowHeight??51));if(L.value>=0){const r=q.value;r.size>0&&r.size<.3*t.length?(d.forEach((t,n)=>{e.set(n,t.layout)}),r.forEach(r=>{const i=t.find(e=>String(e.id)===String(r));if(!i)return;const o=String(i.id),a=i.tasks||[];if(0===a.length)return e.set(o,{taskRowMap:new Map,rowHeights:[n],totalHeight:n}),void d.set(o,{layout:e.get(o),hash:""});const s=f(a),l=`${Y.value}:${s}`,c=d.get(o);if(c&&c.hash===l)e.set(o,c.layout);else{const t=Xee(a,n,Y.value);e.set(o,t),d.set(o,{layout:t,hash:l})}})):t.forEach(t=>{const r=String(t.id),i=t.tasks||[];if(0===i.length)return void e.set(r,{taskRowMap:new Map,rowHeights:[n],totalHeight:n});const o=f(i),a=`${Y.value}:${o}`,s=d.get(r);if(s&&s.hash===a)e.set(r,s.layout);else{const t=Xee(i,n,Y.value);e.set(r,t),d.set(r,{layout:t,hash:a})}})}}return e}),A=Ha(()=>{const e=new Map;if("resource"===c.value){const t=u.value;let n=0;t.forEach(t=>{const i=String(t.id);e.set(i,n);const o=p.value.get(i),a=(null==o?void 0:o.totalHeight)||Math.min(60,Math.max(30,r.rowHeight??51));n+=a})}return e}),m=Ha(()=>{if("resource"!==c.value)return new Map;const e=u.value,t=new Map;if(L.value>=0){const n=q.value;n.size>0&&n.size<.3*e.length?(h.forEach((e,n)=>{e.conflicts.size>0&&t.set(n,e.conflicts)}),n.forEach(n=>{const r=e.find(e=>String(e.id)===String(n));if(!r)return;const i=r.tasks||[];if(i.length<2)return;const o=String(r.id),a=f(i),s=`${Y.value}:${a}`,l=h.get(o);if(l&&l.hash===s)l.conflicts.size>0&&t.set(o,l.conflicts);else{const e=x2(i,r.id,Y.value);if(e.length>0){const n=new Set;e.forEach(e=>{e.tasks.forEach(e=>{n.add(e.id)})}),n.size>0&&t.set(o,n),h.set(o,{conflicts:n,hash:s})}else h.set(o,{conflicts:new Set,hash:s})}})):e.forEach(e=>{const n=e.tasks||[];if(n.length<2)return;const r=String(e.id),i=f(n),o=`${Y.value}:${i}`,a=h.get(r);if(a&&a.hash===o)a.conflicts.size>0&&t.set(r,a.conflicts);else{const i=x2(n,e.id,Y.value);if(i.length>0){const e=new Set;i.forEach(t=>{t.tasks.forEach(t=>{e.add(t.id)})}),e.size>0&&t.set(r,e),h.set(r,{conflicts:e,hash:o})}else h.set(r,{conflicts:new Set,hash:o})}})}return t});ar("resourceTaskLayouts",p),ar("resourceRowPositions",A),ar("resourceConflicts",m),ar("gantt-column-slots",l),ar("gantt-has-taskbar-tooltip-slot",Ha(()=>!!l["taskbar-tooltip"])),ar("enable-task-list-context-menu",Ha(()=>r.enableTaskListContextMenu)),ar("enable-task-bar-context-menu",Ha(()=>r.enableTaskBarContextMenu)),ar("enable-link-anchor",Ha(()=>r.enableLinkAnchor));const g=()=>typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",v=cn("light");ar("gantt-theme",v);const{hasDeclarativeContextMenu:y,declarativeContextMenu:b}=Dhe(l),{hasDeclarativeContextMenu:w,declarativeContextMenu:Q}=zhe(l);ar("task-list-context-menu-slot",Ha(()=>y.value)),ar("declarative-task-list-context-menu",b);ar("task-bar-context-menu-slot",Ha(()=>w.value)),ar("declarative-task-bar-context-menu",Q);const $=cn(1920),S=async()=>{await qn(),R.value=T(),E.value=_(),B.value=_(),U.value=_(),X.value=T();const e=I(D.value);e!==D.value&&(D.value=e)},x=()=>{if(o.value){const e=o.value.clientWidth;e!==$.value&&($.value=e,S())}},k=((e,t)=>{let n=0,r=null;return(...i)=>{const o=Date.now(),a=t-(o-n);r&&clearTimeout(r),a<=0?(n=o,e(...i)):r=window.setTimeout(()=>{n=Date.now(),e(...i),r=null},a)}})(x,100);vi(()=>{x(),S(),window.addEventListener("resize",k),qn(()=>{if(o.value){const e=r.theme??g();o.value.setAttribute("data-theme",e),v.value=e}})}),Qi(()=>{window.removeEventListener("resize",k)});const P=()=>{var e;let t;if("declarative"===r.taskListColumnRenderMode)t=Y5(l);else{const n=null==(e=r.taskListConfig)?void 0:e.columns;if(!n||0===n.length)return null;t=n.filter(e=>!1!==e.visible)}if(0===t.length||t.some(e=>null==e.width))return null;let n=0,i=0;for(const r of t){const e=r.width;if("number"==typeof e)n+=e;else{const t=e.trim();if(t.endsWith("%"))i+=parseFloat(t)/100;else{const e=parseFloat(t);if(isNaN(e))return null;n+=e}}}return i>=1?null:i>0?Math.round(n/(1-i)):n},T=()=>{var e;const t=V5(null==(e=r.taskListConfig)?void 0:e.minWidth,$.value,280),n=Math.max(t,280),i=P();return null!==i&&n>=i?i:n},_=()=>{var e,t;const n=V5(null==(e=r.taskListConfig)?void 0:e.maxWidth,$.value,1160),i=(null==(t=a.value)?void 0:t.getHeaderScrollWidth())??null;if(null!==i&&i>0)return Math.min(n,i);const o=P();return null!==o?Math.min(n,o):n},C=()=>{var e;return V5(null==(e=r.taskListConfig)?void 0:e.defaultWidth,$.value,320)},E=cn(_()),R=cn(T()),X=cn(T()),B=cn(_()),U=cn(_()),D=cn(C());ar("gantt-task-list-width",D);const I=e=>e<R.value?R.value:e>U.value?U.value:Math.max(R.value,e);hr(()=>r.taskListConfig,e=>{e&&(void 0!==e.defaultWidth&&(D.value=C()),S())},{immediate:!1,deep:!0});const z=un("declarative"===r.taskListColumnRenderMode?Y5(l).map(e=>`${e.width??"?"}`).join(","):null);hr(()=>"declarative"!==r.taskListColumnRenderMode?null:l.default??null,()=>{if("declarative"!==r.taskListColumnRenderMode)return void(z.value=null);const e=Y5(l);z.value=e.map(e=>`${e.width??"?"}`).join(",")}),hr(z,()=>{null!==z.value&&S()});const N=cn(null),M=cn(0),L=cn(0),V=cn(null),q=cn(new Set),F=()=>{V.value=null,q.value=new Set,L.value++},W=new Map,Z=(e,t)=>{W.clear();const n=e=>{for(const t of e)t.children&&t.children.length>0&&(W.set(t.id,{startDate:t.startDate||"",endDate:t.endDate||""}),n(t.children))};e&&n(e)};r.tasks&&Z(r.tasks),hr(()=>r.tasks,e=>{e&&Z(e),F(),!1===r.expandAll&&qn(()=>ge())}),hr(()=>r.enableParentTaskAutoSchedule,(e,t)=>{if(!1!==t&&!1===e&&r.tasks){const e=t=>{for(const n of t)if(n.children&&n.children.length>0){const t=W.get(n.id);t&&(n.startDate=t.startDate,n.endDate=t.endDate),e(n.children)}};e(r.tasks),F()}}),hr(()=>r.resources,()=>{F()}),hr(()=>{var e;return null==(e=r.resources)?void 0:e.map(e=>e.tasks.length)},()=>{F()});const Y=cn(t4.DAY),j=Ha(()=>{if(!r.scaleConfigs)return n4;const e={};for(const t of Object.keys(n4)){const n=r.scaleConfigs[t];if(n){const r=n4[t],i=n.cellWidth??r.cellWidth,o=Math.min(r.maxCellWidth??1/0,Math.max(r.minCellWidth??0,i));e[t]={...r,cellWidth:o,...null!=n.preBuffer?{preBuffer:n.preBuffer}:{},...null!=n.sufBuffer?{sufBuffer:n.sufBuffer}:{},formatters:n.formatter?{...r.formatters,...n.formatter}:r.formatters,headerLevels:2}}else e[t]=n4[t]}return e}),G=e=>{c.value!==e&&(c.value=e,i("view-mode-changed",e))};hr(()=>r.viewMode,e=>{e&&c.value!==e&&(c.value=e,i("view-mode-changed",e))}),hr(c,()=>{S()});const H=Ha(()=>{var e;return null!=(null==(e=N.value)?void 0:e.highlightedTaskId)});hr(()=>N.value,e=>{e&&e.updateTimeScale(Y.value)},{once:!0});const K=cn(!1);ar("isSplitBarDragging",K);const J=cn(!1);function ee(e){if(e.target.closest(".task-list-toggle"))return;e.preventDefault(),e.stopPropagation(),K.value=!0;const t=e.clientX,n=D.value,r=document.querySelector(".task-list-body");if(!r)return;const i=r.getBoundingClientRect();E.value=i.width,B.value=.8*window.innerWidth-6,U.value=Math.min(B.value,U.value),window.dispatchEvent(new CustomEvent("splitter-drag-start")),document.body.style.userSelect="none",document.body.style.webkitUserSelect="none",document.body.style.cursor="col-resize",document.body.style.pointerEvents="none";const o=e=>{"mousemove"!==e.type&&"mouseup"!==e.type&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())};document.addEventListener("mousedown",o,{capture:!0}),document.addEventListener("click",o,{capture:!0}),document.addEventListener("dblclick",o,{capture:!0}),document.addEventListener("mouseover",o,{capture:!0}),document.addEventListener("mouseout",o,{capture:!0}),document.addEventListener("mouseenter",o,{capture:!0}),document.addEventListener("mouseleave",o,{capture:!0}),document.addEventListener("wheel",o,{capture:!0,passive:!1}),document.addEventListener("contextmenu",o,{capture:!0});let a=null,s=null;function l(e){if(!K.value)return;e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation();const r=e.clientX-t;s=I(n+r),null===a&&(a=requestAnimationFrame(()=>{null!==s&&(D.value=s,s=null),a=null}))}window.addEventListener("mousemove",l),window.addEventListener("mouseup",function e(){K.value=!1,null!==a&&(cancelAnimationFrame(a),a=null,null!==s&&(D.value=s,s=null)),document.removeEventListener("mousedown",o,{capture:!0}),document.removeEventListener("click",o,{capture:!0}),document.removeEventListener("dblclick",o,{capture:!0}),document.removeEventListener("mouseover",o,{capture:!0}),document.removeEventListener("mouseout",o,{capture:!0}),document.removeEventListener("mouseenter",o,{capture:!0}),document.removeEventListener("mouseleave",o,{capture:!0}),document.removeEventListener("wheel",o,{capture:!0}),document.removeEventListener("contextmenu",o,{capture:!0}),window.dispatchEvent(new CustomEvent("splitter-drag-end")),document.body.style.userSelect="",document.body.style.webkitUserSelect="",document.body.style.cursor="",document.body.style.pointerEvents="",E.value=_(),R.value=T(),B.value=_(),U.value=_(),X.value=T(),window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",e)})}ar("isTaskListToggling",J);const te=cn(!!r.enableTaskListCollapsible&&(r.taskListVisible??!0));hr(()=>r.taskListVisible,e=>{r.enableTaskListCollapsible&&(te.value=e??!0)}),hr(()=>r.enableTaskListCollapsible,e=>{te.value=!!e&&(r.taskListVisible??!0)});const ne=cn(!1),ie=cn(""),oe=()=>{r.enableTaskListCollapsible&&(ne.value||(J.value=!0,ne.value=!0,te.value?ie.value="impact-left":ie.value="impact-right",setTimeout(()=>{te.value=!te.value},200),setTimeout(()=>{ne.value=!1,ie.value="",J.value=!1,qn(()=>{window.dispatchEvent(new CustomEvent("timeline-container-resized",{detail:{source:"manual-task-list-toggle"}}))})},400)))},ae=e=>{J.value=!0,te.value=e.detail,qn(()=>{J.value=!1,window.dispatchEvent(new CustomEvent("timeline-container-resized",{detail:{source:"task-list-toggle"}}))})};function se(e){const t=e.detail;Qt(t,!0),L.value++,i("taskbar-drag-end",t)}function ue(e){const t=e.detail;Qt(t,!0),L.value++,i("taskbar-resize-end",t)}function Oe(e){const t=e.detail;L.value++,i("milestone-drag-end",t)}let de=null;vi(()=>{window.addEventListener("taskbar-drag-end",se),window.addEventListener("taskbar-resize-end",ue),window.addEventListener("milestone-drag-end",Oe),qn(()=>{const e=document.querySelector(".gantt-body");e&&(M.value=e.clientWidth,de=new ResizeObserver(e=>{for(const t of e)M.value=t.contentRect.width}),de.observe(e))})}),Qi(()=>{window.removeEventListener("taskbar-drag-end",se),window.removeEventListener("taskbar-resize-end",ue),window.removeEventListener("milestone-drag-end",Oe),de&&(de.disconnect(),de=null)});const he=e=>{const t=(e,n,r)=>{for(const i of e){if(i.id===n)return i.collapsed=r,!0;if(i.children&&i.children.length>0&&t(i.children,n,r))return!0}return!1};r.tasks&&t(r.tasks,e.id,e.collapsed??!1),L.value++,i("task-collapse-change",e)},fe=()=>{if(r.onExpandAll&&"function"==typeof r.onExpandAll)r.onExpandAll();else{const e=t=>{t.forEach(t=>{t.children&&t.children.length>0&&(t.collapsed=!1,e(t.children))})};r.tasks&&(e(r.tasks),L.value++)}},pe=e=>{const{draggedTask:t,targetTask:n,position:o}=e;if(!r.tasks)return;const a=Cee(r.tasks,t.id,n.id,o);a&&(L.value++,qn(()=>{window.dispatchEvent(new CustomEvent("task-updated",{detail:a.movedTask}))}),i("task-row-moved",{draggedTask:a.movedTask,targetTask:n,position:o,oldParent:a.oldParent,newParent:a.newParent}))},Ae=()=>{if(r.onCollapseAll&&"function"==typeof r.onCollapseAll)r.onCollapseAll();else{const e=t=>{t.forEach(t=>{t.children&&t.children.length>0&&(t.collapsed=!0,e(t.children))})};r.tasks&&(e(r.tasks),L.value++)}},me=()=>{fe()},ge=()=>{Ae()},ve=()=>{if(!r.tasks||0===r.tasks.length)return!0;const e=t=>{for(const n of t)if(n.children&&n.children.length>0&&(n.collapsed||!e(n.children)))return!1;return!0};return e(r.tasks)};hr(()=>r.expandAll,e=>{void 0!==e&&(e?me():ge())},{immediate:!0});const ye=()=>{const e=[],t=n=>{n.forEach(n=>{e.push(n),n.children&&n.children.length>0&&t(n.children)})};r.tasks&&t(r.tasks),r.milestones&&e.push(...r.milestones),window.dispatchEvent(new CustomEvent("task-list-updated",{detail:e}))};hr([()=>r.tasks,()=>r.milestones],()=>{qn(()=>{ye()})},{immediate:!0}),vi(()=>{window.addEventListener("toggle-task-list",ae),window.addEventListener("fullscreen-toggle",Le),window.addEventListener("milestone-icon-changed",We),window.addEventListener("milestone-deleted",Ze),window.addEventListener("milestone-data-changed",Ye),window.addEventListener("request-task-list",ye),window.addEventListener("resize",Je),window.addEventListener("context-menu",ut),qn(()=>{N.value&&"function"==typeof N.value.scrollToTodayCenter&&N.value.scrollToTodayCenter()})}),Qi(()=>{K.value=!1,window.removeEventListener("toggle-task-list",ae),window.removeEventListener("fullscreen-toggle",Le),window.removeEventListener("milestone-icon-changed",We),window.removeEventListener("milestone-deleted",Ze),window.removeEventListener("milestone-data-changed",Ye),window.removeEventListener("request-task-list",ye),window.removeEventListener("resize",Je),window.removeEventListener("context-menu",ut)});const be=e=>{const t=e||"dark";v.value=t,o.value&&o.value.setAttribute("data-theme",t)};if(hr(()=>r.theme,e=>{if(!o.value)return;const t=e??g();t!==v.value&&be(t)}),typeof window<"u"&&window.matchMedia){const e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{if(!r.theme){const t=e.matches?"dark":"light";be(t)}};e.addEventListener("change",t),Qi(()=>{e.removeEventListener("change",t)})}const we=cn(!1),{t:Qe,locale:$e}=w2(),Se=Ha(()=>Qe.value.collapseTaskList),xe=Ha(()=>Qe.value.expandTaskList),ke=Ha(()=>{L.value;const e=[];if(r.milestones&&r.milestones.length>0){const t={id:-1,name:Qe.value.milestoneGroup,startDate:"",endDate:"",type:"milestone-group",children:r.milestones,isParent:!0,collapsed:!1};e.push(t)}if(r.tasks&&r.tasks.length>0)if(r.autoSortByStartDate){const t=e=>[...e].map(e=>{const n={...e};return e.children&&e.children.length>0&&(n.children=t(e.children)),n}).sort((e,t)=>{const n=e=>{if(e.children&&e.children.length>0){const t=e.children.map(e=>n(e)).filter(e=>e.getTime()>0);if(t.length>0)return new Date(Math.min(...t.map(e=>e.getTime())))}return e.startDate?new Date(e.startDate):new Date("9999-12-31")},r=n(e),i=n(t),o=r.getTime()-i.getTime();return 0!==o?o:e.id-t.id}),n=t(r.tasks);e.push(...n)}else e.push(...r.tasks);return e}),Pe=Ha(()=>{L.value;const e=[];if(r.milestones&&r.milestones.length>0){const t={id:-1,name:Qe.value.milestoneGroup,startDate:"",endDate:"",type:"milestone-group",children:r.milestones,isParent:!0,collapsed:!1};e.push(t)}if(r.tasks&&r.tasks.length>0){const t=e=>{const n=[],r=[];return e.forEach(e=>{if(e.startDate&&n.push(e.startDate),e.endDate&&r.push(e.endDate),e.children&&e.children.length>0){const i=t(e.children);n.push(...i.starts),r.push(...i.ends)}}),{starts:n,ends:r}},n=e=>{if(!e.children||0===e.children.length)return{startDate:e.startDate||"",endDate:e.endDate||""};const{starts:n,ends:r}=t(e.children);if(0===n.length||0===r.length)return{startDate:e.startDate||"",endDate:e.endDate||""};return{startDate:n.reduce((e,t)=>new Date(t)<new Date(e)?t:e),endDate:r.reduce((e,t)=>new Date(t)>new Date(e)?t:e)}},i=e=>e.map(e=>{if(!e.children||0===e.children.length)return e;const t=i(e.children),o="story"===e.type||!0;if(!r.enableParentTaskAutoSchedule)return{...e,children:t,isParent:o};const a={...e,children:t},{startDate:s,endDate:l}=n(a);return{...e,children:t,isParent:o,startDate:s,endDate:l}}),o=(e,t=0)=>{const n=[];return e.forEach(e=>{const r={...e,level:t};if(n.push(r),e.children&&e.children.length>0&&!e.collapsed){const r=o(e.children,t+1);n.push(...r)}}),n},a=ke.value.filter(e=>"milestone-group"!==e.type),s=i(a),l=o(s);e.push(...l)}return e}),_e=Ha(()=>(L.value,r.milestones?r.milestones.filter(e=>!!e.startDate).map(e=>({id:e.id,name:e.name,startDate:e.startDate,endDate:e.endDate,assignee:e.assignee,assigneeName:e.assigneeName,avatar:e.avatar,type:e.type||"milestone",icon:e.icon,description:e.description})):[])),Ce=Ha(()=>{L.value;const e=t=>{let n=[];return t.forEach(t=>{n.push(t),t.children&&t.children.length>0&&(n=n.concat(e(t.children)))}),n};let t=[];if("resource"===c.value&&r.resources)for(const c of r.resources)c.tasks&&Array.isArray(c.tasks)&&(t=t.concat(e(c.tasks)));else r.tasks&&(t=t.concat(e(r.tasks))),r.milestones&&(t=t.concat(r.milestones));const n=t.map(e=>e.startDate).filter(Boolean).map(e=>new Date(e)),i=t.map(e=>e.endDate).filter(Boolean).map(e=>new Date(e));if(0===n.length||0===i.length){const e=new Date;return{min:new Date(e.getFullYear(),e.getMonth()-6,1),max:new Date(e.getFullYear(),e.getMonth()+6+1,0)}}const o=new Date(Math.min(...n.map(e=>e.getTime()))),a=new Date(Math.max(...i.map(e=>e.getTime()))),s=M.value||1200,l=j.value[Y.value].cellWidth,u=Math.ceil(s/l),O=j.value[Y.value],d=Ee(O.preBuffer),h=Ee(O.sufBuffer),{min:f,max:p}=function(e,t,n,r,i,o=null,a=null){let s,l;switch(n){case t4.HOUR:{const n=null!==o?o:24,i=null!==a?a:24;s=new Date(e.getTime()-60*n*60*1e3),l=new Date(t.getTime()+60*i*60*1e3);const c=Math.ceil((l.getTime()-s.getTime())/36e5);if(c<r){const e=r-c,t=Math.ceil(e/2);s=new Date(s.getTime()-60*t*60*1e3),l=new Date(l.getTime()+60*t*60*1e3)}break}case t4.DAY:{const n=null!==o?o:15,i=null!==a?a:15,c=new Date(e);c.setDate(c.getDate()-n);const u=new Date(t);u.setDate(u.getDate()+i),s=new Date(c.getFullYear(),c.getMonth(),1),l=new Date(u.getFullYear(),u.getMonth()+1,0);const O=Math.ceil((l.getTime()-s.getTime())/864e5);if(O<r){const e=r-O,t=Math.ceil(e/30),n=s.getMonth()-t,i=s.getFullYear()+Math.floor(n/12);s=new Date(i,(n%12+12)%12,1);const o=l.getMonth()+t+1,a=l.getFullYear()+Math.floor(o/12);l=new Date(a,(o%12+12)%12,0)}break}case t4.WEEK:{const n=e=>{const t=new Date(e),n=t.getDay()||7;return t.setDate(t.getDate()-(n-1)),t},c=(e,t)=>{let r=1;for(;r<=31;){const i=new Date(e,t,r);if(i.getMonth()!==t)break;const o=n(i);if(o.getMonth()===t)return o;r++}return new Date(e,t,1)},u=(e,t)=>{for(let r=new Date(e,t+1,0).getDate();r>=1;r--){const i=new Date(e,t,r),o=n(i);if(o.getMonth()===t)return o}return new Date(e,t,1)},O=(e,t)=>{const n=[],r=c(e,t),i=u(e,t),o=new Date(r);for(;o<=i;)n.push(new Date(o)),o.setDate(o.getDate()+7);return n},d=n(e),h=d.getFullYear(),f=d.getMonth();let p;if(null!==o){const e=new Date(d);e.setDate(e.getDate()-7*o),p=[e]}else{p=O(0===f?h-1:h,0===f?11:f-1)}const A=n(t),m=A.getFullYear(),g=A.getMonth();let v;if(null!==a){const e=new Date(A);e.setDate(e.getDate()+7*a),v=[e]}else{v=O(11===g?m+1:m,11===g?0:g+1)}let y=[];y.push(...p);let b=h,w=f;for(;b<m||b===m&&w<=g;){const e=O(b,w);y.push(...e),w++,w>11&&(w=0,b++)}y.push(...v);const Q=60;let $=y.length*Q;for(;$<r*i;){const e=y[0],t=e.getFullYear(),n=e.getMonth();if(y=[...O(0===n?t-1:t,0===n?11:n-1),...y],$=y.length*Q,$>=r*i)break;const o=y[y.length-1],a=o.getFullYear(),s=o.getMonth(),l=O(11===s?a+1:a,11===s?0:s+1);y=[...y,...l],$=y.length*Q}s=new Date(y[0]),l=new Date(y[y.length-1]),l.setDate(l.getDate()+6);break}case t4.MONTH:{const n=null!==o?o:12,i=null!==a?a:12;s=new Date(e.getFullYear(),e.getMonth()-n,1),l=new Date(t.getFullYear(),t.getMonth()+i+1,0);const c=12*(l.getFullYear()-s.getFullYear())+(l.getMonth()-s.getMonth());if(c<r){const e=r-c,t=Math.ceil(e/2);s=new Date(s.getFullYear(),s.getMonth()-t,1),l=new Date(l.getFullYear(),l.getMonth()+t+1,0)}break}case t4.QUARTER:{if(null!==o||null!==a){const n=3*(null!==o?o:0),r=3*(null!==a?a:0),i=e.getMonth()-n,c=e.getFullYear()+Math.floor(i/12),u=(i%12+12)%12,O=3*Math.floor(u/3);s=new Date(c,O,1);const d=t.getMonth()+r,h=t.getFullYear()+Math.floor(d/12),f=(d%12+12)%12,p=3*Math.floor(f/3)+2;l=new Date(h,p+1,0)}else{const n=(new Date).getFullYear(),r=e.getFullYear(),i=t.getFullYear();s=new Date(Math.min(n-2,r-2),0,1),l=new Date(Math.max(n+2,i+2),11,31)}const n=4*(l.getFullYear()-s.getFullYear()+1);if(n<r){const e=r-n,t=Math.ceil(e/4),i=Math.ceil(t/2);s=new Date(s.getFullYear()-i,0,1),l=new Date(l.getFullYear()+i,11,31)}break}case t4.YEAR:{if(null!==o||null!==a){const n=null!==o?o:0,r=null!==a?a:0;s=new Date(e.getFullYear()-n,0,1),l=new Date(t.getFullYear()+r,11,31)}else{const n=(new Date).getFullYear(),r=e.getFullYear(),i=t.getFullYear();s=new Date(Math.min(n-2,r-2),0,1),l=new Date(Math.max(n+2,i+2),11,31)}const n=2*(l.getFullYear()-s.getFullYear()+1);if(n<r){const e=r-n,t=Math.ceil(e/2),i=Math.ceil(t/2);s=new Date(s.getFullYear()-i,0,1),l=new Date(l.getFullYear()+i,11,31)}break}default:s=e,l=t}return{min:s,max:l}}(o,a,Y.value,u,l,d,h);return{min:f,max:p}});function Ee(e){if(null==e)return null;const t=Math.ceil(e);return t<0?null:Math.max(1,t)}const Re=()=>{r.onExportCsv&&"function"==typeof r.onExportCsv?!1===r.onExportCsv()&&ze():ze()},Xe=e=>{Y.value=e,N.value&&N.value.updateTimeScale(e)},Be=e=>{qn(()=>{const t=new CustomEvent("timeline-scale-updated",{detail:e});window.dispatchEvent(t)})},Ue=e=>{var t;be(e?"dark":"light"),null==(t=r.onThemeChange)||t.call(r,e)},De=["hour","day","week","month","quarter","year"];hr(()=>r.timeScale,e=>{e&&e!==Y.value&&Xe(e)},{immediate:!0});const Ie=()=>{var e;null!=(e=N.value)&&e.clearHighlight&&N.value.clearHighlight()},ze=()=>{try{const e=[];r.tasks&&r.tasks.length>0&&e.push(...r.tasks),r.milestones&&r.milestones.length>0&&e.push(...r.milestones);const t="\ufeff"+Ne(e),n=new Blob([t],{type:"text/csv;charset=utf-8;"}),i=document.createElement("a"),o=URL.createObjectURL(n),a=`gantt-tasks-${(new Date).toISOString().split("T")[0]}.csv`;i.setAttribute("href",o),i.setAttribute("download",a),i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(o)}catch(e){s("CSV导出失败","error",{closable:!1})}},Ne=e=>{const t=Qe.value.csvHeaders,n=[t.id,t.taskName,t.predecessor,t.assignee,t.startDate,t.endDate,t.estimatedHours,t.actualHours,t.progress,t.type,t.description],r=e=>{if(null==e)return"";const t=String(e);return t.includes(",")||t.includes('"')||t.includes("\n")||t.includes("\r")?`"${t.replace(/"/g,'""')}"`:t},i=e=>{const t=[];return e.forEach(e=>{t.push({id:e.id,name:e.name||"",predecessor:S2(e.predecessor),assignee:e.assignee||"",startDate:e.startDate||"",endDate:e.endDate||"",estimatedHours:e.estimatedHours||"",actualHours:e.actualHours||"",progress:void 0!==e.progress?`${e.progress}%`:"",type:e.type||"",description:e.description||""}),e.children&&e.children.length>0&&t.push(...i(e.children))}),t},o=i(e);return[n.map(e=>r(e)).join(","),...o.map(e=>[r(e.id),r(e.name),r(S2(e.predecessor)),r(e.assignee),r(e.startDate),r(e.endDate),r(e.estimatedHours),r(e.actualHours),r(e.progress),r(e.type),r(e.description)].join(","))].join("\n")},Me=async()=>{try{const e=Qe.value.pdfExportLoading,t=Qe.value.pdfExportTitle,n=Qe.value.pdfExportDate,r=document.createElement("div");r.innerHTML=`\n <div style="position: fixed; top: 0; left: 0; width: 100%; height: 100%;\n background: rgba(0,0,0,0.5); display: flex; align-items: center;\n justify-content: center; z-index: 10000; color: white; font-size: 16px;">\n ${e}\n </div>\n `,document.body.appendChild(r);const i=document.querySelector(".gantt-body");if(!i)throw new Error("找不到甘特图元素");const o={overflow:i.style.overflow,height:i.style.height};i.style.overflow="visible",i.style.height="auto";const a=(new Date).toLocaleDateString($e.value),s=document.createElement("div");s.style.cssText=["position: fixed","left: -9999px","top: 0",`width: ${Math.max(i.scrollWidth,800)}px`,"background: #ffffff","padding: 10px 16px","display: flex","justify-content: space-between","align-items: center","font-family: sans-serif","box-sizing: border-box"].join("; ");const l=document.createElement("span");l.style.cssText="font-size: 20px; font-weight: bold; flex: 1; text-align: center;",l.textContent=t;const c=document.createElement("span");c.style.cssText="font-size: 12px; white-space: nowrap;",c.textContent=`${n}: ${a}`,s.appendChild(l),s.appendChild(c),document.body.appendChild(s);const[u,O]=await Promise.all([Ehe(s,{allowTaint:!0,useCORS:!0,scale:2,backgroundColor:"#ffffff"}),Ehe(i,{allowTaint:!0,useCORS:!0,scale:2,width:i.scrollWidth,height:i.scrollHeight,backgroundColor:"#ffffff"})]);document.body.removeChild(s),i.style.overflow=o.overflow,i.style.height=o.height;const d=u.toDataURL("image/png"),h=O.toDataURL("image/png"),f=new yie({orientation:"landscape",unit:"mm",format:"a4"}),p=f.internal.pageSize.getWidth(),A=f.internal.pageSize.getHeight(),m=u.height/u.width*p;f.addImage(d,"PNG",0,0,p,m);const g=m+2,v=A-g,y=O.height/O.width,b=Math.min(p,v/y),w=b*y,Q=(p-b)/2;if(f.addImage(h,"PNG",Q,g,b,w),w>v){const e=Math.ceil(w/v);for(let t=1;t<e;t++){f.addPage();const e=-t*v;f.addImage(h,"PNG",Q,g+e,b,w)}}const $=`gantt-chart-${(new Date).toISOString().split("T")[0]}.pdf`;f.save($),r&&r.parentNode&&r.parentNode.removeChild(r)}catch(e){const t=document.querySelector('[style*="position: fixed"]');t&&t.parentNode&&t.parentNode.removeChild(t),alert("PDF导出失败")}},Le=e=>{we.value=e.detail,r.onFullscreenChange&&"function"==typeof r.onFullscreenChange&&r.onFullscreenChange(we.value),setTimeout(()=>{window.dispatchEvent(new CustomEvent("timeline-container-resized",{detail:{source:"fullscreen-toggle"}}))},500)},Ve=()=>{we.value||(we.value=!0,r.onFullscreenChange&&"function"==typeof r.onFullscreenChange&&r.onFullscreenChange(!0),setTimeout(()=>{window.dispatchEvent(new CustomEvent("timeline-container-resized",{detail:{source:"fullscreen-toggle"}}))},500))},qe=()=>{we.value&&(we.value=!1,r.onFullscreenChange&&"function"==typeof r.onFullscreenChange&&r.onFullscreenChange(!1),setTimeout(()=>{window.dispatchEvent(new CustomEvent("timeline-container-resized",{detail:{source:"fullscreen-toggle"}}))},500))};hr(()=>r.fullscreen,e=>{void 0!==e&&e!==we.value&&(e?Ve():qe())},{immediate:!0});const Fe=e=>{e.id||(e.id=Date.now()),e.type="milestone",r.milestones&&((e,t)=>{const n=e.findIndex(e=>e.id===t.id);-1!==n?e.splice(n,1,{...e[n],...t}):e.push(t)})(r.milestones,e),i("milestone-saved",e),L.value++,at.value&&Ct()},We=e=>{const{milestoneId:t,icon:n}=e.detail;r.milestones&&((e,t,n)=>{const r=e.findIndex(e=>e.id===t);-1!==r&&e.splice(r,1,{...e[r],icon:n})})(r.milestones,t,n),i("milestone-icon-changed",{milestoneId:t,icon:n}),L.value++},Ze=()=>{L.value++},Ye=()=>{L.value++,qn(()=>{})};vi(()=>{qn(()=>{N.value&&"function"==typeof N.value.scrollToTodayCenter&&N.value.scrollToTodayCenter()})});const je=()=>{r.onTodayLocate&&"function"==typeof r.onTodayLocate?r.onTodayLocate():N.value&&"function"==typeof N.value.scrollToTodayCenter?N.value.scrollToTodayCenter():Ke()},Ge=()=>{i("add-milestone"),r.useDefaultMilestoneDialog&&He()},He=()=>{st.value=null,at.value=!0},Ke=()=>{if(N.value&&"function"==typeof N.value.scrollToToday)return void N.value.scrollToToday();const e=new Date,t=e.getMonth(),n=e.getDate();let r=0;for(let s=0;s<t;s++)r+=new Date(e.getFullYear(),s+1,0).getDate();r+=n;const i=document.querySelector(".gantt-panel-right"),o=null==i?void 0:i.clientWidth,a=30*(r-1)-(o?o/2:200);i&&(i.scrollLeft=Math.max(0,a))};hr(()=>r.locale,e=>{if(e&&e!==$e.value){const{setLocale:t}=w2();t(e)}},{immediate:!0});const Je=()=>{const e=I(D.value);e!==D.value&&(D.value=e)};r.localeMessages&&Object.keys(r.localeMessages).forEach(e=>{const t=r.localeMessages[e];t&&y2(e,t)}),hr(()=>r.localeMessages,e=>{e&&Object.keys(e).forEach(t=>{const n=e[t];n&&y2(t,n)})},{deep:!0});const et=cn({x:0,y:0}),tt=cn(!1),nt=cn(null),rt=cn(!1),it=cn(null),ot=cn(!1),at=cn(!1),st=cn(null),lt=cn(null),ct=cn(null),ut=e=>{const{task:t,position:n}=e.detail;nt.value=t,et.value=n,tt.value=!0},Ot=()=>{tt.value=!1};function dt(){if(i("add-task"),r.useDefaultDrawer){const e={id:Date.now(),name:"",type:"task",assignee:"",startDate:"",endDate:"",predecessor:[],estimatedHours:0,actualHours:0,progress:0,description:"",parentId:void 0,children:[],resources:[]};it.value=e,ot.value=!1,rt.value=!0}}const ht=e=>{$t(e.id,t=>{t.isTimerRunning=!0,t.timerStartTime=e.timerStartTime||Date.now(),t.timerEndTime=void 0,t.timerElapsedTime=0}),Ot(),i("timer-started",e)},ft=e=>{$t(e.id,t=>{if(t.isTimerRunning&&void 0!==t.timerStartTime){const e=t.timerElapsedTime||0;t.timerElapsedTime=e+(Date.now()-t.timerStartTime),t.timerEndTime=Date.now()}t.isTimerRunning=!1,rt.value&&it.value&&it.value.id===e.id&&(it.value.isTimerRunning=!1,it.value.timerEndTime=Date.now())}),Ot(),i("timer-stopped",e)};function pt(e,t){i("task-click",e,t)}function At(e){i("task-double-click",e),r.useDefaultDrawer&&function(e){return e&&"object"==typeof e&&!("tasks"in e&&Array.isArray(e.tasks)&&!("resources"in e))}(e)&&"number"==typeof e.id&&(it.value=e,ot.value=!0,rt.value=!0)}function mt(e){if(!e)return;i("add-predecessor",e),lt.value=e;const t={id:Date.now(),name:"",type:"task",assignee:"",startDate:"",endDate:"",predecessor:[],estimatedHours:0,actualHours:0,progress:0,description:"",parentId:e.parentId,children:[],resources:[],isTimerRunning:!1,timerStartTime:void 0,timerEndTime:void 0,timerElapsedTime:0};it.value=t,ot.value=!1,rt.value=!0}function gt(e){if(!e)return;i("add-successor",e),ct.value=e;const t={id:Date.now(),name:"",type:"task",assignee:"",startDate:"",endDate:"",predecessor:[e.id],estimatedHours:0,actualHours:0,progress:0,description:"",parentId:e.parentId,children:[],resources:[],isTimerRunning:!1,timerStartTime:void 0,timerEndTime:void 0,timerElapsedTime:0};it.value=t,ot.value=!1,rt.value=!0}function vt(e){i("predecessor-added",e)}function yt(e){i("successor-added",e)}const bt=(e,t)=>{if(!t.parentId)return e.push(t),!0;for(const n of e){if(n.id===t.parentId)return n.children||(n.children=[]),n.children.push(t),!0;if(n.children&&n.children.length>0&&bt(n.children,t))return!0}return!1},wt=(e,t)=>{for(let n=0;n<e.length;n++){if(e[n].id===t.id)return e[n]={...e[n],...t},!0;if(e[n].children&&e[n].children.length>0&&wt(e[n].children,t))return!0}return!1},Qt=(e,t=!1)=>{V.value=e.id;const n=new Set;if(r.tasks&&wt(r.tasks,e),"resource"===c.value&&r.resources){let i=null,o=null,a=-1;for(const t of r.resources){const r=t.tasks.findIndex(t=>t.id===e.id);if(-1!==r){i=t.id,o=t,a=r,n.add(t.id);break}}if(o&&-1!==a)if(!t&&e.assignee&&e.assignee!==i){o.tasks.splice(a,1);const t=r.resources.find(t=>t.id===e.assignee);t&&(t.tasks.push({...e}),n.add(t.id))}else o.tasks[a]={...o.tasks[a],...e};else if(e.assignee){const t=r.resources.find(t=>t.id===e.assignee);t&&(t.tasks.push({...e}),n.add(t.id))}}q.value=n},$t=(e,t)=>{const n=r=>{var i;for(let o=0;o<r.length;o++){if(r[o].id===e)return t(r[o]),!0;if(null!=(i=r[o].children)&&i.length&&n(r[o].children))return!0}return!1};let i=!1;return r.tasks&&(i=n(r.tasks)),i&&"resource"===c.value&&r.resources&&r.resources.forEach(n=>{const r=n.tasks.find(t=>t.id===e);r&&t(r)}),i};function St(e){ot.value?(Qt(e),L.value++,i("task-updated",{task:e})):(r.tasks&&bt(r.tasks,e),(e=>{if("resource"===c.value&&r.resources)if(e.resources&&e.resources.length>0)e.resources.forEach(t=>{const n=r.resources.find(e=>e.id===t.id);n&&(n.tasks.find(t=>t.id===e.id)||n.tasks.push({...e}))});else if(e.assignee){const t=Array.isArray(e.assignee)?e.assignee[0]:e.assignee,n=r.resources.find(e=>e.id===t);n&&(n.tasks.find(t=>t.id===e.id)||n.tasks.push({...e}))}})(e),L.value++,i("task-added",{task:e}),lt.value&&(lt.value.predecessor||(lt.value.predecessor=[]),lt.value.predecessor.push(e.id),i("predecessor-added",{targetTask:lt.value,newTask:e}),lt.value=null),ct.value&&(i("successor-added",{targetTask:ct.value,newTask:e}),ct.value=null))}function xt(e,t,n){for(let r=0;r<e.length;r++){if(e[r].id===t){if(n)e.splice(r,1);else{const t=e[r].children||[];e.splice(r,1,...t)}return!0}if(e[r].children&&e[r].children.length>0&&xt(e[r].children,t,n))return!0}return!1}function kt(e,t){r.tasks&&xt(r.tasks,e.id,t),"resource"===c.value&&r.resources&&r.resources.forEach(t=>{const n=t.tasks.findIndex(t=>t.id===e.id);-1!==n&&t.tasks.splice(n,1)}),rt.value=!1,it.value=null,i("task-deleted",{task:e})}function Pt(e){if(r.tasks){const t=n=>{for(let r=0;r<n.length;r++){if(n[r].id===e.targetTaskId)return n[r]={...n[r],predecessor:e.updatedTask.predecessor},!0;if(n[r].children&&n[r].children.length>0&&t(n[r].children))return!0}return!1};t(r.tasks)}i("task-updated",{task:e.updatedTask}),i("link-deleted",e)}function Tt(e){i("resource-drag-end",e)}function _t(e){i("milestone-double-click",e),r.useDefaultMilestoneDialog&&(st.value=e,at.value=!0)}function Ct(){at.value=!1,st.value=null}function Et(e){r.milestones&&((e,t)=>{const n=e.findIndex(e=>e.id===t);-1!==n&&e.splice(n,1)})(r.milestones,e),i("milestone-deleted",{milestoneId:e}),L.value++,Ct()}return t({enterFullscreen:Ve,exitFullscreen:qe,toggleFullscreen:()=>{we.value?qe():Ve()},isFullscreen:()=>we.value,expandAll:me,collapseAll:ge,toggleExpandAll:()=>{const e=t=>{for(const n of t)if(n.children&&n.children.length>0&&(n.collapsed||!e(n.children)))return!1;return!0};r.tasks&&(e(r.tasks)?ge():me())},isExpandAll:ve,scrollToToday:()=>{N.value&&"function"==typeof N.value.scrollToTodayCenter?N.value.scrollToTodayCenter():Ke()},scrollToTask:e=>{const t=(e,n)=>{for(const r of e){if(r.id===n||String(r.id)===String(n))return r;if(r.children&&r.children.length>0){const e=t(r.children,n);if(e)return e}}return null};if(r.tasks){const n=t(r.tasks,e);n&&n.startDate&&N.value&&"function"==typeof N.value.scrollToDate&&N.value.scrollToDate(n.startDate)}},scrollToDate:e=>{N.value&&"function"==typeof N.value.scrollToDate&&N.value.scrollToDate(e)},setLocale:e=>{const{setLocale:t}=w2();t(e)},currentLocale:()=>$e.value,setTimeScale:e=>{const t=e||"week";De.includes(t)&&Xe(t)},zoomIn:()=>{const e=De.indexOf(Y.value);if(e>0){const t=De[e-1];Xe(t)}},zoomOut:()=>{const e=De.indexOf(Y.value);if(e<De.length-1){const t=De[e+1];Xe(t)}},currentScale:()=>Y.value,setTheme:be,currentTheme:()=>v.value,getTaskListVisible:()=>te.value,setTaskListVisible:e=>{r.enableTaskListCollapsible&&(te.value=e)},toggleTaskList:oe}),(e,t)=>(la(),ha("div",{ref_key:"ganttRootRef",ref:o,class:le(["gantt-root",{"gantt-fullscreen":we.value,"splitter-dragging":K.value}])},[r.showToolbar?(la(),fa(D8,{key:0,config:r.toolbarConfig,"time-scale":Y.value,theme:v.value,fullscreen:we.value,"expand-all":ve(),"view-mode":c.value,"on-today-locate":je,"on-export-csv":Re,"on-export-pdf":Me,"on-language-change":r.onLanguageChange,"on-fullscreen-change":r.onFullscreenChange,"on-settings-confirm":r.onSettingsConfirm,"on-time-scale-change":Xe,"on-expand-all":fe,"on-collapse-all":Ae,"on-view-mode-change":G,onAddTask:dt,onAddMilestone:Ge,onExpandAll:fe,onCollapseAll:Ae,onThemeChange:Ue},null,8,["config","time-scale","theme","fullscreen","expand-all","view-mode","on-language-change","on-fullscreen-change","on-settings-confirm"])):Sa("",!0),va("div",Nhe,[te.value?(la(),ha("div",{key:0,class:"gantt-panel gantt-panel-left",style:re({width:D.value+"px"})},[ya(e4,{ref_key:"taskListComponentRef",ref:a,tasks:ke.value,"use-default-drawer":r.useDefaultDrawer,"task-list-config":r.taskListConfig,"task-list-column-render-mode":r.taskListColumnRenderMode,"enable-task-row-move":r.enableTaskRowMove,"task-list-row-class-name":r.taskListRowClassName,"task-list-row-style":r.taskListRowStyle,"enable-parent-task-auto-schedule":r.enableParentTaskAutoSchedule,onTaskCollapseChange:he,onStartTimer:ht,onStopTimer:ft,onAddPredecessor:mt,onAddSuccessor:gt,onDelete:kt,onTaskRowMoved:pe},Ui({_:2},[e.$slots.default?{name:"default",fn:rr(()=>[Di(e.$slots,"default",{},void 0,!0)]),key:"0"}:void 0,e.$slots["custom-task-content"]?{name:"custom-task-content",fn:rr(t=>[Di(e.$slots,"custom-task-content",ce(ba(t)),void 0,!0)]),key:"1"}:void 0]),1032,["tasks","use-default-drawer","task-list-config","task-list-column-render-mode","enable-task-row-move","task-list-row-class-name","task-list-row-style","enable-parent-task-auto-schedule"])],4)):Sa("",!0),r.enableTaskListCollapsible?(la(),ha("div",{key:1,class:"gantt-splitter",onMousedown:ee},[va("div",{class:le(["task-list-toggle",{collapsed:!te.value,[ie.value]:ne.value}]),title:te.value?Se.value:xe.value,onClick:Dl(oe,["stop"])},[(la(),ha("svg",Lhe,[te.value?(la(),ha("polyline",Vhe)):(la(),ha("polyline",qhe))]))],10,Mhe)],32)):Sa("",!0),va("div",{class:le(["gantt-panel gantt-panel-right",{"full-width":!te.value}])},[ya(j6,{ref_key:"timelineRef",ref:N,tasks:Pe.value,milestones:_e.value,"start-date":Ce.value.min,"end-date":Ce.value.max,"scale-configs":j.value,"working-hours":r.workingHours,"task-bar-config":r.taskBarConfig,"allow-drag-and-resize":r.allowDragAndResize,"show-actual-taskbar":r.showActualTaskbar,"enable-task-bar-tooltip":r.enableTaskBarTooltip,"enable-milestone-tooltip":r.enableMilestoneTooltip,"enable-parent-task-auto-schedule":r.enableParentTaskAutoSchedule,"pending-task-background-color":r.pendingTaskBackgroundColor,"delay-task-background-color":r.delayTaskBackgroundColor,"complete-task-background-color":r.completeTaskBackgroundColor,"ongoing-task-background-color":r.ongoingTaskBackgroundColor,"use-default-drawer":r.useDefaultDrawer,"use-default-milestone-dialog":r.useDefaultMilestoneDialog,"on-milestone-save":Fe,onTimelineScaleChanged:Be,onClickTask:pt,onEditTask:At,onMilestoneDoubleClick:_t,onStartTimer:ht,onStopTimer:ft,onAddPredecessor:mt,onAddSuccessor:gt,onPredecessorAdded:vt,onSuccessorAdded:yt,onDelete:kt,onLinkDeleted:Pt,onResourceDragEnd:Tt},Ui({_:2},[e.$slots["custom-task-content"]?{name:"custom-task-content",fn:rr(t=>[Di(e.$slots,"custom-task-content",ce(ba(t)),void 0,!0)]),key:"0"}:void 0,e.$slots["taskbar-tooltip"]?{name:"taskbar-tooltip",fn:rr(t=>[Di(e.$slots,"taskbar-tooltip",ce(ba(t)),void 0,!0)]),key:"1"}:void 0,e.$slots["milestone-tooltip"]?{name:"milestone-tooltip",fn:rr(t=>[Di(e.$slots,"milestone-tooltip",ce(ba(t)),void 0,!0)]),key:"2"}:void 0]),1032,["tasks","milestones","start-date","end-date","scale-configs","working-hours","task-bar-config","allow-drag-and-resize","show-actual-taskbar","enable-task-bar-tooltip","enable-milestone-tooltip","enable-parent-task-auto-schedule","pending-task-background-color","delay-task-background-color","complete-task-background-color","ongoing-task-background-color","use-default-drawer","use-default-milestone-dialog"]),H.value?(la(),ha("div",{key:0,class:"focus-close-button",onClick:Dl(Ie,["stop"])},[t[3]||(t[3]=va("svg",{class:"close-icon",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[va("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),va("span",Fhe,Te(fn(Qe).disableTaskbarFocusMode),1)])):Sa("",!0)],2)]),r.useDefaultDrawer?(la(),fa(Z9,{key:1,visible:rt.value,"onUpdate:visible":t[0]||(t[0]=e=>rt.value=e),task:it.value,"is-edit":ot.value,"assignee-options":r.assigneeOptions,"pending-task-background-color":r.pendingTaskBackgroundColor,"delay-task-background-color":r.delayTaskBackgroundColor,"complete-task-background-color":r.completeTaskBackgroundColor,"ongoing-task-background-color":r.ongoingTaskBackgroundColor,"enable-close-on-overlay-click":r.enableTaskDrawerAutoClose,onSubmit:St,onClose:t[1]||(t[1]=e=>rt.value=!1),onStartTimer:ht,onStopTimer:ft,onDelete:kt},null,8,["visible","task","is-edit","assignee-options","pending-task-background-color","delay-task-background-color","complete-task-background-color","ongoing-task-background-color","enable-close-on-overlay-click"])):Sa("",!0),r.useDefaultMilestoneDialog?(la(),fa(kee,{key:2,visible:at.value,"onUpdate:visible":t[2]||(t[2]=e=>at.value=e),milestone:st.value,onClose:Ct,onSave:Fe,onDelete:Et},null,8,["visible","milestone"])):Sa("",!0)],2))}}),Zhe=M2(Whe,[["__scopeId","data-v-f8d1d083"]]),Yhe=Vr({name:"TaskListColumn",__name:"TaskListColumn",props:{prop:{},label:{},width:{},align:{default:"left"},cssClass:{}},setup:e=>(e,t)=>null}),{entries:jhe,setPrototypeOf:Ghe,isFrozen:Hhe,getPrototypeOf:Khe,getOwnPropertyDescriptor:Jhe}=Object;let{freeze:efe,seal:tfe,create:nfe}=Object,{apply:rfe,construct:ife}=typeof Reflect<"u"&&Reflect;efe||(efe=function(e){return e}),tfe||(tfe=function(e){return e}),rfe||(rfe=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),ife||(ife=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const ofe=Sfe(Array.prototype.forEach),afe=Sfe(Array.prototype.lastIndexOf),sfe=Sfe(Array.prototype.pop),lfe=Sfe(Array.prototype.push),cfe=Sfe(Array.prototype.splice),ufe=Array.isArray,Ofe=Sfe(String.prototype.toLowerCase),dfe=Sfe(String.prototype.toString),hfe=Sfe(String.prototype.match),ffe=Sfe(String.prototype.replace),pfe=Sfe(String.prototype.indexOf),Afe=Sfe(String.prototype.trim),mfe=Sfe(Number.prototype.toString),gfe=Sfe(Boolean.prototype.toString),vfe=typeof BigInt>"u"?null:Sfe(BigInt.prototype.toString),yfe=typeof Symbol>"u"?null:Sfe(Symbol.prototype.toString),bfe=Sfe(Object.prototype.hasOwnProperty),wfe=Sfe(Object.prototype.toString),Qfe=Sfe(RegExp.prototype.test),$fe=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ife(e,n)}}(TypeError);function Sfe(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return rfe(e,t,r)}}function xfe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ofe;if(Ghe&&Ghe(e,null),!ufe(t))return e;let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(Hhe(t)||(t[r]=e),i=e)}e[i]=!0}return e}function kfe(e){for(let t=0;t<e.length;t++)bfe(e,t)||(e[t]=null);return e}function Pfe(e){const t=nfe(null);for(const[n,r]of jhe(e))bfe(e,n)&&(ufe(r)?t[n]=kfe(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Pfe(r):t[n]=r);return t}function Tfe(e,t){for(;null!==e;){const n=Jhe(e,t);if(n){if(n.get)return Sfe(n.get);if("function"==typeof n.value)return Sfe(n.value)}e=Khe(e)}return function(){return null}}const _fe=efe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Cfe=efe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Efe=efe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Rfe=efe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Xfe=efe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Bfe=efe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ufe=efe(["#text"]),Dfe=efe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Ife=efe(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),zfe=efe(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Nfe=efe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Mfe=tfe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Lfe=tfe(/<%[\w\W]*|[\w\W]*%>/gm),Vfe=tfe(/\$\{[\w\W]*/gm),qfe=tfe(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ffe=tfe(/^aria-[\-\w]+$/),Wfe=tfe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Zfe=tfe(/^(?:\w+script|data):/i),Yfe=tfe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),jfe=tfe(/^html$/i),Gfe=tfe(/^[a-z][.\w]*(-[.\w]+)+$/i);var Hfe=Object.freeze({__proto__:null,ARIA_ATTR:Ffe,ATTR_WHITESPACE:Yfe,CUSTOM_ELEMENT:Gfe,DATA_ATTR:qfe,DOCTYPE_NAME:jfe,ERB_EXPR:Lfe,IS_ALLOWED_URI:Wfe,IS_SCRIPT_OR_DATA:Zfe,MUSTACHE_EXPR:Mfe,TMPLIT_EXPR:Vfe});const Kfe=1,Jfe=3,epe=7,tpe=8,npe=9;var rpe=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const n=t=>e(t);if(n.version="3.4.2",n.removed=[],!t||!t.document||t.document.nodeType!==npe||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:O=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:f}=t,p=c.prototype,A=Tfe(p,"cloneNode"),m=Tfe(p,"remove"),g=Tfe(p,"nextSibling"),v=Tfe(p,"childNodes"),y=Tfe(p,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let b,w="";const{implementation:Q,createNodeIterator:$,createDocumentFragment:S,getElementsByTagName:x}=r,{importNode:k}=i;let P={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof jhe&&"function"==typeof y&&Q&&void 0!==Q.createHTMLDocument;const{MUSTACHE_EXPR:T,ERB_EXPR:_,TMPLIT_EXPR:C,DATA_ATTR:E,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:X,ATTR_WHITESPACE:B,CUSTOM_ELEMENT:U}=Hfe;let{IS_ALLOWED_URI:D}=Hfe,I=null;const z=xfe({},[..._fe,...Cfe,...Efe,...Xfe,...Ufe]);let N=null;const M=xfe({},[...Dfe,...Ife,...zfe,...Nfe]);let L=Object.seal(nfe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,q=null;const F=Object.seal(nfe(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let W=!0,Z=!0,Y=!1,j=!0,G=!1,H=!0,K=!1,J=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1;const ae="user-content-";let se=!0,le=!1,ce={},ue=null;const Oe=xfe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const he=xfe({},["audio","video","img","source","image","track"]);let fe=null;const pe=xfe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ae="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let ve=ge,ye=!1,be=null;const we=xfe({},[Ae,me,ge],dfe);let Qe=xfe({},["mi","mo","mn","ms","mtext"]),$e=xfe({},["annotation-xml"]);const Se=xfe({},["title","style","font","a","script"]);let xe=null;const ke=["application/xhtml+xml","text/html"];let Pe=null,Te=null;const _e=r.createElement("form"),Ce=function(e){return e instanceof RegExp||e instanceof Function},Ee=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Te&&Te===e)return;(!e||"object"!=typeof e)&&(e={}),e=Pfe(e),xe=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Pe="application/xhtml+xml"===xe?dfe:Ofe,I=bfe(e,"ALLOWED_TAGS")&&ufe(e.ALLOWED_TAGS)?xfe({},e.ALLOWED_TAGS,Pe):z,N=bfe(e,"ALLOWED_ATTR")&&ufe(e.ALLOWED_ATTR)?xfe({},e.ALLOWED_ATTR,Pe):M,be=bfe(e,"ALLOWED_NAMESPACES")&&ufe(e.ALLOWED_NAMESPACES)?xfe({},e.ALLOWED_NAMESPACES,dfe):we,fe=bfe(e,"ADD_URI_SAFE_ATTR")&&ufe(e.ADD_URI_SAFE_ATTR)?xfe(Pfe(pe),e.ADD_URI_SAFE_ATTR,Pe):pe,de=bfe(e,"ADD_DATA_URI_TAGS")&&ufe(e.ADD_DATA_URI_TAGS)?xfe(Pfe(he),e.ADD_DATA_URI_TAGS,Pe):he,ue=bfe(e,"FORBID_CONTENTS")&&ufe(e.FORBID_CONTENTS)?xfe({},e.FORBID_CONTENTS,Pe):Oe,V=bfe(e,"FORBID_TAGS")&&ufe(e.FORBID_TAGS)?xfe({},e.FORBID_TAGS,Pe):Pfe({}),q=bfe(e,"FORBID_ATTR")&&ufe(e.FORBID_ATTR)?xfe({},e.FORBID_ATTR,Pe):Pfe({}),ce=!!bfe(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Pfe(e.USE_PROFILES):e.USE_PROFILES),W=!1!==e.ALLOW_ARIA_ATTR,Z=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,j=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,G=e.SAFE_FOR_TEMPLATES||!1,H=!1!==e.SAFE_FOR_XML,K=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,se=!1!==e.KEEP_CONTENT,le=e.IN_PLACE||!1,D=function(e){try{return Qfe(e,""),!0}catch{return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Wfe,ve="string"==typeof e.NAMESPACE?e.NAMESPACE:ge,Qe=bfe(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?Pfe(e.MATHML_TEXT_INTEGRATION_POINTS):xfe({},["mi","mo","mn","ms","mtext"]),$e=bfe(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?Pfe(e.HTML_INTEGRATION_POINTS):xfe({},["annotation-xml"]);const t=bfe(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?Pfe(e.CUSTOM_ELEMENT_HANDLING):nfe(null);if(L=nfe(null),bfe(t,"tagNameCheck")&&Ce(t.tagNameCheck)&&(L.tagNameCheck=t.tagNameCheck),bfe(t,"attributeNameCheck")&&Ce(t.attributeNameCheck)&&(L.attributeNameCheck=t.attributeNameCheck),bfe(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(L.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),G&&(Z=!1),ne&&(te=!0),ce&&(I=xfe({},Ufe),N=nfe(null),!0===ce.html&&(xfe(I,_fe),xfe(N,Dfe)),!0===ce.svg&&(xfe(I,Cfe),xfe(N,Ife),xfe(N,Nfe)),!0===ce.svgFilters&&(xfe(I,Efe),xfe(N,Ife),xfe(N,Nfe)),!0===ce.mathMl&&(xfe(I,Xfe),xfe(N,zfe),xfe(N,Nfe))),F.tagCheck=null,F.attributeCheck=null,bfe(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?F.tagCheck=e.ADD_TAGS:ufe(e.ADD_TAGS)&&(I===z&&(I=Pfe(I)),xfe(I,e.ADD_TAGS,Pe))),bfe(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?F.attributeCheck=e.ADD_ATTR:ufe(e.ADD_ATTR)&&(N===M&&(N=Pfe(N)),xfe(N,e.ADD_ATTR,Pe))),bfe(e,"ADD_URI_SAFE_ATTR")&&ufe(e.ADD_URI_SAFE_ATTR)&&xfe(fe,e.ADD_URI_SAFE_ATTR,Pe),bfe(e,"FORBID_CONTENTS")&&ufe(e.FORBID_CONTENTS)&&(ue===Oe&&(ue=Pfe(ue)),xfe(ue,e.FORBID_CONTENTS,Pe)),bfe(e,"ADD_FORBID_CONTENTS")&&ufe(e.ADD_FORBID_CONTENTS)&&(ue===Oe&&(ue=Pfe(ue)),xfe(ue,e.ADD_FORBID_CONTENTS,Pe)),se&&(I["#text"]=!0),K&&xfe(I,["html","head","body"]),I.table&&(xfe(I,["tbody"]),delete V.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw $fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw $fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=e.TRUSTED_TYPES_POLICY,w=b.createHTML("")}else void 0===b&&(b=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch{return null}}(f,o)),null!==b&&"string"==typeof w&&(w=b.createHTML(""));efe&&efe(e),Te=e},Re=xfe({},[...Cfe,...Efe,...Rfe]),Xe=xfe({},[...Xfe,...Bfe]),Be=function(e){lfe(n.removed,{element:e});try{y(e).removeChild(e)}catch{m(e)}},Ue=function(e,t){try{lfe(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{lfe(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Be(t)}catch{}else try{t.setAttribute(e,"")}catch{}},De=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=hfe(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===xe&&ve===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=b?b.createHTML(e):e;if(ve===ge)try{t=(new h).parseFromString(i,xe)}catch{}if(!t||!t.documentElement){t=Q.createDocument(ve,"template",null);try{t.documentElement.innerHTML=ye?w:i}catch{}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ve===ge?x.call(t,K?"html":"body")[0]:K?t.documentElement:o},Ie=function(e){return $.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ze=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof O)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Ne=function(e){return"function"==typeof l&&e instanceof l};function Me(e,t,r){ofe(e,e=>{e.call(n,t,r,Te)})}const Le=function(e){let t=null;if(Me(P.beforeSanitizeElements,e,null),ze(e))return Be(e),!0;const r=Pe(e.nodeName);if(Me(P.uponSanitizeElement,e,{tagName:r,allowedTags:I}),H&&e.hasChildNodes()&&!Ne(e.firstElementChild)&&Qfe(/<[/\w!]/g,e.innerHTML)&&Qfe(/<[/\w!]/g,e.textContent)||H&&e.namespaceURI===ge&&"style"===r&&Ne(e.firstElementChild)||e.nodeType===epe||H&&e.nodeType===tpe&&Qfe(/<[/\w]/g,e.data))return Be(e),!0;if(V[r]||!(F.tagCheck instanceof Function&&F.tagCheck(r))&&!I[r]){if(!V[r]&&Fe(r)&&(L.tagNameCheck instanceof RegExp&&Qfe(L.tagNameCheck,r)||L.tagNameCheck instanceof Function&&L.tagNameCheck(r)))return!1;if(se&&!ue[r]){const t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=A(n[r],!0);t.insertBefore(i,g(e))}}}return Be(e),!0}return e instanceof c&&!function(e){let t=y(e);(!t||!t.tagName)&&(t={namespaceURI:ve,tagName:"template"});const n=Ofe(e.tagName),r=Ofe(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ge?"svg"===n:t.namespaceURI===Ae?"svg"===n&&("annotation-xml"===r||Qe[r]):!!Re[n]:e.namespaceURI===Ae?t.namespaceURI===ge?"math"===n:t.namespaceURI===me?"math"===n&&$e[r]:!!Xe[n]:e.namespaceURI===ge?!(t.namespaceURI===me&&!$e[r]||t.namespaceURI===Ae&&!Qe[r])&&!Xe[n]&&(Se[n]||!Re[n]):!("application/xhtml+xml"!==xe||!be[e.namespaceURI]))}(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&Qfe(/<\/no(script|embed|frames)/i,e.innerHTML)?(Be(e),!0):(G&&e.nodeType===Jfe&&(t=e.textContent,ofe([T,_,C],e=>{t=ffe(t,e," ")}),e.textContent!==t&&(lfe(n.removed,{element:e.cloneNode()}),e.textContent=t)),Me(P.afterSanitizeElements,e,null),!1)},Ve=function(e,t,n){if(q[t]||ie&&("id"===t||"name"===t)&&(n in r||n in _e))return!1;const i=N[t]||F.attributeCheck instanceof Function&&F.attributeCheck(t,e);if((!Z||q[t]||!Qfe(E,t))&&(!W||!Qfe(R,t)))if(!i||q[t]){if(!(Fe(e)&&(L.tagNameCheck instanceof RegExp&&Qfe(L.tagNameCheck,e)||L.tagNameCheck instanceof Function&&L.tagNameCheck(e))&&(L.attributeNameCheck instanceof RegExp&&Qfe(L.attributeNameCheck,t)||L.attributeNameCheck instanceof Function&&L.attributeNameCheck(t,e))||"is"===t&&L.allowCustomizedBuiltInElements&&(L.tagNameCheck instanceof RegExp&&Qfe(L.tagNameCheck,n)||L.tagNameCheck instanceof Function&&L.tagNameCheck(n))))return!1}else if(!fe[t]&&!Qfe(D,ffe(n,B,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==pfe(n,"data:")||!de[e])&&(!Y||Qfe(X,ffe(n,B,"")))&&n)return!1;return!0},qe=xfe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Fe=function(e){return!qe[Ofe(e)]&&Qfe(U,e)},We=function(e){Me(P.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ze(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:N,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:s,value:l}=o,c=Pe(a),u=l;let O="value"===a?u:Afe(u);if(r.attrName=c,r.attrValue=O,r.keepAttr=!0,r.forceKeepAttr=void 0,Me(P.uponSanitizeAttribute,e,r),O=r.attrValue,oe&&("id"===c||"name"===c)&&0!==pfe(O,ae)&&(Ue(a,e),O=ae+O),H&&Qfe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,O)){Ue(a,e);continue}if("attributename"===c&&hfe(O,"href")){Ue(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ue(a,e);continue}if(!j&&Qfe(/\/>/i,O)){Ue(a,e);continue}G&&ofe([T,_,C],e=>{O=ffe(O,e," ")});const d=Pe(e.nodeName);if(Ve(d,c,O)){if(b&&"object"==typeof f&&"function"==typeof f.getAttributeType&&!s)switch(f.getAttributeType(d,c)){case"TrustedHTML":O=b.createHTML(O);break;case"TrustedScriptURL":O=b.createScriptURL(O)}if(O!==u)try{s?e.setAttributeNS(s,a,O):e.setAttribute(a,O),ze(e)?Be(e):sfe(n.removed)}catch{Ue(a,e)}}else Ue(a,e)}Me(P.afterSanitizeAttributes,e,null)},Ze=function(e){let t=null;const n=Ie(e);for(Me(P.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)Me(P.uponSanitizeShadowNode,t,null),Le(t),We(t),t.content instanceof a&&Ze(t.content);Me(P.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ne(e)&&(e=function(e){switch(typeof e){case"string":return e;case"number":return mfe(e);case"boolean":return gfe(e);case"bigint":return vfe?vfe(e):"0";case"symbol":return yfe?yfe(e):"Symbol()";case"undefined":default:return wfe(e);case"function":case"object":{if(null===e)return wfe(e);const t=e,n=Tfe(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:wfe(e)}return wfe(e)}}}(e),"string"!=typeof e))throw $fe("dirty is not a string, aborting");if(!n.isSupported)return e;if(J||Ee(t),n.removed=[],"string"==typeof e&&(le=!1),le){const t=e.nodeName;if("string"==typeof t){const e=Pe(t);if(!I[e]||V[e])throw $fe("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=De("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===Kfe&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!G&&!K&&-1===e.indexOf("<"))return b&&re?b.createHTML(e):e;if(r=De(e),!r)return te?null:re?w:""}r&&ee&&Be(r.firstChild);const u=Ie(le?e:r);for(;s=u.nextNode();)Le(s),We(s),s.content instanceof a&&Ze(s.content);if(le)return e;if(te){if(G){r.normalize();let e=r.innerHTML;ofe([T,_,C],t=>{e=ffe(e,t," ")}),r.innerHTML=e}if(ne)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(N.shadowroot||N.shadowrootmode)&&(c=k.call(i,c,!0)),c}let O=K?r.outerHTML:r.innerHTML;return K&&I["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Qfe(jfe,r.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+O),G&&ofe([T,_,C],e=>{O=ffe(O,e," ")}),b&&re?b.createHTML(O):O},n.setConfig=function(){Ee(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){Te=null,J=!1},n.isValidAttribute=function(e,t,n){Te||Ee({});const r=Pe(e),i=Pe(t);return Ve(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&lfe(P[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=afe(P[e],t);return-1===n?void 0:cfe(P[e],n,1)[0]}return sfe(P[e])},n.removeHooks=function(e){P[e]=[]},n.removeAllHooks=function(){P={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const ipe=Object.freeze(Object.defineProperty({__proto__:null,default:rpe},Symbol.toStringTag,{value:"Module"}));var ope=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ape(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var spe,lpe,cpe={};function upe(){if(lpe)return spe;lpe=1;var e=function(e){return e&&e.Math===Math&&e};return spe=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof ope&&ope)||e("object"==typeof spe&&spe)||function(){return this}()||Function("return this")()}var Ope,dpe,hpe,fpe,ppe,Ape,mpe,gpe,vpe={};function ype(){return dpe||(dpe=1,Ope=function(e){try{return!!e()}catch{return!0}}),Ope}function bpe(){if(fpe)return hpe;fpe=1;var e=ype();return hpe=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function wpe(){if(Ape)return ppe;Ape=1;var e=ype();return ppe=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),ppe}function Qpe(){if(gpe)return mpe;gpe=1;var e=wpe(),t=Function.prototype.call;return mpe=e?t.bind(t):function(){return t.apply(t,arguments)},mpe}var $pe,Spe,xpe,kpe,Ppe,Tpe,_pe,Cpe,Epe,Rpe,Xpe,Bpe,Upe,Dpe,Ipe,zpe,Npe,Mpe,Lpe,Vpe,qpe,Fpe,Wpe,Zpe,Ype,jpe,Gpe,Hpe,Kpe,Jpe,eAe,tAe,nAe,rAe,iAe,oAe,aAe,sAe,lAe,cAe,uAe,OAe={};function dAe(){return xpe||(xpe=1,Spe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),Spe}function hAe(){if(Ppe)return kpe;Ppe=1;var e=wpe(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return kpe=e?r:function(e){return function(){return n.apply(e,arguments)}},kpe}function fAe(){if(_pe)return Tpe;_pe=1;var e=hAe(),t=e({}.toString),n=e("".slice);return Tpe=function(e){return n(t(e),8,-1)}}function pAe(){if(Epe)return Cpe;Epe=1;var e=hAe(),t=ype(),n=fAe(),r=Object,i=e("".split);return Cpe=t(function(){return!r("z").propertyIsEnumerable(0)})?function(e){return"String"===n(e)?i(e,""):r(e)}:r}function AAe(){return Xpe||(Xpe=1,Rpe=function(e){return null==e}),Rpe}function mAe(){if(Upe)return Bpe;Upe=1;var e=AAe(),t=TypeError;return Bpe=function(n){if(e(n))throw new t("Can't call method on "+n);return n},Bpe}function gAe(){if(Ipe)return Dpe;Ipe=1;var e=pAe(),t=mAe();return Dpe=function(n){return e(t(n))},Dpe}function vAe(){if(Npe)return zpe;Npe=1;var e="object"==typeof document&&document.all;return zpe=typeof e>"u"&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e},zpe}function yAe(){if(Lpe)return Mpe;Lpe=1;var e=vAe();return Mpe=function(t){return"object"==typeof t?null!==t:e(t)},Mpe}function bAe(){if(qpe)return Vpe;qpe=1;var e=upe(),t=vAe();return Vpe=function(n,r){return arguments.length<2?function(e){return t(e)?e:void 0}(e[n]):e[n]&&e[n][r]},Vpe}function wAe(){if(Wpe)return Fpe;Wpe=1;var e=hAe();return Fpe=e({}.isPrototypeOf)}function QAe(){if(Ype)return Zpe;Ype=1;var e=upe().navigator,t=e&&e.userAgent;return Zpe=t?String(t):""}function $Ae(){if(Gpe)return jpe;Gpe=1;var e,t,n=upe(),r=QAe(),i=n.process,o=n.Deno,a=i&&i.versions||o&&o.version,s=a&&a.v8;return s&&(t=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&((!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&((e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]))),jpe=t}function SAe(){if(Kpe)return Hpe;Kpe=1;var e=$Ae(),t=ype(),n=upe().String;return Hpe=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function xAe(){if(eAe)return Jpe;eAe=1;var e=SAe();return Jpe=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function kAe(){if(nAe)return tAe;nAe=1;var e=bAe(),t=vAe(),n=wAe(),r=xAe(),i=Object;return tAe=r?function(e){return"symbol"==typeof e}:function(r){var o=e("Symbol");return t(o)&&n(o.prototype,i(r))},tAe}function PAe(){if(iAe)return rAe;iAe=1;var e=String;return rAe=function(t){try{return e(t)}catch{return"Object"}},rAe}function TAe(){if(aAe)return oAe;aAe=1;var e=vAe(),t=PAe(),n=TypeError;return oAe=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function _Ae(){if(lAe)return sAe;lAe=1;var e=TAe(),t=AAe();return sAe=function(n,r){var i=n[r];return t(i)?void 0:e(i)},sAe}var CAe,EAe,RAe,XAe,BAe,UAe,DAe,IAe,zAe,NAe,MAe,LAe,VAe,qAe,FAe,WAe,ZAe,YAe,jAe,GAe,HAe,KAe,JAe,eme,tme={exports:{}};function nme(){return EAe||(EAe=1,CAe=!1),CAe}function rme(){if(XAe)return RAe;XAe=1;var e=upe(),t=Object.defineProperty;return RAe=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch{e[n]=r}return r},RAe}function ime(){if(BAe)return tme.exports;BAe=1;var e=nme(),t=upe(),n=rme(),r="__core-js_shared__",i=tme.exports=t[r]||n(r,{});return(i.versions||(i.versions=[])).push({version:"3.43.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"}),tme.exports}function ome(){if(DAe)return UAe;DAe=1;var e=ime();return UAe=function(t,n){return e[t]||(e[t]=n||{})},UAe}function ame(){if(zAe)return IAe;zAe=1;var e=mAe(),t=Object;return IAe=function(n){return t(e(n))},IAe}function sme(){if(MAe)return NAe;MAe=1;var e=hAe(),t=ame(),n=e({}.hasOwnProperty);return NAe=Object.hasOwn||function(e,r){return n(t(e),r)}}function lme(){if(VAe)return LAe;VAe=1;var e=hAe(),t=0,n=Math.random(),r=e(1.1.toString);return LAe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function cme(){if(FAe)return qAe;FAe=1;var e=upe(),t=ome(),n=sme(),r=lme(),i=SAe(),o=xAe(),a=e.Symbol,s=t("wks"),l=o?a.for||a:a&&a.withoutSetter||r;return qAe=function(e){return n(s,e)||(s[e]=i&&n(a,e)?a[e]:l("Symbol."+e)),s[e]}}function ume(){if(ZAe)return WAe;ZAe=1;var e=Qpe(),t=yAe(),n=kAe(),r=_Ae(),i=function(){if(uAe)return cAe;uAe=1;var e=Qpe(),t=vAe(),n=yAe(),r=TypeError;return cAe=function(i,o){var a,s;if("string"===o&&t(a=i.toString)&&!n(s=e(a,i))||t(a=i.valueOf)&&!n(s=e(a,i))||"string"!==o&&t(a=i.toString)&&!n(s=e(a,i)))return s;throw new r("Can't convert object to primitive value")},cAe}(),o=cme(),a=TypeError,s=o("toPrimitive");return WAe=function(o,l){if(!t(o)||n(o))return o;var c,u=r(o,s);if(u){if(void 0===l&&(l="default"),c=e(u,o,l),!t(c)||n(c))return c;throw new a("Can't convert object to primitive value")}return void 0===l&&(l="number"),i(o,l)}}function Ome(){if(jAe)return YAe;jAe=1;var e=ume(),t=kAe();return YAe=function(n){var r=e(n,"string");return t(r)?r:r+""},YAe}function dme(){if(HAe)return GAe;HAe=1;var e=upe(),t=yAe(),n=e.document,r=t(n)&&t(n.createElement);return GAe=function(e){return r?n.createElement(e):{}}}function hme(){if(JAe)return KAe;JAe=1;var e=bpe(),t=ype(),n=dme();return KAe=!e&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function fme(){if(eme)return vpe;eme=1;var e=bpe(),t=Qpe(),n=function(){if($pe)return OAe;$pe=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return OAe.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,OAe}(),r=dAe(),i=gAe(),o=Ome(),a=sme(),s=hme(),l=Object.getOwnPropertyDescriptor;return vpe.f=e?l:function(e,c){if(e=i(e),c=o(c),s)try{return l(e,c)}catch{}if(a(e,c))return r(!t(n.f,e,c),e[c])},vpe}var pme,Ame,mme,gme,vme,yme,bme,wme={};function Qme(){if(Ame)return pme;Ame=1;var e=bpe(),t=ype();return pme=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function $me(){if(gme)return mme;gme=1;var e=yAe(),t=String,n=TypeError;return mme=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}function Sme(){if(vme)return wme;vme=1;var e=bpe(),t=hme(),n=Qme(),r=$me(),i=Ome(),o=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",u="writable";return wme.f=e?n?function(e,t,n){if(r(e),t=i(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&u in n&&!n[u]){var o=s(e,t);o&&o[u]&&(e[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:l in n?n[l]:o[l],writable:!1})}return a(e,t,n)}:a:function(e,n,s){if(r(e),n=i(n),r(s),t)try{return a(e,n,s)}catch{}if("get"in s||"set"in s)throw new o("Accessors not supported");return"value"in s&&(e[n]=s.value),e},wme}function xme(){if(bme)return yme;bme=1;var e=bpe(),t=Sme(),n=dAe();return yme=e?function(e,r,i){return t.f(e,r,n(1,i))}:function(e,t,n){return e[t]=n,e}}var kme,Pme,Tme,_me,Cme,Eme,Rme,Xme,Bme,Ume,Dme,Ime,zme,Nme,Mme,Lme={exports:{}};function Vme(){if(Pme)return kme;Pme=1;var e=bpe(),t=sme(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,a=i&&(!e||e&&r(n,"name").configurable);return kme={EXISTS:i,PROPER:o,CONFIGURABLE:a}}function qme(){if(_me)return Tme;_me=1;var e=hAe(),t=vAe(),n=ime(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),Tme=n.inspectSource}function Fme(){if(Xme)return Rme;Xme=1;var e=ome(),t=lme(),n=e("keys");return Rme=function(e){return n[e]||(n[e]=t(e))}}function Wme(){return Ume||(Ume=1,Bme={}),Bme}function Zme(){if(Ime)return Dme;Ime=1;var e,t,n,r=function(){if(Eme)return Cme;Eme=1;var e=upe(),t=vAe(),n=e.WeakMap;return Cme=t(n)&&/native code/.test(String(n))}(),i=upe(),o=yAe(),a=xme(),s=sme(),l=ime(),c=Fme(),u=Wme(),O="Object already initialized",d=i.TypeError,h=i.WeakMap;if(r||l.state){var f=l.state||(l.state=new h);f.get=f.get,f.has=f.has,f.set=f.set,e=function(e,t){if(f.has(e))throw new d(O);return t.facade=e,f.set(e,t),t},t=function(e){return f.get(e)||{}},n=function(e){return f.has(e)}}else{var p=c("state");u[p]=!0,e=function(e,t){if(s(e,p))throw new d(O);return t.facade=e,a(e,p,t),t},t=function(e){return s(e,p)?e[p]:{}},n=function(e){return s(e,p)}}return Dme={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!o(n)||(r=t(n)).type!==e)throw new d("Incompatible receiver, "+e+" required");return r}}}}function Yme(){if(zme)return Lme.exports;zme=1;var e=hAe(),t=ype(),n=vAe(),r=sme(),i=bpe(),o=Vme().CONFIGURABLE,a=qme(),s=Zme(),l=s.enforce,c=s.get,u=String,O=Object.defineProperty,d=e("".slice),h=e("".replace),f=e([].join),p=i&&!t(function(){return 8!==O(function(){},"length",{value:8}).length}),A=String(String).split("String"),m=Lme.exports=function(e,t,n){"Symbol("===d(u(t),0,7)&&(t="["+h(u(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||o&&e.name!==t)&&(i?O(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&r(n,"arity")&&e.length!==n.arity&&O(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?i&&O(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var a=l(e);return r(a,"source")||(a.source=f(A,"string"==typeof t?t:"")),e};return Function.prototype.toString=m(function(){return n(this)&&c(this).source||a(this)},"toString"),Lme.exports}function jme(){if(Mme)return Nme;Mme=1;var e=vAe(),t=Sme(),n=Yme(),r=rme();return Nme=function(i,o,a,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:o;if(e(a)&&n(a,c,s),s.global)l?i[o]=a:r(o,a);else{try{s.unsafe?i[o]&&(l=!0):delete i[o]}catch{}l?i[o]=a:t.f(i,o,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return i},Nme}var Gme,Hme,Kme,Jme,ege,tge,nge,rge,ige,oge,age,sge,lge,cge,uge,Oge,dge,hge={};function fge(){if(Jme)return Kme;Jme=1;var e=function(){if(Hme)return Gme;Hme=1;var e=Math.ceil,t=Math.floor;return Gme=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)}}();return Kme=function(t){var n=+t;return n!=n||0===n?0:e(n)},Kme}function pge(){if(rge)return nge;rge=1;var e=fge(),t=Math.min;return nge=function(n){var r=e(n);return r>0?t(r,9007199254740991):0},nge}function Age(){if(oge)return ige;oge=1;var e=pge();return ige=function(t){return e(t.length)},ige}function mge(){if(sge)return age;sge=1;var e=gAe(),t=function(){if(tge)return ege;tge=1;var e=fge(),t=Math.max,n=Math.min;return ege=function(r,i){var o=e(r);return o<0?t(o+i,0):n(o,i)}}(),n=Age(),r=function(r){return function(i,o,a){var s=e(i),l=n(s);if(0===l)return!r&&-1;var c,u=t(a,l);if(r&&o!=o){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((r||u in s)&&s[u]===o)return r||u||0;return!r&&-1}};return age={includes:r(!0),indexOf:r(!1)}}function gge(){if(cge)return lge;cge=1;var e=hAe(),t=sme(),n=gAe(),r=mge().indexOf,i=Wme(),o=e([].push);return lge=function(e,a){var s,l=n(e),c=0,u=[];for(s in l)!t(i,s)&&t(l,s)&&o(u,s);for(;a.length>c;)t(l,s=a[c++])&&(~r(u,s)||o(u,s));return u},lge}function vge(){return Oge||(Oge=1,uge=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),uge}var yge,bge,wge,Qge,$ge,Sge,xge,kge,Pge,Tge,_ge,Cge,Ege,Rge,Xge,Bge,Uge,Dge,Ige,zge,Nge,Mge,Lge,Vge,qge,Fge,Wge,Zge,Yge,jge,Gge,Hge,Kge,Jge,eve,tve,nve,rve,ive,ove,ave,sve,lve,cve,uve,Ove,dve,hve,fve,pve,Ave,mve,gve,vve,yve,bve,wve,Qve,$ve,Sve,xve,kve,Pve,Tve,_ve,Cve,Eve,Rve,Xve,Bve,Uve,Dve,Ive,zve,Nve,Mve={};function Lve(){if(wge)return bge;wge=1;var e=bAe(),t=hAe(),n=function(){if(dge)return hge;dge=1;var e=gge(),t=vge().concat("length","prototype");return hge.f=Object.getOwnPropertyNames||function(n){return e(n,t)},hge}(),r=(yge||(yge=1,Mve.f=Object.getOwnPropertySymbols),Mve),i=$me(),o=t([].concat);return bge=e("Reflect","ownKeys")||function(e){var t=n.f(i(e)),a=r.f;return a?o(t,a(e)):t}}function Vve(){if(xge)return Sge;xge=1;var e=ype(),t=vAe(),n=/#|\.prototype\./,r=function(n,r){var l=o[i(n)];return l===s||l!==a&&(t(r)?e(r):!!r)},i=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},o=r.data={},a=r.NATIVE="N",s=r.POLYFILL="P";return Sge=r}function qve(){if(Pge)return kge;Pge=1;var e=upe(),t=fme().f,n=xme(),r=jme(),i=rme(),o=function(){if($ge)return Qge;$ge=1;var e=sme(),t=Lve(),n=fme(),r=Sme();return Qge=function(i,o,a){for(var s=t(o),l=r.f,c=n.f,u=0;u<s.length;u++){var O=s[u];!e(i,O)&&(!a||!e(a,O))&&l(i,O,c(o,O))}},Qge}(),a=Vve();return kge=function(s,l){var c,u,O,d,h,f=s.target,p=s.global,A=s.stat;if(c=p?e:A?e[f]||i(f,{}):e[f]&&e[f].prototype)for(u in l){if(d=l[u],s.dontCallGetSet?O=(h=t(c,u))&&h.value:O=c[u],!a(p?u:f+(A?".":"#")+u,s.forced)&&void 0!==O){if(typeof d==typeof O)continue;o(d,O)}(s.sham||O&&O.sham)&&n(d,"sham",!0),r(c,u,d,s)}}}function Fve(){if(_ge)return Tge;_ge=1;var e=upe(),t=QAe(),n=fAe(),r=function(e){return t.slice(0,e.length)===e};return Tge=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":e.Bun&&"string"==typeof Bun.version?"BUN":e.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(e.process)?"NODE":e.window&&e.document?"BROWSER":"REST"}function Wve(){if(Ege)return Cge;Ege=1;var e=Fve();return Cge="NODE"===e}function Zve(){if(Nge)return zge;Nge=1;var e=function(){if(Ige)return Dge;Ige=1;var e=yAe();return Dge=function(t){return e(t)||null===t},Dge}(),t=String,n=TypeError;return zge=function(r){if(e(r))return r;throw new n("Can't set "+t(r)+" as a prototype")}}function Yve(){if(Lge)return Mge;Lge=1;var e=function(){if(Uge)return Bge;Uge=1;var e=hAe(),t=TAe();return Bge=function(n,r,i){try{return e(t(Object.getOwnPropertyDescriptor(n,r)[i]))}catch{}},Bge}(),t=yAe(),n=mAe(),r=Zve();return Mge=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,a={};try{(i=e(Object.prototype,"__proto__","set"))(a,[]),o=a instanceof Array}catch{}return function(e,a){return n(e),r(a),t(e)&&(o?i(e,a):e.__proto__=a),e}}():void 0),Mge}function jve(){if(qge)return Vge;qge=1;var e=Sme().f,t=sme(),n=cme()("toStringTag");return Vge=function(r,i,o){r&&!o&&(r=r.prototype),r&&!t(r,n)&&e(r,n,{configurable:!0,value:i})},Vge}function Gve(){if(Yge)return Zge;Yge=1;var e=bAe(),t=function(){if(Wge)return Fge;Wge=1;var e=Yme(),t=Sme();return Fge=function(n,r,i){return i.get&&e(i.get,r,{getter:!0}),i.set&&e(i.set,r,{setter:!0}),t.f(n,r,i)},Fge}(),n=cme(),r=bpe(),i=n("species");return Zge=function(n){var o=e(n);r&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})},Zge}function Hve(){if(eve)return Jge;eve=1;var e=function(){if(Kge)return Hge;Kge=1;var e={};return e[cme()("toStringTag")]="z",Hge="[object z]"===String(e)}(),t=vAe(),n=fAe(),r=cme()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return Jge=e?n:function(e){var a,s,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch{}}(a=i(e),r))?s:o?n(a):"Object"===(l=n(a))&&t(a.callee)?"Arguments":l}}function Kve(){if(ive)return rve;ive=1;var e=function(){if(nve)return tve;nve=1;var e=hAe(),t=ype(),n=vAe(),r=Hve(),i=bAe(),o=qme(),a=function(){},s=i("Reflect","construct"),l=/^\s*(?:class|function)\b/,c=e(l.exec),u=!l.test(a),O=function(e){if(!n(e))return!1;try{return s(a,[],e),!0}catch{return!1}},d=function(e){if(!n(e))return!1;switch(r(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!c(l,o(e))}catch{return!0}};return d.sham=!0,tve=!s||t(function(){var e;return O(O.call)||!O(Object)||!O(function(){e=!0})||e})?d:O}(),t=PAe(),n=TypeError;return rve=function(r){if(e(r))return r;throw new n(t(r)+" is not a constructor")}}function Jve(){if(ave)return ove;ave=1;var e=$me(),t=Kve(),n=AAe(),r=cme()("species");return ove=function(i,o){var a,s=e(i).constructor;return void 0===s||n(a=e(s)[r])?o:t(a)},ove}function eye(){if(lve)return sve;lve=1;var e=wpe(),t=Function.prototype,n=t.apply,r=t.call;return sve="object"==typeof Reflect&&Reflect.apply||(e?r.bind(n):function(){return r.apply(n,arguments)}),sve}function tye(){if(uve)return cve;uve=1;var e=fAe(),t=hAe();return cve=function(n){if("Function"===e(n))return t(n)},cve}function nye(){if(dve)return Ove;dve=1;var e=tye(),t=TAe(),n=wpe(),r=e(e.bind);return Ove=function(e,i){return t(e),void 0===i?e:n?r(e,i):function(){return e.apply(i,arguments)}},Ove}function rye(){if(fve)return hve;fve=1;var e=bAe();return hve=e("document","documentElement")}function iye(){if(yve)return vve;yve=1;var e=QAe();return vve=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)}function oye(){if(wve)return bve;wve=1;var e,t,n,r,i=upe(),o=eye(),a=nye(),s=vAe(),l=sme(),c=ype(),u=rye(),O=function(){if(Ave)return pve;Ave=1;var e=hAe();return pve=e([].slice)}(),d=dme(),h=function(){if(gve)return mve;gve=1;var e=TypeError;return mve=function(t,n){if(t<n)throw new e("Not enough arguments");return t},mve}(),f=iye(),p=Wve(),A=i.setImmediate,m=i.clearImmediate,g=i.process,v=i.Dispatch,y=i.Function,b=i.MessageChannel,w=i.String,Q=0,$={},S="onreadystatechange";c(function(){e=i.location});var x=function(e){if(l($,e)){var t=$[e];delete $[e],t()}},k=function(e){return function(){x(e)}},P=function(e){x(e.data)},T=function(t){i.postMessage(w(t),e.protocol+"//"+e.host)};return(!A||!m)&&(A=function(e){h(arguments.length,1);var n=s(e)?e:y(e),r=O(arguments,1);return $[++Q]=function(){o(n,void 0,r)},t(Q),Q},m=function(e){delete $[e]},p?t=function(e){g.nextTick(k(e))}:v&&v.now?t=function(e){v.now(k(e))}:b&&!f?(r=(n=new b).port2,n.port1.onmessage=P,t=a(r.postMessage,r)):i.addEventListener&&s(i.postMessage)&&!i.importScripts&&e&&"file:"!==e.protocol&&!c(T)?(t=T,i.addEventListener("message",P,!1)):t=S in d("script")?function(e){u.appendChild(d("script"))[S]=function(){u.removeChild(this),x(e)}}:function(e){setTimeout(k(e),0)}),bve={set:A,clear:m}}function aye(){if(xve)return Sve;xve=1;var e=function(){this.head=null,this.tail=null};return e.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},Sve=e}function sye(){if(Eve)return Cve;Eve=1;var e,t,n,r,i,o=upe(),a=function(){if($ve)return Qve;$ve=1;var e=upe(),t=bpe(),n=Object.getOwnPropertyDescriptor;return Qve=function(r){if(!t)return e[r];var i=n(e,r);return i&&i.value}}(),s=nye(),l=oye().set,c=aye(),u=iye(),O=function(){if(Pve)return kve;Pve=1;var e=QAe();return kve=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u"}(),d=function(){if(_ve)return Tve;_ve=1;var e=QAe();return Tve=/web0s(?!.*chrome)/i.test(e)}(),h=Wve(),f=o.MutationObserver||o.WebKitMutationObserver,p=o.document,A=o.process,m=o.Promise,g=a("queueMicrotask");if(!g){var v=new c,y=function(){var t,n;for(h&&(t=A.domain)&&t.exit();n=v.get();)try{n()}catch(r){throw v.head&&e(),r}t&&t.enter()};u||h||d||!f||!p?!O&&m&&m.resolve?((r=m.resolve(void 0)).constructor=m,i=s(r.then,r),e=function(){i(y)}):h?e=function(){A.nextTick(y)}:(l=s(l,o),e=function(){l(y)}):(t=!0,n=p.createTextNode(""),new f(y).observe(n,{characterData:!0}),e=function(){n.data=t=!t}),g=function(t){v.head||e(),v.add(t)}}return Cve=g}function lye(){return Uve||(Uve=1,Bve=function(e){try{return{error:!1,value:e()}}catch(ly){return{error:!0,value:ly}}}),Bve}function cye(){if(Ive)return Dve;Ive=1;var e=upe();return Dve=e.Promise}function uye(){if(Nve)return zve;Nve=1;var e=upe(),t=cye(),n=vAe(),r=Vve(),i=qme(),o=cme(),a=Fve(),s=nme(),l=$Ae(),c=t&&t.prototype,u=o("species"),O=!1,d=n(e.PromiseRejectionEvent),h=r("Promise",function(){var e=i(t),n=e!==String(t);if(!n&&66===l||s&&(!c.catch||!c.finally))return!0;if(!l||l<51||!/native code/.test(e)){var r=new t(function(e){e(1)}),o=function(e){e(function(){},function(){})};if((r.constructor={})[u]=o,!(O=r.then(function(){})instanceof o))return!0}return!(n||"BROWSER"!==a&&"DENO"!==a||d)});return zve={CONSTRUCTOR:h,REJECTION_EVENT:d,SUBCLASSING:O}}var Oye,dye,hye={};function fye(){if(Oye)return hye;Oye=1;var e=TAe(),t=TypeError,n=function(n){var r,i;this.promise=new n(function(e,n){if(void 0!==r||void 0!==i)throw new t("Bad Promise constructor");r=e,i=n}),this.resolve=e(r),this.reject=e(i)};return hye.f=function(e){return new n(e)},hye}function pye(){if(dye)return cpe;dye=1;var e,t,n,r,i=qve(),o=nme(),a=Wve(),s=upe(),l=function(){if(Xge)return Rge;Xge=1;var e=upe();return Rge=e}(),c=Qpe(),u=jme(),O=Yve(),d=jve(),h=Gve(),f=TAe(),p=vAe(),A=yAe(),m=function(){if(Gge)return jge;Gge=1;var e=wAe(),t=TypeError;return jge=function(n,r){if(e(r,n))return n;throw new t("Incorrect invocation")},jge}(),g=Jve(),v=oye().set,y=sye(),b=(Xve||(Xve=1,Rve=function(e,t){}),Rve),w=lye(),Q=aye(),$=Zme(),S=cye(),x=uye(),k=fye(),P="Promise",T=x.CONSTRUCTOR,_=x.REJECTION_EVENT,C=x.SUBCLASSING,E=$.getterFor(P),R=$.set,X=S&&S.prototype,B=S,U=X,D=s.TypeError,I=s.document,z=s.process,N=k.f,M=N,L=!!(I&&I.createEvent&&s.dispatchEvent),V="unhandledrejection",q=function(e){var t;return!(!A(e)||!p(t=e.then))&&t},F=function(e,t){var n,r,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,u=e.reject,O=e.domain;try{s?(a||(2===t.rejection&&G(t),t.rejection=1),!0===s?n=o:(O&&O.enter(),n=s(o),O&&(O.exit(),i=!0)),n===e.promise?u(new D("Promise-chain cycle")):(r=q(n))?c(r,n,l,u):l(n)):u(o)}catch(d){O&&!i&&O.exit(),u(d)}},W=function(e,t){e.notified||(e.notified=!0,y(function(){for(var n,r=e.reactions;n=r.get();)F(n,e);e.notified=!1,t&&!e.rejection&&Y(e)}))},Z=function(e,t,n){var r,i;L?((r=I.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!_&&(i=s["on"+e])?i(r):e===V&&b("Unhandled promise rejection",n)},Y=function(e){c(v,s,function(){var t,n=e.facade,r=e.value;if(j(e)&&(t=w(function(){a?z.emit("unhandledRejection",r,n):Z(V,n,r)}),e.rejection=a||j(e)?2:1,t.error))throw t.value})},j=function(e){return 1!==e.rejection&&!e.parent},G=function(e){c(v,s,function(){var t=e.facade;a?z.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)})},H=function(e,t,n){return function(r){e(t,r,n)}},K=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,W(e,!0))},J=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new D("Promise can't be resolved itself");var r=q(t);r?y(function(){var n={done:!1};try{c(r,t,H(J,n,e),H(K,n,e))}catch(i){K(n,i,e)}}):(e.value=t,e.state=1,W(e,!1))}catch(i){K({done:!1},i,e)}}};if(T&&(U=(B=function(t){m(this,U),f(t),c(e,this);var n=E(this);try{t(H(J,n),H(K,n))}catch(r){K(n,r)}}).prototype,(e=function(e){R(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new Q,rejection:!1,state:0,value:null})}).prototype=u(U,"then",function(e,t){var n=E(this),r=N(g(this,B));return n.parent=!0,r.ok=!p(e)||e,r.fail=p(t)&&t,r.domain=a?z.domain:void 0,0===n.state?n.reactions.add(r):y(function(){F(r,n)}),r.promise}),t=function(){var t=new e,n=E(t);this.promise=t,this.resolve=H(J,n),this.reject=H(K,n)},k.f=N=function(e){return e===B||e===n?new t(e):M(e)},!o&&p(S)&&X!==Object.prototype)){r=X.then,C||u(X,"then",function(e,t){var n=this;return new B(function(e,t){c(r,n,e,t)}).then(e,t)},{unsafe:!0});try{delete X.constructor}catch{}O&&O(X,U)}return i({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:B}),n=l.Promise,d(B,P,!1,!0),h(P),cpe}var Aye,mye,gye,vye,yye,bye,wye,Qye,$ye,Sye,xye,kye,Pye,Tye,_ye,Cye,Eye,Rye={};function Xye(){return mye||(mye=1,Aye={}),Aye}function Bye(){if(bye)return yye;bye=1;var e=Hve(),t=_Ae(),n=AAe(),r=Xye(),i=cme()("iterator");return yye=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||r[e(o)]},yye}function Uye(){if(kye)return xye;kye=1;var e=nye(),t=Qpe(),n=$me(),r=PAe(),i=function(){if(vye)return gye;vye=1;var e=cme(),t=Xye(),n=e("iterator"),r=Array.prototype;return gye=function(e){return void 0!==e&&(t.Array===e||r[n]===e)}}(),o=Age(),a=wAe(),s=function(){if(Qye)return wye;Qye=1;var e=Qpe(),t=TAe(),n=$me(),r=PAe(),i=Bye(),o=TypeError;return wye=function(a,s){var l=arguments.length<2?i(a):s;if(t(l))return n(e(l,a));throw new o(r(a)+" is not iterable")},wye}(),l=Bye(),c=function(){if(Sye)return $ye;Sye=1;var e=Qpe(),t=$me(),n=_Ae();return $ye=function(r,i,o){var a,s;t(r);try{if(!(a=n(r,"return"))){if("throw"===i)throw o;return o}a=e(a,r)}catch(l){s=!0,a=l}if("throw"===i)throw o;if(s)throw a;return t(a),o},$ye}(),u=TypeError,O=function(e,t){this.stopped=e,this.result=t},d=O.prototype;return xye=function(h,f,p){var A,m,g,v,y,b,w,Q=p&&p.that,$=!(!p||!p.AS_ENTRIES),S=!(!p||!p.IS_RECORD),x=!(!p||!p.IS_ITERATOR),k=!(!p||!p.INTERRUPTED),P=e(f,Q),T=function(e){return A&&c(A,"normal"),new O(!0,e)},_=function(e){return $?(n(e),k?P(e[0],e[1],T):P(e[0],e[1])):k?P(e,T):P(e)};if(S)A=h.iterator;else if(x)A=h;else{if(!(m=l(h)))throw new u(r(h)+" is not iterable");if(i(m)){for(g=0,v=o(h);v>g;g++)if((y=_(h[g]))&&a(d,y))return y;return new O(!1)}A=s(h,m)}for(b=S?h.next:A.next;!(w=t(b,A)).done;){try{y=_(w.value)}catch(C){c(A,"throw",C)}if("object"==typeof y&&y&&a(d,y))return y}return new O(!1)}}function Dye(){if(Cye)return _ye;Cye=1;var e=cye(),t=function(){if(Tye)return Pye;Tye=1;var e=cme()("iterator"),t=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){t=!0}};r[e]=function(){return this},Array.from(r,function(){throw 2})}catch{}return Pye=function(n,r){try{if(!r&&!t)return!1}catch{return!1}var i=!1;try{var o={};o[e]=function(){return{next:function(){return{done:i=!0}}}},n(o)}catch{}return i},Pye}(),n=uye().CONSTRUCTOR;return _ye=n||!t(function(t){e.all(t).then(void 0,function(){})})}var Iye,zye={};var Nye,Mye={};var Lye,Vye={};var qye,Fye,Wye,Zye,Yye={};function jye(){if(Wye)return Yye;Wye=1;var e=qve(),t=bAe(),n=nme(),r=cye(),i=uye().CONSTRUCTOR,o=function(){if(Fye)return qye;Fye=1;var e=$me(),t=yAe(),n=fye();return qye=function(r,i){if(e(r),t(i)&&i.constructor===r)return i;var o=n.f(r);return(0,o.resolve)(i),o.promise}}(),a=t("Promise"),s=n&&!i;return e({target:"Promise",stat:!0,forced:n||i},{resolve:function(e){return o(s&&this===a?r:this,e)}}),Yye}function Gye(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function Hye(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){Gye(o,r,i,a,s,"next",e)}function s(e){Gye(o,r,i,a,s,"throw",e)}a(void 0)})}}Zye||(Zye=1,pye(),function(){if(Eye)return Rye;Eye=1;var e=qve(),t=Qpe(),n=TAe(),r=fye(),i=lye(),o=Uye();e({target:"Promise",stat:!0,forced:Dye()},{all:function(e){var a=this,s=r.f(a),l=s.resolve,c=s.reject,u=i(function(){var r=n(a.resolve),i=[],s=0,u=1;o(e,function(e){var n=s++,o=!1;u++,t(r,a,e).then(function(e){o||(o=!0,i[n]=e,--u||l(i))},c)}),--u||l(i)});return u.error&&c(u.value),s.promise}})}(),function(){if(Iye)return zye;Iye=1;var e=qve(),t=nme(),n=uye().CONSTRUCTOR,r=cye(),i=bAe(),o=vAe(),a=jme(),s=r&&r.prototype;if(e({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(e){return this.then(void 0,e)}}),!t&&o(r)){var l=i("Promise").prototype.catch;s.catch!==l&&a(s,"catch",l,{unsafe:!0})}}(),function(){if(Nye)return Mye;Nye=1;var e=qve(),t=Qpe(),n=TAe(),r=fye(),i=lye(),o=Uye();e({target:"Promise",stat:!0,forced:Dye()},{race:function(e){var a=this,s=r.f(a),l=s.reject,c=i(function(){var r=n(a.resolve);o(e,function(e){t(r,a,e).then(s.resolve,l)})});return c.error&&l(c.value),s.promise}})}(),function(){if(Lye)return Vye;Lye=1;var e=qve(),t=fye();e({target:"Promise",stat:!0,forced:uye().CONSTRUCTOR},{reject:function(e){var n=t.f(this);return(0,n.reject)(e),n.promise}})}(),jye());var Kye,Jye,ebe,tbe,nbe,rbe,ibe={},obe={};function abe(){if(Jye)return Kye;Jye=1;var e=Hve(),t=String;return Kye=function(n){if("Symbol"===e(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)},Kye}function sbe(){if(tbe)return ebe;tbe=1;var e=$me();return ebe=function(){var t=e(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n},ebe}function lbe(){if(rbe)return nbe;rbe=1;var e=ype(),t=upe().RegExp,n=e(function(){var e=t("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),r=n||e(function(){return!t("a","y").sticky}),i=n||e(function(){var e=t("^r","gy");return e.lastIndex=2,null!==e.exec("str")});return nbe={BROKEN_CARET:i,MISSED_STICKY:r,UNSUPPORTED_Y:n}}var cbe,ube,Obe,dbe,hbe,fbe,pbe,Abe,mbe,gbe,vbe,ybe,bbe,wbe,Qbe,$be,Sbe,xbe,kbe,Pbe,Tbe,_be,Cbe,Ebe,Rbe,Xbe={};function Bbe(){if(Obe)return Xbe;Obe=1;var e=bpe(),t=Qme(),n=Sme(),r=$me(),i=gAe(),o=function(){if(ube)return cbe;ube=1;var e=gge(),t=vge();return cbe=Object.keys||function(n){return e(n,t)}}();return Xbe.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var a,s=i(t),l=o(t),c=l.length,u=0;c>u;)n.f(e,a=l[u++],s[a]);return e},Xbe}function Ube(){if(hbe)return dbe;hbe=1;var e,t=$me(),n=Bbe(),r=vge(),i=Wme(),o=rye(),a=dme(),s=Fme(),l="prototype",c="script",u=s("IE_PROTO"),O=function(){},d=function(e){return"<"+c+">"+e+"</"+c+">"},h=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{e=new ActiveXObject("htmlfile")}catch{}f=typeof document<"u"?document.domain&&e?h(e):function(){var e,t=a("iframe"),n="java"+c+":";return t.style.display="none",o.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F}():h(e);for(var t=r.length;t--;)delete f[l][r[t]];return f()};return i[u]=!0,dbe=Object.create||function(e,r){var i;return null!==e?(O[l]=t(e),i=new O,O[l]=null,i[u]=e):i=f(),void 0===r?i:n.f(i,r)}}function Dbe(){if(vbe)return gbe;vbe=1;var e,t,n=Qpe(),r=hAe(),i=abe(),o=sbe(),a=lbe(),s=ome(),l=Ube(),c=Zme().get,u=function(){if(pbe)return fbe;pbe=1;var e=ype(),t=upe().RegExp;return fbe=e(function(){var e=t(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})}(),O=function(){if(mbe)return Abe;mbe=1;var e=ype(),t=upe().RegExp;return Abe=e(function(){var e=t("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})}(),d=s("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,f=h,p=r("".charAt),A=r("".indexOf),m=r("".replace),g=r("".slice),v=(t=/b*/g,n(h,e=/a/,"a"),n(h,t,"a"),0!==e.lastIndex||0!==t.lastIndex),y=a.BROKEN_CARET,b=void 0!==/()??/.exec("")[1];return(v||b||y||u||O)&&(f=function(e){var t,r,a,s,u,O,w,Q=this,$=c(Q),S=i(e),x=$.raw;if(x)return x.lastIndex=Q.lastIndex,t=n(f,x,S),Q.lastIndex=x.lastIndex,t;var k=$.groups,P=y&&Q.sticky,T=n(o,Q),_=Q.source,C=0,E=S;if(P&&(T=m(T,"y",""),-1===A(T,"g")&&(T+="g"),E=g(S,Q.lastIndex),Q.lastIndex>0&&(!Q.multiline||Q.multiline&&"\n"!==p(S,Q.lastIndex-1))&&(_="(?: "+_+")",E=" "+E,C++),r=new RegExp("^(?:"+_+")",T)),b&&(r=new RegExp("^"+_+"$(?!\\s)",T)),v&&(a=Q.lastIndex),s=n(h,P?r:Q,E),P?s?(s.input=g(s.input,C),s[0]=g(s[0],C),s.index=Q.lastIndex,Q.lastIndex+=s[0].length):Q.lastIndex=0:v&&s&&(Q.lastIndex=Q.global?s.index+s[0].length:a),b&&s&&s.length>1&&n(d,s[0],r,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)}),s&&k)for(s.groups=O=l(null),u=0;u<k.length;u++)O[(w=k[u])[0]]=s[w[1]];return s}),gbe=f}function Ibe(){if(wbe)return bbe;wbe=1,function(){if(ybe)return obe;ybe=1;var e=qve(),t=Dbe();e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t})}();var e=Qpe(),t=jme(),n=Dbe(),r=ype(),i=cme(),o=xme(),a=i("species"),s=RegExp.prototype;return bbe=function(l,c,u,O){var d=i(l),h=!r(function(){var e={};return e[d]=function(){return 7},7!==""[l](e)}),f=h&&!r(function(){var e=!1,t=/a/;return"split"===l&&((t={}).constructor={},t.constructor[a]=function(){return t},t.flags="",t[d]=/./[d]),t.exec=function(){return e=!0,null},t[d](""),!e});if(!h||!f||u){var p=/./[d],A=c(d,""[l],function(t,r,i,o,a){var l=r.exec;return l===n||l===s.exec?h&&!a?{done:!0,value:e(p,r,i,o)}:{done:!0,value:e(t,i,r,o)}:{done:!1}});t(String.prototype,l,A[0]),t(s,d,A[1])}O&&o(s[d],"sham",!0)}}function zbe(){if(xbe)return Sbe;xbe=1;var e=function(){if($be)return Qbe;$be=1;var e=hAe(),t=fge(),n=abe(),r=mAe(),i=e("".charAt),o=e("".charCodeAt),a=e("".slice),s=function(e){return function(s,l){var c,u,O=n(r(s)),d=t(l),h=O.length;return d<0||d>=h?e?"":void 0:(c=o(O,d))<55296||c>56319||d+1===h||(u=o(O,d+1))<56320||u>57343?e?i(O,d):c:e?a(O,d,d+2):u-56320+(c-55296<<10)+65536}};return Qbe={codeAt:s(!1),charAt:s(!0)}}().charAt;return Sbe=function(t,n,r){return n+(r?e(t,n).length:1)},Sbe}function Nbe(){if(_be)return Tbe;_be=1;var e=Qpe(),t=sme(),n=wAe(),r=function(){if(Pbe)return kbe;Pbe=1;var e=upe(),t=ype(),n=e.RegExp,r=!t(function(){var e=!0;try{n(".","d")}catch{e=!1}var t={},r="",i=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)o(s,a[s]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==i||r!==i});return kbe={correct:r}}(),i=sbe(),o=RegExp.prototype;return Tbe=r.correct?function(e){return e.flags}:function(a){return r.correct||!n(o,a)||t(a,"flags")?a.flags:e(i,a)},Tbe}function Mbe(){if(Ebe)return Cbe;Ebe=1;var e=Qpe(),t=$me(),n=vAe(),r=fAe(),i=Dbe(),o=TypeError;return Cbe=function(a,s){var l=a.exec;if(n(l)){var c=e(l,a,s);return null!==c&&t(c),c}if("RegExp"===r(a))return e(i,a,s);throw new o("RegExp#exec called on incompatible receiver")},Cbe}!function(){if(Rbe)return ibe;Rbe=1;var e=Qpe(),t=hAe(),n=Ibe(),r=$me(),i=yAe(),o=pge(),a=abe(),s=mAe(),l=_Ae(),c=zbe(),u=Nbe(),O=Mbe(),d=t("".indexOf);n("match",function(t,n,h){return[function(n){var r=s(this),o=i(n)?l(n,t):void 0;return o?e(o,n,r):new RegExp(n)[t](a(r))},function(e){var t=r(this),i=a(e),s=h(n,t,i);if(s.done)return s.value;var l=a(u(t));if(-1===d(l,"g"))return O(t,i);var f=-1!==d(l,"u");t.lastIndex=0;for(var p,A=[],m=0;null!==(p=O(t,i));){var g=a(p[0]);A[m]=g,""===g&&(t.lastIndex=c(i,o(t.lastIndex),f)),m++}return 0===m?null:A}]})}();var Lbe,Vbe,qbe,Fbe={};!function(){if(qbe)return Fbe;qbe=1;var e=eye(),t=Qpe(),n=hAe(),r=Ibe(),i=ype(),o=$me(),a=vAe(),s=yAe(),l=fge(),c=pge(),u=abe(),O=mAe(),d=zbe(),h=_Ae(),f=function(){if(Vbe)return Lbe;Vbe=1;var e=hAe(),t=ame(),n=Math.floor,r=e("".charAt),i=e("".replace),o=e("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return Lbe=function(e,l,c,u,O,d){var h=c+e.length,f=u.length,p=s;return void 0!==O&&(O=t(O),p=a),i(d,p,function(t,i){var a;switch(r(i,0)){case"$":return"$";case"&":return e;case"`":return o(l,0,c);case"'":return o(l,h);case"<":a=O[o(i,1,-1)];break;default:var s=+i;if(0===s)return t;if(s>f){var d=n(s/10);return 0===d?t:d<=f?void 0===u[d-1]?r(i,1):u[d-1]+r(i,1):t}a=u[s-1]}return void 0===a?"":a})}}(),p=Nbe(),A=Mbe(),m=cme()("replace"),g=Math.max,v=Math.min,y=n([].concat),b=n([].push),w=n("".indexOf),Q=n("".slice),$=function(e){return void 0===e?e:String(e)},S="$0"==="a".replace(/./,"$0"),x=!!/./[m]&&""===/./[m]("a","$0");r("replace",function(n,r,i){var S=x?"$":"$0";return[function(e,n){var i=O(this),o=s(e)?h(e,m):void 0;return o?t(o,e,i,n):t(r,u(i),e,n)},function(t,n){var s=o(this),O=u(t);if("string"==typeof n&&-1===w(n,S)&&-1===w(n,"$<")){var h=i(r,s,O,n);if(h.done)return h.value}var m=a(n);m||(n=u(n));var x,k=u(p(s)),P=-1!==w(k,"g");P&&(x=-1!==w(k,"u"),s.lastIndex=0);for(var T,_=[];null!==(T=A(s,O))&&(b(_,T),P);){""===u(T[0])&&(s.lastIndex=d(O,c(s.lastIndex),x))}for(var C="",E=0,R=0;R<_.length;R++){for(var X,B=u((T=_[R])[0]),U=g(v(l(T.index),O.length),0),D=[],I=1;I<T.length;I++)b(D,$(T[I]));var z=T.groups;if(m){var N=y([B],D,U,O);void 0!==z&&b(N,z),X=u(e(n,void 0,N))}else X=f(B,O,U,D,z,n);U>=E&&(C+=Q(O,E,U)+X,E=U+B.length)}return C+Q(O,E)}]},!!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!S||x)}();var Wbe,Zbe,Ybe,jbe,Gbe,Hbe,Kbe,Jbe,ewe,twe,nwe,rwe,iwe,owe,awe,swe,lwe,cwe,uwe,Owe,dwe,hwe,fwe,pwe={};function Awe(){if(jbe)return Ybe;jbe=1;var e=function(){if(Zbe)return Wbe;Zbe=1;var e=yAe(),t=fAe(),n=cme()("match");return Wbe=function(r){var i;return e(r)&&(void 0!==(i=r[n])?!!i:"RegExp"===t(r))}}(),t=TypeError;return Ybe=function(n){if(e(n))throw new t("The method doesn't accept regular expressions");return n},Ybe}function mwe(){if(Hbe)return Gbe;Hbe=1;var e=cme()("match");return Gbe=function(t){var n=/./;try{"/./"[t](n)}catch{try{return n[e]=!1,"/./"[t](n)}catch{}}return!1},Gbe}function gwe(){if(iwe)return rwe;iwe=1;var e=sme(),t=vAe(),n=ame(),r=Fme(),i=function(){if(nwe)return twe;nwe=1;var e=ype();return twe=!e(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),twe}(),o=r("IE_PROTO"),a=Object,s=a.prototype;return rwe=i?a.getPrototypeOf:function(r){var i=n(r);if(e(i,o))return i[o];var l=i.constructor;return t(l)&&i instanceof l?l.prototype:i instanceof a?s:null}}function vwe(){if(awe)return owe;awe=1;var e,t,n,r=ype(),i=vAe(),o=yAe(),a=Ube(),s=gwe(),l=jme(),c=cme(),u=nme(),O=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(t=s(s(n)))!==Object.prototype&&(e=t):d=!0),!o(e)||r(function(){var t={};return e[O].call(t)!==t})?e={}:u&&(e=a(e)),i(e[O])||l(e,O,function(){return this}),owe={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:d}}function ywe(){if(uwe)return cwe;uwe=1;var e=qve(),t=Qpe(),n=nme(),r=Vme(),i=vAe(),o=function(){if(lwe)return swe;lwe=1;var e=vwe().IteratorPrototype,t=Ube(),n=dAe(),r=jve(),i=Xye(),o=function(){return this};return swe=function(a,s,l,c){var u=s+" Iterator";return a.prototype=t(e,{next:n(+!c,l)}),r(a,u,!1,!0),i[u]=o,a},swe}(),a=gwe(),s=Yve(),l=jve(),c=xme(),u=jme(),O=cme(),d=Xye(),h=vwe(),f=r.PROPER,p=r.CONFIGURABLE,A=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,g=O("iterator"),v="keys",y="values",b="entries",w=function(){return this};return cwe=function(r,O,h,Q,$,S,x){o(h,O,Q);var k,P,T,_=function(e){if(e===$&&B)return B;if(!m&&e&&e in R)return R[e];switch(e){case v:case y:case b:return function(){return new h(this,e)}}return function(){return new h(this)}},C=O+" Iterator",E=!1,R=r.prototype,X=R[g]||R["@@iterator"]||$&&R[$],B=!m&&X||_($),U="Array"===O&&R.entries||X;if(U&&((k=a(U.call(new r)))!==Object.prototype&&k.next&&(!n&&a(k)!==A&&(s?s(k,A):i(k[g])||u(k,g,w)),l(k,C,!0,!0),n&&(d[C]=w))),f&&$===y&&X&&X.name!==y&&(!n&&p?c(R,"name",y):(E=!0,B=function(){return t(X,this)})),$)if(P={values:_(y),keys:S?B:_(v),entries:_(b)},x)for(T in P)(m||E||!(T in R))&&u(R,T,P[T]);else e({target:O,proto:!0,forced:m||E},P);return(!n||x)&&R[g]!==B&&u(R,g,B,{name:$}),d[O]=B,P}}function bwe(){if(fwe)return hwe;fwe=1;var e=gAe(),t=function(){if(ewe)return Jbe;ewe=1;var e=cme(),t=Ube(),n=Sme().f,r=e("unscopables"),i=Array.prototype;return void 0===i[r]&&n(i,r,{configurable:!0,value:t(null)}),Jbe=function(e){i[r][e]=!0}}(),n=Xye(),r=Zme(),i=Sme().f,o=ywe(),a=(dwe||(dwe=1,Owe=function(e,t){return{value:e,done:t}}),Owe),s=nme(),l=bpe(),c="Array Iterator",u=r.set,O=r.getterFor(c);hwe=o(Array,"Array",function(t,n){u(this,{type:c,target:e(t),index:0,kind:n})},function(){var e=O(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,a(void 0,!0);switch(e.kind){case"keys":return a(n,!1);case"values":return a(t[n],!1)}return a([n,t[n]],!1)},"values");var d=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!s&&l&&"values"!==d.name)try{i(d,"name",{value:"values"})}catch{}return hwe}!function(){if(Kbe)return pwe;Kbe=1;var e,t=qve(),n=tye(),r=fme().f,i=pge(),o=abe(),a=Awe(),s=mAe(),l=mwe(),c=nme(),u=n("".slice),O=Math.min,d=l("startsWith");t({target:"String",proto:!0,forced:!!(c||d||(e=r(String.prototype,"startsWith"),!e||e.writable))&&!d},{startsWith:function(e){var t=o(s(this));a(e);var n=i(O(arguments.length>1?arguments[1]:void 0,t.length)),r=o(e);return u(t,n,n+r.length)===r}})}(),bwe();var wwe,Qwe,$we,Swe,xwe,kwe={};function Pwe(e){var t=function(e,t){if("object"!=Bee(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Bee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bee(t)?t:t+""}function Twe(e,t,n){return(t=Pwe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(){if(xwe)return kwe;xwe=1;var e=upe(),t=(Qwe||(Qwe=1,wwe={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),wwe),n=function(){if(Swe)return $we;Swe=1;var e=dme()("span").classList,t=e&&e.constructor&&e.constructor.prototype;return $we=t===Object.prototype?void 0:t}(),r=bwe(),i=xme(),o=jve(),a=cme()("iterator"),s=r.values,l=function(e,n){if(e){if(e[a]!==s)try{i(e,a,s)}catch{e[a]=s}if(o(e,n,!0),t[n])for(var l in r)if(e[l]!==r[l])try{i(e,l,r[l])}catch{e[l]=r[l]}}};for(var c in t)l(e[c]&&e[c].prototype,c);l(n,"DOMTokenList")}();var _we,Cwe,Ewe,Rwe,Xwe,Bwe={};function Uwe(){if(Rwe)return Ewe;Rwe=1;var e=ype();return Ewe=function(t,n){var r=[][t];return!!r&&e(function(){r.call(null,n||function(){return 1},1)})},Ewe}!function(){if(Xwe)return Bwe;Xwe=1;var e=qve(),t=function(){if(Cwe)return _we;Cwe=1;var e=TAe(),t=ame(),n=pAe(),r=Age(),i=TypeError,o="Reduce of empty array with no initial value",a=function(a){return function(s,l,c,u){var O=t(s),d=n(O),h=r(O);if(e(l),0===h&&c<2)throw new i(o);var f=a?h-1:0,p=a?-1:1;if(c<2)for(;;){if(f in d){u=d[f],f+=p;break}if(f+=p,a?f<0:h<=f)throw new i(o)}for(;a?f>=0:h>f;f+=p)f in d&&(u=l(u,d[f],f,O));return u}};return _we={left:a(!1),right:a(!0)}}().left,n=Uwe(),r=$Ae();e({target:"Array",proto:!0,forced:!Wve()&&r>79&&r<83||!n("reduce")},{reduce:function(e){var n=arguments.length;return t(this,e,n,n>1?arguments[1]:void 0)}})}();var Dwe,Iwe={};!function(){if(Dwe)return Iwe;Dwe=1;var e,t=qve(),n=tye(),r=fme().f,i=pge(),o=abe(),a=Awe(),s=mAe(),l=mwe(),c=nme(),u=n("".slice),O=Math.min,d=l("endsWith");t({target:"String",proto:!0,forced:!!(c||d||(e=r(String.prototype,"endsWith"),!e||e.writable))&&!d},{endsWith:function(e){var t=o(s(this));a(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,l=void 0===n?r:O(i(n),r),c=o(e);return u(t,l-c.length,l)===c}})}();var zwe,Nwe={};!function(){if(zwe)return Nwe;zwe=1;var e=Qpe(),t=hAe(),n=Ibe(),r=$me(),i=yAe(),o=mAe(),a=Jve(),s=zbe(),l=pge(),c=abe(),u=_Ae(),O=Mbe(),d=lbe(),h=ype(),f=d.UNSUPPORTED_Y,p=Math.min,A=t([].push),m=t("".slice),g=!h(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),v="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;n("split",function(t,n,d){var h="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e(n,this,t,r)}:n;return[function(n,r){var a=o(this),s=i(n)?u(n,t):void 0;return s?e(s,n,a,r):e(h,c(a),n,r)},function(e,t){var i=r(this),o=c(e);if(!v){var u=d(h,i,o,t,h!==n);if(u.done)return u.value}var g=a(i,RegExp),y=i.unicode,b=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(f?"g":"y"),w=new g(f?"^(?:"+i.source+")":i,b),Q=void 0===t?4294967295:t>>>0;if(0===Q)return[];if(0===o.length)return null===O(w,o)?[o]:[];for(var $=0,S=0,x=[];S<o.length;){w.lastIndex=f?0:S;var k,P=O(w,f?m(o,S):o);if(null===P||(k=p(l(w.lastIndex+(f?S:0)),o.length))===$)S=s(o,S,y);else{if(A(x,m(o,$,S)),x.length===Q)return x;for(var T=1;T<=P.length-1;T++)if(A(x,P[T]),x.length===Q)return x;S=$=k}}return A(x,m(o,$)),x}]},v||!g,f)}();var Mwe,Lwe,Vwe={exports:{}},qwe={exports:{}},Fwe=qwe.exports;var Wwe=function(){if(Lwe)return Vwe.exports;Lwe=1;for(var e=(Mwe||(Mwe=1,function(){var e,t,n,r,i,o;typeof performance<"u"&&null!==performance&&performance.now?qwe.exports=function(){return performance.now()}:typeof process<"u"&&null!==process&&process.hrtime?(qwe.exports=function(){return(e()-i)/1e6},t=process.hrtime,e=function(){var e;return 1e9*(e=t())[0]+e[1]},r=e(),o=1e9*process.uptime(),i=r-o):Date.now?(qwe.exports=function(){return Date.now()-n},n=Date.now()):(qwe.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}.call(Fwe)),qwe.exports),t=typeof window>"u"?ope:window,n=["moz","webkit"],r="AnimationFrame",i=t["request"+r],o=t["cancel"+r]||t["cancelRequest"+r],a=0;!i&&a<n.length;a++)i=t[n[a]+"Request"+r],o=t[n[a]+"Cancel"+r]||t[n[a]+"CancelRequest"+r];if(!i||!o){var s=0,l=0,c=[],u=1e3/60;i=function(t){if(0===c.length){var n=e(),r=Math.max(0,u-(n-s));s=r+n,setTimeout(function(){var e=c.slice(0);c.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(s)}catch(n){setTimeout(function(){throw n},0)}},Math.round(r))}return c.push({handle:++l,callback:t,cancelled:!1}),l},o=function(e){for(var t=0;t<c.length;t++)c[t].handle===e&&(c[t].cancelled=!0)}}return Vwe.exports=function(e){return i.call(t,e)},Vwe.exports.cancel=function(){o.apply(t,arguments)},Vwe.exports.polyfill=function(e){e||(e=t),e.requestAnimationFrame=i,e.cancelAnimationFrame=o},Vwe.exports}();const Zwe=ape(Wwe);var Ywe,jwe,Gwe,Hwe,Kwe,Jwe,eQe,tQe,nQe,rQe={};function iQe(){return jwe||(jwe=1,Ywe="\t\n\v\f\r                 \u2028\u2029\ufeff"),Ywe}!function(){if(eQe)return rQe;eQe=1;var e=qve(),t=function(){if(Hwe)return Gwe;Hwe=1;var e=hAe(),t=mAe(),n=abe(),r=iQe(),i=e("".replace),o=RegExp("^["+r+"]+"),a=RegExp("(^|[^"+r+"])["+r+"]+$"),s=function(e){return function(r){var s=n(t(r));return 1&e&&(s=i(s,o,"")),2&e&&(s=i(s,a,"$1")),s}};return Gwe={start:s(1),end:s(2),trim:s(3)}}().trim,n=function(){if(Jwe)return Kwe;Jwe=1;var e=Vme().PROPER,t=ype(),n=iQe();return Kwe=function(r){return t(function(){return!!n[r]()||"​…᠎"!=="​…᠎"[r]()||e&&n[r].name!==r})}}();e({target:"String",proto:!0,forced:n("trim")},{trim:function(){return t(this)}})}();var oQe=(nQe||(nQe=1,tQe=function(e){this.ok=!1,this.alpha=1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,"")).toLowerCase();var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e=t[e]||e;for(var n=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,a=i.exec(e);if(a){var s=o(a);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n},this.getHelpXML=function(){for(var e=new Array,r=0;r<n.length;r++)for(var i=n[r].example,o=0;o<i.length;o++)e[e.length]=i[o];for(var a in t)e[e.length]=a;var s=document.createElement("ul");for(s.setAttribute("id","rgbcolor-examples"),r=0;r<e.length;r++)try{var l=document.createElement("li"),c=new RGBColor(e[r]),u=document.createElement("div");u.style.cssText="margin: 3px; border: 1px solid black; background:"+c.toHex()+"; color:"+c.toHex(),u.appendChild(document.createTextNode("test"));var O=document.createTextNode(" "+e[r]+" -> "+c.toRGB()+" -> "+c.toHex());l.appendChild(u),l.appendChild(O),s.appendChild(l)}catch{}return s}}),tQe);const aQe=ape(oQe);var sQe,lQe={};!function(){if(sQe)return lQe;sQe=1;var e=qve(),t=tye(),n=mge().indexOf,r=Uwe(),i=t([].indexOf),o=!!i&&1/i([1],1,-0)<0;e({target:"Array",proto:!0,forced:o||!r("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return o?i(this,e,t)||0:n(this,e,t)}})}();var cQe,uQe={};!function(){if(cQe)return uQe;cQe=1;var e=qve(),t=hAe(),n=Awe(),r=mAe(),i=abe(),o=mwe(),a=t("".indexOf);e({target:"String",proto:!0,forced:!o("includes")},{includes:function(e){return!!~a(i(r(this)),i(n(e)),arguments.length>1?arguments[1]:void 0)}})}();var OQe,dQe,hQe,fQe={};!function(){if(hQe)return fQe;hQe=1;var e=qve(),t=hAe(),n=function(){if(dQe)return OQe;dQe=1;var e=fAe();return OQe=Array.isArray||function(t){return"Array"===e(t)},OQe}(),r=t([].reverse),i=[1,2];e({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),r(this)}})}();var pQe=function(e,t){return(pQe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function AQe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}pQe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function mQe(e,t){var n=e[0],r=e[1];return[n*Math.cos(t)-r*Math.sin(t),n*Math.sin(t)+r*Math.cos(t)]}function gQe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0;n<e.length;n++)if("number"!=typeof e[n])throw new Error("assertNumbers arguments["+n+"] is not a number. "+typeof e[n]+" == typeof "+e[n]);return!0}var vQe=Math.PI;function yQe(e,t,n){e.lArcFlag=0===e.lArcFlag?0:1,e.sweepFlag=0===e.sweepFlag?0:1;var r=e.rX,i=e.rY,o=e.x,a=e.y;r=Math.abs(e.rX),i=Math.abs(e.rY);var s=mQe([(t-o)/2,(n-a)/2],-e.xRot/180*vQe),l=s[0],c=s[1],u=Math.pow(l,2)/Math.pow(r,2)+Math.pow(c,2)/Math.pow(i,2);1<u&&(r*=Math.sqrt(u),i*=Math.sqrt(u)),e.rX=r,e.rY=i;var O=Math.pow(r,2)*Math.pow(c,2)+Math.pow(i,2)*Math.pow(l,2),d=(e.lArcFlag!==e.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(i,2)-O)/O)),h=r*c/i*d,f=-i*l/r*d,p=mQe([h,f],e.xRot/180*vQe);e.cX=p[0]+(t+o)/2,e.cY=p[1]+(n+a)/2,e.phi1=Math.atan2((c-f)/i,(l-h)/r),e.phi2=Math.atan2((-c-f)/i,(-l-h)/r),0===e.sweepFlag&&e.phi2>e.phi1&&(e.phi2-=2*vQe),1===e.sweepFlag&&e.phi2<e.phi1&&(e.phi2+=2*vQe),e.phi1*=180/vQe,e.phi2*=180/vQe}function bQe(e,t,n){gQe(e,t,n);var r=e*e+t*t-n*n;if(0>r)return[];if(0===r)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];var i=Math.sqrt(r);return[[(e*n+t*i)/(e*e+t*t),(t*n-e*i)/(e*e+t*t)],[(e*n-t*i)/(e*e+t*t),(t*n+e*i)/(e*e+t*t)]]}var wQe,QQe=Math.PI/180;function $Qe(e,t,n){return(1-n)*e+n*t}function SQe(e,t,n,r){return e+Math.cos(r/180*vQe)*t+Math.sin(r/180*vQe)*n}function xQe(e,t,n,r){var i=1e-6,o=t-e,a=n-t,s=3*o+3*(r-n)-6*a,l=6*(a-o),c=3*o;return Math.abs(s)<i?[-c/l]:function(e,t,n){var r=e*e/4-t;if(r<-n)return[];if(r<=n)return[-e/2];var i=Math.sqrt(r);return[-e/2-i,-e/2+i]}(l/s,c/s,i)}function kQe(e,t,n,r,i){var o=1-i;return e*(o*o*o)+t*(3*o*o*i)+n*(3*o*i*i)+r*(i*i*i)}!function(e){function t(){return i(function(e,t,n){return e.relative&&(void 0!==e.x1&&(e.x1+=t),void 0!==e.y1&&(e.y1+=n),void 0!==e.x2&&(e.x2+=t),void 0!==e.y2&&(e.y2+=n),void 0!==e.x&&(e.x+=t),void 0!==e.y&&(e.y+=n),e.relative=!1),e})}function n(){var e=NaN,t=NaN,n=NaN,r=NaN;return i(function(i,o,a){return i.type&XQe.SMOOTH_CURVE_TO&&(i.type=XQe.CURVE_TO,e=isNaN(e)?o:e,t=isNaN(t)?a:t,i.x1=i.relative?o-e:2*o-e,i.y1=i.relative?a-t:2*a-t),i.type&XQe.CURVE_TO?(e=i.relative?o+i.x2:i.x2,t=i.relative?a+i.y2:i.y2):(e=NaN,t=NaN),i.type&XQe.SMOOTH_QUAD_TO&&(i.type=XQe.QUAD_TO,n=isNaN(n)?o:n,r=isNaN(r)?a:r,i.x1=i.relative?o-n:2*o-n,i.y1=i.relative?a-r:2*a-r),i.type&XQe.QUAD_TO?(n=i.relative?o+i.x1:i.x1,r=i.relative?a+i.y1:i.y1):(n=NaN,r=NaN),i})}function r(){var e=NaN,t=NaN;return i(function(n,r,i){if(n.type&XQe.SMOOTH_QUAD_TO&&(n.type=XQe.QUAD_TO,e=isNaN(e)?r:e,t=isNaN(t)?i:t,n.x1=n.relative?r-e:2*r-e,n.y1=n.relative?i-t:2*i-t),n.type&XQe.QUAD_TO){e=n.relative?r+n.x1:n.x1,t=n.relative?i+n.y1:n.y1;var o=n.x1,a=n.y1;n.type=XQe.CURVE_TO,n.x1=((n.relative?0:r)+2*o)/3,n.y1=((n.relative?0:i)+2*a)/3,n.x2=(n.x+2*o)/3,n.y2=(n.y+2*a)/3}else e=NaN,t=NaN;return n})}function i(e){var t=0,n=0,r=NaN,i=NaN;return function(o){if(isNaN(r)&&!(o.type&XQe.MOVE_TO))throw new Error("path must start with moveto");var a=e(o,t,n,r,i);return o.type&XQe.CLOSE_PATH&&(t=r,n=i),void 0!==o.x&&(t=o.relative?t+o.x:o.x),void 0!==o.y&&(n=o.relative?n+o.y:o.y),o.type&XQe.MOVE_TO&&(r=t,i=n),a}}function o(e,t,n,r,o,a){return gQe(e,t,n,r,o,a),i(function(i,s,l,c){var u=i.x1,O=i.x2,d=i.relative&&!isNaN(c),h=void 0!==i.x?i.x:d?0:s,f=void 0!==i.y?i.y:d?0:l;function p(e){return e*e}i.type&XQe.HORIZ_LINE_TO&&0!==t&&(i.type=XQe.LINE_TO,i.y=i.relative?0:l),i.type&XQe.VERT_LINE_TO&&0!==n&&(i.type=XQe.LINE_TO,i.x=i.relative?0:s),void 0!==i.x&&(i.x=i.x*e+f*n+(d?0:o)),void 0!==i.y&&(i.y=h*t+i.y*r+(d?0:a)),void 0!==i.x1&&(i.x1=i.x1*e+i.y1*n+(d?0:o)),void 0!==i.y1&&(i.y1=u*t+i.y1*r+(d?0:a)),void 0!==i.x2&&(i.x2=i.x2*e+i.y2*n+(d?0:o)),void 0!==i.y2&&(i.y2=O*t+i.y2*r+(d?0:a));var A=e*r-t*n;if(void 0!==i.xRot&&(1!==e||0!==t||0!==n||1!==r))if(0===A)delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag,i.type=XQe.LINE_TO;else{var m=i.xRot*Math.PI/180,g=Math.sin(m),v=Math.cos(m),y=1/p(i.rX),b=1/p(i.rY),w=p(v)*y+p(g)*b,Q=2*g*v*(y-b),$=p(g)*y+p(v)*b,S=w*r*r-Q*t*r+$*t*t,x=Q*(e*r+t*n)-2*(w*n*r+$*e*t),k=w*n*n-Q*e*n+$*e*e,P=(Math.atan2(x,S-k)+Math.PI)%Math.PI/2,T=Math.sin(P),_=Math.cos(P);i.rX=Math.abs(A)/Math.sqrt(S*p(_)+x*T*_+k*p(T)),i.rY=Math.abs(A)/Math.sqrt(S*p(T)-x*T*_+k*p(_)),i.xRot=180*P/Math.PI}return void 0!==i.sweepFlag&&0>A&&(i.sweepFlag=+!i.sweepFlag),i})}e.ROUND=function(e){function t(t){return Math.round(t*e)/e}return void 0===e&&(e=1e13),gQe(e),function(e){return void 0!==e.x1&&(e.x1=t(e.x1)),void 0!==e.y1&&(e.y1=t(e.y1)),void 0!==e.x2&&(e.x2=t(e.x2)),void 0!==e.y2&&(e.y2=t(e.y2)),void 0!==e.x&&(e.x=t(e.x)),void 0!==e.y&&(e.y=t(e.y)),void 0!==e.rX&&(e.rX=t(e.rX)),void 0!==e.rY&&(e.rY=t(e.rY)),e}},e.TO_ABS=t,e.TO_REL=function(){return i(function(e,t,n){return e.relative||(void 0!==e.x1&&(e.x1-=t),void 0!==e.y1&&(e.y1-=n),void 0!==e.x2&&(e.x2-=t),void 0!==e.y2&&(e.y2-=n),void 0!==e.x&&(e.x-=t),void 0!==e.y&&(e.y-=n),e.relative=!0),e})},e.NORMALIZE_HVZ=function(e,t,n){return void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),i(function(r,i,o,a,s){if(isNaN(a)&&!(r.type&XQe.MOVE_TO))throw new Error("path must start with moveto");return t&&r.type&XQe.HORIZ_LINE_TO&&(r.type=XQe.LINE_TO,r.y=r.relative?0:o),n&&r.type&XQe.VERT_LINE_TO&&(r.type=XQe.LINE_TO,r.x=r.relative?0:i),e&&r.type&XQe.CLOSE_PATH&&(r.type=XQe.LINE_TO,r.x=r.relative?a-i:a,r.y=r.relative?s-o:s),r.type&XQe.ARC&&(0===r.rX||0===r.rY)&&(r.type=XQe.LINE_TO,delete r.rX,delete r.rY,delete r.xRot,delete r.lArcFlag,delete r.sweepFlag),r})},e.NORMALIZE_ST=n,e.QT_TO_C=r,e.INFO=i,e.SANITIZE=function(e){void 0===e&&(e=0),gQe(e);var t=NaN,n=NaN,r=NaN,o=NaN;return i(function(i,a,s,l,c){var u=Math.abs,O=!1,d=0,h=0;if(i.type&XQe.SMOOTH_CURVE_TO&&(d=isNaN(t)?0:a-t,h=isNaN(n)?0:s-n),i.type&(XQe.CURVE_TO|XQe.SMOOTH_CURVE_TO)?(t=i.relative?a+i.x2:i.x2,n=i.relative?s+i.y2:i.y2):(t=NaN,n=NaN),i.type&XQe.SMOOTH_QUAD_TO?(r=isNaN(r)?a:2*a-r,o=isNaN(o)?s:2*s-o):i.type&XQe.QUAD_TO?(r=i.relative?a+i.x1:i.x1,o=i.relative?s+i.y1:i.y2):(r=NaN,o=NaN),i.type&XQe.LINE_COMMANDS||i.type&XQe.ARC&&(0===i.rX||0===i.rY||!i.lArcFlag)||i.type&XQe.CURVE_TO||i.type&XQe.SMOOTH_CURVE_TO||i.type&XQe.QUAD_TO||i.type&XQe.SMOOTH_QUAD_TO){var f=void 0===i.x?0:i.relative?i.x:i.x-a,p=void 0===i.y?0:i.relative?i.y:i.y-s;d=isNaN(r)?void 0===i.x1?d:i.relative?i.x:i.x1-a:r-a,h=isNaN(o)?void 0===i.y1?h:i.relative?i.y:i.y1-s:o-s;var A=void 0===i.x2?0:i.relative?i.x:i.x2-a,m=void 0===i.y2?0:i.relative?i.y:i.y2-s;u(f)<=e&&u(p)<=e&&u(d)<=e&&u(h)<=e&&u(A)<=e&&u(m)<=e&&(O=!0)}return i.type&XQe.CLOSE_PATH&&u(a-l)<=e&&u(s-c)<=e&&(O=!0),O?[]:i})},e.MATRIX=o,e.ROTATE=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=0),gQe(e,t,n);var r=Math.sin(e),i=Math.cos(e);return o(i,r,-r,i,t-t*i+n*r,n-t*r-n*i)},e.TRANSLATE=function(e,t){return void 0===t&&(t=0),gQe(e,t),o(1,0,0,1,e,t)},e.SCALE=function(e,t){return void 0===t&&(t=e),gQe(e,t),o(e,0,0,t,0,0)},e.SKEW_X=function(e){return gQe(e),o(1,0,Math.atan(e),1,0,0)},e.SKEW_Y=function(e){return gQe(e),o(1,Math.atan(e),0,1,0,0)},e.X_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),gQe(e),o(-1,0,0,1,e,0)},e.Y_AXIS_SYMMETRY=function(e){return void 0===e&&(e=0),gQe(e),o(1,0,0,-1,0,e)},e.A_TO_C=function(){return i(function(e,t,n){return XQe.ARC===e.type?function(e,t,n){var r,i,o,a;e.cX||yQe(e,t,n);for(var s=Math.min(e.phi1,e.phi2),l=Math.max(e.phi1,e.phi2)-s,c=Math.ceil(l/90),u=new Array(c),O=t,d=n,h=0;h<c;h++){var f=$Qe(e.phi1,e.phi2,h/c),p=$Qe(e.phi1,e.phi2,(h+1)/c),A=p-f,m=4/3*Math.tan(A*QQe/4),g=[Math.cos(f*QQe)-m*Math.sin(f*QQe),Math.sin(f*QQe)+m*Math.cos(f*QQe)],v=g[0],y=g[1],b=[Math.cos(p*QQe),Math.sin(p*QQe)],w=b[0],Q=b[1],$=[w+m*Math.sin(p*QQe),Q-m*Math.cos(p*QQe)],S=$[0],x=$[1];u[h]={relative:e.relative,type:XQe.CURVE_TO};var k=function(t,n){var r=mQe([t*e.rX,n*e.rY],e.xRot),i=r[0],o=r[1];return[e.cX+i,e.cY+o]};r=k(v,y),u[h].x1=r[0],u[h].y1=r[1],i=k(S,x),u[h].x2=i[0],u[h].y2=i[1],o=k(w,Q),u[h].x=o[0],u[h].y=o[1],e.relative&&(u[h].x1-=O,u[h].y1-=d,u[h].x2-=O,u[h].y2-=d,u[h].x-=O,u[h].y-=d),O=(a=[u[h].x,u[h].y])[0],d=a[1]}return u}(e,e.relative?0:t,e.relative?0:n):e})},e.ANNOTATE_ARCS=function(){return i(function(e,t,n){return e.relative&&(t=0,n=0),XQe.ARC===e.type&&yQe(e,t,n),e})},e.CLONE=function(){return function(e){var t={};for(var n in e)t[n]=e[n];return t}},e.CALCULATE_BOUNDS=function(){var e=t(),o=r(),a=n(),s=i(function(t,n,r){var i=a(o(e(function(e){var t={};for(var n in e)t[n]=e[n];return t}(t))));function l(e){e>s.maxX&&(s.maxX=e),e<s.minX&&(s.minX=e)}function c(e){e>s.maxY&&(s.maxY=e),e<s.minY&&(s.minY=e)}if(i.type&XQe.DRAWING_COMMANDS&&(l(n),c(r)),i.type&XQe.HORIZ_LINE_TO&&l(i.x),i.type&XQe.VERT_LINE_TO&&c(i.y),i.type&XQe.LINE_TO&&(l(i.x),c(i.y)),i.type&XQe.CURVE_TO){l(i.x),c(i.y);for(var u=0,O=xQe(n,i.x1,i.x2,i.x);u<O.length;u++)0<(k=O[u])&&1>k&&l(kQe(n,i.x1,i.x2,i.x,k));for(var d=0,h=xQe(r,i.y1,i.y2,i.y);d<h.length;d++)0<(k=h[d])&&1>k&&c(kQe(r,i.y1,i.y2,i.y,k))}if(i.type&XQe.ARC){l(i.x),c(i.y),yQe(i,n,r);for(var f=i.xRot/180*Math.PI,p=Math.cos(f)*i.rX,A=Math.sin(f)*i.rX,m=-Math.sin(f)*i.rY,g=Math.cos(f)*i.rY,v=i.phi1<i.phi2?[i.phi1,i.phi2]:-180>i.phi2?[i.phi2+360,i.phi1+360]:[i.phi2,i.phi1],y=v[0],b=v[1],w=function(e){var t=e[0],n=e[1],r=180*Math.atan2(n,t)/Math.PI;return r<y?r+360:r},Q=0,$=bQe(m,-p,0).map(w);Q<$.length;Q++)(k=$[Q])>y&&k<b&&l(SQe(i.cX,p,m,k));for(var S=0,x=bQe(g,-A,0).map(w);S<x.length;S++){var k;(k=x[S])>y&&k<b&&c(SQe(i.cY,A,g,k))}}return t});return s.minX=1/0,s.maxX=-1/0,s.minY=1/0,s.maxY=-1/0,s}}(wQe||(wQe={}));var PQe,TQe,_Qe=function(){function e(){}return e.prototype.round=function(e){return this.transform(wQe.ROUND(e))},e.prototype.toAbs=function(){return this.transform(wQe.TO_ABS())},e.prototype.toRel=function(){return this.transform(wQe.TO_REL())},e.prototype.normalizeHVZ=function(e,t,n){return this.transform(wQe.NORMALIZE_HVZ(e,t,n))},e.prototype.normalizeST=function(){return this.transform(wQe.NORMALIZE_ST())},e.prototype.qtToC=function(){return this.transform(wQe.QT_TO_C())},e.prototype.aToC=function(){return this.transform(wQe.A_TO_C())},e.prototype.sanitize=function(e){return this.transform(wQe.SANITIZE(e))},e.prototype.translate=function(e,t){return this.transform(wQe.TRANSLATE(e,t))},e.prototype.scale=function(e,t){return this.transform(wQe.SCALE(e,t))},e.prototype.rotate=function(e,t,n){return this.transform(wQe.ROTATE(e,t,n))},e.prototype.matrix=function(e,t,n,r,i,o){return this.transform(wQe.MATRIX(e,t,n,r,i,o))},e.prototype.skewX=function(e){return this.transform(wQe.SKEW_X(e))},e.prototype.skewY=function(e){return this.transform(wQe.SKEW_Y(e))},e.prototype.xSymmetry=function(e){return this.transform(wQe.X_AXIS_SYMMETRY(e))},e.prototype.ySymmetry=function(e){return this.transform(wQe.Y_AXIS_SYMMETRY(e))},e.prototype.annotateArcs=function(){return this.transform(wQe.ANNOTATE_ARCS())},e}(),CQe=function(e){return" "===e||"\t"===e||"\r"===e||"\n"===e},EQe=function(e){return 48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57},RQe=function(e){function t(){var t=e.call(this)||this;return t.curNumber="",t.curCommandType=-1,t.curCommandRelative=!1,t.canParseCommandOrComma=!0,t.curNumberHasExp=!1,t.curNumberHasExpDigits=!1,t.curNumberHasDecimal=!1,t.curArgs=[],t}return AQe(t,e),t.prototype.finish=function(e){if(void 0===e&&(e=[]),this.parse(" ",e),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return e},t.prototype.parse=function(e,t){var n=this;void 0===t&&(t=[]);for(var r=function(e){t.push(e),n.curArgs.length=0,n.canParseCommandOrComma=!0},i=0;i<e.length;i++){var o=e[i],a=!(this.curCommandType!==XQe.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),s=EQe(o)&&("0"===this.curNumber&&"0"===o||a);if(!EQe(o)||s)if("e"!==o&&"E"!==o)if("-"!==o&&"+"!==o||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==o||this.curNumberHasExp||this.curNumberHasDecimal||a){if(this.curNumber&&-1!==this.curCommandType){var l=Number(this.curNumber);if(isNaN(l))throw new SyntaxError("Invalid number ending at "+i);if(this.curCommandType===XQe.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>l)throw new SyntaxError('Expected positive number, got "'+l+'" at index "'+i+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+i+'"');this.curArgs.push(l),this.curArgs.length===BQe[this.curCommandType]&&(XQe.HORIZ_LINE_TO===this.curCommandType?r({type:XQe.HORIZ_LINE_TO,relative:this.curCommandRelative,x:l}):XQe.VERT_LINE_TO===this.curCommandType?r({type:XQe.VERT_LINE_TO,relative:this.curCommandRelative,y:l}):this.curCommandType===XQe.MOVE_TO||this.curCommandType===XQe.LINE_TO||this.curCommandType===XQe.SMOOTH_QUAD_TO?(r({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),XQe.MOVE_TO===this.curCommandType&&(this.curCommandType=XQe.LINE_TO)):this.curCommandType===XQe.CURVE_TO?r({type:XQe.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===XQe.SMOOTH_CURVE_TO?r({type:XQe.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===XQe.QUAD_TO?r({type:XQe.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===XQe.ARC&&r({type:XQe.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!CQe(o))if(","===o&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==o&&"-"!==o&&"."!==o)if(s)this.curNumber=o,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+i+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+o+'" at index '+i+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==o&&"Z"!==o)if("h"===o||"H"===o)this.curCommandType=XQe.HORIZ_LINE_TO,this.curCommandRelative="h"===o;else if("v"===o||"V"===o)this.curCommandType=XQe.VERT_LINE_TO,this.curCommandRelative="v"===o;else if("m"===o||"M"===o)this.curCommandType=XQe.MOVE_TO,this.curCommandRelative="m"===o;else if("l"===o||"L"===o)this.curCommandType=XQe.LINE_TO,this.curCommandRelative="l"===o;else if("c"===o||"C"===o)this.curCommandType=XQe.CURVE_TO,this.curCommandRelative="c"===o;else if("s"===o||"S"===o)this.curCommandType=XQe.SMOOTH_CURVE_TO,this.curCommandRelative="s"===o;else if("q"===o||"Q"===o)this.curCommandType=XQe.QUAD_TO,this.curCommandRelative="q"===o;else if("t"===o||"T"===o)this.curCommandType=XQe.SMOOTH_QUAD_TO,this.curCommandRelative="t"===o;else{if("a"!==o&&"A"!==o)throw new SyntaxError('Unexpected character "'+o+'" at index '+i+".");this.curCommandType=XQe.ARC,this.curCommandRelative="a"===o}else t.push({type:XQe.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=o,this.curNumberHasDecimal="."===o}else this.curNumber+=o,this.curNumberHasDecimal=!0;else this.curNumber+=o;else this.curNumber+=o,this.curNumberHasExp=!0;else this.curNumber+=o,this.curNumberHasExpDigits=this.curNumberHasExp}return t},t.prototype.transform=function(e){return Object.create(this,{parse:{value:function(t,n){void 0===n&&(n=[]);for(var r=0,i=Object.getPrototypeOf(this).parse.call(this,t);r<i.length;r++){var o=i[r],a=e(o);Array.isArray(a)?n.push.apply(n,a):n.push(a)}return n}}})},t}(_Qe),XQe=function(e){function t(n){var r=e.call(this)||this;return r.commands="string"==typeof n?t.parse(n):n,r}return AQe(t,e),t.prototype.encode=function(){return t.encode(this.commands)},t.prototype.getBounds=function(){var e=wQe.CALCULATE_BOUNDS();return this.transform(e),e},t.prototype.transform=function(e){for(var t=[],n=0,r=this.commands;n<r.length;n++){var i=e(r[n]);Array.isArray(i)?t.push.apply(t,i):t.push(i)}return this.commands=t,this},t.encode=function(e){return function(e){var t="";Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var r=e[n];if(r.type===XQe.CLOSE_PATH)t+="z";else if(r.type===XQe.HORIZ_LINE_TO)t+=(r.relative?"h":"H")+r.x;else if(r.type===XQe.VERT_LINE_TO)t+=(r.relative?"v":"V")+r.y;else if(r.type===XQe.MOVE_TO)t+=(r.relative?"m":"M")+r.x+" "+r.y;else if(r.type===XQe.LINE_TO)t+=(r.relative?"l":"L")+r.x+" "+r.y;else if(r.type===XQe.CURVE_TO)t+=(r.relative?"c":"C")+r.x1+" "+r.y1+" "+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===XQe.SMOOTH_CURVE_TO)t+=(r.relative?"s":"S")+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===XQe.QUAD_TO)t+=(r.relative?"q":"Q")+r.x1+" "+r.y1+" "+r.x+" "+r.y;else if(r.type===XQe.SMOOTH_QUAD_TO)t+=(r.relative?"t":"T")+r.x+" "+r.y;else{if(r.type!==XQe.ARC)throw new Error('Unexpected command type "'+r.type+'" at index '+n+".");t+=(r.relative?"a":"A")+r.rX+" "+r.rY+" "+r.xRot+" "+ +r.lArcFlag+" "+ +r.sweepFlag+" "+r.x+" "+r.y}}return t}(e)},t.parse=function(e){var t=new RQe,n=[];return t.parse(e,n),t.finish(n),n},t.CLOSE_PATH=1,t.MOVE_TO=2,t.HORIZ_LINE_TO=4,t.VERT_LINE_TO=8,t.LINE_TO=16,t.CURVE_TO=32,t.SMOOTH_CURVE_TO=64,t.QUAD_TO=128,t.SMOOTH_QUAD_TO=256,t.ARC=512,t.LINE_COMMANDS=t.LINE_TO|t.HORIZ_LINE_TO|t.VERT_LINE_TO,t.DRAWING_COMMANDS=t.HORIZ_LINE_TO|t.VERT_LINE_TO|t.LINE_TO|t.CURVE_TO|t.SMOOTH_CURVE_TO|t.QUAD_TO|t.SMOOTH_QUAD_TO|t.ARC,t}(_Qe),BQe=((PQe={})[XQe.MOVE_TO]=2,PQe[XQe.LINE_TO]=2,PQe[XQe.HORIZ_LINE_TO]=1,PQe[XQe.VERT_LINE_TO]=1,PQe[XQe.CLOSE_PATH]=0,PQe[XQe.QUAD_TO]=4,PQe[XQe.SMOOTH_QUAD_TO]=2,PQe[XQe.CURVE_TO]=6,PQe[XQe.SMOOTH_CURVE_TO]=4,PQe[XQe.ARC]=7,PQe),UQe={};function DQe(e){return DQe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},DQe(e)}!function(){if(TQe)return UQe;TQe=1;var e=Vme().PROPER,t=jme(),n=$me(),r=abe(),i=ype(),o=Nbe(),a="toString",s=RegExp.prototype,l=s[a],c=i(function(){return"/a/b"!==l.call({source:"a",flags:"b"})}),u=e&&l.name!==a;(c||u)&&t(s,a,function(){var e=n(this);return"/"+r(e.source)+"/"+r(o(e))},{unsafe:!0})}();var IQe=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],zQe=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function NQe(e,t,n,r,i,o){if(!(isNaN(o)||o<1)){o|=0;var a=function(e,t,n,r,i){if("string"==typeof e&&(e=document.getElementById(e)),!e||"object"!==DQe(e)||!("getContext"in e))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var o=e.getContext("2d");try{return o.getImageData(t,n,r,i)}catch(a){throw new Error("unable to access image data: "+a)}}(e,t,n,r,i);a=function(e,t,n,r,i,o){for(var a,s=e.data,l=2*o+1,c=r-1,u=i-1,O=o+1,d=O*(O+1)/2,h=new MQe,f=h,p=1;p<l;p++)f=f.next=new MQe,p===O&&(a=f);f.next=h;for(var A=null,m=null,g=0,v=0,y=IQe[o],b=zQe[o],w=0;w<i;w++){f=h;for(var Q=s[v],$=s[v+1],S=s[v+2],x=s[v+3],k=0;k<O;k++)f.r=Q,f.g=$,f.b=S,f.a=x,f=f.next;for(var P=0,T=0,_=0,C=0,E=O*Q,R=O*$,X=O*S,B=O*x,U=d*Q,D=d*$,I=d*S,z=d*x,N=1;N<O;N++){var M=v+((c<N?c:N)<<2),L=s[M],V=s[M+1],q=s[M+2],F=s[M+3],W=O-N;U+=(f.r=L)*W,D+=(f.g=V)*W,I+=(f.b=q)*W,z+=(f.a=F)*W,P+=L,T+=V,_+=q,C+=F,f=f.next}A=h,m=a;for(var Z=0;Z<r;Z++){var Y=z*y>>>b;if(s[v+3]=Y,0!==Y){var j=255/Y;s[v]=(U*y>>>b)*j,s[v+1]=(D*y>>>b)*j,s[v+2]=(I*y>>>b)*j}else s[v]=s[v+1]=s[v+2]=0;U-=E,D-=R,I-=X,z-=B,E-=A.r,R-=A.g,X-=A.b,B-=A.a;var G=Z+o+1;G=g+(G<c?G:c)<<2,U+=P+=A.r=s[G],D+=T+=A.g=s[G+1],I+=_+=A.b=s[G+2],z+=C+=A.a=s[G+3],A=A.next;var H=m,K=H.r,J=H.g,ee=H.b,te=H.a;E+=K,R+=J,X+=ee,B+=te,P-=K,T-=J,_-=ee,C-=te,m=m.next,v+=4}g+=r}for(var ne=0;ne<r;ne++){var re=s[v=ne<<2],ie=s[v+1],oe=s[v+2],ae=s[v+3],se=O*re,le=O*ie,ce=O*oe,ue=O*ae,Oe=d*re,de=d*ie,he=d*oe,fe=d*ae;f=h;for(var pe=0;pe<O;pe++)f.r=re,f.g=ie,f.b=oe,f.a=ae,f=f.next;for(var Ae=r,me=0,ge=0,ve=0,ye=0,be=1;be<=o;be++){v=Ae+ne<<2;var we=O-be;Oe+=(f.r=re=s[v])*we,de+=(f.g=ie=s[v+1])*we,he+=(f.b=oe=s[v+2])*we,fe+=(f.a=ae=s[v+3])*we,ye+=re,me+=ie,ge+=oe,ve+=ae,f=f.next,be<u&&(Ae+=r)}v=ne,A=h,m=a;for(var Qe=0;Qe<i;Qe++){var $e=v<<2;s[$e+3]=ae=fe*y>>>b,ae>0?(ae=255/ae,s[$e]=(Oe*y>>>b)*ae,s[$e+1]=(de*y>>>b)*ae,s[$e+2]=(he*y>>>b)*ae):s[$e]=s[$e+1]=s[$e+2]=0,Oe-=se,de-=le,he-=ce,fe-=ue,se-=A.r,le-=A.g,ce-=A.b,ue-=A.a,$e=ne+(($e=Qe+O)<u?$e:u)*r<<2,Oe+=ye+=A.r=s[$e],de+=me+=A.g=s[$e+1],he+=ge+=A.b=s[$e+2],fe+=ve+=A.a=s[$e+3],A=A.next,se+=re=m.r,le+=ie=m.g,ce+=oe=m.b,ue+=ae=m.a,ye-=re,me-=ie,ge-=oe,ve-=ae,m=m.next,v+=r}}return e}(a,0,0,r,i,o),e.getContext("2d").putImageData(a,t,n)}}var MQe=function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};var LQe=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,createCanvas:(e,t)=>new OffscreenCanvas(e,t),createImage:e=>Hye(function*(){var t=yield fetch(e),n=yield t.blob();return yield createImageBitmap(n)})()};return(typeof DOMParser<"u"||typeof e>"u")&&Reflect.deleteProperty(t,"DOMParser"),t},node:function(e){var{DOMParser:t,canvas:n,fetch:r}=e;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,fetch:r,createCanvas:n.createCanvas,createImage:n.loadImage}}});function VQe(e){return e.replace(/(?!\u3000)\s+/gm," ")}function qQe(e){return e.replace(/^[\n \t]+/,"")}function FQe(e){return e.replace(/[\n \t]+$/,"")}function WQe(e){return((e||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var ZQe=/^[A-Z-]+$/;function YQe(e){return ZQe.test(e)?e.toLowerCase():e}function jQe(e){var t=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(e)||[];return t[2]||t[3]||t[4]}function GQe(e){if(!e.startsWith("rgb"))return e;var t=3;return e.replace(/\d+(\.\d+)?/g,(e,n)=>t--&&n?String(Math.round(parseFloat(e))):e)}var HQe=/(\[[^\]]+\])/g,KQe=/(#[^\s+>~.[:]+)/g,JQe=/(\.[^\s+>~.[:]+)/g,e$e=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,t$e=/(:[\w-]+\([^)]*\))/gi,n$e=/(:[^\s+>~.[:]+)/g,r$e=/([^\s+>~.[:]+)/g;function i$e(e,t){var n=t.exec(e);return n?[e.replace(t," "),n.length]:[e,0]}function o$e(e){var t=[0,0,0],n=e.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),r=0;return[n,r]=i$e(n,HQe),t[1]+=r,[n,r]=i$e(n,KQe),t[0]+=r,[n,r]=i$e(n,JQe),t[1]+=r,[n,r]=i$e(n,e$e),t[2]+=r,[n,r]=i$e(n,t$e),t[1]+=r,[n,r]=i$e(n,n$e),t[1]+=r,n=n.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[n,r]=i$e(n,r$e),t[2]+=r,t.join("")}var a$e=1e-8;function s$e(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))}function l$e(e,t){return(e[0]*t[0]+e[1]*t[1])/(s$e(e)*s$e(t))}function c$e(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(l$e(e,t))}function u$e(e){return e*e*e}function O$e(e){return 3*e*e*(1-e)}function d$e(e){return 3*e*(1-e)*(1-e)}function h$e(e){return(1-e)*(1-e)*(1-e)}function f$e(e){return e*e}function p$e(e){return 2*e*(1-e)}function A$e(e){return(1-e)*(1-e)}class m$e{constructor(e,t,n){this.document=e,this.name=t,this.value=n,this.isNormalizedColor=!1}static empty(e){return new m$e(e,"EMPTY","")}split(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:t,name:n}=this;return VQe(this.getString()).trim().split(e).map(e=>new m$e(t,n,e))}hasValue(e){var{value:t}=this;return null!==t&&""!==t&&(e||0!==t)&&typeof t<"u"}isString(e){var{value:t}=this,n="string"==typeof t;return n&&e?e.test(t):n}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}setValue(e){return this.value=e,this}getValue(e){return typeof e>"u"||this.hasValue()?this.value:e}getNumber(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var{value:t}=this,n=parseFloat(t);return this.isString(/%$/)&&(n/=100),n}getString(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}getColor(e){var t=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=GQe(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[n,r]="boolean"==typeof e?[void 0,e]:[e],{viewPort:i}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(i.computeSize("x"),i.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(i.computeSize("x"),i.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*i.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*i.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&r:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*i.computeSize(n);default:var o=this.getNumber();return t&&o<1?o*i.computeSize(n):o}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var e=this.getString(),t=/#([^)'"]+)/.exec(e);return t&&(t=t[1]),t||(t=e),this.document.definitions[t]}getFillStyleDefinition(e,t){var n=this.getDefinition();if(!n)return null;if("function"==typeof n.createGradient)return n.createGradient(this.document.ctx,e,t);if("function"==typeof n.createPattern){if(n.getHrefAttribute().hasValue()){var r=n.getAttribute("patternTransform");n=n.getHrefAttribute().getDefinition(),r.hasValue()&&n.getAttribute("patternTransform",!0).setValue(r.value)}return n.createPattern(this.document.ctx,e,t)}return null}getTextBaseline(){return this.hasValue()?m$e.textBaselineMapping[this.getString()]:null}addOpacity(e){for(var t=this.getColor(),n=t.length,r=0,i=0;i<n&&(","===t[i]&&r++,3!==r);i++);if(e.hasValue()&&this.isString()&&3!==r){var o=new aQe(t);o.ok&&(o.alpha=e.getNumber(),t=o.toRGBA())}return new m$e(this.document,this.name,t)}}m$e.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class g$e{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(e,t){this.viewPorts.push({width:e,height:t})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:e}=this;return e[e.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(e){return"number"==typeof e?e:"x"===e?this.width:"y"===e?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class v$e{constructor(e,t){this.x=e,this.y=t}static parse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[n=t,r=t]=WQe(e);return new v$e(n,r)}static parseScale(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[n=t,r=n]=WQe(e);return new v$e(n,r)}static parsePath(e){for(var t=WQe(e),n=t.length,r=[],i=0;i<n;i+=2)r.push(new v$e(t[i],t[i+1]));return r}angleTo(e){return Math.atan2(e.y-this.y,e.x-this.x)}applyTransform(e){var{x:t,y:n}=this,r=t*e[0]+n*e[2]+e[4],i=t*e[1]+n*e[3]+e[5];this.x=r,this.y=i}}class y$e{constructor(e){this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:e,onClick:t,onMouseMove:n}=this,r=e.ctx.canvas;r.onclick=t,r.onmousemove=n,this.working=!0}}stop(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:e,events:t,eventElements:n}=this,{style:r}=e.ctx.canvas;r&&(r.cursor=""),t.forEach((e,t)=>{for(var{run:r}=e,i=n[t];i;)r(i),i=i.parent}),this.events=[],this.eventElements=[]}}checkPath(e,t){if(this.working&&t){var{events:n,eventElements:r}=this;n.forEach((n,i)=>{var{x:o,y:a}=n;!r[i]&&t.isPointInPath&&t.isPointInPath(o,a)&&(r[i]=e)})}}checkBoundingBox(e,t){if(this.working&&t){var{events:n,eventElements:r}=this;n.forEach((n,i)=>{var{x:o,y:a}=n;!r[i]&&t.isPointInBox(o,a)&&(r[i]=e)})}}mapXY(e,t){for(var{window:n,ctx:r}=this.screen,i=new v$e(e,t),o=r.canvas;o;)i.x-=o.offsetLeft,i.y-=o.offsetTop,o=o.offsetParent;return n.scrollX&&(i.x+=n.scrollX),n.scrollY&&(i.y+=n.scrollY),i}onClick(e){var{x:t,y:n}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:t,y:n,run(e){e.onClick&&e.onClick()}})}onMouseMove(e){var{x:t,y:n}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:t,y:n,run(e){e.onMouseMove&&e.onMouseMove()}})}}var b$e=typeof window<"u"?window:null,w$e=typeof fetch<"u"?fetch.bind(void 0):null;class Q$e{constructor(e){var{fetch:t=w$e,window:n=b$e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new g$e,this.mouse=new y$e(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=n,this.fetch=t}wait(e){this.waits.push(e)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var e=this.waits.every(e=>e());return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}setDefaults(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}setViewBox(e){var{document:t,ctx:n,aspectRatio:r,width:i,desiredWidth:o,height:a,desiredHeight:s,minX:l=0,minY:c=0,refX:u,refY:O,clip:d=!1,clipX:h=0,clipY:f=0}=e,p=VQe(r).replace(/^defer\s/,""),[A,m]=p.split(" "),g=A||"xMidYMid",v=m||"meet",y=i/o,b=a/s,w=Math.min(y,b),Q=Math.max(y,b),$=o,S=s;"meet"===v&&($*=w,S*=w),"slice"===v&&($*=Q,S*=Q);var x=new m$e(t,"refX",u),k=new m$e(t,"refY",O),P=x.hasValue()&&k.hasValue();if(P&&n.translate(-w*x.getPixels("x"),-w*k.getPixels("y")),d){var T=w*h,_=w*f;n.beginPath(),n.moveTo(T,_),n.lineTo(i,_),n.lineTo(i,a),n.lineTo(T,a),n.closePath(),n.clip()}if(!P){var C="meet"===v&&w===b,E="slice"===v&&Q===b,R="meet"===v&&w===y,X="slice"===v&&Q===y;g.startsWith("xMid")&&(C||E)&&n.translate(i/2-$/2,0),g.endsWith("YMid")&&(R||X)&&n.translate(0,a/2-S/2),g.startsWith("xMax")&&(C||E)&&n.translate(i-$,0),g.endsWith("YMax")&&(R||X)&&n.translate(0,a-S)}switch(!0){case"none"===g:n.scale(y,b);break;case"meet"===v:n.scale(w,w);break;case"slice"===v:n.scale(Q,Q)}n.translate(-l,-c)}start(e){var{enableRedraw:t=!1,ignoreMouse:n=!1,ignoreAnimation:r=!1,ignoreDimensions:i=!1,ignoreClear:o=!1,forceRedraw:a,scaleWidth:s,scaleHeight:l,offsetX:c,offsetY:u}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:O,mouse:d}=this,h=1e3/O;if(this.frameDuration=h,this.readyPromise=new Promise(e=>{this.resolveReady=e}),this.isReady()&&this.render(e,i,o,s,l,c,u),t){var f=Date.now(),p=f,A=0,m=()=>{f=Date.now(),(A=f-p)>=h&&(p=f-A%h,this.shouldUpdate(r,a)&&(this.render(e,i,o,s,l,c,u),d.runEvents())),this.intervalId=Zwe(m)};n||d.start(),this.intervalId=Zwe(m)}}stop(){this.intervalId&&(Zwe.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(e,t){if(!e){var{frameDuration:n}=this,r=this.animations.reduce((e,t)=>t.update(n)||e,!1);if(r)return!0}return!!("function"==typeof t&&t()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(e,t,n,r,i,o,a){var{CLIENT_WIDTH:s,CLIENT_HEIGHT:l,viewPort:c,ctx:u,isFirstRender:O}=this,d=u.canvas;c.clear(),d.width&&d.height?c.setCurrent(d.width,d.height):c.setCurrent(s,l);var h=e.getStyle("width"),f=e.getStyle("height");!t&&(O||"number"!=typeof r&&"number"!=typeof i)&&(h.hasValue()&&(d.width=h.getPixels("x"),d.style&&(d.style.width="".concat(d.width,"px"))),f.hasValue()&&(d.height=f.getPixels("y"),d.style&&(d.style.height="".concat(d.height,"px"))));var p=d.clientWidth||d.width,A=d.clientHeight||d.height;if(t&&h.hasValue()&&f.hasValue()&&(p=h.getPixels("x"),A=f.getPixels("y")),c.setCurrent(p,A),"number"==typeof o&&e.getAttribute("x",!0).setValue(o),"number"==typeof a&&e.getAttribute("y",!0).setValue(a),"number"==typeof r||"number"==typeof i){var m=WQe(e.getAttribute("viewBox").getString()),g=0,v=0;if("number"==typeof r){var y=e.getStyle("width");y.hasValue()?g=y.getPixels("x")/r:isNaN(m[2])||(g=m[2]/r)}if("number"==typeof i){var b=e.getStyle("height");b.hasValue()?v=b.getPixels("y")/i:isNaN(m[3])||(v=m[3]/i)}g||(g=v),v||(v=g),e.getAttribute("width",!0).setValue(r),e.getAttribute("height",!0).setValue(i);var w=e.getStyle("transform",!0,!0);w.setValue("".concat(w.getString()," scale(").concat(1/g,", ").concat(1/v,")"))}n||u.clearRect(0,0,p,A),e.render(u),O&&(this.isFirstRender=!1)}}Q$e.defaultWindow=b$e,Q$e.defaultFetch=w$e;var{defaultFetch:$$e}=Q$e,S$e=typeof DOMParser<"u"?DOMParser:null;class x$e{constructor(){var{fetch:e=$$e,DOMParser:t=S$e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=e,this.DOMParser=t}parse(e){var t=this;return Hye(function*(){return e.startsWith("<")?t.parseFromString(e):t.load(e)})()}parseFromString(e){var t=new this.DOMParser;try{return this.checkDocument(t.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(t.parseFromString(e,"text/xml"))}}checkDocument(e){var t=e.getElementsByTagName("parsererror")[0];if(t)throw new Error(t.textContent);return e}load(e){var t=this;return Hye(function*(){var n=yield t.fetch(e),r=yield n.text();return t.parseFromString(r)})()}}class k$e{constructor(e,t){this.type="translate",this.point=null,this.point=v$e.parse(t)}apply(e){var{x:t,y:n}=this.point;e.translate(t||0,n||0)}unapply(e){var{x:t,y:n}=this.point;e.translate(-1*t||0,-1*n||0)}applyToPoint(e){var{x:t,y:n}=this.point;e.applyTransform([1,0,0,1,t||0,n||0])}}class P$e{constructor(e,t,n){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var r=WQe(t);this.angle=new m$e(e,"angle",r[0]),this.originX=n[0],this.originY=n[1],this.cx=r[1]||0,this.cy=r[2]||0}apply(e){var{cx:t,cy:n,originX:r,originY:i,angle:o}=this,a=t+r.getPixels("x"),s=n+i.getPixels("y");e.translate(a,s),e.rotate(o.getRadians()),e.translate(-a,-s)}unapply(e){var{cx:t,cy:n,originX:r,originY:i,angle:o}=this,a=t+r.getPixels("x"),s=n+i.getPixels("y");e.translate(a,s),e.rotate(-1*o.getRadians()),e.translate(-a,-s)}applyToPoint(e){var{cx:t,cy:n,angle:r}=this,i=r.getRadians();e.applyTransform([1,0,0,1,t||0,n||0]),e.applyTransform([Math.cos(i),Math.sin(i),-Math.sin(i),Math.cos(i),0,0]),e.applyTransform([1,0,0,1,-t||0,-n||0])}}class T$e{constructor(e,t,n){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var r=v$e.parseScale(t);(0===r.x||0===r.y)&&(r.x=a$e,r.y=a$e),this.scale=r,this.originX=n[0],this.originY=n[1]}apply(e){var{scale:{x:t,y:n},originX:r,originY:i}=this,o=r.getPixels("x"),a=i.getPixels("y");e.translate(o,a),e.scale(t,n||t),e.translate(-o,-a)}unapply(e){var{scale:{x:t,y:n},originX:r,originY:i}=this,o=r.getPixels("x"),a=i.getPixels("y");e.translate(o,a),e.scale(1/t,1/n||t),e.translate(-o,-a)}applyToPoint(e){var{x:t,y:n}=this.scale;e.applyTransform([t||0,0,0,n||0,0,0])}}class _$e{constructor(e,t,n){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=WQe(t),this.originX=n[0],this.originY=n[1]}apply(e){var{originX:t,originY:n,matrix:r}=this,i=t.getPixels("x"),o=n.getPixels("y");e.translate(i,o),e.transform(r[0],r[1],r[2],r[3],r[4],r[5]),e.translate(-i,-o)}unapply(e){var{originX:t,originY:n,matrix:r}=this,i=r[0],o=r[2],a=r[4],s=r[1],l=r[3],c=r[5],u=1/(i*(1*l-0*c)-o*(1*s-0*c)+a*(0*s-0*l)),O=t.getPixels("x"),d=n.getPixels("y");e.translate(O,d),e.transform(u*(1*l-0*c),u*(0*c-1*s),u*(0*a-1*o),u*(1*i-0*a),u*(o*c-a*l),u*(a*s-i*c)),e.translate(-O,-d)}applyToPoint(e){e.applyTransform(this.matrix)}}class C$e extends _$e{constructor(e,t,n){super(e,t,n),this.type="skew",this.angle=null,this.angle=new m$e(e,"angle",t)}}class E$e extends C$e{constructor(e,t,n){super(e,t,n),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class R$e extends C$e{constructor(e,t,n){super(e,t,n),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class X$e{constructor(e,t,n){this.document=e,this.transforms=[];var r=function(e){return VQe(e).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(t);r.forEach(e=>{if("none"!==e){var[t,r]=function(e){var[t,n]=e.split("(");return[t.trim(),n.trim().replace(")","")]}(e),i=X$e.transformTypes[t];typeof i<"u"&&this.transforms.push(new i(this.document,r,n))}})}static fromElement(e,t){var n=t.getStyle("transform",!1,!0),[r,i=r]=t.getStyle("transform-origin",!1,!0).split(),o=[r,i];return n.hasValue()?new X$e(e,n.getString(),o):null}apply(e){for(var{transforms:t}=this,n=t.length,r=0;r<n;r++)t[r].apply(e)}unapply(e){for(var{transforms:t}=this,n=t.length-1;n>=0;n--)t[n].unapply(e)}applyToPoint(e){for(var{transforms:t}=this,n=t.length,r=0;r<n;r++)t[r].applyToPoint(e)}}X$e.transformTypes={translate:k$e,rotate:P$e,scale:T$e,matrix:_$e,skewX:E$e,skewY:R$e};class B$e{constructor(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=e,this.node=t,this.captureTextNodes=n,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],t&&1===t.nodeType){if(Array.from(t.attributes).forEach(t=>{var n=YQe(t.nodeName);this.attributes[n]=new m$e(e,n,t.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue())this.getAttribute("style").getString().split(";").map(e=>e.trim()).forEach(t=>{if(t){var[n,r]=t.split(":").map(e=>e.trim());this.styles[n]=new m$e(e,n,r)}});var{definitions:r}=e,i=this.getAttribute("id");i.hasValue()&&(r[i.getString()]||(r[i.getString()]=this)),Array.from(t.childNodes).forEach(t=>{if(1===t.nodeType)this.addChild(t);else if(n&&(3===t.nodeType||4===t.nodeType)){var r=e.createTextNode(t);r.getText().length>0&&this.addChild(r)}})}}getAttribute(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.attributes[e];if(!n&&t){var r=new m$e(this.document,e,"");return this.attributes[e]=r,r}return n||m$e.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if("href"===e||e.endsWith(":href"))return this.attributes[e];return m$e.empty(this.document)}getStyle(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.styles[e];if(r)return r;var i=this.getAttribute(e);if(null!=i&&i.hasValue())return this.styles[e]=i,i;if(!n){var{parent:o}=this;if(o){var a=o.getStyle(e);if(null!=a&&a.hasValue())return a}}if(t){var s=new m$e(this.document,e,"");return this.styles[e]=s,s}return r||m$e.empty(this.document)}render(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(e),t.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var n=this.getStyle("filter").getDefinition();n&&(this.applyEffects(e),n.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}setContext(e){}applyEffects(e){var t=X$e.fromElement(this.document,this);t&&t.apply(e);var n=this.getStyle("clip-path",!1,!0);if(n.hasValue()){var r=n.getDefinition();r&&r.apply(e)}}clearContext(e){}renderChildren(e){this.children.forEach(t=>{t.render(e)})}addChild(e){var t=e instanceof B$e?e:this.document.createElement(e);t.parent=this,B$e.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(e){var t,{node:n}=this;if("function"==typeof n.matches)return n.matches(e);var r=null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"class");return!(!r||""===r)&&r.split(" ").some(t=>".".concat(t)===e)}addStylesFromStyleDefinition(){var{styles:e,stylesSpecificity:t}=this.document;for(var n in e)if(!n.startsWith("@")&&this.matchesSelector(n)){var r=e[n],i=t[n];if(r)for(var o in r){var a=this.stylesSpecificity[o];typeof a>"u"&&(a="000"),i>=a&&(this.styles[o]=r[o],this.stylesSpecificity[o]=i)}}}removeStyles(e,t){var n=t.reduce((t,n)=>{var r=e.getStyle(n);if(!r.hasValue())return t;var i=r.getString();return r.setValue(""),[...t,[n,i]]},[]);return n}restoreStyles(e,t){t.forEach(t=>{var[n,r]=t;e.getStyle(n,!0).setValue(r)})}isFirstChild(){var e;return 0===(null===(e=this.parent)||void 0===e?void 0:e.children.indexOf(this))}}B$e.ignoreChildTypes=["title"];class U$e extends B$e{constructor(e,t,n){super(e,t,n)}}function D$e(e){var t=e.trim();return/^('|")/.test(t)?t:'"'.concat(t,'"')}function I$e(e){return typeof process>"u"?e:e.trim().split(",").map(D$e).join(",")}function z$e(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return t;default:return/^oblique\s+(-|)\d+deg$/.test(t)?t:""}}function N$e(e){if(!e)return"";var t=e.trim().toLowerCase();switch(t){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return t;default:return/^[\d.]+$/.test(t)?t:""}}class M$e{constructor(e,t,n,r,i,o){var a=o?"string"==typeof o?M$e.parse(o):o:{};this.fontFamily=i||a.fontFamily,this.fontSize=r||a.fontSize,this.fontStyle=e||a.fontStyle,this.fontWeight=n||a.fontWeight,this.fontVariant=t||a.fontVariant}static parse(){var e=arguments.length>1?arguments[1]:void 0,t="",n="",r="",i="",o="",a=VQe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),s={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return a.forEach(e=>{switch(!0){case!s.fontStyle&&M$e.styles.includes(e):"inherit"!==e&&(t=e),s.fontStyle=!0;break;case!s.fontVariant&&M$e.variants.includes(e):"inherit"!==e&&(n=e),s.fontStyle=!0,s.fontVariant=!0;break;case!s.fontWeight&&M$e.weights.includes(e):"inherit"!==e&&(r=e),s.fontStyle=!0,s.fontVariant=!0,s.fontWeight=!0;break;case!s.fontSize:"inherit"!==e&&([i]=e.split("/")),s.fontStyle=!0,s.fontVariant=!0,s.fontWeight=!0,s.fontSize=!0;break;default:"inherit"!==e&&(o+=e)}}),new M$e(t,n,r,i,o,e)}toString(){return[z$e(this.fontStyle),this.fontVariant,N$e(this.fontWeight),this.fontSize,I$e(this.fontFamily)].join(" ").trim()}}M$e.styles="normal|italic|oblique|inherit",M$e.variants="normal|small-caps|inherit",M$e.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class L$e{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=e,this.y1=t,this.x2=n,this.y2=r,this.addPoint(e,t),this.addPoint(n,r)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,t){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),typeof t<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:t,y1:n,x2:r,y2:i}=e;this.addPoint(t,n),this.addPoint(r,i)}}sumCubic(e,t,n,r,i){return Math.pow(1-e,3)*t+3*Math.pow(1-e,2)*e*n+3*(1-e)*Math.pow(e,2)*r+Math.pow(e,3)*i}bezierCurveAdd(e,t,n,r,i){var o=6*t-12*n+6*r,a=-3*t+9*n-9*r+3*i,s=3*n-3*t;if(0!==a){var l=Math.pow(o,2)-4*s*a;if(!(l<0)){var c=(-o+Math.sqrt(l))/(2*a);0<c&&c<1&&(e?this.addX(this.sumCubic(c,t,n,r,i)):this.addY(this.sumCubic(c,t,n,r,i)));var u=(-o-Math.sqrt(l))/(2*a);0<u&&u<1&&(e?this.addX(this.sumCubic(u,t,n,r,i)):this.addY(this.sumCubic(u,t,n,r,i)))}}else{if(0===o)return;var O=-s/o;0<O&&O<1&&(e?this.addX(this.sumCubic(O,t,n,r,i)):this.addY(this.sumCubic(O,t,n,r,i)))}}addBezierCurve(e,t,n,r,i,o,a,s){this.addPoint(e,t),this.addPoint(a,s),this.bezierCurveAdd(!0,e,n,i,a),this.bezierCurveAdd(!1,t,r,o,s)}addQuadraticCurve(e,t,n,r,i,o){var a=e+.6666666666666666*(n-e),s=t+2/3*(r-t),l=a+1/3*(i-e),c=s+1/3*(o-t);this.addBezierCurve(e,t,a,l,s,c,i,o)}isPointInBox(e,t){var{x1:n,y1:r,x2:i,y2:o}=this;return n<=e&&e<=i&&r<=t&&t<=o}}class V$e extends XQe{constructor(e){super(e.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new v$e(0,0),this.control=new v$e(0,0),this.current=new v$e(0,0),this.points=[],this.angles=[]}isEnd(){var{i:e,commands:t}=this;return e>=t.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",n=new v$e(this.command[e],this.command[t]);return this.makeAbsolute(n)}getAsControlPoint(e,t){var n=this.getPoint(e,t);return this.control=n,n}getAsCurrentPoint(e,t){var n=this.getPoint(e,t);return this.current=n,n}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==XQe.CURVE_TO&&e!==XQe.SMOOTH_CURVE_TO&&e!==XQe.QUAD_TO&&e!==XQe.SMOOTH_QUAD_TO)return this.current;var{current:{x:t,y:n},control:{x:r,y:i}}=this;return new v$e(2*t-r,2*n-i)}makeAbsolute(e){if(this.command.relative){var{x:t,y:n}=this.current;e.x+=t,e.y+=n}return e}addMarker(e,t,n){var{points:r,angles:i}=this;n&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=r[r.length-1].angleTo(n)),this.addMarkerAngle(e,t?t.angleTo(e):null)}addMarkerAngle(e,t){this.points.push(e),this.angles.push(t)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,t=e.length,n=0;n<t;n++)if(!e[n])for(var r=n+1;r<t;r++)if(e[r]){e[n]=e[r];break}return e}}class q$e extends B$e{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var e=1,t=this;t;){var n=t.getStyle("opacity",!1,!0);n.hasValue(!0)&&(e*=n.getNumber()),t=t.parent}return e}setContext(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var n=this.getStyle("fill"),r=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(n.isUrlDefinition()){var a=n.getFillStyleDefinition(this,r);a&&(e.fillStyle=a)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var s=n.getColor();"inherit"!==s&&(e.fillStyle="none"===s?"rgba(0,0,0,0)":s)}if(r.hasValue()){var l=new m$e(this.document,"fill",e.fillStyle).addOpacity(r).getColor();e.fillStyle=l}if(i.isUrlDefinition()){var c=i.getFillStyleDefinition(this,o);c&&(e.strokeStyle=c)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var u=i.getString();"inherit"!==u&&(e.strokeStyle="none"===u?"rgba(0,0,0,0)":u)}if(o.hasValue()){var O=new m$e(this.document,"stroke",e.strokeStyle).addOpacity(o).getString();e.strokeStyle=O}var d=this.getStyle("stroke-width");if(d.hasValue()){var h=d.getPixels();e.lineWidth=h||a$e}var f=this.getStyle("stroke-linecap"),p=this.getStyle("stroke-linejoin"),A=this.getStyle("stroke-miterlimit"),m=this.getStyle("stroke-dasharray"),g=this.getStyle("stroke-dashoffset");if(f.hasValue()&&(e.lineCap=f.getString()),p.hasValue()&&(e.lineJoin=p.getString()),A.hasValue()&&(e.miterLimit=A.getNumber()),m.hasValue()&&"none"!==m.getString()){var v=WQe(m.getString());typeof e.setLineDash<"u"?e.setLineDash(v):typeof e.webkitLineDash<"u"?e.webkitLineDash=v:typeof e.mozDash<"u"&&(1!==v.length||0!==v[0])&&(e.mozDash=v);var y=g.getPixels();typeof e.lineDashOffset<"u"?e.lineDashOffset=y:typeof e.webkitLineDashOffset<"u"?e.webkitLineDashOffset=y:typeof e.mozDashOffset<"u"&&(e.mozDashOffset=y)}}if(this.modifiedEmSizeStack=!1,typeof e.font<"u"){var b=this.getStyle("font"),w=this.getStyle("font-style"),Q=this.getStyle("font-variant"),$=this.getStyle("font-weight"),S=this.getStyle("font-size"),x=this.getStyle("font-family"),k=new M$e(w.getString(),Q.getString(),$.getString(),S.hasValue()?"".concat(S.getPixels(!0),"px"):"",x.getString(),M$e.parse(b.getString(),e.font));w.setValue(k.fontStyle),Q.setValue(k.fontVariant),$.setValue(k.fontWeight),S.setValue(k.fontSize),x.setValue(k.fontFamily),e.font=k.toString(),S.isPixels()&&(this.document.emSize=S.getPixels(),this.modifiedEmSizeStack=!0)}t||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}}class F$e extends q$e{constructor(e,t,n){super(e,t,n),this.type="path",this.pathParser=null,this.pathParser=new V$e(this.getAttribute("d").getString())}path(e){var{pathParser:t}=this,n=new L$e;for(t.reset(),e&&e.beginPath();!t.isEnd();)switch(t.next().type){case V$e.MOVE_TO:this.pathM(e,n);break;case V$e.LINE_TO:this.pathL(e,n);break;case V$e.HORIZ_LINE_TO:this.pathH(e,n);break;case V$e.VERT_LINE_TO:this.pathV(e,n);break;case V$e.CURVE_TO:this.pathC(e,n);break;case V$e.SMOOTH_CURVE_TO:this.pathS(e,n);break;case V$e.QUAD_TO:this.pathQ(e,n);break;case V$e.SMOOTH_QUAD_TO:this.pathT(e,n);break;case V$e.ARC:this.pathA(e,n);break;case V$e.CLOSE_PATH:this.pathZ(e,n)}return n}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,t=e.getMarkerPoints(),n=e.getMarkerAngles(),r=t.map((e,t)=>[e,n[t]]);return r}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var t=this.getStyle("fill-rule");""!==e.fillStyle&&("inherit"!==t.getString("inherit")?e.fill(t.getString()):e.fill()),""!==e.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var n=this.getMarkers();if(n){var r=n.length-1,i=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),a=this.getStyle("marker-end");if(i.isUrlDefinition()){var s=i.getDefinition(),[l,c]=n[0];s.render(e,l,c)}if(o.isUrlDefinition())for(var u=o.getDefinition(),O=1;O<r;O++){var[d,h]=n[O];u.render(e,d,h)}if(a.isUrlDefinition()){var f=a.getDefinition(),[p,A]=n[r];f.render(e,p,A)}}}static pathM(e){var t=e.getAsCurrentPoint();return e.start=e.current,{point:t}}pathM(e,t){var{pathParser:n}=this,{point:r}=F$e.pathM(n),{x:i,y:o}=r;n.addMarker(r),t.addPoint(i,o),e&&e.moveTo(i,o)}static pathL(e){var{current:t}=e;return{current:t,point:e.getAsCurrentPoint()}}pathL(e,t){var{pathParser:n}=this,{current:r,point:i}=F$e.pathL(n),{x:o,y:a}=i;n.addMarker(i,r),t.addPoint(o,a),e&&e.lineTo(o,a)}static pathH(e){var{current:t,command:n}=e,r=new v$e((n.relative?t.x:0)+n.x,t.y);return e.current=r,{current:t,point:r}}pathH(e,t){var{pathParser:n}=this,{current:r,point:i}=F$e.pathH(n),{x:o,y:a}=i;n.addMarker(i,r),t.addPoint(o,a),e&&e.lineTo(o,a)}static pathV(e){var{current:t,command:n}=e,r=new v$e(t.x,(n.relative?t.y:0)+n.y);return e.current=r,{current:t,point:r}}pathV(e,t){var{pathParser:n}=this,{current:r,point:i}=F$e.pathV(n),{x:o,y:a}=i;n.addMarker(i,r),t.addPoint(o,a),e&&e.lineTo(o,a)}static pathC(e){var{current:t}=e;return{current:t,point:e.getPoint("x1","y1"),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathC(e,t){var{pathParser:n}=this,{current:r,point:i,controlPoint:o,currentPoint:a}=F$e.pathC(n);n.addMarker(a,o,i),t.addBezierCurve(r.x,r.y,i.x,i.y,o.x,o.y,a.x,a.y),e&&e.bezierCurveTo(i.x,i.y,o.x,o.y,a.x,a.y)}static pathS(e){var{current:t}=e;return{current:t,point:e.getReflectedControlPoint(),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathS(e,t){var{pathParser:n}=this,{current:r,point:i,controlPoint:o,currentPoint:a}=F$e.pathS(n);n.addMarker(a,o,i),t.addBezierCurve(r.x,r.y,i.x,i.y,o.x,o.y,a.x,a.y),e&&e.bezierCurveTo(i.x,i.y,o.x,o.y,a.x,a.y)}static pathQ(e){var{current:t}=e;return{current:t,controlPoint:e.getAsControlPoint("x1","y1"),currentPoint:e.getAsCurrentPoint()}}pathQ(e,t){var{pathParser:n}=this,{current:r,controlPoint:i,currentPoint:o}=F$e.pathQ(n);n.addMarker(o,i,i),t.addQuadraticCurve(r.x,r.y,i.x,i.y,o.x,o.y),e&&e.quadraticCurveTo(i.x,i.y,o.x,o.y)}static pathT(e){var{current:t}=e,n=e.getReflectedControlPoint();return e.control=n,{current:t,controlPoint:n,currentPoint:e.getAsCurrentPoint()}}pathT(e,t){var{pathParser:n}=this,{current:r,controlPoint:i,currentPoint:o}=F$e.pathT(n);n.addMarker(o,i,i),t.addQuadraticCurve(r.x,r.y,i.x,i.y,o.x,o.y),e&&e.quadraticCurveTo(i.x,i.y,o.x,o.y)}static pathA(e){var{current:t,command:n}=e,{rX:r,rY:i,xRot:o,lArcFlag:a,sweepFlag:s}=n,l=o*(Math.PI/180),c=e.getAsCurrentPoint(),u=new v$e(Math.cos(l)*(t.x-c.x)/2+Math.sin(l)*(t.y-c.y)/2,-Math.sin(l)*(t.x-c.x)/2+Math.cos(l)*(t.y-c.y)/2),O=Math.pow(u.x,2)/Math.pow(r,2)+Math.pow(u.y,2)/Math.pow(i,2);O>1&&(r*=Math.sqrt(O),i*=Math.sqrt(O));var d=(a===s?-1:1)*Math.sqrt((Math.pow(r,2)*Math.pow(i,2)-Math.pow(r,2)*Math.pow(u.y,2)-Math.pow(i,2)*Math.pow(u.x,2))/(Math.pow(r,2)*Math.pow(u.y,2)+Math.pow(i,2)*Math.pow(u.x,2)));isNaN(d)&&(d=0);var h=new v$e(d*r*u.y/i,d*-i*u.x/r),f=new v$e((t.x+c.x)/2+Math.cos(l)*h.x-Math.sin(l)*h.y,(t.y+c.y)/2+Math.sin(l)*h.x+Math.cos(l)*h.y),p=c$e([1,0],[(u.x-h.x)/r,(u.y-h.y)/i]),A=[(u.x-h.x)/r,(u.y-h.y)/i],m=[(-u.x-h.x)/r,(-u.y-h.y)/i],g=c$e(A,m);return l$e(A,m)<=-1&&(g=Math.PI),l$e(A,m)>=1&&(g=0),{currentPoint:c,rX:r,rY:i,sweepFlag:s,xAxisRotation:l,centp:f,a1:p,ad:g}}pathA(e,t){var{pathParser:n}=this,{currentPoint:r,rX:i,rY:o,sweepFlag:a,xAxisRotation:s,centp:l,a1:c,ad:u}=F$e.pathA(n),O=1-a?1:-1,d=c+O*(u/2),h=new v$e(l.x+i*Math.cos(d),l.y+o*Math.sin(d));if(n.addMarkerAngle(h,d-O*Math.PI/2),n.addMarkerAngle(r,d-O*Math.PI),t.addPoint(r.x,r.y),e&&!isNaN(c)&&!isNaN(u)){var f=i>o?i:o,p=i>o?1:i/o,A=i>o?o/i:1;e.translate(l.x,l.y),e.rotate(s),e.scale(p,A),e.arc(0,0,f,c,c+u,!!(1-a)),e.scale(1/p,1/A),e.rotate(-s),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,t){F$e.pathZ(this.pathParser),e&&t.x1!==t.x2&&t.y1!==t.y2&&e.closePath()}}class W$e extends F$e{constructor(e,t,n){super(e,t,n),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class Z$e extends q$e{constructor(e,t,n){super(e,t,new.target===Z$e||n),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.setContext(e,t);var n=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();n&&(e.textBaseline=n)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if("text"!==this.type)return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var t=null;return this.children.forEach((n,r)=>{var i=this.getChildBoundingBox(e,this,this,r);t?t.addBoundingBox(i):t=i}),t}getFontSize(){var{document:e,parent:t}=this,n=M$e.parse(e.ctx.font).fontSize;return t.getStyle("font-size").getNumber(n)}getTElementBoundingBox(e){var t=this.getFontSize();return new L$e(this.x,this.y-t,this.x+this.measureText(e),this.y)}getGlyph(e,t,n){var r=t[n],i=null;if(e.isArabic){var o=t.length,a=t[n-1],s=t[n+1],l="isolated";if((0===n||" "===a)&&n<o-1&&" "!==s&&(l="terminal"),n>0&&" "!==a&&n<o-1&&" "!==s&&(l="medial"),n>0&&" "!==a&&(n===o-1||" "===s)&&(l="initial"),typeof e.glyphs[r]<"u"){var c=e.glyphs[r];i=c instanceof W$e?c:c[l]}}else i=e.glyphs[r];return i||(i=e.missingGlyph),i}getText(){return""}getTextFromNode(e){var t=e||this.node,n=Array.from(t.parentNode.childNodes),r=n.indexOf(t),i=n.length-1,o=VQe(t.textContent||"");return 0===r&&(o=qQe(o)),r===i&&(o=FQe(o)),o}renderChildren(e){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,n)=>{this.renderChild(e,this,this,n)});var{mouse:t}=this.document.screen;t.isWorking()&&t.checkBoundingBox(this,this.getBoundingBox(e))}else this.renderTElementChildren(e)}renderTElementChildren(e){var{document:t,parent:n}=this,r=this.getText(),i=n.getStyle("font-family").getDefinition();if(i)for(var{unitsPerEm:o}=i.fontFace,a=M$e.parse(t.ctx.font),s=n.getStyle("font-size").getNumber(a.fontSize),l=n.getStyle("font-style").getString(a.fontStyle),c=s/o,u=i.isRTL?r.split("").reverse().join(""):r,O=WQe(n.getAttribute("dx").getString()),d=u.length,h=0;h<d;h++){var f=this.getGlyph(i,u,h);e.translate(this.x,this.y),e.scale(c,-c);var p=e.lineWidth;e.lineWidth=e.lineWidth*o/s,"italic"===l&&e.transform(1,0,.4,1,0,0),f.render(e),"italic"===l&&e.transform(1,0,-.4,1,0,0),e.lineWidth=p,e.scale(1/c,-1/c),e.translate(-this.x,-this.y),this.x+=s*(f.horizAdvX||i.horizAdvX)/o,typeof O[h]<"u"&&!isNaN(O[h])&&(this.x+=O[h])}else{var{x:A,y:m}=this;e.fillStyle&&e.fillText(r,A,m),e.strokeStyle&&e.strokeText(r,A,m)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],t=e.getStyle("text-anchor").getString("start"),n=0;n="start"===t?e.x-this.minX:"end"===t?e.x-this.maxX:e.x-(this.minX+this.maxX)/2;for(var r=this.textChunkStart;r<this.leafTexts.length;r++)this.leafTexts[r].x+=n;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(e){this.children.forEach((t,n)=>{this.adjustChildCoordinatesRecursiveCore(e,this,this,n)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,t,n,r){var i=n.children[r];i.children.length>0?i.children.forEach((n,r)=>{t.adjustChildCoordinatesRecursiveCore(e,t,i,r)}):this.adjustChildCoordinates(e,t,n,r)}adjustChildCoordinates(e,t,n,r){var i=n.children[r];if("function"!=typeof i.measureText)return i;e.save(),i.setContext(e,!0);var o=i.getAttribute("x"),a=i.getAttribute("y"),s=i.getAttribute("dx"),l=i.getAttribute("dy"),c=i.getStyle("font-family").getDefinition(),u=!!c&&c.isRTL;0===r&&(o.hasValue()||o.setValue(i.getInheritedAttribute("x")),a.hasValue()||a.setValue(i.getInheritedAttribute("y")),s.hasValue()||s.setValue(i.getInheritedAttribute("dx")),l.hasValue()||l.setValue(i.getInheritedAttribute("dy")));var O=i.measureText(e);return u&&(t.x-=O),o.hasValue()?(t.applyAnchoring(),i.x=o.getPixels("x"),s.hasValue()&&(i.x+=s.getPixels("x"))):(s.hasValue()&&(t.x+=s.getPixels("x")),i.x=t.x),t.x=i.x,u||(t.x+=O),a.hasValue()?(i.y=a.getPixels("y"),l.hasValue()&&(i.y+=l.getPixels("y"))):(l.hasValue()&&(t.y+=l.getPixels("y")),i.y=t.y),t.y=i.y,t.leafTexts.push(i),t.minX=Math.min(t.minX,i.x,i.x+O),t.maxX=Math.max(t.maxX,i.x,i.x+O),i.clearContext(e),e.restore(),i}getChildBoundingBox(e,t,n,r){var i=n.children[r];if("function"!=typeof i.getBoundingBox)return null;var o=i.getBoundingBox(e);return o?(i.children.forEach((n,r)=>{var a=t.getChildBoundingBox(e,t,i,r);o.addBoundingBox(a)}),o):null}renderChild(e,t,n,r){var i=n.children[r];i.render(e),i.children.forEach((n,r)=>{t.renderChild(e,t,i,r)})}measureText(e){var{measureCache:t}=this;if(~t)return t;var n=this.getText(),r=this.measureTargetText(e,n);return this.measureCache=r,r}measureTargetText(e,t){if(!t.length)return 0;var{parent:n}=this,r=n.getStyle("font-family").getDefinition();if(r){for(var i=this.getFontSize(),o=r.isRTL?t.split("").reverse().join(""):t,a=WQe(n.getAttribute("dx").getString()),s=o.length,l=0,c=0;c<s;c++){l+=(this.getGlyph(r,o,c).horizAdvX||r.horizAdvX)*i/r.fontFace.unitsPerEm,typeof a[c]<"u"&&!isNaN(a[c])&&(l+=a[c])}return l}if(!e.measureText)return 10*t.length;e.save(),this.setContext(e,!0);var{width:u}=e.measureText(t);return this.clearContext(e),e.restore(),u}getInheritedAttribute(e){for(var t=this;t instanceof Z$e&&t.isFirstChild();){var n=t.parent.getAttribute(e);if(n.hasValue(!0))return n.getValue("0");t=t.parent}return null}}class Y$e extends Z$e{constructor(e,t,n){super(e,t,new.target===Y$e||n),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class j$e extends Y$e{constructor(){super(...arguments),this.type="textNode"}}class G$e extends q$e{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var t,{document:n}=this,{screen:r,window:i}=n,o=e.canvas;if(r.setDefaults(e),o.style&&typeof e.font<"u"&&i&&typeof i.getComputedStyle<"u"){e.font=i.getComputedStyle(o).getPropertyValue("font");var a=new m$e(n,"fontSize",M$e.parse(e.font).fontSize);a.hasValue()&&(n.rootEmSize=a.getPixels("y"),n.emSize=n.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:s,height:l}=r.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var c=this.getAttribute("refX"),u=this.getAttribute("refY"),O=this.getAttribute("viewBox"),d=O.hasValue()?WQe(O.getString()):null,h=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),f=0,p=0,A=0,m=0;d&&(f=d[0],p=d[1]),this.root||(s=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),"marker"===this.type&&(A=f,m=p,f=0,p=0)),r.viewPort.setCurrent(s,l),this.node&&(!this.parent||"foreignObject"===(null===(t=this.node.parentNode)||void 0===t?void 0:t.nodeName))&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),d&&(s=d[2],l=d[3]),n.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:r.viewPort.width,desiredWidth:s,height:r.viewPort.height,desiredHeight:l,minX:f,minY:p,refX:c.getValue(),refY:u.getValue(),clip:h,clipX:A,clipY:m}),d&&(r.viewPort.removeCurrent(),r.viewPort.setCurrent(s,l))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.getAttribute("width",!0),i=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),a=this.getAttribute("style"),s=r.getNumber(0),l=i.getNumber(0);if(n)if("string"==typeof n)this.getAttribute("preserveAspectRatio",!0).setValue(n);else{var c=this.getAttribute("preserveAspectRatio");c.hasValue()&&c.setValue(c.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(r.setValue(e),i.setValue(t),o.hasValue()||o.setValue("0 0 ".concat(s||e," ").concat(l||t)),a.hasValue()){var u=this.getStyle("width"),O=this.getStyle("height");u.hasValue()&&u.setValue("".concat(e,"px")),O.hasValue()&&O.setValue("".concat(t,"px"))}}}class H$e extends F$e{constructor(){super(...arguments),this.type="rect"}path(e){var t=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),r=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),a=this.getAttribute("ry"),s=o.getPixels("x"),l=a.getPixels("y");if(o.hasValue()&&!a.hasValue()&&(l=s),a.hasValue()&&!o.hasValue()&&(s=l),s=Math.min(s,r/2),l=Math.min(l,i/2),e){var c=(Math.sqrt(2)-1)/3*4;e.beginPath(),i>0&&r>0&&(e.moveTo(t+s,n),e.lineTo(t+r-s,n),e.bezierCurveTo(t+r-s+c*s,n,t+r,n+l-c*l,t+r,n+l),e.lineTo(t+r,n+i-l),e.bezierCurveTo(t+r,n+i-l+c*l,t+r-s+c*s,n+i,t+r-s,n+i),e.lineTo(t+s,n+i),e.bezierCurveTo(t+s-c*s,n+i,t,n+i-l+c*l,t,n+i-l),e.lineTo(t,n+l),e.bezierCurveTo(t,n+l-c*l,t+s-c*s,n,t+s,n),e.closePath())}return new L$e(t,n,t+r,n+i)}getMarkers(){return null}}class K$e extends F$e{constructor(){super(...arguments),this.type="circle"}path(e){var t=this.getAttribute("cx").getPixels("x"),n=this.getAttribute("cy").getPixels("y"),r=this.getAttribute("r").getPixels();return e&&r>0&&(e.beginPath(),e.arc(t,n,r,0,2*Math.PI,!1),e.closePath()),new L$e(t-r,n-r,t+r,n+r)}getMarkers(){return null}}class J$e extends F$e{constructor(){super(...arguments),this.type="ellipse"}path(e){var t=(Math.sqrt(2)-1)/3*4,n=this.getAttribute("rx").getPixels("x"),r=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return e&&n>0&&r>0&&(e.beginPath(),e.moveTo(i+n,o),e.bezierCurveTo(i+n,o+t*r,i+t*n,o+r,i,o+r),e.bezierCurveTo(i-t*n,o+r,i-n,o+t*r,i-n,o),e.bezierCurveTo(i-n,o-t*r,i-t*n,o-r,i,o-r),e.bezierCurveTo(i+t*n,o-r,i+n,o-t*r,i+n,o),e.closePath()),new L$e(i-n,o-r,i+n,o+r)}getMarkers(){return null}}class eSe extends F$e{constructor(){super(...arguments),this.type="line"}getPoints(){return[new v$e(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new v$e(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:t,y:n},{x:r,y:i}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(t,n),e.lineTo(r,i)),new L$e(t,n,r,i)}getMarkers(){var[e,t]=this.getPoints(),n=e.angleTo(t);return[[e,n],[t,n]]}}class tSe extends F$e{constructor(e,t,n){super(e,t,n),this.type="polyline",this.points=[],this.points=v$e.parsePath(this.getAttribute("points").getString())}path(e){var{points:t}=this,[{x:n,y:r}]=t,i=new L$e(n,r);return e&&(e.beginPath(),e.moveTo(n,r)),t.forEach(t=>{var{x:n,y:r}=t;i.addPoint(n,r),e&&e.lineTo(n,r)}),i}getMarkers(){var{points:e}=this,t=e.length-1,n=[];return e.forEach((r,i)=>{i!==t&&n.push([r,r.angleTo(e[i+1])])}),n.length>0&&n.push([e[e.length-1],n[n.length-1][1]]),n}}class nSe extends tSe{constructor(){super(...arguments),this.type="polygon"}path(e){var t=super.path(e),[{x:n,y:r}]=this.points;return e&&(e.lineTo(n,r),e.closePath()),t}}class rSe extends B$e{constructor(){super(...arguments),this.type="pattern"}createPattern(e,t,n){var r=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),o=new G$e(this.document,null);o.attributes.viewBox=new m$e(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new m$e(this.document,"width","".concat(r,"px")),o.attributes.height=new m$e(this.document,"height","".concat(i,"px")),o.attributes.transform=new m$e(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var a=this.document.createCanvas(r,i),s=a.getContext("2d"),l=this.getAttribute("x"),c=this.getAttribute("y");l.hasValue()&&c.hasValue()&&s.translate(l.getPixels("x",!0),c.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:Reflect.deleteProperty(this.styles,"fill-opacity");for(var u=-1;u<=1;u++)for(var O=-1;O<=1;O++)s.save(),o.attributes.x=new m$e(this.document,"x",u*a.width),o.attributes.y=new m$e(this.document,"y",O*a.height),o.render(s),s.restore();return e.createPattern(a,"repeat")}}class iSe extends B$e{constructor(){super(...arguments),this.type="marker"}render(e,t,n){if(t){var{x:r,y:i}=t,o=this.getAttribute("orient").getString("auto"),a=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(r,i),"auto"===o&&e.rotate(n),"strokeWidth"===a&&e.scale(e.lineWidth,e.lineWidth),e.save();var s=new G$e(this.document,null);s.type=this.type,s.attributes.viewBox=new m$e(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.refX=new m$e(this.document,"refX",this.getAttribute("refX").getValue()),s.attributes.refY=new m$e(this.document,"refY",this.getAttribute("refY").getValue()),s.attributes.width=new m$e(this.document,"width",this.getAttribute("markerWidth").getValue()),s.attributes.height=new m$e(this.document,"height",this.getAttribute("markerHeight").getValue()),s.attributes.overflow=new m$e(this.document,"overflow",this.getAttribute("overflow").getValue()),s.attributes.fill=new m$e(this.document,"fill",this.getAttribute("fill").getColor("black")),s.attributes.stroke=new m$e(this.document,"stroke",this.getAttribute("stroke").getValue("none")),s.children=this.children,s.render(e),e.restore(),"strokeWidth"===a&&e.scale(1/e.lineWidth,1/e.lineWidth),"auto"===o&&e.rotate(-n),e.translate(-r,-i)}}}class oSe extends B$e{constructor(){super(...arguments),this.type="defs"}render(){}}class aSe extends q$e{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var t=new L$e;return this.children.forEach(n=>{t.addBoundingBox(n.getBoundingBox(e))}),t}}class sSe extends B$e{constructor(e,t,n){super(e,t,n),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:r,children:i}=this;i.forEach(e=>{"stop"===e.type&&r.push(e)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,t,n){var r=this;this.getHrefAttribute().hasValue()&&(r=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(r));var{stops:i}=r,o=this.getGradient(e,t);if(!o)return this.addParentOpacity(n,i[i.length-1].color);if(i.forEach(e=>{o.addColorStop(e.offset,this.addParentOpacity(n,e.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:s,viewPort:l}=a.screen,[c]=l.viewPorts,u=new H$e(a,null);u.attributes.x=new m$e(a,"x",-s/3),u.attributes.y=new m$e(a,"y",-s/3),u.attributes.width=new m$e(a,"width",s),u.attributes.height=new m$e(a,"height",s);var O=new aSe(a,null);O.attributes.transform=new m$e(a,"transform",this.getAttribute("gradientTransform").getValue()),O.children=[u];var d=new G$e(a,null);d.attributes.x=new m$e(a,"x",0),d.attributes.y=new m$e(a,"y",0),d.attributes.width=new m$e(a,"width",c.width),d.attributes.height=new m$e(a,"height",c.height),d.children=[O];var h=a.createCanvas(c.width,c.height),f=h.getContext("2d");return f.fillStyle=o,d.render(f),f.createPattern(h,"no-repeat")}return o}inheritStopContainer(e){this.attributesToInherit.forEach(t=>{!this.getAttribute(t).hasValue()&&e.getAttribute(t).hasValue()&&this.getAttribute(t,!0).setValue(e.getAttribute(t).getValue())})}addParentOpacity(e,t){return e.hasValue()?new m$e(this.document,"color",t).addOpacity(e).getColor():t}}class lSe extends sSe{constructor(e,t,n){super(e,t,n),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,t){var n="objectBoundingBox"===this.getGradientUnits(),r=n?t.getBoundingBox(e):null;if(n&&!r)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var i=n?r.x+r.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=n?r.y+r.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=n?r.x+r.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),s=n?r.y+r.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===a&&o===s?null:e.createLinearGradient(i,o,a,s)}}class cSe extends sSe{constructor(e,t,n){super(e,t,n),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,t){var n="objectBoundingBox"===this.getGradientUnits(),r=t.getBoundingBox(e);if(n&&!r)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var i=n?r.x+r.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=n?r.y+r.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=i,s=o;this.getAttribute("fx").hasValue()&&(a=n?r.x+r.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(s=n?r.y+r.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=n?(r.width+r.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),c=this.getAttribute("fr").getPixels();return e.createRadialGradient(a,s,c,i,o,l)}}class uSe extends B$e{constructor(e,t,n){super(e,t,n),this.type="stop";var r=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),i=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);""===o.getString()&&o.setValue("#000"),i.hasValue()&&(o=o.addOpacity(i)),this.offset=r,this.color=o.getColor()}}class OSe extends B$e{constructor(e,t,n){super(e,t,n),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new m$e(e,"values",null);var r=this.getAttribute("values");r.hasValue()&&this.values.setValue(r.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),t=this.getAttribute("attributeName").getString();return"CSS"===e?this.parent.getStyle(t,!0):this.parent.getAttribute(t,!0)}calcValue(){var{initialUnits:e}=this,{progress:t,from:n,to:r}=this.getProgress(),i=n.getNumber()+(r.getNumber()-n.getNumber())*t;return"%"===e&&(i*=100),"".concat(i).concat(e)}update(e){var{parent:t}=this,n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var r=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==r||this.frozen){if("remove"===r&&!this.removed)return this.removed=!0,n.setValue(t.animationFrozen?t.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,t.animationFrozen=!0,t.animationFrozenValue=n.getString();return!1}this.duration+=e;var i=!1;if(this.begin<this.duration){var o=this.calcValue(),a=this.getAttribute("type");if(a.hasValue()){var s=a.getString();o="".concat(s,"(").concat(o,")")}n.setValue(o),i=!0}return i}getProgress(){var{document:e,values:t}=this,n={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(t.hasValue()){var r=n.progress*(t.getValue().length-1),i=Math.floor(r),o=Math.ceil(r);n.from=new m$e(e,"from",parseFloat(t.getValue()[i])),n.to=new m$e(e,"to",parseFloat(t.getValue()[o])),n.progress=(r-i)/(o-i)}else n.from=this.from,n.to=this.to;return n}}class dSe extends OSe{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:e,from:t,to:n}=this.getProgress(),r=new aQe(t.getColor()),i=new aQe(n.getColor());if(r.ok&&i.ok){var o=r.r+(i.r-r.r)*e,a=r.g+(i.g-r.g)*e,s=r.b+(i.b-r.b)*e;return"rgb(".concat(Math.floor(o),", ").concat(Math.floor(a),", ").concat(Math.floor(s),")")}return this.getAttribute("from").getColor()}}class hSe extends OSe{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:e,from:t,to:n}=this.getProgress(),r=WQe(t.getString()),i=WQe(n.getString());return r.map((t,n)=>t+(i[n]-t)*e).join(" ")}}class fSe extends B$e{constructor(e,t,n){super(e,t,n),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:r}=e,{children:i}=this;for(var o of i)switch(o.type){case"font-face":this.fontFace=o;var a=o.getStyle("font-family");a.hasValue()&&(r[a.getString()]=this);break;case"missing-glyph":this.missingGlyph=o;break;case"glyph":var s=o;s.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[s.unicode]>"u"&&(this.glyphs[s.unicode]=Object.create(null)),this.glyphs[s.unicode][s.arabicForm]=s):this.glyphs[s.unicode]=s}}render(){}}class pSe extends B$e{constructor(e,t,n){super(e,t,n),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class ASe extends F$e{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class mSe extends Z$e{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var t=e.children[0];if(t)return t.getText()}return""}}class gSe extends Z$e{constructor(e,t,n){super(e,t,n),this.type="a";var{childNodes:r}=t,i=r[0],o=r.length>0&&Array.from(r).every(e=>3===e.nodeType);this.hasText=o,this.text=o?this.getTextFromNode(i):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:t,x:n,y:r}=this,{mouse:i}=t.screen,o=new m$e(t,"fontSize",M$e.parse(t.ctx.font).fontSize);i.isWorking()&&i.checkBoundingBox(this,new L$e(n,r-o.getPixels("y"),n+this.measureText(e),r))}else if(this.children.length>0){var a=new aSe(this.document,null);a.children=this.children,a.parent=this,a.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function vSe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ySe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vSe(Object(n),!0).forEach(function(t){Twe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vSe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}class bSe extends Z$e{constructor(e,t,n){super(e,t,n),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var r=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(r)}getText(){return this.text}path(e){var{dataArray:t}=this;e&&e.beginPath(),t.forEach(t=>{var{type:n,points:r}=t;switch(n){case V$e.LINE_TO:e&&e.lineTo(r[0],r[1]);break;case V$e.MOVE_TO:e&&e.moveTo(r[0],r[1]);break;case V$e.CURVE_TO:e&&e.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);break;case V$e.QUAD_TO:e&&e.quadraticCurveTo(r[0],r[1],r[2],r[3]);break;case V$e.ARC:var[i,o,a,s,l,c,u,O]=r,d=a>s?a:s,h=a>s?1:a/s,f=a>s?s/a:1;e&&(e.translate(i,o),e.rotate(u),e.scale(h,f),e.arc(0,0,d,l,l+c,!!(1-O)),e.scale(1/h,1/f),e.rotate(-u),e.translate(-i,-o));break;case V$e.CLOSE_PATH:e&&e.closePath()}})}renderChildren(e){this.setTextData(e),e.save();var t=this.parent.getStyle("text-decoration").getString(),n=this.getFontSize(),{glyphInfo:r}=this,i=e.fillStyle;"underline"===t&&e.beginPath(),r.forEach((r,i)=>{var{p0:o,p1:a,rotation:s,text:l}=r;e.save(),e.translate(o.x,o.y),e.rotate(s),e.fillStyle&&e.fillText(l,0,0),e.strokeStyle&&e.strokeText(l,0,0),e.restore(),"underline"===t&&(0===i&&e.moveTo(o.x,o.y+n/8),e.lineTo(a.x,a.y+n/5))}),"underline"===t&&(e.lineWidth=n/20,e.strokeStyle=i,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,t,n,r,i,o,a,s,l){var c=o,u=this.measureText(e,s);" "===s&&"justify"===t&&n<r&&(u+=(r-n)/i),l>-1&&(c+=this.getLetterSpacingAt(l));var O=this.textHeight/20,d=this.getEquidistantPointOnPath(c,O,0),h=this.getEquidistantPointOnPath(c+u,O,0),f={p0:d,p1:h},p=d&&h?Math.atan2(h.y-d.y,h.x-d.x):0;if(a){var A=Math.cos(Math.PI/2+p)*a,m=Math.cos(-p)*a;f.p0=ySe(ySe({},d),{},{x:d.x+A,y:d.y+m}),f.p1=ySe(ySe({},h),{},{x:h.x+A,y:h.y+m})}return{offset:c+=u,segment:f,rotation:p}}measureText(e,t){var{measuresCache:n}=this,r=t||this.getText();if(n.has(r))return n.get(r);var i=this.measureTargetText(e,r);return n.set(r,i),i}setTextData(e){if(!this.glyphInfo){var t=this.getText(),n=t.split(""),r=t.split(" ").length-1,i=this.parent.getAttribute("dx").split().map(e=>e.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),a=this.parent.getStyle("text-anchor").getString("start"),s=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),c=0;s.hasValue()&&"inherit"!==s.getValue()?s.hasValue()&&"initial"!==s.getValue()&&"unset"!==s.getValue()&&(c=s.getPixels()):c=l.getPixels();var u=[],O=t.length;this.letterSpacingCache=u;for(var d=0;d<O;d++)u.push(typeof i[d]<"u"?i[d]:c);var h=u.reduce((e,t,n)=>0===n?0:e+t||0,0),f=this.measureText(e),p=Math.max(f+h,0);this.textWidth=f,this.textHeight=this.getFontSize(),this.glyphInfo=[];var A=this.getPathLength(),m=this.getStyle("startOffset").getNumber(0)*A,g=0;("middle"===a||"center"===a)&&(g=-p/2),("end"===a||"right"===a)&&(g=-p),g+=m,n.forEach((t,i)=>{var{offset:s,segment:l,rotation:c}=this.findSegmentToFitChar(e,a,p,A,r,g,o,t,i);g=s,l.p0&&l.p1&&this.glyphInfo.push({text:n[i],p0:l.p0,p1:l.p1,rotation:c})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var t=[],{pathParser:n}=e;for(n.reset();!n.isEnd();){var{current:r}=n,i=r?r.x:0,o=r?r.y:0,a=n.next(),s=a.type,l=[];switch(a.type){case V$e.MOVE_TO:this.pathM(n,l);break;case V$e.LINE_TO:s=this.pathL(n,l);break;case V$e.HORIZ_LINE_TO:s=this.pathH(n,l);break;case V$e.VERT_LINE_TO:s=this.pathV(n,l);break;case V$e.CURVE_TO:this.pathC(n,l);break;case V$e.SMOOTH_CURVE_TO:s=this.pathS(n,l);break;case V$e.QUAD_TO:this.pathQ(n,l);break;case V$e.SMOOTH_QUAD_TO:s=this.pathT(n,l);break;case V$e.ARC:l=this.pathA(n);break;case V$e.CLOSE_PATH:F$e.pathZ(n)}a.type!==V$e.CLOSE_PATH?t.push({type:s,points:l,start:{x:i,y:o},pathLength:this.calcLength(i,o,s,l)}):t.push({type:V$e.CLOSE_PATH,points:[],pathLength:0})}return t}pathM(e,t){var{x:n,y:r}=F$e.pathM(e).point;t.push(n,r)}pathL(e,t){var{x:n,y:r}=F$e.pathL(e).point;return t.push(n,r),V$e.LINE_TO}pathH(e,t){var{x:n,y:r}=F$e.pathH(e).point;return t.push(n,r),V$e.LINE_TO}pathV(e,t){var{x:n,y:r}=F$e.pathV(e).point;return t.push(n,r),V$e.LINE_TO}pathC(e,t){var{point:n,controlPoint:r,currentPoint:i}=F$e.pathC(e);t.push(n.x,n.y,r.x,r.y,i.x,i.y)}pathS(e,t){var{point:n,controlPoint:r,currentPoint:i}=F$e.pathS(e);return t.push(n.x,n.y,r.x,r.y,i.x,i.y),V$e.CURVE_TO}pathQ(e,t){var{controlPoint:n,currentPoint:r}=F$e.pathQ(e);t.push(n.x,n.y,r.x,r.y)}pathT(e,t){var{controlPoint:n,currentPoint:r}=F$e.pathT(e);return t.push(n.x,n.y,r.x,r.y),V$e.QUAD_TO}pathA(e){var{rX:t,rY:n,sweepFlag:r,xAxisRotation:i,centp:o,a1:a,ad:s}=F$e.pathA(e);return 0===r&&s>0&&(s-=2*Math.PI),1===r&&s<0&&(s+=2*Math.PI),[o.x,o.y,t,n,a,s,i,r]}calcLength(e,t,n,r){var i=0,o=null,a=null,s=0;switch(n){case V$e.LINE_TO:return this.getLineLength(e,t,r[0],r[1]);case V$e.CURVE_TO:for(i=0,o=this.getPointOnCubicBezier(0,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),s=.01;s<=1;s+=.01)a=this.getPointOnCubicBezier(s,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case V$e.QUAD_TO:for(i=0,o=this.getPointOnQuadraticBezier(0,e,t,r[0],r[1],r[2],r[3]),s=.01;s<=1;s+=.01)a=this.getPointOnQuadraticBezier(s,e,t,r[0],r[1],r[2],r[3]),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return i;case V$e.ARC:i=0;var l=r[4],c=r[5],u=r[4]+c,O=Math.PI/180;if(Math.abs(l-u)<O&&(O=Math.abs(l-u)),o=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],l,0),c<0)for(s=l-O;s>u;s-=O)a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;else for(s=l+O;s<u;s+=O)a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),i+=this.getLineLength(o.x,o.y,a.x,a.y),o=a;return a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],u,0),i+=this.getLineLength(o.x,o.y,a.x,a.y)}return 0}getPointOnLine(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:n,s=(i-n)/(r-t+a$e),l=Math.sqrt(e*e/(1+s*s));r<t&&(l*=-1);var c=s*l,u=null;if(r===t)u={x:o,y:a+c};else if((a-n)/(o-t+a$e)===s)u={x:o+l,y:a+c};else{var O,d,h=this.getLineLength(t,n,r,i);if(h<a$e)return null;var f=(o-t)*(r-t)+(a-n)*(i-n);O=t+(f/=h*h)*(r-t),d=n+f*(i-n);var p=this.getLineLength(o,a,O,d),A=Math.sqrt(e*e-p*p);l=Math.sqrt(A*A/(1+s*s)),r<t&&(l*=-1),u={x:O+l,y:d+(c=s*l)}}return u}getPointOnPath(e){var t=this.getPathLength(),n=0,r=null;if(e<-5e-5||e-5e-5>t)return null;var{dataArray:i}=this;for(var o of i){if(!o||!(o.pathLength<5e-5||n+o.pathLength+5e-5<e)){var a=e-n,s=0;switch(o.type){case V$e.LINE_TO:r=this.getPointOnLine(a,o.start.x,o.start.y,o.points[0],o.points[1],o.start.x,o.start.y);break;case V$e.ARC:var l=o.points[4],c=o.points[5],u=o.points[4]+c;if(s=l+a/o.pathLength*c,c<0&&s<u||c>=0&&s>u)break;r=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],s,o.points[6]);break;case V$e.CURVE_TO:(s=a/o.pathLength)>1&&(s=1),r=this.getPointOnCubicBezier(s,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case V$e.QUAD_TO:(s=a/o.pathLength)>1&&(s=1),r=this.getPointOnQuadraticBezier(s,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3])}if(r)return r;break}n+=o.pathLength}return null}getLineLength(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((e,t)=>t.pathLength>0?e+t.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,t,n,r,i,o,a,s,l){return{x:s*u$e(e)+o*O$e(e)+r*d$e(e)+t*h$e(e),y:l*u$e(e)+a*O$e(e)+i*d$e(e)+n*h$e(e)}}getPointOnQuadraticBezier(e,t,n,r,i,o,a){return{x:o*f$e(e)+r*p$e(e)+t*A$e(e),y:a*f$e(e)+i*p$e(e)+n*A$e(e)}}getPointOnEllipticalArc(e,t,n,r,i,o){var a=Math.cos(o),s=Math.sin(o),l=n*Math.cos(i),c=r*Math.sin(i);return{x:e+(l*a-c*s),y:t+(l*s+c*a)}}buildEquidistantCache(e,t){var n=this.getPathLength(),r=t||.25,i=e||n/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==r){this.equidistantCache={step:i,precision:r,points:[]};for(var o=0,a=0;a<=n;a+=r){var s=this.getPointOnPath(a),l=this.getPointOnPath(a+r);!s||!l||(o+=this.getLineLength(s.x,s.y,l.x,l.y))>=i&&(this.equidistantCache.points.push({x:s.x,y:s.y,distance:a}),o-=i)}}}getEquidistantPointOnPath(e,t,n){if(this.buildEquidistantCache(t,n),e<0||e-this.getPathLength()>5e-5)return null;var r=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[r]||null}}var wSe=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class QSe extends q$e{constructor(e,t,n){super(e,t,n),this.type="image",this.loaded=!1;var r=this.getHrefAttribute().getString();if(r){var i=r.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(r);e.images.push(this),i?this.loadSvg(r):this.loadImage(r),this.isSvg=i}}loadImage(e){var t=this;return Hye(function*(){try{var n=yield t.document.createImage(e);t.image=n}catch(r){}t.loaded=!0})()}loadSvg(e){var t=this;return Hye(function*(){var n=wSe.exec(e);if(n){var r=n[5];"base64"===n[4]?t.image=atob(r):t.image=decodeURIComponent(r)}else try{var i=yield t.document.fetch(e),o=yield i.text();t.image=o}catch(a){}t.loaded=!0})()}renderChildren(e){var{document:t,image:n,loaded:r}=this,i=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(r&&n&&a&&s){if(e.save(),e.translate(i,o),this.isSvg){var l=t.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:s});l.document.documentElement.parent=this,l.render()}else{var c=this.image;t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:c.width,height:s,desiredHeight:c.height}),this.loaded&&(typeof c.complete>"u"||c.complete)&&e.drawImage(c,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),r=this.getStyle("height").getPixels("y");return new L$e(e,t,e+n,t+r)}}class $Se extends q$e{constructor(){super(...arguments),this.type="symbol"}render(e){}}class SSe{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,t){var n=this;return Hye(function*(){try{var{document:r}=n,i=(yield r.canvg.parser.load(t)).getElementsByTagName("font");Array.from(i).forEach(t=>{var n=r.createElement(t);r.definitions[e]=n})}catch(o){}n.loaded=!0})()}}class xSe extends B$e{constructor(e,t,n){super(e,t,n),this.type="style";var r=VQe(Array.from(t.childNodes).map(e=>e.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,""));r.split("}").forEach(t=>{var n=t.trim();if(n){var r=n.split("{"),i=r[0].split(","),o=r[1].split(";");i.forEach(t=>{var n=t.trim();if(n){var r=e.styles[n]||{};if(o.forEach(t=>{var n=t.indexOf(":"),i=t.substr(0,n).trim(),o=t.substr(n+1,t.length-n).trim();i&&o&&(r[i]=new m$e(e,i,o))}),e.styles[n]=r,e.stylesSpecificity[n]=o$e(n),"@font-face"===n){var i=r["font-family"].getString().replace(/"|'/g,"");r.src.getString().split(",").forEach(t=>{if(t.indexOf('format("svg")')>0){var n=jQe(t);n&&new SSe(e).load(i,n)}})}}})}})}}xSe.parseExternalUrl=jQe;class kSe extends q$e{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var t=this.getAttribute("x"),n=this.getAttribute("y");t.hasValue()&&e.translate(t.getPixels("x"),0),n.hasValue()&&e.translate(0,n.getPixels("y"))}path(e){var{element:t}=this;t&&t.path(e)}renderChildren(e){var{document:t,element:n}=this;if(n){var r=n;if("symbol"===n.type&&((r=new G$e(t,null)).attributes.viewBox=new m$e(t,"viewBox",n.getAttribute("viewBox").getString()),r.attributes.preserveAspectRatio=new m$e(t,"preserveAspectRatio",n.getAttribute("preserveAspectRatio").getString()),r.attributes.overflow=new m$e(t,"overflow",n.getAttribute("overflow").getString()),r.children=n.children,n.styles.opacity=new m$e(t,"opacity",this.calculateOpacity())),"svg"===r.type){var i=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);i.hasValue()&&(r.attributes.width=new m$e(t,"width",i.getString())),o.hasValue()&&(r.attributes.height=new m$e(t,"height",o.getString()))}var a=r.parent;r.parent=this,r.render(e),r.parent=a}}getBoundingBox(e){var{element:t}=this;return t?t.getBoundingBox(e):null}elementTransform(){var{document:e,element:t}=this;return X$e.fromElement(e,t)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function PSe(e,t,n,r,i,o){return e[n*r*4+4*t+o]}function TSe(e,t,n,r,i,o,a){e[n*r*4+4*t+o]=a}function _Se(e,t,n){return e[t]*n}function CSe(e,t,n,r){return t+Math.cos(e)*n+Math.sin(e)*r}class ESe extends B$e{constructor(e,t,n){super(e,t,n),this.type="feColorMatrix";var r=WQe(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var i=r[0];r=[.213+.787*i,.715-.715*i,.072-.072*i,0,0,.213-.213*i,.715+.285*i,.072-.072*i,0,0,.213-.213*i,.715-.715*i,.072+.928*i,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var o=r[0]*Math.PI/180;r=[CSe(o,.213,.787,-.213),CSe(o,.715,-.715,-.715),CSe(o,.072,-.072,.928),0,0,CSe(o,.213,-.213,.143),CSe(o,.715,.285,.14),CSe(o,.072,-.072,-.283),0,0,CSe(o,.213,-.213,-.787),CSe(o,.715,-.715,.715),CSe(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=r,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,t,n,r,i){for(var{includeOpacity:o,matrix:a}=this,s=e.getImageData(0,0,r,i),l=0;l<i;l++)for(var c=0;c<r;c++){var u=PSe(s.data,c,l,r,0,0),O=PSe(s.data,c,l,r,0,1),d=PSe(s.data,c,l,r,0,2),h=PSe(s.data,c,l,r,0,3),f=_Se(a,0,u)+_Se(a,1,O)+_Se(a,2,d)+_Se(a,3,h)+_Se(a,4,1),p=_Se(a,5,u)+_Se(a,6,O)+_Se(a,7,d)+_Se(a,8,h)+_Se(a,9,1),A=_Se(a,10,u)+_Se(a,11,O)+_Se(a,12,d)+_Se(a,13,h)+_Se(a,14,1),m=_Se(a,15,u)+_Se(a,16,O)+_Se(a,17,d)+_Se(a,18,h)+_Se(a,19,1);o&&(f=0,p=0,A=0,m*=h/255),TSe(s.data,c,l,r,0,0,f),TSe(s.data,c,l,r,0,1,p),TSe(s.data,c,l,r,0,2,A),TSe(s.data,c,l,r,0,3,m)}e.clearRect(0,0,r,i),e.putImageData(s,0,0)}}class RSe extends B$e{constructor(){super(...arguments),this.type="mask"}apply(e,t){var{document:n}=this,r=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(!o&&!a){var s=new L$e;this.children.forEach(t=>{s.addBoundingBox(t.getBoundingBox(e))}),r=Math.floor(s.x1),i=Math.floor(s.y1),o=Math.floor(s.width),a=Math.floor(s.height)}var l=this.removeStyles(t,RSe.ignoreStyles),c=n.createCanvas(r+o,i+a),u=c.getContext("2d");n.screen.setDefaults(u),this.renderChildren(u),new ESe(n,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(u,0,0,r+o,i+a);var O=n.createCanvas(r+o,i+a),d=O.getContext("2d");n.screen.setDefaults(d),t.render(d),d.globalCompositeOperation="destination-in",d.fillStyle=u.createPattern(c,"no-repeat"),d.fillRect(0,0,r+o,i+a),e.fillStyle=d.createPattern(O,"no-repeat"),e.fillRect(0,0,r+o,i+a),this.restoreStyles(t,l)}render(e){}}RSe.ignoreStyles=["mask","transform","clip-path"];var XSe=()=>{};class BSe extends B$e{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:t}=this,n=Reflect.getPrototypeOf(e),{beginPath:r,closePath:i}=e;n&&(n.beginPath=XSe,n.closePath=XSe),Reflect.apply(r,e,[]),this.children.forEach(r=>{if(!(typeof r.path>"u")){var o=typeof r.elementTransform<"u"?r.elementTransform():null;o||(o=X$e.fromElement(t,r)),o&&o.apply(e),r.path(e),n&&(n.closePath=i),o&&o.unapply(e)}}),Reflect.apply(i,e,[]),e.clip(),n&&(n.beginPath=r,n.closePath=i)}render(e){}}class USe extends B$e{constructor(){super(...arguments),this.type="filter"}apply(e,t){var{document:n,children:r}=this,i=t.getBoundingBox(e);if(i){var o=0,a=0;r.forEach(e=>{var t=e.extraFilterDistance||0;o=Math.max(o,t),a=Math.max(a,t)});var s=Math.floor(i.width),l=Math.floor(i.height),c=s+2*o,u=l+2*a;if(!(c<1||u<1)){var O=Math.floor(i.x),d=Math.floor(i.y),h=this.removeStyles(t,USe.ignoreStyles),f=n.createCanvas(c,u),p=f.getContext("2d");n.screen.setDefaults(p),p.translate(-O+o,-d+a),t.render(p),r.forEach(e=>{"function"==typeof e.apply&&e.apply(p,0,0,c,u)}),e.drawImage(f,0,0,c,u,O-o,d-a,c,u),this.restoreStyles(t,h)}}}render(e){}}USe.ignoreStyles=["filter","transform","clip-path"];class DSe extends B$e{constructor(e,t,n){super(e,t,n),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,t,n,r,i){}}class ISe extends B$e{constructor(){super(...arguments),this.type="feMorphology"}apply(e,t,n,r,i){}}class zSe extends B$e{constructor(){super(...arguments),this.type="feComposite"}apply(e,t,n,r,i){}}class NSe extends B$e{constructor(e,t,n){super(e,t,n),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,t,n,r,i){var{document:o,blurRadius:a}=this,s=o.window?o.window.document.body:null,l=e.canvas;l.id=o.getUniqueId(),s&&(l.style.display="none",s.appendChild(l)),NQe(l,t,n,r,i,a),s&&s.removeChild(l)}}class MSe extends B$e{constructor(){super(...arguments),this.type="title"}}class LSe extends B$e{constructor(){super(...arguments),this.type="desc"}}var VSe={svg:G$e,rect:H$e,circle:K$e,ellipse:J$e,line:eSe,polyline:tSe,polygon:nSe,path:F$e,pattern:rSe,marker:iSe,defs:oSe,linearGradient:lSe,radialGradient:cSe,stop:uSe,animate:OSe,animateColor:dSe,animateTransform:hSe,font:fSe,"font-face":pSe,"missing-glyph":ASe,glyph:W$e,text:Z$e,tspan:Y$e,tref:mSe,a:gSe,textPath:bSe,image:QSe,g:aSe,symbol:$Se,style:xSe,use:kSe,mask:RSe,clipPath:BSe,filter:USe,feDropShadow:DSe,feMorphology:ISe,feComposite:zSe,feColorMatrix:ESe,feGaussianBlur:NSe,title:MSe,desc:LSe};function qSe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function FSe(){return FSe=Hye(function*(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("img");return t&&(n.crossOrigin="Anonymous"),new Promise((t,r)=>{n.onload=()=>{t(n)},n.onerror=(e,t,n,i,o)=>{r(o)},n.src=e})}),FSe.apply(this,arguments)}class WSe{constructor(e){var{rootEmSize:t=12,emSize:n=12,createCanvas:r=WSe.createCanvas,createImage:i=WSe.createImage,anonymousCrossOrigin:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=e,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=t,this.emSize=n,this.createCanvas=r,this.createImage=this.bindCreateImage(i,o),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(e,t){return"boolean"==typeof t?(n,r)=>e(n,"boolean"==typeof r?r:t):e}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:e}=this;return e[e.length-1]}set emSize(e){var{emSizeStack:t}=this;t.push(e)}popEmSize(){var{emSizeStack:e}=this;e.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(e=>e.loaded)}isFontsLoaded(){return this.fonts.every(e=>e.loaded)}createDocumentElement(e){var t=this.createElement(e.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(e){var t=e.nodeName.replace(/^[^:]+:/,""),n=WSe.elementTypes[t];return typeof n<"u"?new n(this,e):new U$e(this,e)}createTextNode(e){return new j$e(this,e)}setViewBox(e){this.screen.setViewBox(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qSe(Object(n),!0).forEach(function(t){Twe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qSe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({document:this},e))}}function ZSe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function YSe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZSe(Object(n),!0).forEach(function(t){Twe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZSe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}WSe.createCanvas=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n},WSe.createImage=function(e){return FSe.apply(this,arguments)},WSe.elementTypes=VSe;class jSe{constructor(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new x$e(n),this.screen=new Q$e(e,n),this.options=n;var r=new WSe(this,n),i=r.createDocumentElement(t);this.document=r,this.documentElement=i}static from(e,t){var n=arguments;return Hye(function*(){var r=n.length>2&&void 0!==n[2]?n[2]:{},i=new x$e(r),o=yield i.parse(t);return new jSe(e,o,r)})()}static fromString(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new x$e(n).parseFromString(t);return new jSe(e,r,n)}fork(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return jSe.from(e,t,YSe(YSe({},this.options),n))}forkString(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return jSe.fromString(e,t,YSe(YSe({},this.options),n))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,t=this;return Hye(function*(){var n=e.length>0&&void 0!==e[0]?e[0]:{};t.start(YSe({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},n)),yield t.ready(),t.stop()})()}start(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:t,screen:n,options:r}=this;n.start(t,YSe(YSe({enableRedraw:!0},r),e))}stop(){this.screen.stop()}resize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(e,t,n)}}const GSe=Object.freeze(Object.defineProperty({__proto__:null,AElement:gSe,AnimateColorElement:dSe,AnimateElement:OSe,AnimateTransformElement:hSe,BoundingBox:L$e,CB1:u$e,CB2:O$e,CB3:d$e,CB4:h$e,Canvg:jSe,CircleElement:K$e,ClipPathElement:BSe,DefsElement:oSe,DescElement:LSe,Document:WSe,Element:B$e,EllipseElement:J$e,FeColorMatrixElement:ESe,FeCompositeElement:zSe,FeDropShadowElement:DSe,FeGaussianBlurElement:NSe,FeMorphologyElement:ISe,FilterElement:USe,Font:M$e,FontElement:fSe,FontFaceElement:pSe,GElement:aSe,GlyphElement:W$e,GradientElement:sSe,ImageElement:QSe,LineElement:eSe,LinearGradientElement:lSe,MarkerElement:iSe,MaskElement:RSe,Matrix:_$e,MissingGlyphElement:ASe,Mouse:y$e,PSEUDO_ZERO:a$e,Parser:x$e,PathElement:F$e,PathParser:V$e,PatternElement:rSe,Point:v$e,PolygonElement:nSe,PolylineElement:tSe,Property:m$e,QB1:f$e,QB2:p$e,QB3:A$e,RadialGradientElement:cSe,RectElement:H$e,RenderedElement:q$e,Rotate:P$e,SVGElement:G$e,SVGFontLoader:SSe,Scale:T$e,Screen:Q$e,Skew:C$e,SkewX:E$e,SkewY:R$e,StopElement:uSe,StyleElement:xSe,SymbolElement:$Se,TRefElement:mSe,TSpanElement:Y$e,TextElement:Z$e,TextPathElement:bSe,TitleElement:MSe,Transform:X$e,Translate:k$e,UnknownElement:U$e,UseElement:kSe,ViewPort:g$e,compressSpaces:VQe,default:jSe,getSelectorSpecificity:o$e,normalizeAttributeName:YQe,normalizeColor:GQe,parseExternalUrl:jQe,presets:LQe,toNumbers:WQe,trimLeft:qQe,trimRight:FQe,vectorMagnitude:s$e,vectorsAngle:c$e,vectorsRatio:l$e},Symbol.toStringTag,{value:"Module"}));var HSe,KSe,JSe,exe,txe,nxe,rxe,ixe,oxe,axe,sxe,lxe,cxe,uxe,Oxe,dxe,hxe,fxe,pxe,Axe,mxe,gxe,vxe,yxe,bxe,wxe,Qxe,$xe,Sxe,xxe,kxe,Pxe,Txe,_xe,Cxe,Exe,Rxe,Xxe,Bxe,Uxe,Dxe,Ixe,zxe,Nxe,Mxe,Lxe,Vxe,qxe,Fxe,Wxe,Zxe,Yxe,jxe,Gxe,Hxe,Kxe,Jxe,eke,tke,nke,rke,ike,oke,ake,ske,lke,cke,uke,Oke,dke,hke,fke,pke,Ake,mke,gke,vke,yke,bke,wke,Qke,$ke,Ske,xke,kke,Pke,Tke,_ke,Cke,Eke,Rke,Xke,Bke,Uke,Dke,Ike,zke,Nke,Mke,Lke,Vke,qke,Fke,Wke;function Zke(){if(KSe)return HSe;KSe=1;var e=Array.isArray;return HSe=e}function Yke(){if(nxe)return txe;nxe=1;var e=function(){if(exe)return JSe;exe=1;var e="object"==typeof Av&&Av&&Av.Object===Object&&Av;return JSe=e}(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return txe=n}function jke(){if(ixe)return rxe;ixe=1;var e=Yke().Symbol;return rxe=e}function Gke(){if(uxe)return cxe;uxe=1;var e=jke(),t=function(){if(axe)return oxe;axe=1;var e=jke(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return oxe=function(e){var t=n.call(e,i),o=e[i];try{e[i]=void 0;var a=!0}catch(sy){}var s=r.call(e);return a&&(t?e[i]=o:delete e[i]),s}}(),n=function(){if(lxe)return sxe;lxe=1;var e=Object.prototype.toString;return sxe=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return cxe=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function Hke(){if(fxe)return hxe;fxe=1;var e=Gke(),t=dxe?Oxe:(dxe=1,Oxe=function(e){return null!=e&&"object"==typeof e});return hxe=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function Kke(){if(gxe)return mxe;return gxe=1,mxe=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Jke(){if($xe)return Qxe;$xe=1;var e=function(){if(wxe)return bxe;wxe=1;var e=Yke()["__core-js_shared__"];return bxe=e}(),t=function(){var t=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();return Qxe=function(e){return!!t&&t in e},Qxe}function ePe(){if(Pxe)return kxe;Pxe=1;var e=function(){if(yxe)return vxe;yxe=1;var e=Gke(),t=Kke();return vxe=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}(),t=Jke(),n=Kke(),r=function(){if(xxe)return Sxe;xxe=1;var e=Function.prototype.toString;return Sxe=function(t){if(null!=t){try{return e.call(t)}catch(sy){}try{return t+""}catch(sy){}}return""},Sxe}(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,l=a.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return kxe=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}function tPe(){if(Exe)return Cxe;Exe=1;var e=ePe(),t=_xe?Txe:(_xe=1,Txe=function(e,t){return null==e?void 0:e[t]});return Cxe=function(n,r){var i=t(n,r);return e(i)?i:void 0}}function nPe(){if(Xxe)return Rxe;Xxe=1;var e=tPe()(Object,"create");return Rxe=e}function rPe(){if(Wxe)return Fxe;Wxe=1;var e=function(){if(Uxe)return Bxe;Uxe=1;var e=nPe();return Bxe=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Ixe?Dxe:(Ixe=1,Dxe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Nxe)return zxe;Nxe=1;var e=nPe(),t=Object.prototype.hasOwnProperty;return zxe=function(n){var r=this.__data__;if(e){var i=r[n];return"__lodash_hash_undefined__"===i?void 0:i}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(Lxe)return Mxe;Lxe=1;var e=nPe(),t=Object.prototype.hasOwnProperty;return Mxe=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(qxe)return Vxe;qxe=1;var e=nPe();return Vxe=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Fxe=o}function iPe(){if(Kxe)return Hxe;Kxe=1;var e=Gxe?jxe:(Gxe=1,jxe=function(e,t){return e===t||e!=e&&t!=t});return Hxe=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function oPe(){if(lke)return ske;lke=1;var e=Yxe?Zxe:(Yxe=1,Zxe=function(){this.__data__=[],this.size=0}),t=function(){if(eke)return Jxe;eke=1;var e=iPe(),t=Array.prototype.splice;return Jxe=function(n){var r=this.__data__,i=e(r,n);return!(i<0||(i==r.length-1?r.pop():t.call(r,i,1),--this.size,0))}}(),n=function(){if(nke)return tke;nke=1;var e=iPe();return tke=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(ike)return rke;ike=1;var e=iPe();return rke=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(ake)return oke;ake=1;var e=iPe();return oke=function(t,n){var r=this.__data__,i=e(r,t);return i<0?(++this.size,r.push([t,n])):r[i][1]=n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,ske=o}function aPe(){if(dke)return Oke;dke=1;var e=rPe(),t=oPe(),n=function(){if(uke)return cke;uke=1;var e=tPe()(Yke(),"Map");return cke=e}();return Oke=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}function sPe(){if(Ake)return pke;Ake=1;var e=fke?hke:(fke=1,hke=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return pke=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}}function lPe(){if(xke)return Ske;xke=1;var e=aPe(),t=function(){if(gke)return mke;gke=1;var e=sPe();return mke=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(yke)return vke;yke=1;var e=sPe();return vke=function(t){return e(this,t).get(t)}}(),r=function(){if(wke)return bke;wke=1;var e=sPe();return bke=function(t){return e(this,t).has(t)}}(),i=function(){if($ke)return Qke;$ke=1;var e=sPe();return Qke=function(t,n){var r=e(this,t),i=r.size;return r.set(t,n),this.size+=r.size==i?0:1,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Ske=o}function cPe(){if(_ke)return Tke;_ke=1;var e=function(){if(Pke)return kke;Pke=1;var e=lPe();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var i=function(){var e=arguments,t=r?r.apply(this,e):e[0],o=i.cache;if(o.has(t))return o.get(t);var a=n.apply(this,e);return i.cache=o.set(t,a)||o,a};return i.cache=new(t.Cache||e),i}return t.Cache=e,kke=t}();return Tke=function(t){var n=e(t,function(e){return 500===r.size&&r.clear(),e}),r=n.cache;return n},Tke}function uPe(){if(Uke)return Bke;Uke=1;var e=jke(),t=Xke?Rke:(Xke=1,Rke=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}),n=Zke(),r=Hke(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return Bke=function e(i){if("string"==typeof i)return i;if(n(i))return t(i,e)+"";if(r(i))return o?o.call(i):"";var a=i+"";return"0"==a&&1/i==-1/0?"-0":a},Bke}function OPe(){if(Nke)return zke;Nke=1;var e=Zke(),t=function(){if(Axe)return pxe;Axe=1;var e=Zke(),t=Hke(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return pxe=function(i,o){if(e(i))return!1;var a=typeof i;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=i&&!t(i))||r.test(i)||!n.test(i)||null!=o&&i in Object(o)}}(),n=function(){if(Eke)return Cke;Eke=1;var e=cPe(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,function(e,t,i,o){r.push(i?o.replace(n,"$1"):t||e)}),r});return Cke=r}(),r=function(){if(Ike)return Dke;Ike=1;var e=uPe();return Dke=function(t){return null==t?"":e(t)}}();return zke=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))}}function dPe(){if(qke)return Vke;qke=1;var e=OPe(),t=function(){if(Lke)return Mke;Lke=1;var e=Hke();return Mke=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}();return Vke=function(n,r){for(var i=0,o=(r=e(r,n)).length;null!=n&&i<o;)n=n[t(r[i++])];return i&&i==o?n:void 0}}const hPe=mv(function(){if(Wke)return Fke;Wke=1;var e=dPe();return Fke=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i}}());function fPe(e,t){if(null==e)return;let n=e;for(let r=0;r<t.length;r++){if(void 0===n||void 0===n[t[r]])return;if(null===n||null===n[t[r]])return null;n=n[t[r]]}return n}function pPe(e,t,n){if(0===n.length)return t;const r=n[0];return n.length>1&&(t=pPe("object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,r)?e[r]:Number.isInteger(Number(n[1]))?[]:{},t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function APe(e,t){if(null==e||0===t.length)return e;if(1===t.length){if(null==e)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const t in e)n[t]=e[t];return delete n[t[0]],n}if(null==e[t[0]]){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const t in e)n[t]=e[t];return n}return pPe(e,APe(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function mPe(e,t){return t.map(e=>e.split(".")).map(t=>[t,fPe(e,t)]).filter(e=>void 0!==e[1]).reduce((e,t)=>pPe(e,t[1],t[0]),{})}function gPe(e,t){return t.map(e=>e.split(".")).reduce((e,t)=>APe(e,t),e)}function vPe(e,{storage:t,serializer:n,key:r,debug:i,pick:o,omit:a,beforeHydrate:s,afterHydrate:l},c,u=!0){try{u&&(null==s||s(c));const i=t.getItem(r);if(i){const t=n.deserialize(i),r=o?mPe(t,o):t,s=a?gPe(r,a):r;e.$patch(s)}u&&(null==l||l(c))}catch(O){}}function yPe(e,{storage:t,serializer:n,key:r,debug:i,pick:o,omit:a}){try{const i=o?mPe(e,o):e,s=a?gPe(i,a):i,l=n.serialize(s);t.setItem(r,l)}catch(s){}}var bPe=function(e={}){return function(t){!function(e,t,n){const{pinia:r,store:i,options:{persist:o=n}}=e;if(!o)return;if(!(i.$id in r.state.value)){const e=r._s.get(i.$id.replace("__hot:",""));return void(e&&Promise.resolve().then(()=>e.$persist()))}const a=(Array.isArray(o)?o:!0===o?[{}]:[o]).map(t);i.$hydrate=({runHooks:t=!0}={})=>{a.forEach(n=>{vPe(i,n,e,t)})},i.$persist=()=>{a.forEach(e=>{yPe(i.$state,e)})},a.forEach(t=>{vPe(i,t,e),i.$subscribe((e,n)=>yPe(n,t),{detached:!0})})}(t,n=>{const r=(i=n.key,o=t.store.$id,"function"==typeof i?i(o):"string"==typeof i?i:o);var i,o;return{key:(e.key?e.key:e=>e)(r),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:e=>JSON.stringify(e),deserialize:e=>JSON.parse(e)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}();function wPe(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get("*"))&&r.slice().map(function(e){e(t,n)})}}}let QPe=[],$Pe=[];function SPe(e){if(e<768)return!1;for(let t=0,n=QPe.length;;){let r=t+n>>1;if(e<QPe[r])n=r;else{if(!(e>=$Pe[r]))return!0;t=r+1}if(t==n)return!1}}function xPe(e){return e>=127462&&e<=127487}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q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!0){return(n?PPe:TPe)(e,t,r)}function PPe(e,t,n){if(t==e.length)return t;t&&CPe(e.charCodeAt(t))&&EPe(e.charCodeAt(t-1))&&t--;let r=_Pe(e,t);for(t+=RPe(r);t<e.length;){let i=_Pe(e,t);if(8205==r||8205==i||n&&SPe(i))t+=RPe(i),r=i;else{if(!xPe(i))break;{let n=0,r=t-2;for(;r>=0&&xPe(_Pe(e,r));)n++,r-=2;if(n%2==0)break;t+=2}}}return t}function TPe(e,t,n){for(;t>0;){let r=PPe(e,t-2,n);if(r<t)return r;t--}return 0}function _Pe(e,t){let n=e.charCodeAt(t);if(!EPe(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return CPe(r)?r-56320+(n-55296<<10)+65536:n}function CPe(e){return e>=56320&&e<57344}function EPe(e){return e>=55296&&e<56320}function RPe(e){return e<65536?1:2}let XPe=class e{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=VPe(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),UPe.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=VPe(this,e,t);let n=[];return this.decompose(e,t,n,0),UPe.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new zPe(this),i=new zPe(e);for(let o=t,a=t;;){if(r.next(o),i.next(o),o=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){return new zPe(this,e)}iterRange(e,t=this.length){return new NPe(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new MPe(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(t){if(0==t.length)throw new RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new BPe(t):UPe.from(BPe.split(t,[])):e.empty}};class BPe extends XPe{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.text[i],a=r+o.length;if((t?n:a)>=e)return new LPe(r,a,n,o);r=a+1,n++}}decompose(e,t,n,r){let i=e<=0&&t>=this.length?this:new BPe(IPe(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=DPe(i.text,e.text.slice(),0,i.length);if(t.length<=32)n.push(new BPe(t,e.length+i.length));else{let e=t.length>>1;n.push(new BPe(t.slice(0,e)),new BPe(t.slice(e)))}}else n.push(i)}replace(e,t,n){if(!(n instanceof BPe))return super.replace(e,t,n);[e,t]=VPe(this,e,t);let r=DPe(this.text,DPe(n.text,IPe(this.text,0,e)),t),i=this.length+n.length-(t-e);return r.length<=32?new BPe(r,i):UPe.from(BPe.split(r,[]),i)}sliceString(e,t=this.length,n="\n"){[e,t]=VPe(this,e,t);let r="";for(let i=0,o=0;i<=t&&o<this.text.length;o++){let a=this.text[o],s=i+a.length;i>e&&o&&(r+=n),e<s&&t>i&&(r+=a.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let i of e)n.push(i),r+=i.length+1,32==n.length&&(t.push(new BPe(n,r)),n=[],r=-1);return r>-1&&t.push(new BPe(n,r)),t}}class UPe extends XPe{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.children[i],a=r+o.length,s=n+o.lines-1;if((t?s:a)>=e)return o.lineInner(e,t,n,r);r=a+1,n=s+1}}decompose(e,t,n,r){for(let i=0,o=0;o<=t&&i<this.children.length;i++){let a=this.children[i],s=o+a.length;if(e<=s&&t>=o){let i=r&((o<=e?1:0)|(s>=t?2:0));o>=e&&s<=t&&!i?n.push(a):a.decompose(e-o,t-o,n,i)}o=s+1}}replace(e,t,n){if([e,t]=VPe(this,e,t),n.lines<this.lines)for(let r=0,i=0;r<this.children.length;r++){let o=this.children[r],a=i+o.length;if(e>=i&&t<=a){let s=o.replace(e-i,t-i,n),l=this.lines-o.lines+s.lines;if(s.lines<l>>4&&s.lines>l>>6){let i=this.children.slice();return i[r]=s,new UPe(i,this.length-(t-e)+n.length)}return super.replace(i,a,s)}i=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=VPe(this,e,t);let r="";for(let i=0,o=0;i<this.children.length&&o<=t;i++){let a=this.children[i],s=o+a.length;o>e&&i&&(r+=n),e<s&&t>o&&(r+=a.sliceString(e-o,t-o,n)),o=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof UPe))return 0;let n=0,[r,i,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,i+=t){if(r==o||i==a)return n;let s=this.children[r],l=e.children[i];if(s!=l)return n+s.scanIdentical(l,t);n+=s.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new BPe(n,t)}let r=Math.max(32,n>>5),i=r<<1,o=r>>1,a=[],s=0,l=-1,c=[];function u(e){let t;if(e.lines>i&&e instanceof UPe)for(let n of e.children)u(n);else e.lines>o&&(s>o||!s)?(O(),a.push(e)):e instanceof BPe&&s&&(t=c[c.length-1])instanceof BPe&&e.lines+t.lines<=32?(s+=e.lines,l+=e.length+1,c[c.length-1]=new BPe(t.text.concat(e.text),t.length+1+e.length)):(s+e.lines>r&&O(),s+=e.lines,l+=e.length+1,c.push(e))}function O(){0!=s&&(a.push(1==c.length?c[0]:UPe.from(c,l)),l=-1,s=c.length=0)}for(let d of e)u(d);return O(),1==a.length?a[0]:new UPe(a,t)}}function DPe(e,t,n=0,r=1e9){for(let i=0,o=0,a=!0;o<e.length&&i<=r;o++){let s=e[o],l=i+s.length;l>=n&&(l>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),a?(t[t.length-1]+=s,a=!1):t.push(s)),i=l+1}return t}function IPe(e,t,n){return DPe(e,[""],t,n)}XPe.empty=new BPe([""],0);class zPe{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof BPe?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],o=i>>1,a=r instanceof BPe?r.text.length:r.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof BPe){let i=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[o+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof BPe?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class NPe{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new zPe(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class MPe{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(XPe.prototype[Symbol.iterator]=function(){return this.iter()},zPe.prototype[Symbol.iterator]=NPe.prototype[Symbol.iterator]=MPe.prototype[Symbol.iterator]=function(){return this});let LPe=class{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}};function VPe(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function qPe(e,t,n=!0,r=!0){return kPe(e,t,n,r)}function FPe(e,t){let n=e.charCodeAt(t);if(!(r=n,r>=55296&&r<56320&&t+1!=e.length))return n;var r;let i=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344}(i)?i-56320+(n-55296<<10)+65536:n}function WPe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function ZPe(e){return e<65536?1:2}const YPe=/\r\n?|\n/;var jPe=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(jPe||(jPe={}));class GPe{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let i=this.sections[t++],o=this.sections[t++];o<0?(e(n,r,i),r+=i):r+=o,n+=i}}iterChangedRanges(e,t=!1){eTe(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}return new GPe(e)}composeDesc(e){return this.empty?e:e.empty?this:nTe(this,e)}mapDesc(e,t=!1){return e.empty?this:tTe(this,e,t)}mapPos(e,t=-1,n=jPe.Simple){let r=0,i=0;for(let o=0;o<this.sections.length;){let a=this.sections[o++],s=this.sections[o++],l=r+a;if(s<0){if(l>e)return i+(e-r);i+=a}else{if(n!=jPe.Simple&&l>=e&&(n==jPe.TrackDel&&r<e&&l>e||n==jPe.TrackBefore&&r<e||n==jPe.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!a)return e==r||t<0?i:i+s;i+=s}r=l}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let i=r+this.sections[n++];if(this.sections[n++]>=0&&r<=t&&i>=e)return!(r<e&&i>t)||"cover";r=i}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeDesc");return new GPe(e)}static create(e){return new GPe(e)}}class HPe extends GPe{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return eTe(this,(t,n,r,i,o)=>e=e.replace(r,r+(n-t),o),!1),e}mapDesc(e,t=!1){return tTe(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,i=0;r<t.length;r+=2){let o=t[r],a=t[r+1];if(a>=0){t[r]=a,t[r+1]=o;let s=r>>1;for(;n.length<s;)n.push(XPe.empty);n.push(o?e.slice(i,i+o):XPe.empty)}i+=o}return new HPe(t,n)}compose(e){return this.empty?e:e.empty?this:nTe(this,e,!0)}map(e,t=!1){return e.empty?this:tTe(this,e,t,!0)}iterChanges(e,t=!1){eTe(this,e,t)}get desc(){return GPe.create(this.sections)}filter(e){let t=[],n=[],r=[],i=new rTe(this);e:for(let o=0,a=0;;){let s=o==e.length?1e9:e[o++];for(;a<s||a==s&&0==i.len;){if(i.done)break e;let e=Math.min(i.len,s-a);KPe(r,e,-1);let o=-1==i.ins?-1:0==i.off?i.ins:0;KPe(t,e,o),o>0&&JPe(n,t,i.text),i.forward(e),a+=e}let l=e[o++];for(;a<l;){if(i.done)break e;let e=Math.min(i.len,l-a);KPe(t,e,-1),KPe(r,e,-1==i.ins?-1:0==i.off?i.ins:0),i.forward(e),a+=e}}return{changes:new HPe(t,n),filtered:GPe.create(r)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let r=[],i=[],o=0,a=null;function s(e=!1){if(!e&&!r.length)return;o<t&&KPe(r,t-o,-1);let n=new HPe(r,i);a=a?a.compose(n.map(a)):n,r=[],i=[],o=0}return function e(l){if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof HPe){if(l.length!=t)throw new RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`);s(),a=a?a.compose(l.map(a)):l}else{let{from:e,to:a=e,insert:c}=l;if(e>a||e<0||a>t)throw new RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let u=c?"string"==typeof c?XPe.of(c.split(n||YPe)):c:XPe.empty,O=u.length;if(e==a&&0==O)return;e<o&&s(),e>o&&KPe(r,e-o,-1),KPe(r,a-e,O),JPe(i,r,u),o=a}}(e),s(!a),a}static empty(e){return new HPe(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];if("number"==typeof i)t.push(i,-1);else{if(!Array.isArray(i)||"number"!=typeof i[0]||i.some((e,t)=>t&&"string"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==i.length)t.push(i[0],0);else{for(;n.length<r;)n.push(XPe.empty);n[r]=XPe.of(i.slice(1)),t.push(i[0],n[r].length)}}}return new HPe(t,n)}static createSet(e,t){return new HPe(e,t)}}function KPe(e,t,n,r=!1){if(0==t&&n<=0)return;let i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function JPe(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(XPe.empty);e.push(n)}}function eTe(e,t,n){let r=e.inserted;for(let i=0,o=0,a=0;a<e.sections.length;){let s=e.sections[a++],l=e.sections[a++];if(l<0)i+=s,o+=s;else{let c=i,u=o,O=XPe.empty;for(;c+=s,u+=l,l&&r&&(O=O.append(r[a-2>>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)s=e.sections[a++],l=e.sections[a++];t(i,c,o,u,O),i=c,o=u}}}function tTe(e,t,n,r=!1){let i=[],o=r?[]:null,a=new rTe(e),s=new rTe(t);for(let l=-1;;){if(a.done&&s.len||s.done&&a.len)throw new Error("Mismatched change set lengths");if(-1==a.ins&&-1==s.ins){let e=Math.min(a.len,s.len);KPe(i,e,-1),a.forward(e),s.forward(e)}else if(s.ins>=0&&(a.ins<0||l==a.i||0==a.off&&(s.len<a.len||s.len==a.len&&!n))){let e=s.len;for(KPe(i,s.ins,-1);e;){let t=Math.min(a.len,e);a.ins>=0&&l<a.i&&a.len<=t&&(KPe(i,0,a.ins),o&&JPe(o,i,a.text),l=a.i),a.forward(t),e-=t}s.next()}else{if(!(a.ins>=0)){if(a.done&&s.done)return o?HPe.createSet(i,o):GPe.create(i);throw new Error("Mismatched change set lengths")}{let e=0,t=a.len;for(;t;)if(-1==s.ins){let n=Math.min(t,s.len);e+=n,t-=n,s.forward(n)}else{if(!(0==s.ins&&s.len<t))break;t-=s.len,s.next()}KPe(i,e,l<a.i?a.ins:0),o&&l<a.i&&JPe(o,i,a.text),l=a.i,a.forward(a.len-t)}}}}function nTe(e,t,n=!1){let r=[],i=n?[]:null,o=new rTe(e),a=new rTe(t);for(let s=!1;;){if(o.done&&a.done)return i?HPe.createSet(r,i):GPe.create(r);if(0==o.ins)KPe(r,o.len,0,s),o.next();else if(0!=a.len||a.done){if(o.done||a.done)throw new Error("Mismatched change set lengths");{let e=Math.min(o.len2,a.len),t=r.length;if(-1==o.ins){let t=-1==a.ins?-1:a.off?0:a.ins;KPe(r,e,t,s),i&&t&&JPe(i,r,a.text)}else-1==a.ins?(KPe(r,o.off?0:o.len,e,s),i&&JPe(i,r,o.textBit(e))):(KPe(r,o.off?0:o.len,a.off?0:a.ins,s),i&&!a.off&&JPe(i,r,a.text));s=(o.ins>e||a.ins>=0&&a.len>e)&&(s||r.length>t),o.forward2(e),a.forward(e)}}else KPe(r,0,a.ins,s),i&&JPe(i,r,a.text),a.next()}}class rTe{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?XPe.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?XPe.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class iTe{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new iTe(n,r,this.flags)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return oTe.range(e,t,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return oTe.range(this.anchor,r,void 0,void 0,n)}eq(e,t=!1){return!(this.anchor!=e.anchor||this.head!=e.head||this.goalColumn!=e.goalColumn||t&&this.empty&&this.assoc!=e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return oTe.range(e.anchor,e.head)}static create(e,t,n){return new iTe(e,t,n)}}class oTe{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:oTe.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new oTe([this.main],0)}addRange(e,t=!0){return oTe.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,oTe.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new oTe(e.ranges.map(e=>iTe.fromJSON(e)),e.main)}static single(e,t=e){return new oTe([oTe.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;r<e.length;r++){let i=e[r];if(i.empty?i.from<=n:i.from<n)return oTe.normalized(e.slice(),t);n=i.to}return new oTe(e,t)}static cursor(e,t=0,n,r){return iTe.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:16777215)<<6)}static range(e,t,n,r,i){let o=(null!=n?n:16777215)<<6|(null==r?7:Math.min(6,r));return i||e==t||(i=t<e?1:-1),t<e?iTe.create(t,e,48|o):iTe.create(e,t,(i?i<0?8:16:0)|o)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let r=1;r<e.length;r++){let n=e[r],i=e[r-1];if(n.empty?n.from<=i.to:n.from<i.to){let o=i.from,a=Math.max(n.to,i.to);r<=t&&t--,e.splice(--r,2,n.anchor>n.head?oTe.range(a,o):oTe.range(o,a))}}return new oTe(e,t)}}function aTe(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let sTe=0;class lTe{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=sTe++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new lTe(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:cTe),!!e.static,e.enables)}of(e){return new uTe([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new uTe(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new uTe(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function cTe(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class uTe{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=sTe++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,o=e[i]>>1,a=2==this.type,s=!1,l=!1,c=[];for(let u of this.dependencies)"doc"==u?s=!0:"selection"==u?l=!0:1&(null!==(t=e[u.id])&&void 0!==t?t:1)||c.push(e[u.id]);return{create:e=>(e.values[o]=n(e),1),update(e,t){if(s&&t.docChanged||l&&(t.docChanged||t.selection)||dTe(e,c)){let t=n(e);if(a?!OTe(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>{let s,l=t.config.address[i];if(null!=l){let i=kTe(t,l);if(this.dependencies.every(n=>n instanceof lTe?t.facet(n)===e.facet(n):!(n instanceof pTe)||t.field(n,!1)==e.field(n,!1))||(a?OTe(s=n(e),i,r):r(s=n(e),i)))return e.values[o]=i,0}else s=n(e);return e.values[o]=s,1}}}}function OTe(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function dTe(e,t){let n=!1;for(let r of t)1&xTe(e,r)&&(n=!0);return n}function hTe(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),o=r.filter(e=>!(1&e)),a=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let o=kTe(e,r[t]);if(2==i[t])for(let e of o)n.push(e);else n.push(o)}return t.combine(n)}return{create(e){for(let t of r)xTe(e,t);return e.values[a]=s(e),1},update(e,n){if(!dTe(e,o))return 0;let r=s(e);return t.compare(r,e.values[a])?0:(e.values[a]=r,1)},reconfigure(e,i){let o=dTe(e,r),l=i.config.facets[t.id],c=i.facet(t);if(l&&!o&&cTe(n,l))return e.values[a]=c,0;let u=s(e);return t.compare(u,c)?(e.values[a]=c,0):(e.values[a]=u,1)}}}const fTe=lTe.define({static:!0});class pTe{constructor(e,t,n,r,i){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=i,this.provides=void 0}static define(e){let t=new pTe(sTe++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(fTe).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>{let r,i=e.facet(fTe),o=n.facet(fTe);return(r=i.find(e=>e.field==this))&&r!=o.find(e=>e.field==this)?(e.values[t]=r.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,fTe.of({field:this,create:e})]}get extension(){return this}}const ATe=4,mTe=3,gTe=2,vTe=1;function yTe(e){return t=>new wTe(t,e)}const bTe={highest:yTe(0),high:yTe(vTe),default:yTe(gTe),low:yTe(mTe),lowest:yTe(ATe)};class wTe{constructor(e,t){this.inner=e,this.prec=t}}class QTe{of(e){return new $Te(this,e)}reconfigure(e){return QTe.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class $Te{constructor(e,t){this.compartment=e,this.inner=t}}class STe{constructor(e,t,n,r,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let r=[],i=Object.create(null),o=new Map;for(let O of function(e,t,n){let r=[[],[],[],[],[]],i=new Map;function o(e,a){let s=i.get(e);if(null!=s){if(s<=a)return;let t=r[s].indexOf(e);t>-1&&r[s].splice(t,1),e instanceof $Te&&n.delete(e.compartment)}if(i.set(e,a),Array.isArray(e))for(let t of e)o(t,a);else if(e instanceof $Te){if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions");let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),o(r,a)}else if(e instanceof wTe)o(e.inner,e.prec);else if(e instanceof pTe)r[a].push(e),e.provides&&o(e.provides,a);else if(e instanceof uTe)r[a].push(e),e.facet.extensions&&o(e.facet.extensions,gTe);else{let t=e.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(t,a)}}return o(e,gTe),r.reduce((e,t)=>e.concat(t))}(e,t,o))O instanceof pTe?r.push(O):(i[O.facet.id]||(i[O.facet.id]=[])).push(O);let a=Object.create(null),s=[],l=[];for(let O of r)a[O.id]=l.length<<1,l.push(e=>O.slot(e));let c=null==n?void 0:n.config.facets;for(let O in i){let e=i[O],t=e[0].facet,r=c&&c[O]||[];if(e.every(e=>0==e.type))if(a[t.id]=s.length<<1|1,cTe(r,e))s.push(n.facet(t));else{let r=t.combine(e.map(e=>e.value));s.push(n&&t.compare(r,n.facet(t))?n.facet(t):r)}else{for(let t of e)0==t.type?(a[t.id]=s.length<<1|1,s.push(t.value)):(a[t.id]=l.length<<1,l.push(e=>t.dynamicSlot(e)));a[t.id]=l.length<<1,l.push(n=>hTe(n,t,e))}}let u=l.map(e=>e(a));return new STe(e,o,u,a,s,i)}}function xTe(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw new Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function kTe(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const PTe=lTe.define(),TTe=lTe.define({combine:e=>e.some(e=>e),static:!0}),_Te=lTe.define({combine:e=>e.length?e[0]:void 0,static:!0}),CTe=lTe.define(),ETe=lTe.define(),RTe=lTe.define(),XTe=lTe.define({combine:e=>!!e.length&&e[0]});class BTe{constructor(e,t){this.type=e,this.value=t}static define(){return new UTe}}class UTe{of(e){return new BTe(this,e)}}class DTe{constructor(e){this.map=e}of(e){return new ITe(this,e)}}class ITe{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new ITe(this.type,t)}is(e){return this.type==e}static define(e={}){return new DTe(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}ITe.reconfigure=ITe.define(),ITe.appendConfig=ITe.define();class zTe{constructor(e,t,n,r,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&aTe(n,t.newLength),i.some(e=>e.type==zTe.time)||(this.annotations=i.concat(zTe.time.of(Date.now())))}static create(e,t,n,r,i,o){return new zTe(e,t,n,r,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(zTe.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function NTe(e,t){let n=[];for(let r=0,i=0;;){let o,a;if(r<e.length&&(i==t.length||t[i]>=e[r]))o=e[r++],a=e[r++];else{if(!(i<t.length))return n;o=t[i++],a=t[i++]}!n.length||n[n.length-1]<o?n.push(o,a):n[n.length-1]<a&&(n[n.length-1]=a)}}function MTe(e,t,n){var r;let i,o,a;return n?(i=t.changes,o=HPe.empty(t.changes.length),a=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(i)),{changes:a,selection:t.selection?t.selection.map(o):null===(r=e.selection)||void 0===r?void 0:r.map(i),effects:ITe.mapEffects(e.effects,i).concat(ITe.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function LTe(e,t,n){let r=t.selection,i=FTe(t.annotations);return t.userEvent&&(i=i.concat(zTe.userEvent.of(t.userEvent))),{changes:t.changes instanceof HPe?t.changes:HPe.of(t.changes||[],n,e.facet(_Te)),selection:r&&(r instanceof oTe?r:oTe.single(r.anchor,r.head)),effects:FTe(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function VTe(e,t,n){let r=LTe(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(n=!1);for(let o=1;o<t.length;o++){!1===t[o].filter&&(n=!1);let i=!!t[o].sequential;r=MTe(r,LTe(e,t[o],i?r.changes.newLength:e.doc.length),i)}let i=zTe.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,n=t.facet(RTe),r=e;for(let i=n.length-1;i>=0;i--){let o=n[i](e);o&&Object.keys(o).length&&(r=MTe(r,LTe(t,o,e.changes.newLength),!0))}return r==e?e:zTe.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(n?function(e){let t=e.startState,n=!0;for(let i of t.facet(CTe)){let t=i(e);if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:NTe(n,t))}if(!0!==n){let r,i;if(!1===n)i=e.changes.invertedDesc,r=HPe.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=zTe.create(t,r,e.selection&&e.selection.map(i),ITe.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(ETe);for(let i=r.length-1;i>=0;i--){let n=r[i](e);e=n instanceof zTe?n:Array.isArray(n)&&1==n.length&&n[0]instanceof zTe?n[0]:VTe(t,FTe(n),!1)}return e}(i):i)}zTe.time=BTe.define(),zTe.userEvent=BTe.define(),zTe.addToHistory=BTe.define(),zTe.remote=BTe.define();const qTe=[];function FTe(e){return null==e?qTe:Array.isArray(e)?e:[e]}var WTe=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(WTe||(WTe={}));const ZTe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let YTe;try{YTe=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch($vt){}function jTe(e){return t=>{if(!/\S/.test(t))return WTe.Space;if(function(e){if(YTe)return YTe.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"€"&&(n.toUpperCase()!=n.toLowerCase()||ZTe.test(n)))return!0}return!1}(t))return WTe.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return WTe.Word;return WTe.Other}}class GTe{constructor(e,t,n,r,i,o){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let a=0;a<this.config.dynamicSlots.length;a++)xTe(this,a<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null!=n)return xTe(this,n),kTe(this,n);if(t)throw new RangeError("Field is not present in this state")}update(...e){return VTe(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:i}=n;for(let a of e.effects)a.is(QTe.reconfigure)?(n&&(i=new Map,n.compartments.forEach((e,t)=>i.set(t,e)),n=null),i.set(a.value.compartment,a.value.extension)):a.is(ITe.reconfigure)?(n=null,r=a.value):a.is(ITe.appendConfig)&&(n=null,r=FTe(r).concat(a.value));if(n)t=e.startState.values.slice();else{n=STe.resolve(r,i,this),t=new GTe(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values}let o=e.startState.facet(TTe)?e.newSelection:e.newSelection.asSingle();new GTe(n,e.newDoc,o,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:oTe.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=FTe(n.effects);for(let a=1;a<t.ranges.length;a++){let n=e(t.ranges[a]),s=this.changes(n.changes),l=s.map(r);for(let e=0;e<a;e++)i[e]=i[e].map(l);let c=r.mapDesc(s,!0);i.push(n.range.map(c)),r=r.compose(l),o=ITe.mapEffects(o,l).concat(ITe.mapEffects(FTe(n.effects),c))}return{changes:r,selection:oTe.create(i,t.mainIndex),effects:o}}changes(e=[]){return e instanceof HPe?e:HPe.of(e,this.doc.length,this.facet(GTe.lineSeparator))}toText(e){return XPe.of(e.split(this.facet(GTe.lineSeparator)||YPe))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(xTe(this,t),kTe(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof pTe&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState");let r=[];if(n)for(let i in n)if(Object.prototype.hasOwnProperty.call(e,i)){let t=n[i],o=e[i];r.push(t.init(e=>t.spec.fromJSON(o,e)))}return GTe.create({doc:e.doc,selection:oTe.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=STe.resolve(e.extensions||[],new Map),n=e.doc instanceof XPe?e.doc:XPe.of((e.doc||"").split(t.staticFacet(GTe.lineSeparator)||YPe)),r=e.selection?e.selection instanceof oTe?e.selection:oTe.single(e.selection.anchor,e.selection.head):oTe.single(0);return aTe(r,n.length),t.staticFacet(TTe)||(r=r.asSingle()),new GTe(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(GTe.tabSize)}get lineBreak(){return this.facet(GTe.lineSeparator)||"\n"}get readOnly(){return this.facet(XTe)}phrase(e,...t){for(let n of this.facet(GTe.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(PTe))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){let t=this.languageDataAt("wordChars",e);return jTe(t.length?t[0]:"")}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,a=e-n;for(;o>0;){let e=qPe(t,o,!1);if(i(t.slice(e,o))!=WTe.Word)break;o=e}for(;a<r;){let e=qPe(t,a);if(i(t.slice(a,e))!=WTe.Word)break;a=e}return o==a?null:oTe.range(o+n,a+n)}}function HTe(e,t,n={}){let r={};for(let i of e)for(let e of Object.keys(i)){let t=i[e],o=r[e];if(void 0===o)r[e]=t;else if(o===t||void 0===t);else{if(!Object.hasOwnProperty.call(n,e))throw new Error("Config merge conflict for field "+e);r[e]=n[e](o,t)}}for(let i in t)void 0===r[i]&&(r[i]=t[i]);return r}GTe.allowMultipleSelections=TTe,GTe.tabSize=lTe.define({combine:e=>e.length?e[0]:4}),GTe.lineSeparator=_Te,GTe.readOnly=XTe,GTe.phrases=lTe.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),GTe.languageData=PTe,GTe.changeFilter=CTe,GTe.transactionFilter=ETe,GTe.transactionExtender=RTe,QTe.reconfigure=ITe.define();class KTe{eq(e){return this==e}range(e,t=e){return e_e.create(e,t,this)}}function JTe(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}KTe.prototype.startSide=KTe.prototype.endSide=0,KTe.prototype.point=!1,KTe.prototype.mapMode=jPe.TrackDel;let e_e=class e{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(t,n,r){return new e(t,n,r)}};function t_e(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class n_e{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let o=r,a=i.length;;){if(o==a)return o;let r=o+a>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return s>=0?o:a;s>=0?a=r:o=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i<o;i++)if(!1===r(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}map(e,t){let n=[],r=[],i=[],o=-1,a=-1;for(let s=0;s<this.value.length;s++){let l,c,u=this.value[s],O=this.from[s]+e,d=this.to[s]+e;if(O==d){let e=t.mapPos(O,u.startSide,u.mapMode);if(null==e)continue;if(l=c=e,u.startSide!=u.endSide&&(c=t.mapPos(O,u.endSide),c<l))continue}else if(l=t.mapPos(O,u.startSide),c=t.mapPos(d,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue;(c-l||u.endSide-u.startSide)<0||(o<0&&(o=l),u.point&&(a=Math.max(a,c-l)),n.push(u),r.push(l-o),i.push(c-o))}return{mapped:n.length?new n_e(r,i,n,a):null,pos:o}}}class r_e{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new r_e(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:i=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(n&&(t=t.slice().sort(t_e)),this.isEmpty)return t.length?r_e.of(t):this;let a=new a_e(this,null,-1).goto(0),s=0,l=[],c=new i_e;for(;a.value||s<t.length;)if(s<t.length&&(a.from-t[s].from||a.startSide-t[s].value.startSide)>=0){let e=t[s++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==a.rangeIndex&&a.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(a.chunkIndex)<t[s].from)&&(!o||r>this.chunkEnd(a.chunkIndex)||i<this.chunkPos[a.chunkIndex])&&c.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!o||r>a.to||i<a.from||o(a.from,a.to,a.value))&&(c.addInner(a.from,a.to,a.value)||l.push(e_e.create(a.from,a.to,a.value))),a.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?r_e.empty:this.nextLayer.update({add:l,filter:o,filterFrom:r,filterTo:i}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1;for(let o=0;o<this.chunk.length;o++){let i=this.chunkPos[o],a=this.chunk[o],s=e.touchesRange(i,i+a.length);if(!1===s)r=Math.max(r,a.maxPoint),t.push(a),n.push(e.mapPos(i));else if(!0===s){let{mapped:o,pos:s}=a.map(i,e);o&&(r=Math.max(r,o.maxPoint),t.push(o),n.push(s))}}let i=this.nextLayer.map(e);return 0==t.length?i:new r_e(n,t,i||r_e.empty,r)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],o=this.chunk[r];if(t>=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return s_e.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return s_e.from(e).goto(t)}static compare(e,t,n,r,i=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),a=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=o_e(o,a,n),l=new c_e(o,s,i),c=new c_e(a,s,i);n.iterGaps((e,t,n)=>u_e(l,e,c,t,n,r)),n.empty&&0==n.length&&u_e(l,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=999999999);let i=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),o=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(i.length!=o.length)return!1;if(!i.length)return!0;let a=o_e(i,o),s=new c_e(i,a,0).goto(n),l=new c_e(o,a,0).goto(n);for(;;){if(s.to!=l.to||!O_e(s.active,l.active)||s.point&&(!l.point||!JTe(s.point,l.point)))return!1;if(s.to>r)return!0;s.next(),l.next()}}static spans(e,t,n,r,i=-1){let o=new c_e(e,null,i).goto(t),a=t,s=o.openStart;for(;;){let e=Math.min(o.to,n);if(o.point){let n=o.activeForPoint(o.to),i=o.pointFrom<t?n.length+1:o.point.startSide<0?n.length:Math.min(n.length,s);r.point(a,e,o.point,n,i,o.pointRank),s=Math.min(o.openEnd(e),n.length)}else e>a&&(r.span(a,e,o.active,s),s=o.openEnd(e));if(o.to>n)return s+(o.point&&o.to>n?1:0);a=o.to,o.next()}}static of(e,t=!1){let n=new i_e;for(let r of e instanceof e_e?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(t_e(t,r)>0)return e.slice().sort(t_e);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return r_e.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=r_e.empty;r=r.nextLayer)t=new r_e(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}r_e.empty=new r_e([],[],null,-1),r_e.empty.nextLayer=r_e.empty;class i_e{finishChunk(e){this.chunks.push(new n_e(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new i_e)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(r_e.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=r_e.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function o_e(e,t,n){let r=new Map;for(let o of e)for(let e=0;e<o.chunk.length;e++)o.chunk[e].maxPoint<=0&&r.set(o.chunk[e],o.chunkPos[e]);let i=new Set;for(let o of t)for(let e=0;e<o.chunk.length;e++){let t=r.get(o.chunk[e]);null==t||(n?n.mapPos(t):t)!=o.chunkPos[e]||(null==n?void 0:n.touchesRange(t,t+o.chunk[e].length))||i.add(o.chunk[e])}return i}class a_e{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class s_e{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[];for(let i=0;i<e.length;i++)for(let o=e[i];!o.isEmpty;o=o.nextLayer)o.maxPoint>=n&&r.push(new a_e(o,t,n,i));return 1==r.length?r[0]:new s_e(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)l_e(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)l_e(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),l_e(this.heap,0)}}}function l_e(e,t){for(let n=e[t];;){let r=1+(t<<1);if(r>=e.length)break;let i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}class c_e{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=s_e.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){d_e(this.active,e),d_e(this.activeTo,e),d_e(this.activeRank,e),this.minActive=f_e(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t<this.activeRank.length&&(i-this.activeRank[t]||r-this.activeTo[t])>0;)t++;h_e(this.active,t,n),h_e(this.activeTo,t,r),h_e(this.activeRank,t,i),e&&h_e(e,t,this.cursor.from),this.minActive=f_e(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&d_e(n,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(n),this.cursor.next()}}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function u_e(e,t,n,r,i,o){e.goto(t),n.goto(r);let a=r+i,s=r,l=r-t,c=!!o.boundChange;for(let u=!1;;){let t=e.to+l-n.to,r=t||e.endSide-n.endSide,i=r<0?e.to+l:n.to,O=Math.min(i,a);if(e.point||n.point?(e.point&&n.point&&JTe(e.point,n.point)&&O_e(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(s,O,e.point,n.point),u=!1):(u&&o.boundChange(s),O>s&&!O_e(e.active,n.active)&&o.compareRange(s,O,e.active,n.active),c&&O<a&&(t||e.openEnd(i)!=n.openEnd(i))&&(u=!0)),i>a)break;s=i,r<=0&&e.next(),r>=0&&n.next()}}function O_e(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!JTe(e[n],t[n]))return!1;return!0}function d_e(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function h_e(e,t,n){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}function f_e(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)(t[i]-r||e[i].endSide-e[n].endSide)<0&&(n=i,r=t[i]);return n}function p_e(e,t,n=e.length){let r=0;for(let i=0;i<n&&i<e.length;)9==e.charCodeAt(i)?(r+=t-r%t,i++):(r++,i=qPe(e,i));return r}function A_e(e,t,n,r){for(let i=0,o=0;;){if(o>=t)return i;if(i==e.length)break;o+=9==e.charCodeAt(i)?n-o%n:1,i=qPe(e,i)}return!0===r?-1:e.length}const m_e="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),g_e="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),v_e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class y_e{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,o,a){let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1];if(l&&null==t)return o.push(e[0]+";");for(let n in t){let a=t[n];if(/&/.test(n))i(n.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),a,o);else if(a&&"object"==typeof a){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");i(r(n),a,s,c)}else null!=a&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+a+";")}(s.length||c)&&o.push((!n||l||a?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}for(let o in e)i(r(o),e[o],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=v_e[m_e]||1;return v_e[m_e]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[g_e],i=n&&n.nonce;r?i&&r.setNonce(i):r=new w_e(e,i),r.mount(Array.isArray(t)?t:[t],e)}}let b_e=new Map;class w_e{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=b_e.get(n);if(t)return e[g_e]=t;this.sheet=new r.CSSStyleSheet,b_e.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[g_e]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let o=0;o<e.length;o++){let t=e[o],a=this.modules.indexOf(t);if(a<i&&a>-1&&(this.modules.splice(a,1),i--,a=-1),-1==a){if(this.modules.splice(i++,0,t),n)for(let e=0;e<t.rules.length;e++)n.insertRule(t.rules[e],r++)}else{for(;i<a;)r+=this.modules[i++].rules.length;r+=t.rules.length,i++}}if(n)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}function Q_e(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;t<arguments.length;t++)$_e(e,arguments[t]);return e}function $_e(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)$_e(e,t[n])}}let S_e="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},x_e="undefined"!=typeof document?document:{documentElement:{style:{}}};const k_e=/Edge\/(\d+)/.exec(S_e.userAgent),P_e=/MSIE \d/.test(S_e.userAgent),T_e=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(S_e.userAgent),__e=!!(P_e||T_e||k_e),C_e=!__e&&/gecko\/(\d+)/i.test(S_e.userAgent),E_e=!__e&&/Chrome\/(\d+)/.exec(S_e.userAgent),R_e="webkitFontSmoothing"in x_e.documentElement.style,X_e=!__e&&/Apple Computer/.test(S_e.vendor),B_e=X_e&&(/Mobile\/\w+/.test(S_e.userAgent)||S_e.maxTouchPoints>2);var U_e={mac:B_e||/Mac/.test(S_e.platform),windows:/Win/.test(S_e.platform),linux:/Linux|X11/.test(S_e.platform),ie:__e,ie_version:P_e?x_e.documentMode||6:T_e?+T_e[1]:k_e?+k_e[1]:0,gecko:C_e,gecko_version:C_e?+(/Firefox\/(\d+)/.exec(S_e.userAgent)||[0,0])[1]:0,chrome:!!E_e,chrome_version:E_e?+E_e[1]:0,ios:B_e,android:/Android\b/.test(S_e.userAgent),webkit:R_e,webkit_version:R_e?+(/\bAppleWebKit\/(\d+)/.exec(S_e.userAgent)||[0,0])[1]:0,safari:X_e,safari_version:X_e?+(/\bVersion\/(\d+(\.\d+)?)/.exec(S_e.userAgent)||[0,0])[1]:0,tabSize:null!=x_e.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};function D_e(e,t){for(let n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}const I_e=Object.create(null);function z_e(e,t,n){if(e==t)return!0;e||(e=I_e),t||(t=I_e);let r=Object.keys(e),i=Object.keys(t);if(r.length-0!=i.length-0)return!1;for(let o of r)if(o!=n&&(-1==i.indexOf(o)||e[o]!==t[o]))return!1;return!0}function N_e(e,t,n){let r=!1;if(t)for(let i in t)n&&i in n||(r=!0,"style"==i?e.style.cssText="":e.removeAttribute(i));if(n)for(let i in n)t&&t[i]==n[i]||(r=!0,"style"==i?e.style.cssText=n[i]:e.setAttribute(i,n[i]));return r}function M_e(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}class L_e{eq(e){return!1}updateDOM(e,t,n){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var V_e=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(V_e||(V_e={}));class q_e extends KTe{constructor(e,t,n,r){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new F_e(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new Z_e(e,t,t,n,e.widget||null,!1)}static replace(e){let t,n,r=!!e.block;if(e.isBlockGap)t=-5e8,n=4e8;else{let{start:i,end:o}=Y_e(e,r);t=(i?r?-3e8:-1:5e8)-1,n=1+(o?r?2e8:1:-6e8)}return new Z_e(e,t,n,r,e.widget||null,!0)}static line(e){return new W_e(e)}static set(e,t=!1){return r_e.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}q_e.none=r_e.empty;class F_e extends q_e{constructor(e){let{start:t,end:n}=Y_e(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?D_e(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||I_e}eq(e){return this==e||e instanceof F_e&&this.tagName==e.tagName&&z_e(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}F_e.prototype.point=!1;class W_e extends q_e{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof W_e&&this.spec.class==e.spec.class&&z_e(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}W_e.prototype.mapMode=jPe.TrackBefore,W_e.prototype.point=!0;class Z_e extends q_e{constructor(e,t,n,r,i,o){super(t,n,i,e),this.block=r,this.isReplace=o,this.mapMode=r?t<=0?jPe.TrackBefore:jPe.TrackAfter:jPe.TrackDel}get type(){return this.startSide!=this.endSide?V_e.WidgetRange:this.startSide<=0?V_e.WidgetBefore:V_e.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Z_e&&(t=this.widget,n=e.widget,t==n||!!(t&&n&&t.compare(n)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide;var t,n}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function Y_e(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!=n?n:t,end:null!=r?r:t}}function j_e(e,t,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}Z_e.prototype.point=!0;class G_e extends KTe{constructor(e,t,n){super(),this.tagName=e,this.attributes=t,this.rank=n}eq(e){return e==this||e instanceof G_e&&this.tagName==e.tagName&&z_e(this.attributes,e.attributes)}static create(e){return new G_e(e.tagName,e.attributes||I_e,null==e.rank?50:Math.max(0,Math.min(e.rank,100)))}static set(e,t=!1){return r_e.of(e,t)}}function H_e(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function K_e(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function J_e(e,t){if(!t.anchorNode)return!1;try{return K_e(e,t.anchorNode)}catch($vt){return!1}}function eCe(e){return 3==e.nodeType?fCe(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function tCe(e,t,n,r){return!!n&&(iCe(e,t,n,r,-1)||iCe(e,t,n,r,1))}function nCe(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function rCe(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function iCe(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:oCe(e))){if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1;t=nCe(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(i<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=i<0?oCe(e):0}}}function oCe(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function aCe(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function sCe(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function lCe(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function cCe(e,t=!0){let n=e.ownerDocument,r=null,i=null;for(let o=e.parentNode;o&&(o!=n.body&&(t&&!r||!i));)if(1==o.nodeType)!i&&o.scrollHeight>o.clientHeight&&(i=o),t&&!r&&o.scrollWidth>o.clientWidth&&(r=o),o=o.assignedSlot||o.parentNode;else{if(11!=o.nodeType)break;o=o.host}return{x:r,y:i}}G_e.prototype.startSide=G_e.prototype.endSide=-1;class uCe{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?oCe(t):0),n,Math.min(e.focusOffset,n?oCe(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}let OCe,dCe=null;function hCe(e){if(e.setActive)return e.setActive();if(dCe)return e.focus(dCe);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==dCe?{get preventScroll(){return dCe={preventScroll:!0},!0}}:void 0),!dCe){dCe=!1;for(let e=0;e<t.length;){let n=t[e++],r=t[e++],i=t[e++];n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=i&&(n.scrollLeft=i)}}}function fCe(e,t,n=t){let r=OCe||(OCe=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function pCe(e,t,n,r){let i={key:t,code:t,keyCode:n,which:n,cancelable:!0};r&&({altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,metaKey:i.metaKey}=r);let o=new KeyboardEvent("keydown",i);o.synthetic=!0,e.dispatchEvent(o);let a=new KeyboardEvent("keyup",i);return a.synthetic=!0,e.dispatchEvent(a),o.defaultPrevented||a.defaultPrevented}function ACe(e){return e instanceof Window?e.pageYOffset>Math.max(0,e.document.documentElement.scrollHeight-e.innerHeight-4):e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function mCe(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r>0)return{node:n,offset:r};if(1==n.nodeType&&r>0){if("false"==n.contentEditable)return null;n=n.childNodes[r-1],r=oCe(n)}else{if(!n.parentNode||rCe(n))return null;r=nCe(n),n=n.parentNode}}}function gCe(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r<n.nodeValue.length)return{node:n,offset:r};if(1==n.nodeType&&r<n.childNodes.length){if("false"==n.contentEditable)return null;n=n.childNodes[r],r=0}else{if(!n.parentNode||rCe(n))return null;r=nCe(n)+1,n=n.parentNode}}}U_e.safari&&U_e.safari_version>=26&&(dCe=!1);class vCe{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new vCe(e.parentNode,nCe(e),t)}static after(e,t){return new vCe(e.parentNode,nCe(e)+1,t)}}var yCe=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(yCe||(yCe={}));const bCe=yCe.LTR,wCe=yCe.RTL;function QCe(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}const $Ce=QCe("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),SCe=QCe("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),xCe=Object.create(null),kCe=[];for(let os of["()","[]","{}"]){let e=os.charCodeAt(0),t=os.charCodeAt(1);xCe[e]=t,xCe[t]=-e}function PCe(e){return e<=247?$Ce[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?SCe[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const TCe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _Ce{get dir(){return this.level%2?wCe:bCe}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,n,r){let i=-1;for(let o=0;o<e.length;o++){let a=e[o];if(a.from<=t&&a.to>=t){if(a.level==n)return o;(i<0||(0!=r?r<0?a.from<t:a.to>t:e[i].level>a.level))&&(i=o)}}if(i<0)throw new RangeError("Index out of range");return i}}function CCe(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.direction!=i.direction||!CCe(r.inner,i.inner))return!1}return!0}const ECe=[];function RCe(e,t,n,r,i,o,a){let s=r%2?2:1;if(r%2==i%2)for(let l=t,c=0;l<n;){let t=!0,u=!1;if(c==o.length||l<o[c].from){let e=ECe[l];e!=s&&(t=!1,u=16==e)}let O=t||1!=s?null:[],d=t?r:r+1,h=l;e:for(;;)if(c<o.length&&h==o[c].from){if(u)break e;let f=o[c];if(!t)for(let e=f.to,t=c+1;;){if(e==n)break e;if(!(t<o.length&&o[t].from==e)){if(ECe[e]==s)break e;break}e=o[t++].to}if(c++,O)O.push(f);else{f.from>l&&a.push(new _Ce(l,f.from,d)),XCe(e,f.direction==bCe!=!(d%2)?r+1:r,i,f.inner,f.from,f.to,a),l=f.to}h=f.to}else{if(h==n||(t?ECe[h]!=s:ECe[h]==s))break;h++}O?RCe(e,l,h,r+1,i,O,a):l<h&&a.push(new _Ce(l,h,d)),l=h}else for(let l=n,c=o.length;l>t;){let n=!0,u=!1;if(!c||l>o[c-1].to){let e=ECe[l-1];e!=s&&(n=!1,u=16==e)}let O=n||1!=s?null:[],d=n?r:r+1,h=l;e:for(;;)if(c&&h==o[c-1].to){if(u)break e;let f=o[--c];if(!n)for(let e=f.from,n=c;;){if(e==t)break e;if(!n||o[n-1].to!=e){if(ECe[e-1]==s)break e;break}e=o[--n].from}if(O)O.push(f);else{f.to<l&&a.push(new _Ce(f.to,l,d)),XCe(e,f.direction==bCe!=!(d%2)?r+1:r,i,f.inner,f.from,f.to,a),l=f.from}h=f.from}else{if(h==t||(n?ECe[h-1]!=s:ECe[h-1]==s))break;h--}O?RCe(e,h,l,r+1,i,O,a):h<l&&a.push(new _Ce(h,l,d)),l=h}}function XCe(e,t,n,r,i,o,a){let s=t%2?2:1;!function(e,t,n,r,i){for(let o=0;o<=r.length;o++){let a=o?r[o-1].to:t,s=o<r.length?r[o].from:n,l=o?256:i;for(let t=a,n=l,r=l;t<s;t++){let i=PCe(e.charCodeAt(t));512==i?i=n:8==i&&4==r&&(i=16),ECe[t]=4==i?2:i,7&i&&(r=i),n=i}for(let e=a,t=l,r=l;e<s;e++){let i=ECe[e];if(128==i)e<s-1&&t==ECe[e+1]&&24&t?i=ECe[e]=t:ECe[e]=256;else if(64==i){let i=e+1;for(;i<s&&64==ECe[i];)i++;let o=e&&8==t||i<n&&8==ECe[i]?1==r?1:8:256;for(let t=e;t<i;t++)ECe[t]=o;e=i-1}else 8==i&&1==r&&(ECe[e]=1);t=i,7&i&&(r=i)}}}(e,i,o,r,s),function(e,t,n,r,i){let o=1==i?2:1;for(let a=0,s=0,l=0;a<=r.length;a++){let c=a?r[a-1].to:t,u=a<r.length?r[a].from:n;for(let t,n,r,a=c;a<u;a++)if(n=xCe[t=e.charCodeAt(a)])if(n<0){for(let e=s-3;e>=0;e-=3)if(kCe[e+1]==-n){let t=kCe[e+2],n=2&t?i:4&t?1&t?o:i:0;n&&(ECe[a]=ECe[kCe[e]]=n),s=e;break}}else{if(189==kCe.length)break;kCe[s++]=a,kCe[s++]=t,kCe[s++]=l}else if(2==(r=ECe[a])||1==r){let e=r==i;l=e?0:1;for(let t=s-3;t>=0;t-=3){let n=kCe[t+2];if(2&n)break;if(e)kCe[t+2]|=2;else{if(4&n)break;kCe[t+2]|=4}}}}}(e,i,o,r,s),function(e,t,n,r){for(let i=0,o=r;i<=n.length;i++){let a=i?n[i-1].to:e,s=i<n.length?n[i].from:t;for(let l=a;l<s;){let a=ECe[l];if(256==a){let a=l+1;for(;;)if(a==s){if(i==n.length)break;a=n[i++].to,s=i<n.length?n[i].from:t}else{if(256!=ECe[a])break;a++}let c=1==o,u=c==(1==(a<t?ECe[a]:r))?c?1:2:r;for(let t=a,r=i,o=r?n[r-1].to:e;t>l;)t==o&&(t=n[--r].from,o=r?n[r-1].to:e),ECe[--t]=u;l=a}else o=a,l++}}}(i,o,r,s),RCe(e,i,o,t,n,r,a)}function BCe(e){return[new _Ce(0,e,0)]}let UCe="";function DCe(e,t,n,r,i){var o;let a=r.head-e.from,s=_Ce.find(t,a,null!==(o=r.bidiLevel)&&void 0!==o?o:-1,r.assoc),l=t[s],c=l.side(i,n);if(a==c){let e=s+=i?1:-1;if(e<0||e>=t.length)return null;l=t[s=e],a=l.side(!i,n),c=l.side(i,n)}let u=qPe(e.text,a,l.forward(i,n));(u<l.from||u>l.to)&&(u=c),UCe=e.text.slice(Math.min(a,u),Math.max(a,u));let O=s==(i?t.length-1:0)?null:t[s+(i?1:-1)];return O&&u==c&&O.level+(i?0:1)<l.level?oTe.cursor(O.side(!i,n)+e.from,O.forward(i,n)?1:-1,O.level):oTe.cursor(u+e.from,l.forward(i,n)?-1:1,l.level)}function ICe(e,t,n){for(let r=t;r<n;r++){let t=PCe(e.charCodeAt(r));if(1==t)return bCe;if(2==t||4==t)return wCe}return bCe}const zCe=lTe.define(),NCe=lTe.define(),MCe=lTe.define(),LCe=lTe.define(),VCe=lTe.define(),qCe=lTe.define(),FCe=lTe.define(),WCe=lTe.define(),ZCe=lTe.define(),YCe=lTe.define({combine:e=>e.some(e=>e)}),jCe=lTe.define({combine:e=>e.some(e=>e)}),GCe=lTe.define();class HCe{constructor(e,t,n,r,i,o=!1){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=i,this.isSnapshot=o}map(e){return e.empty?this:new HCe(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new HCe(oTe.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const KCe=ITe.define({map:(e,t)=>e.map(t)}),JCe=ITe.define();function eEe(e,t,n){let r=e.facet(LCe);r.length?r[0](t):window.onerror&&window.onerror(String(t),n,void 0,void 0,t)}const tEe=lTe.define({combine:e=>!e.length||e[0]});let nEe=0;const rEe=lTe.define({combine:e=>e.filter((t,n)=>{for(let r=0;r<n;r++)if(e[r].plugin==t.plugin)return!1;return!0})});class iEe{constructor(e,t,n,r,i){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=r,this.baseExtensions=i(this),this.extension=this.baseExtensions.concat(rEe.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(rEe.of({plugin:this,arg:e}))}static define(e,t){const{eventHandlers:n,eventObservers:r,provide:i,decorations:o}=t||{};return new iEe(nEe++,e,n,r,e=>{let t=[];return o&&t.push(lEe.of(t=>{let n=t.plugin(e);return n?o(n):q_e.none})),i&&t.push(i(e)),t})}static fromClass(e,t){return iEe.define((t,n)=>new e(t,n),t)}}class oEe{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(sy){if(eEe(e.state,sy,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch($vt){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(sy){eEe(e.state,sy,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(sy){eEe(e.state,sy,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const aEe=lTe.define(),sEe=lTe.define(),lEe=lTe.define(),cEe=lTe.define(),uEe=lTe.define(),OEe=lTe.define(),dEe=lTe.define();function hEe(e,t){let n=e.state.facet(dEe);if(!n.length)return n;let r=n.map(t=>t instanceof Function?t(e):t),i=[];return r_e.spans(r,t.from,t.to,{point(){},span(e,n,r,o){let a=e-t.from,s=n-t.from,l=i;for(let i=r.length-1;i>=0;i--,o--){let e,n=r[i].spec.bidiIsolate;if(null==n&&(n=ICe(t.text,a,s)),o>0&&l.length&&(e=l[l.length-1]).to==a&&e.direction==n)e.to=s,l=e.inner;else{let e={from:a,to:s,direction:n,inner:[]};l.push(e),l=e.inner}}}}),i}const fEe=lTe.define();function pEe(e){let t=0,n=0,r=0,i=0;for(let o of e.state.facet(fEe)){let a=o(e);a&&(null!=a.left&&(t=Math.max(t,a.left)),null!=a.right&&(n=Math.max(n,a.right)),null!=a.top&&(r=Math.max(r,a.top)),null!=a.bottom&&(i=Math.max(i,a.bottom)))}return{left:t,right:n,top:r,bottom:i}}const AEe=lTe.define();class mEe{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){return new mEe(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(e,t){if(0==t.length)return e;let n=[];for(let r=0,i=0,o=0;;){let a=r<e.length?e[r].fromB:1e9,s=i<t.length?t[i]:1e9,l=Math.min(a,s);if(1e9==l)break;let c=l+o,u=l,O=c;for(;;)if(i<t.length&&t[i]<=u){let n=t[i+1];i+=2,u=Math.max(u,n);for(let t=r;t<e.length&&e[t].fromB<=u;t++)o=e[t].toA-e[t].toB;O=Math.max(O,n+o)}else{if(!(r<e.length&&e[r].fromB<=u))break;{let t=e[r++];u=Math.max(u,t.toB),O=Math.max(O,t.toA),o=t.toA-t.toB}}n.push(new mEe(c,O,l,u))}return n}}class gEe{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=HPe.empty(this.startState.doc.length);for(let i of n)this.changes=this.changes.compose(i.changes);let r=[];this.changes.iterChangedRanges((e,t,n,i)=>r.push(new mEe(e,t,n,i))),this.changedRanges=r}static create(e,t,n){return new gEe(e,t,n)}get viewportChanged(){return(4&this.flags)>0}get viewportMoved(){return(8&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(18&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}const vEe=[];class yEe{constructor(e,t,n=0){this.dom=e,this.length=t,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return 1&this.flags}get children(){return vEe}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,4&this.flags){this.flags&=-5;let e=this.domAttrs;e&&function(e,t){for(let n=e.attributes.length-1;n>=0;n--){let r=e.attributes[n].name;null==t[r]&&e.removeAttribute(r)}for(let n in t){let r=t[n];"style"==n?e.style.cssText=r:e.getAttribute(n)!=r&&e.setAttribute(n,r)}}(this.dom,e)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,t=this.posAtStart){let n=t;for(let r of this.children){if(r==e)return n;n+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,t){return null}domPosFor(e,t){let n=nCe(this.dom),r=this.length?e>0:t>0;return new vCe(this.parent.dom,n+(r?1:0),0==e||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&2&this.parent.flags&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof QEe)return e;return null}static get(e){return e.cmTile}}class bEe extends yEe{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(2&this.flags)return;super.sync(e);let t,n=this.dom,r=null,i=(null==e?void 0:e.node)==n?e:null,o=0;for(let a of this.children){if(a.sync(e),o+=a.length+a.breakAfter,t=r?r.nextSibling:n.firstChild,i&&t!=a.dom&&(i.written=!0),a.dom.parentNode==n)for(;t&&t!=a.dom;)t=wEe(t);else n.insertBefore(a.dom,t);r=a.dom}for(t=r?r.nextSibling:n.firstChild,i&&t&&(i.written=!0);t;)t=wEe(t);this.length=o}}function wEe(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class QEe extends bEe{constructor(e,t){super(t),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let t=yEe.get(e);if(t&&this.owns(t))return t;e=e.parentNode}}blockTiles(e){for(let t=[],n=this,r=0,i=0;;)if(r==n.children.length){if(!t.length)return;n=n.parent,n.breakAfter&&i++,r=t.pop()}else{let o=n.children[r++];if(o instanceof $Ee)t.push(r),n=o,r=0;else{let t=i+o.length,n=e(o,i);if(void 0!==n)return n;i=t+o.breakAfter}}}resolveBlock(e,t){let n,r,i=-1,o=-1;if(this.blockTiles((a,s)=>{let l=s+a.length;if(e>=s&&e<=l){if(a.isWidget()&&t>=-1&&t<=1){if(32&a.flags)return!0;16&a.flags&&(n=void 0)}(s<e||e==l&&(t<-1?a.length:a.covers(1)))&&(!n||!a.isWidget()&&n.isWidget())&&(n=a,i=e-s),(l>e||e==s&&(t>1?a.length:a.covers(-1)))&&(!r||!a.isWidget()&&r.isWidget())&&(r=a,o=e-s)}}),!n&&!r)throw new Error("No tile at position "+e);return n&&t<0||!r?{tile:n,offset:i}:{tile:r,offset:o}}}class $Ee extends bEe{constructor(e,t){super(e),this.wrapper=t}isBlock(){return!0}covers(e){return!!this.children.length&&(e<0?this.children[0].covers(-1):this.lastChild.covers(1))}get domAttrs(){return this.wrapper.attributes}static of(e,t){let n=new $Ee(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class SEe extends bEe{constructor(e,t){super(e),this.attrs=t}isLine(){return!0}static start(e,t,n){let r=new SEe(t||document.createElement("div"),e);return t&&n||(r.flags|=4),r}get domAttrs(){return this.attrs}resolveInline(e,t,n){let r=null,i=-1,o=null,a=-1;!function e(s,l){for(let c=0,u=0;c<s.children.length&&u<=l;c++){let O=s.children[c],d=u+O.length;d>=l&&(O.isComposite()?e(O,l-u):(!o||o.isHidden&&(t>0||n&&xEe(o,O)))&&(d>l||32&O.flags)?(o=O,a=l-u):(u<l||16&O.flags&&!O.isHidden)&&(r=O,i=l-u)),u=d}}(this,e);let s=(t<0?r:o)||r||o;return s?{tile:s,offset:s==r?i:a}:null}coordsIn(e,t){let n=this.resolveInline(e,t,!0);return n?n.tile.coordsIn(Math.max(0,n.offset),t):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=eCe(t);return n[n.length-1]||null}(this)}domIn(e,t){let n=this.resolveInline(e,t);if(n){let{tile:e,offset:r}=n;if(this.dom.contains(e.dom))return e.isText()?new vCe(e.dom,Math.min(e.dom.nodeValue.length,r)):e.domPosFor(r,16&e.flags?1:32&e.flags?-1:t);let i=n.tile.parent,o=!1;for(let t of i.children){if(o)return new vCe(t.dom,0);t==n.tile&&(o=!0)}}return new vCe(this.dom,0)}}function xEe(e,t){let n=e.coordsIn(0,1),r=t.coordsIn(0,1);return n&&r&&r.top<n.bottom}class kEe extends bEe{constructor(e,t){super(e),this.mark=t}get domAttrs(){return this.mark.attrs}static of(e,t){let n=new kEe(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class PEe extends yEe{constructor(e,t){super(e,t.length),this.text=t}sync(e){2&this.flags||(super.sync(e),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(e,t){let n=this.dom.nodeValue.length;e>n&&(e=n);let r=e,i=e,o=0;0==e&&t<0||e==n&&t>=0?U_e.chrome||U_e.gecko||(e?(r--,o=1):i<n&&(i++,o=-1)):t<0?r--:i<n&&i++;let a=fCe(this.dom,r,i).getClientRects();if(!a.length)return null;let s=a[(o?o<0:t>=0)?0:a.length-1];return U_e.safari&&!o&&0==s.width&&(s=Array.prototype.find.call(a,e=>e.width)||s),o?aCe(s,o<0):s||null}static of(e,t){let n=new PEe(t||document.createTextNode(e),e);return t||(n.flags|=2),n}}class TEe extends yEe{constructor(e,t,n,r){super(e,t,r),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return!(48&this.flags)&&(this.flags&(e<0?64:128))>0}coordsIn(e,t){return this.coordsInWidget(e,t,!1)}coordsInWidget(e,t,n){let r=this.widget.coordsAt(this.dom,e,t);if(r)return r;if(n)return aCe(this.dom.getBoundingClientRect(),this.length?0==e:t<=0);{let t=this.dom.getClientRects(),n=null;if(!t.length)return null;let r=!!(16&this.flags)||!(32&this.flags)&&e>0;for(let i=r?t.length-1:0;n=t[i],!(e>0?0==i:i==t.length-1||n.top<n.bottom);i+=r?-1:1);return aCe(n,!r)}}get overrideDOMText(){if(!this.length)return XPe.empty;let{root:e}=this;if(!e)return XPe.empty;let t=this.posAtStart;return e.view.state.doc.slice(t,t+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(e,t,n,r,i){return i||(i=e.toDOM(t),e.editable||(i.contentEditable="false")),new TEe(i,n,e,r)}}class _Ee extends yEe{constructor(e){let t=document.createElement("img");t.className="cm-widgetBuffer",t.setAttribute("aria-hidden","true"),super(t,0,e)}get isHidden(){return!0}get overrideDOMText(){return XPe.empty}coordsIn(e){return this.dom.getBoundingClientRect()}}class CEe{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,t,n){let{tile:r,index:i,beforeBreak:o,parents:a}=this;for(;e||t>0;)if(r.isComposite())if(o){if(!e)break;n&&n.break(),e--,o=!1}else if(i==r.children.length){if(!e&&!a.length)break;n&&n.leave(r),o=!!r.breakAfter,({tile:r,index:i}=a.pop()),i++}else{let s=r.children[i],l=s.breakAfter;!(t>0?s.length<=e:s.length<e)||n&&!1===n.skip(s,0,s.length)&&s.isComposite?(a.push({tile:r,index:i}),r=s,i=0,n&&s.isComposite()&&n.enter(s)):(o=!!l,i++,e-=s.length)}else if(i==r.length)o=!!r.breakAfter,({tile:r,index:i}=a.pop()),i++;else{if(!e)break;{let t=Math.min(e,r.length-i);n&&n.skip(r,i,i+t),e-=t,i+=t}}return this.tile=r,this.index=i,this.beforeBreak=o,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class EEe{constructor(e,t,n,r){this.from=e,this.to=t,this.wrapper=n,this.rank=r}}class REe{constructor(e,t,n){this.cache=e,this.root=t,this.blockWrappers=n,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(e,t,n,r){var i;this.flushBuffer();let o=this.ensureMarks(t,n),a=o.lastChild;if(a&&a.isText()&&!(8&a.flags)&&a.length+e.length<512){this.cache.reused.set(a,2),(o.children[o.children.length-1]=new PEe(a.dom,a.text+e)).parent=o}else o.append(r||PEe.of(e,null===(i=this.cache.find(PEe))||void 0===i?void 0:i.dom));this.pos+=e.length,this.afterWidget=null}addComposition(e,t){let n=this.curLine;n.dom!=t.line.dom&&(n.setDOM(this.cache.reused.has(t.line)?NEe(t.line.dom):t.line.dom),this.cache.reused.set(t.line,2));let r=n;for(let a=t.marks.length-1;a>=0;a--){let e=t.marks[a],n=r.lastChild;if(n instanceof kEe&&n.mark.eq(e.mark))n.dom!=e.dom&&n.setDOM(NEe(e.dom)),r=n;else{if(this.cache.reused.get(e)){let t=yEe.get(e.dom);t&&t.setDOM(NEe(e.dom))}let t=kEe.of(e.mark,e.dom);r.append(t),r=t}this.cache.reused.set(e,2)}let i=yEe.get(e.text);i&&this.cache.reused.set(i,2);let o=new PEe(e.text,e.text.nodeValue);o.flags|=8,this.pos=e.range.toB,r.append(o)}addInlineWidget(e,t,n){let r=this.afterWidget&&48&e.flags&&(48&this.afterWidget.flags)==(48&e.flags);r||this.flushBuffer();let i=this.ensureMarks(t,n);r||16&e.flags||i.append(this.getBuffer(1)),i.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,t,n){this.flushBuffer(),this.ensureMarks(t,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){(this.afterWidget||this.lastBlock).length+=e,this.pos+=e}addLineStart(e,t){var n;e||(e=zEe);let r=SEe.start(e,t||(null===(n=this.cache.find(SEe))||void 0===n?void 0:n.dom),!!t);this.getBlockPos().append(this.lastBlock=this.curLine=r)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,t){var n;let r=this.curLine;for(let i=e.length-1;i>=0;i--){let o,a=e[i];if(t>0&&(o=r.lastChild)&&o instanceof kEe&&o.mark.eq(a))r=o,t--;else{let e=kEe.of(a,null===(n=this.cache.find(kEe,e=>e.mark.eq(a)))||void 0===n?void 0:n.dom);r.append(e),r=e,t=0}}return r}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;e&&IEe(this.curLine,!1)&&("BR"==e.dom.nodeName||!e.isWidget()||U_e.ios&&IEe(this.curLine,!0))||this.curLine.append(this.cache.findWidget(LEe,0,32)||new TEe(LEe.toDOM(),0,LEe,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to<this.pos&&this.wrappers.splice(e,1);for(let e=this.blockWrappers;e.value&&e.from<=this.pos;e.next())if(e.to>=this.pos){let t=102*e.rank+e.value.rank,n=new EEe(e.from,e.to,e.value,t),r=this.wrappers.length;for(;r>0&&(this.wrappers[r-1].rank-n.rank||this.wrappers[r-1].to-n.to)<0;)r--;this.wrappers.splice(r,0,n)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let t=this.root;for(let n of this.wrappers){let r=t.lastChild;if(n.from<this.pos&&r instanceof $Ee&&r.wrapper.eq(n.wrapper))t=r;else{let r=$Ee.of(n.wrapper,null===(e=this.cache.find($Ee,e=>e.wrapper.eq(n.wrapper)))||void 0===e?void 0:e.dom);t.append(r),t=r}}return t}blockPosCovered(){let e=this.lastBlock;return null!=e&&!e.breakAfter&&(!e.isWidget()||(160&e.flags)>0)}getBuffer(e){let t=2|(e<0?16:32),n=this.cache.find(_Ee,void 0,1);return n&&(n.flags=t),n||new _Ee(t)}flushBuffer(){!this.afterWidget||32&this.afterWidget.flags||(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class XEe{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skipCount);if(this.skipCount=0,r)throw new Error("Ran out of text content when drawing inline views");this.text=t;let i=this.textOff=Math.min(e,t.length);return n?null:t.slice(0,i)}let t=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,t);return this.textOff=t,n}}const BEe=[TEe,SEe,PEe,kEe,_Ee,$Ee,QEe];for(let os=0;os<BEe.length;os++)BEe[os].bucket=os;class UEe{constructor(e){this.view=e,this.buckets=BEe.map(()=>[]),this.index=BEe.map(()=>0),this.reused=new Map}add(e){let t=e.constructor.bucket,n=this.buckets[t];n.length<6?n.push(e):n[this.index[t]=(this.index[t]+1)%6]=e}find(e,t,n=2){let r=e.bucket,i=this.buckets[r],o=this.index[r];for(let a=i.length-1;a>=0;a--){let e=(a+o)%i.length,s=i[e];if((!t||t(s))&&!this.reused.has(s))return i.splice(e,1),e<o&&this.index[r]--,this.reused.set(s,n),s}return null}findWidget(e,t,n){let r=this.buckets[0];if(r.length)for(let i=0,o=0;;i++){if(i==r.length){if(o)return null;o=1,i=0}let a=r[i];if(!this.reused.has(a)&&(0==o?a.widget.compare(e):a.widget.constructor==e.constructor&&e.updateDOM(a.dom,this.view,a.widget)))return r.splice(i,1),i<this.index[0]&&this.index[0]--,a.widget==e&&a.length==t&&(497&a.flags)==n?(this.reused.set(a,1),a):(this.reused.set(a,2),new TEe(a.dom,t,e,-498&a.flags|n))}}reuse(e){return this.reused.set(e,1),e}maybeReuse(e,t=2){if(!this.reused.has(e))return this.reused.set(e,t),e.dom}clear(){for(let e=0;e<this.buckets.length;e++)this.buckets[e].length=this.index[e]=0}}class DEe{constructor(e,t,n,r,i){this.view=e,this.decorations=r,this.disallowBlockEffectsFor=i,this.openWidget=!1,this.openMarks=0,this.cache=new UEe(e),this.text=new XEe(e.state.doc),this.builder=new REe(this.cache,new QEe(e,e.contentDOM),r_e.iter(n)),this.cache.reused.set(t,2),this.old=new CEe(t),this.reuseWalker={skip:(e,t,n)=>{if(this.cache.add(e),e.isComposite())return!1},enter:e=>this.cache.add(e),leave:()=>{},break:()=>{}}}run(e,t){let n=t&&this.getCompositionContext(t.text);for(let r=0,i=0,o=0;;){let a=o<e.length?e[o++]:null,s=a?a.fromA:this.old.root.length;if(s>r){let e=s-r;this.preserve(e,!o,!a),r=s,i+=e}if(!a)break;t&&a.fromA<=t.range.fromA&&a.toA>=t.range.toA?(this.forward(a.fromA,t.range.fromA,t.range.fromA<t.range.toA?1:-1),this.emit(i,t.range.fromB),this.builder.flushBuffer(),this.cache.clear(),this.builder.addComposition(t,n),this.text.skip(t.range.toB-t.range.fromB),this.forward(t.range.fromA,a.toA),this.emit(t.range.toB,a.toB)):(this.forward(a.fromA,a.toA),this.emit(i,a.toB)),i=a.toB,r=a.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(e,t,n){let r=function(e){let t=[];for(let n=e.parents.length;n>1;n--){let r=n==e.parents.length?e.tile:e.parents[n].tile;r instanceof kEe&&t.push(r.mark)}return t}(this.old),i=this.openMarks;this.old.advance(e,n?1:-1,{skip:(e,t,n)=>{if(e.isWidget())if(this.openWidget)this.builder.continueWidget(n-t);else{let o=n>0||t<e.length?TEe.of(e.widget,this.view,n-t,496&e.flags,this.cache.maybeReuse(e)):this.cache.reuse(e);256&o.flags?(o.flags&=-2,this.builder.addBlockWidget(o)):(this.builder.ensureLine(null),this.builder.addInlineWidget(o,r,i),i=r.length)}else if(e.isText())this.builder.ensureLine(null),t||n!=e.length||this.cache.reused.has(e)?(this.cache.add(e),this.builder.addText(e.text.slice(t,n),r,i)):this.builder.addText(e.text,r,i,this.cache.reuse(e)),i=r.length;else if(e.isLine())e.flags&=-2,this.cache.reused.set(e,1),this.builder.addLine(e);else if(e instanceof _Ee)this.cache.add(e);else{if(!(e instanceof kEe))return!1;this.builder.ensureLine(null),this.builder.addMark(e,r,i),this.cache.reused.set(e,1),i=r.length}this.openWidget=!1},enter:e=>{e.isLine()?this.builder.addLineStart(e.attrs,this.cache.maybeReuse(e)):(this.cache.add(e),e instanceof kEe&&r.unshift(e.mark)),this.openWidget=!1},leave:e=>{e.isLine()?r.length&&(r.length=i=0):e instanceof kEe&&(r.shift(),i=Math.min(i,r.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,t){let n=null,r=this.builder,i=0,o=r_e.spans(this.decorations,e,t,{point:(e,t,o,a,s,l)=>{if(o instanceof Z_e){if(this.disallowBlockEffectsFor[l]){if(o.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.view.state.doc.lineAt(e).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(i=a.length,s>a.length)r.continueWidget(t-e);else{let i=o.widget||(o.block?MEe.block:MEe.inline),l=function(e){let t=e.isReplace?(e.startSide<0?64:0)|(e.endSide>0?128:0):e.startSide>0?32:16;e.block&&(t|=256);return t}(o),c=this.cache.findWidget(i,t-e,l)||TEe.of(i,this.view,t-e,l);o.block?(o.startSide>0&&r.addLineStartIfNotCovered(n),r.addBlockWidget(c)):(r.ensureLine(n),r.addInlineWidget(c,a,s))}n=null}else n=function(e,t){let n=t.spec.attributes,r=t.spec.class;if(!n&&!r)return e;e||(e={class:"cm-line"});n&&D_e(n,e);r&&(e.class+=" "+r);return e}(n,o);t>e&&this.text.skip(t-e)},span:(e,t,i,o)=>{for(let a=e;a<t;){let s=this.text.next(Math.min(512,t-a));null==s?(r.addLineStartIfNotCovered(n),r.addBreak(),a++):(r.ensureLine(n),r.addText(s,i,a==e?o:i.length),a+=s.length),n=null}}});r.addLineStartIfNotCovered(n),this.openWidget=o>i,this.openMarks=o}forward(e,t,n=1){t-e<=10?this.old.advance(t-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(t-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let t=[],n=null;for(let r=e.parentNode;;r=r.parentNode){let e=yEe.get(r);if(r==this.view.contentDOM)break;e instanceof kEe?t.push(e):(null==e?void 0:e.isLine())?n=e:e instanceof $Ee||("DIV"!=r.nodeName||n||r==this.view.contentDOM?n||t.push(kEe.of(new F_e({tagName:r.nodeName.toLowerCase(),attributes:M_e(r)}),r)):n=new SEe(r,zEe))}return{line:n,marks:t}}}function IEe(e,t){let n=e=>{for(let r of e.children)if((t?r.isText():r.length)||n(r))return!0;return!1};return n(e)}const zEe={class:"cm-line"};function NEe(e){let t=yEe.get(e);return t&&t.setDOM(e.cloneNode()),e}class MEe extends L_e{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}MEe.inline=new MEe("span"),MEe.block=new MEe("div");const LEe=new class extends L_e{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class VEe{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=q_e.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new QEe(e,e.contentDOM),this.updateInner([new mEe(0,0,0,e.state.doc.length)],null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let r=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?r=this.domChanged.newSel.head:function(e,t){let n=!1;t&&e.iterChangedRanges((e,r)=>{e<t.to&&r>t.from&&(n=!0)});return n}(e.changes,this.hasComposition)||e.selectionSet||(r=e.state.selection.main.head));let i=r>-1?function(e,t,n){let r=FEe(e,n);if(!r)return null;let{node:i,from:o,to:a}=r,s=i.nodeValue;if(/[\n\r]/.test(s))return null;if(e.state.doc.sliceString(r.from,r.to)!=s)return null;let l=t.invertedDesc;return{range:new mEe(l.mapPos(o),l.mapPos(a),o,a),text:i}}(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){let{from:t,to:r}=this.hasComposition;n=new mEe(t,r,e.changes.mapPos(t,-1),e.changes.mapPos(r,1)).addToSet(n.slice())}this.hasComposition=i?{from:i.range.fromB,to:i.range.toB}:null,(U_e.ie||U_e.chrome)&&!i&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,a=this.blockWrappers;this.updateDeco();let s=function(e,t,n){let r=new WEe;return r_e.compare(e,t,n,r),r.changes}(o,this.decorations,e.changes);s.length&&(n=mEe.extendWithRanges(n,s));let l=function(e,t,n){let r=new ZEe;return r_e.compare(e,t,n,r),r.changes}(a,this.blockWrappers,e.changes);return l.length&&(n=mEe.extendWithRanges(n,l)),i&&!n.some(e=>e.fromA<=i.range.fromA&&e.toA>=i.range.toA)&&(n=i.range.addToSet(n.slice())),!(2&this.tile.flags&&0==n.length)&&(this.updateInner(n,i),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(t||e.length){let n=this.tile,r=new DEe(this.view,n,this.blockWrappers,this.decorations,this.dynamicDecorationMap);t&&yEe.get(t.text)&&r.cache.reused.set(yEe.get(t.text),2),this.tile=r.run(e,t),qEe(n,r.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let r=U_e.chrome||U_e.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(r),!r||!r.written&&n.selectionRange.focusNode==r.node&&this.tile.dom.contains(r.node)||(this.forceSelection=!0),this.tile.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let i of this.tile.children)i.isWidget()&&i.widget instanceof YEe&&r.push(i.dom);n.updateGaps(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(JCe)&&(this.editContextFormatting=e.value)}updateSelection(e=!1,t=!1){!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let{dom:n}=this.tile,r=this.view.root.activeElement,i=r==n,o=!i&&!(this.view.state.facet(tEe)||n.tabIndex>-1)&&J_e(n,this.view.observer.selectionRange)&&!(r&&n.contains(r));if(!(i||t||o))return;let a=this.forceSelection;this.forceSelection=!1;let s,l,c=this.view.state.selection.main;if(c.empty?l=s=this.inlineDOMNearPos(c.anchor,c.assoc||1):(l=this.inlineDOMNearPos(c.head,c.head==c.from?1:-1),s=this.inlineDOMNearPos(c.anchor,c.anchor==c.from?1:-1)),U_e.gecko&&c.empty&&!this.hasComposition&&(1==(u=s).node.nodeType&&u.node.firstChild&&(0==u.offset||"false"==u.node.childNodes[u.offset-1].contentEditable)&&(u.offset==u.node.childNodes.length||"false"==u.node.childNodes[u.offset].contentEditable))){let e=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null)),s=l=new vCe(e,0),a=!0}var u;let O=this.view.observer.selectionRange;!a&&O.focusNode&&(tCe(s.node,s.offset,O.anchorNode,O.anchorOffset)&&tCe(l.node,l.offset,O.focusNode,O.focusOffset)||this.suppressWidgetCursorChange(O,c))||(this.view.observer.ignore(()=>{U_e.android&&U_e.chrome&&n.contains(O.focusNode)&&function(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}(O.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let e=H_e(this.view.root);if(e)if(c.empty){if(U_e.gecko){let e=(t=s.node,i=s.offset,1!=t.nodeType?0:(i&&"false"==t.childNodes[i-1].contentEditable?1:0)|(i<t.childNodes.length&&"false"==t.childNodes[i].contentEditable?2:0));if(e&&3!=e){let t=(1==e?mCe:gCe)(s.node,s.offset);t&&(s=new vCe(t.node,t.offset))}}e.collapse(s.node,s.offset),null!=c.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=c.bidiLevel)}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(l.node,l.offset)}catch($vt){}}else{let t=document.createRange();c.anchor>c.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}else;var t,i;o&&this.view.root.activeElement==n&&(n.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(s,l)),this.impreciseAnchor=s.precise?null:new vCe(O.anchorNode,O.anchorOffset),this.impreciseHead=l.precise?null:new vCe(O.focusNode,O.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&tCe(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=H_e(e.root),{anchorNode:r,anchorOffset:i}=e.observer.selectionRange;if(!(n&&t.empty&&t.assoc&&n.modify))return;let o=this.lineAt(t.head,t.assoc);if(!o)return;let a=o.posAtStart;if(t.head==a||t.head==a+o.length)return;let s=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1);if(!s||!l||s.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc,t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,i)}posFromDOM(e,t){let n=this.tile.nearest(e);if(!n)return 2&this.tile.dom.compareDocumentPosition(e)?0:this.view.state.doc.length;let r=n.posAtStart;if(!n.isComposite())return n.isText()?e==n.dom?r+t:r+(t?n.length:0):r;{let i;if(e==n.dom)i=n.dom.childNodes[t];else{let r=0==oCe(e)?0:0==t?-1:1;for(;;){let t=e.parentNode;if(t==n.dom)break;0==r&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}i=r<0?e:e.nextSibling}if(i==n.dom.firstChild)return r;for(;i&&!yEe.get(i);)i=i.nextSibling;if(!i)return r+n.length;for(let e=0,t=r;;e++){let r=n.children[e];if(r.dom==i)return t;t+=r.length+r.breakAfter}}}domAtPos(e,t){let{tile:n,offset:r}=this.tile.resolveBlock(e,t);return n.isWidget()?n.domPosFor(e,t):n.domIn(r,t)}inlineDOMNearPos(e,t){let n,r,i=-1,o=!1,a=-1,s=!1;return this.tile.blockTiles((t,l)=>{if(t.isWidget()){if(32&t.flags&&l>=e)return!0;16&t.flags&&(o=!0)}else{let c=l+t.length;if(l<=e&&(n=t,i=e-l,o=c<e),c>=e&&!r&&(r=t,a=e-l,s=l>e),l>e&&r)return!0}}),n||r?(o&&r?n=null:s&&n&&(r=null),n&&t<0||!r?n.domIn(i,t):r.domIn(a,t)):this.domAtPos(e,t)}coordsAt(e,t){let{tile:n,offset:r}=this.tile.resolveBlock(e,t);return n.isWidget()?n.widget instanceof YEe?null:n.coordsInWidget(r,t,!0):n.coordsIn(r,t)}lineAt(e,t){let{tile:n}=this.tile.resolveBlock(e,t);return n.isLine()?n:null}coordsForChar(e){let{tile:t,offset:n}=this.tile.resolveBlock(e,1);if(!t.isLine())return null;return function e(t,n){if(t.isComposite())for(let r of t.children){if(r.length>=n){let t=e(r,n);if(t)return t}if((n-=r.length)<0)break}else if(t.isText()&&n<t.length){let e=qPe(t.text,n);if(e==n)return null;let r=fCe(t.dom,n,e).getClientRects();for(let t=0;t<r.length;t++){let e=r[t];if(t==r.length-1||e.top<e.bottom&&e.left<e.right)return e}}return null}(t,n)}measureVisibleLineHeights(e){let t=[],{from:n,to:r}=e,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,s=this.view.textDirection==yCe.LTR,l=0,c=(e,u,O)=>{for(let d=0;d<e.children.length&&!(u>r);d++){let r=e.children[d],h=u+r.length,f=r.dom.getBoundingClientRect(),{height:p}=f;if(O&&!d&&(l+=f.top-O.top),r instanceof $Ee)h>n&&c(r,u,f);else if(u>=n&&(l>0&&t.push(-l),t.push(p+l),l=0,o)){let e=r.dom.lastChild,t=e?eCe(e):[];if(t.length){let e=t[t.length-1],n=s?e.right-f.left:f.right-e.left;n>a&&(a=n,this.minWidth=i,this.minWidthFrom=u,this.minWidthTo=h)}}O&&d==e.children.length-1&&(l+=O.bottom-f.bottom),u=h+r.breakAfter}};return c(this.tile,0,null),t}textDirectionAt(e){let{tile:t}=this.tile.resolveBlock(e,1);return"rtl"==getComputedStyle(t.dom).direction?yCe.RTL:yCe.LTR}measureTextSize(){let e=this.tile.blockTiles(e=>{if(e.isLine()&&e.children.length&&e.length<=20){let t,n=0;for(let r of e.children){if(!r.isText()||/[^ -~]/.test(r.text))return;let e=eCe(r.dom);if(1!=e.length)return;n+=e[0].width,t=e[0].height}if(n)return{lineHeight:e.dom.getBoundingClientRect().height,charWidth:n/e.length,textHeight:t}}});if(e)return e;let t,n,r,i=document.createElement("div");return i.className="cm-line",i.style.width="99999px",i.style.position="absolute",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(i);let e=eCe(i.firstChild)[0];t=i.getBoundingClientRect().height,n=e&&e.width?e.width/27:7,r=e&&e.height?e.height:t,i.remove()}),{lineHeight:t,charWidth:n,textHeight:r}}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let i=r==t.viewports.length?null:t.viewports[r],o=i?i.from-1:this.view.state.doc.length;if(o>n){let r=(t.lineBlockAt(o).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(q_e.replace({widget:new YEe(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!i)break;n=i.to+1}return q_e.set(e)}updateDeco(){let e=1,t=this.view.state.facet(lEe).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),n=!1,r=this.view.state.facet(uEe).map((e,t)=>{let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e});for(r.length&&(this.dynamicDecorationMap[e++]=n,t.push(r_e.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;this.blockWrappers=this.view.state.facet(cEe).map(e=>"function"==typeof e?e(this.view):e)}scrollIntoView(e){var t;if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);return this.view.scrollDOM.scrollTop=t.top-e.yMargin,void(this.view.scrollDOM.scrollLeft=e.xMargin)}for(let c of this.view.state.facet(GCe))try{if(c(this.view,e.range,e))return!0}catch(sy){eEe(this.view.state,sy,"scroll handler")}let n,{range:r}=e,i=this.coordsAt(r.head,null!==(t=r.assoc)&&void 0!==t?t:r.empty?0:r.head>r.anchor?-1:1);if(!i)return;!r.empty&&(n=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(i={left:Math.min(i.left,n.left),top:Math.min(i.top,n.top),right:Math.max(i.right,n.right),bottom:Math.max(i.bottom,n.bottom)});let o=pEe(this.view),a={left:i.left-o.left,top:i.top-o.top,right:i.right+o.right,bottom:i.bottom+o.bottom},{offsetWidth:s,offsetHeight:l}=this.view.scrollDOM;if(function(e,t,n,r,i,o,a,s){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,O=!1;u&&!O;)if(1==u.nodeType){let e,d=u==l.body,h=1,f=1;if(d)e=sCe(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(O=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect();({scaleX:h,scaleY:f}=lCe(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,top:t.top,bottom:t.top+u.clientHeight*f}}let p=0,A=0;if("nearest"==i)t.top<e.top+a?(A=t.top-(e.top+a),n>0&&t.bottom>e.bottom+A&&(A=t.bottom-e.bottom+a)):t.bottom>e.bottom-a&&(A=t.bottom-e.bottom+a,n<0&&t.top-A<e.top&&(A=t.top-(e.top+a)));else{let r=t.bottom-t.top,o=e.bottom-e.top;A=("center"==i&&r<=o?t.top+r/2-o/2:"start"==i||"center"==i&&n<0?t.top-a:t.bottom-o+a)-e.top}if("nearest"==r?t.left<e.left+o?(p=t.left-(e.left+o),n>0&&t.right>e.right+p&&(p=t.right-e.right+o)):t.right>e.right-o&&(p=t.right-e.right+o,n<0&&t.left<e.left+p&&(p=t.left-(e.left+o))):p=("center"==r?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==r==s?t.left-o:t.right-(e.right-e.left)+o)-e.left,p||A)if(d)c.scrollBy(p,A);else{let e=0,n=0;if(A){let e=u.scrollTop;u.scrollTop+=A/f,n=(u.scrollTop-e)*f}if(p){let t=u.scrollLeft;u.scrollLeft+=p/h,e=(u.scrollLeft-t)*h}t={left:t.left-e,top:t.top-n,right:t.right-e,bottom:t.bottom-n},e&&Math.abs(e-p)<1&&(r="nearest"),n&&Math.abs(n-A)<1&&(i="nearest")}if(d)break;(t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)&&(t={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)}),u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}}(this.view.scrollDOM,a,r.head<r.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,s),-s),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==yCe.LTR),window.visualViewport&&window.innerHeight-window.visualViewport.height>1&&(i.top>window.pageYOffset+window.visualViewport.offsetTop+window.visualViewport.height||i.bottom<window.pageYOffset+window.visualViewport.offsetTop)){let e=this.view.docView.lineAt(r.head,1);e&&e.dom.scrollIntoView({block:"nearest"})}}lineHasWidget(e){let t=e=>e.isWidget()||e.children.some(t);return t(this.tile.resolveBlock(e,1).tile)}destroy(){qEe(this.tile)}}function qEe(e,t){let n=null==t?void 0:t.get(e);if(1!=n){null==n&&e.destroy();for(let n of e.children)qEe(n,t)}}function FEe(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let r=mCe(n.focusNode,n.focusOffset),i=gCe(n.focusNode,n.focusOffset),o=r||i;if(i&&r&&i.node!=r.node){let t=yEe.get(i.node);if(!t||t.isText()&&t.text!=i.node.nodeValue)o=i;else if(e.docView.lastCompositionAfterCursor){let e=yEe.get(r.node);!e||e.isText()&&e.text!=r.node.nodeValue||(o=i)}}if(e.docView.lastCompositionAfterCursor=o!=r,!o)return null;let a=t-o.offset;return{from:a,to:a+o.node.nodeValue.length,node:o.node}}let WEe=class{constructor(){this.changes=[]}compareRange(e,t){j_e(e,t,this.changes)}comparePoint(e,t){j_e(e,t,this.changes)}boundChange(e){j_e(e,e,this.changes)}};class ZEe{constructor(){this.changes=[]}compareRange(e,t){j_e(e,t,this.changes)}comparePoint(){}boundChange(e){j_e(e,e,this.changes)}}class YEe extends L_e{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function jEe(e,t,n){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){let e;for(let i of r.type){if(i.from>t)break;if(!(i.to<t)){if(i.from<t&&i.to>t)return i;e&&(i.type!=V_e.Text||e.type==i.type&&!(n<0?i.from<t:i.to>t))||(e=i)}}return e||r}return r}function GEe(e,t,n,r){let i=e.state.doc.lineAt(t.head),o=e.bidiSpans(i),a=e.textDirectionAt(i.from);for(let s=t,l=null;;){let t=DCe(i,o,a,s,n),c=UCe;if(!t){if(i.number==(n?e.state.doc.lines:1))return s;c="\n",i=e.state.doc.line(i.number+(n?1:-1)),o=e.bidiSpans(i),t=e.visualLineSide(i,!n)}if(l){if(!l(c))return s}else{if(!r)return t;l=r(c)}s=t}}function HEe(e,t,n){for(;;){let r=0;for(let i of e)i.between(t-1,t+1,(e,i,o)=>{if(t>e&&t<i){let o=r||n||(t-e<i-t?-1:1);t=o<0?e:i,r=o}});if(!r)return t}}function KEe(e,t){let n=null;for(let r=0;r<t.ranges.length;r++){let i=t.ranges[r],o=null;if(i.empty){let t=HEe(e,i.from,0);t!=i.from&&(o=oTe.cursor(t,-1))}else{let t=HEe(e,i.from,-1),n=HEe(e,i.to,1);t==i.from&&n==i.to||(o=oTe.range(i.from==i.anchor?t:n,i.from==i.head?t:n))}o&&(n||(n=t.ranges.slice()),n[r]=o)}return n?oTe.create(n,t.mainIndex):t}function JEe(e,t,n){let r=HEe(e.state.facet(OEe).map(t=>t(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:oTe.cursor(r,r<n.from?1:-1)}class eRe{constructor(e,t){this.pos=e,this.assoc=t}}function tRe(e,t,n,r){let i,o=e.contentDOM.getBoundingClientRect(),a=o.top+e.viewState.paddingTop,{x:s,y:l}=t,c=l-a;for(;;){if(c<0)return new eRe(0,1);if(c>e.viewState.docHeight)return new eRe(e.state.doc.length,-1);if(i=e.elementAtHeight(c),null==r)break;if(i.type==V_e.Text){if(r<0?i.to<e.viewport.from:i.from>e.viewport.to)break;let t=e.docView.coordsAt(r<0?i.from:i.to,r>0?-1:1);if(t&&(r<0?t.top<=c+a:t.bottom>=c+a))break}let t=e.viewState.heightOracle.textHeight/2;c=r>0?i.bottom+t:i.top-t}if(e.viewport.from>=i.to||e.viewport.to<=i.from){if(n)return null;if(i.type==V_e.Text){let t=function(e,t,n,r,i){let o=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;o+=Math.floor((i-n.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength}let a=e.state.sliceDoc(n.from,n.to);return n.from+A_e(a,o,e.state.tabSize)}(e,o,i,s,l);return new eRe(t,t==i.from?1:-1)}}if(i.type!=V_e.Text)return c<(i.top+i.bottom)/2?new eRe(i.from,1):new eRe(i.to,-1);let u=e.docView.lineAt(i.from,2);return u&&u.length==i.length||(u=e.docView.lineAt(i.from,-2)),new nRe(e,s,l,e.textDirectionAt(i.from)).scanTile(u,i.from)}class nRe{constructor(e,t,n,r){this.view=e,this.x=t,this.y=n,this.baseDir=r,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to<e)&&(this.line=this.view.state.doc.lineAt(e),this.spans=this.view.bidiSpans(this.line)),this}baseDirAt(e,t){let{line:n,spans:r}=this.bidiSpansAt(e);return r[_Ce.find(r,e-n.from,-1,t)].level==this.baseDir}dirAt(e,t){let{line:n,spans:r}=this.bidiSpansAt(e);return r[_Ce.find(r,e-n.from,-1,t)].dir}bidiIn(e,t){let{spans:n,line:r}=this.bidiSpansAt(e);return n.length>1||n.length&&(n[0].level!=this.baseDir||n[0].to+r.from<t)}scan(e,t,n=!1){let r,i,o,a=0,s=e.length-1,l=new Set,c=this.bidiIn(e[0],e[s]),u=-1,O=1e9;e:for(;a<s;){let n=s-a,d=a+s>>1;t:if(l.has(d)){let e=a+Math.floor(Math.random()*n);for(let t=0;t<n;t++){if(!l.has(e)){d=e;break t}e++,e==s&&(e=a)}break e}l.add(d);let h=t(d);if(h)for(let t=0;t<h.length;t++){let n=h[t],l=0;if(!(0==n.width&&h.length>1)){if(n.bottom<this.y)(!r||r.bottom<n.bottom)&&(r=n),l=1;else if(n.top>this.y)(!i||i.top>n.top)&&(i=n),l=-1;else{let e=n.left>this.x?this.x-n.left:n.right<this.x?this.x-n.right:0,t=Math.abs(e);t<O&&(u=d,O=t,o=n),e&&(l=e<0==(this.baseDir==yCe.LTR)?-1:1)}-1!=l||c&&!this.baseDirAt(e[d],1)?1!=l||c&&!this.baseDirAt(e[d+1],-1)||(a=d+1):s=d}}}if(!o){if(!i&&!r)return{i:e[0],after:!1};let n=r&&(!i||this.y-r.bottom<i.top-this.y)?r:i;return this.y=(n.top+n.bottom)/2,this.scan(e,t,!0)}if(O&&!n){let{top:n,bottom:a}=o;if(r&&r.bottom>(n+n+a)/3)return this.y=r.bottom-1,this.scan(e,t,!0);if(i&&i.top<(n+a+a)/3)return this.y=i.top+1,this.scan(e,t,!0)}let d=(c?this.dirAt(e[u],1):this.baseDir)==yCe.LTR;return{i:u,after:this.x>(o.left+o.right)/2==d}}scanText(e,t){let n=[];for(let i=0;i<e.length;i=qPe(e.text,i))n.push(t+i);n.push(t+e.length);let r=this.scan(n,r=>{let i=n[r]-t,o=n[r+1]-t;return fCe(e.dom,i,o).getClientRects()});return r.after?new eRe(n[r.i+1],-1):new eRe(n[r.i],1)}scanTile(e,t){if(!e.length)return new eRe(t,1);if(1==e.children.length){let n=e.children[0];if(n.isText())return this.scanText(n,t);if(n.isComposite())return this.scanTile(n,t)}let n=[t];for(let a=0,s=t;a<e.children.length;a++)n.push(s+=e.children[a].length);let r=this.scan(n,t=>{let n=e.children[t];return 48&n.flags?null:(1==n.dom.nodeType?n.dom:fCe(n.dom,0,n.length)).getClientRects()}),i=e.children[r.i],o=n[r.i];return i.isText()?this.scanText(i,o):i.isComposite()?this.scanTile(i,o):r.after?new eRe(n[r.i+1],-1):new eRe(o,1)}}const rRe="￿";class iRe{constructor(e,t){this.points=e,this.view=t,this.text="",this.lineSeparator=t.state.facet(GTe.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=rRe}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let e=this.text.length;this.readNode(r);let i=yEe.get(r),o=r.nextSibling;if(o==t){(null==i?void 0:i.breakAfter)&&!o&&n!=this.view.contentDOM&&this.lineBreak();break}let a=yEe.get(o);(i&&a?i.breakAfter:(i?i.breakAfter:rCe(r))||rCe(o)&&("BR"!=r.nodeName||(null==i?void 0:i.isWidget()))&&this.text.length>e)&&!aRe(o,t)&&this.lineBreak(),r=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let i,o=-1,a=1;if(this.lineSeparator?(o=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(i=r.exec(t))&&(o=i.index,a=i[0].length),this.append(t.slice(n,o<0?t.length:o)),o<0)break;if(this.lineBreak(),a>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=a-1);n=o+a}}readNode(e){let t=yEe.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(oRe(e,n.node,n.offset)?t:0))}}function oRe(e,t,n){for(;;){if(!t||n<oCe(t))return!1;if(t==e)return!0;n=nCe(t)+1,t=t.parentNode}}function aRe(e,t){let n;for(;e!=t&&e;e=e.nextSibling){let t=yEe.get(e);if(!(null==t?void 0:t.isWidget()))return!1;t&&(n||(n=[])).push(t)}if(n)for(let r of n){let e=r.overrideDOMText;if(null==e?void 0:e.length)return!1}return!0}class sRe{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class lRe{constructor(e,t,n,r){this.typeOver=r,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:i,impreciseAnchor:o}=e.docView,a=e.state.selection;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=cRe(e.docView.tile,t,n,0))){let t=i||o?[]:function(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}=e.observer.selectionRange;n&&(t.push(new sRe(n,r)),i==n&&o==r||t.push(new sRe(i,o)));return t}(e),n=new iRe(t,e);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=function(e,t){if(0==e.length)return null;let n=e[0].pos,r=2==e.length?e[1].pos:n;return n>-1&&r>-1?oTe.single(n+t,r+t):null}(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=i&&i.node==t.focusNode&&i.offset==t.focusOffset||!K_e(e.contentDOM,t.focusNode)?a.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=o&&o.node==t.anchorNode&&o.offset==t.anchorOffset||!K_e(e.contentDOM,t.anchorNode)?a.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),s=e.viewport;if((U_e.ios||U_e.chrome)&&a.main.empty&&n!=r&&(s.from>0||s.to<e.state.doc.length)){let t=Math.min(n,r),i=Math.max(n,r),o=s.from-t,a=s.to-i;0!=o&&1!=o&&0!=t||0!=a&&-1!=a&&i!=e.state.doc.length||(n=0,r=e.state.doc.length)}if(e.inputState.composing>-1&&a.ranges.length>1)this.newSel=a.replaceRange(oTe.range(r,n));else if(e.lineWrapping&&r==n&&(!a.main.empty||a.main.head!=n)&&e.inputState.lastTouchTime>Date.now()-100){let t=e.coordsAtPos(n,-1),r=0;t&&(r=e.inputState.lastTouchY<=t.bottom?-1:1),this.newSel=oTe.create([oTe.cursor(n,r)])}else this.newSel=oTe.single(r,n)}}}function cRe(e,t,n,r){if(e.isComposite()){let i=-1,o=-1,a=-1,s=-1;for(let l=0,c=r,u=r;l<e.children.length;l++){let r=e.children[l],O=c+r.length;if(c<t&&O>n)return cRe(r,t,n,c);if(O>=t&&-1==i&&(i=l,o=c),c>n&&r.dom.parentNode==e.dom){a=l,s=u;break}u=O,c=O+r.breakAfter}return{from:o,to:s<0?r+e.length:s,startDOM:(i?e.children[i-1].dom.nextSibling:null)||e.dom.firstChild,endDOM:a<e.children.length&&a>=0?e.children[a].dom:null}}return e.isText()?{from:r,to:r+e.length,startDOM:e.dom,endDOM:e.dom.nextSibling}:null}function uRe(e,t){let n,{newSel:r}=t,{state:i}=e,o=i.selection.main,a=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:e,to:r}=t.bounds,s=o.from,l=null;(8===a||U_e.android&&t.text.length<r-e)&&(s=o.to,l="end");let c,u,O=i.doc.sliceString(e,r,rRe);!o.empty&&o.from>=e&&o.to<=r&&(t.typeOver||O!=t.text)&&O.slice(0,o.from-e)==t.text.slice(0,o.from-e)&&O.slice(o.to-e)==t.text.slice(c=t.text.length-(O.length-(o.to-e)))?n={from:o.from,to:o.to,insert:XPe.of(t.text.slice(o.from-e,c).split(rRe))}:(u=dRe(O,t.text,s-e,l))&&(U_e.chrome&&13==a&&u.toB==u.from+2&&t.text.slice(u.from,u.toB)==rRe+rRe&&u.toB--,n={from:e+u.from,to:e+u.toA,insert:XPe.of(t.text.slice(u.from,u.toB).split(rRe))})}else r&&(!e.hasFocus&&i.facet(tEe)||hRe(r,o))&&(r=null);if(!n&&!r)return!1;if((U_e.mac||U_e.android)&&n&&n.from==n.to&&n.from==o.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=oTe.single(r.main.anchor-1,r.main.head-1)),n={from:n.from,to:n.to,insert:XPe.of([n.insert.toString().replace("."," ")])}):i.doc.lineAt(o.from).to<o.to&&e.docView.lineHasWidget(o.to)&&e.inputState.insertingTextAt>Date.now()-50?n={from:o.from,to:o.to,insert:i.toText(e.inputState.insertingText)}:U_e.chrome&&n&&n.from==n.to&&n.from==o.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=oTe.single(r.main.anchor-1,r.main.head-1)),n={from:o.from,to:o.to,insert:XPe.of([" "])}),n)return ORe(e,n,r,a);if(r&&!hRe(r,o)){let t=!1,n="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),n=e.inputState.lastSelectionOrigin,"select.pointer"==n&&(r=KEe(i.facet(OEe).map(t=>t(e)),r))),e.dispatch({selection:r,scrollIntoView:t,userEvent:n}),!0}return!1}function ORe(e,t,n,r=-1){if(U_e.ios&&e.inputState.flushIOSKey(t))return!0;let i=e.state.selection.main;if(U_e.android&&(t.to==i.to&&(t.from==i.from||t.from==i.from-1&&" "==e.state.sliceDoc(t.from,i.from))&&1==t.insert.length&&2==t.insert.lines&&pCe(e.contentDOM,"Enter",13)||(t.from==i.from-1&&t.to==i.to&&0==t.insert.length||8==r&&t.insert.length<t.to-t.from&&t.to>i.head)&&pCe(e.contentDOM,"Backspace",8)||t.from==i.from&&t.to==i.to+1&&0==t.insert.length&&pCe(e.contentDOM,"Delete",46)))return!0;let o,a=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let s=()=>o||(o=function(e,t,n){let r,i=e.state,o=i.selection.main,a=-1;if(t.from==t.to&&t.from<o.from||t.from>o.to){let n=t.from<o.from?-1:1,r=n<0?o.from:o.to,s=HEe(i.facet(OEe).map(t=>t(e)),r,n);t.from==s&&(a=s)}if(a>-1)r={changes:t,selection:oTe.cursor(t.from+t.insert.length,-1)};else if(t.from>=o.from&&t.to<=o.to&&t.to-t.from>=(o.to-o.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=o.from<t.from?i.sliceDoc(o.from,t.from):"",a=o.to>t.to?i.sliceDoc(t.to,o.to):"";r=i.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+a))}else{let a=i.changes(t),s=n&&n.main.to<=a.newLength?n.main:void 0;if(i.selection.ranges.length>1&&(e.inputState.composing>=0||e.inputState.compositionPendingChange)&&t.to<=o.to+10&&t.to>=o.to-10){let l,c=e.state.sliceDoc(t.from,t.to),u=n&&FEe(e,n.main.head);if(u){let e=t.insert.length-(t.to-t.from);l={from:u.from,to:u.to-e}}else l=e.state.doc.lineAt(o.head);let O=o.to-t.to;r=i.changeByRange(n=>{if(n.from==o.from&&n.to==o.to)return{changes:a,range:s||n.map(a)};let r=n.to-O,u=r-c.length;if(e.state.sliceDoc(u,r)!=c||r>=l.from&&u<=l.to)return{range:n};let d=i.changes({from:u,to:r,insert:t.insert}),h=n.to-o.to;return{changes:d,range:s?oTe.range(Math.max(0,s.anchor+h),Math.max(0,s.head+h)):n.map(d)}})}else r={changes:a,selection:s&&i.selection.replaceRange(s)}}let s="input.type";(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,s+=".compose",e.inputState.compositionFirstChange&&(s+=".start",e.inputState.compositionFirstChange=!1));return i.update(r,{userEvent:s,scrollIntoView:!0})}(e,t,n));return e.state.facet(qCe).some(n=>n(e,t.from,t.to,a,s))||e.dispatch(s()),!0}function dRe(e,t,n,r){let i=Math.min(e.length,t.length),o=0;for(;o<i&&e.charCodeAt(o)==t.charCodeAt(o);)o++;if(o==i&&e.length==t.length)return null;let a=e.length,s=t.length;for(;a>0&&s>0&&e.charCodeAt(a-1)==t.charCodeAt(s-1);)a--,s--;if("end"==r){n-=a+Math.max(0,o-Math.min(a,s))-o}if(a<o&&e.length<t.length){o-=n<=o&&n>=a?o-n:0,s=o+(s-a),a=o}else if(s<o){o-=n<=o&&n>=s?o-n:0,a=o+(a-s),s=o}return{from:o,toA:a,toB:s}}function hRe(e,t){return t.head==e.main.head&&t.anchor==e.main.anchor}class fRe{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){var t;this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,U_e.safari&&e.contentDOM.addEventListener("input",()=>null),U_e.gecko&&(t=e.contentDOM.ownerDocument,DRe.has(t)||(DRe.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{})))}handleEvent(e){(function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=yEe.get(r))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(t))return!1;return!0})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||(0!=this.view.updateState?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e)))}runHandlers(e,t){let n=this.handlers[e];if(n){for(let e of n.observers)e(this.view,t);for(let e of n.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=function(e){let t=Object.create(null);function n(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let r of e){let e=r.spec,t=e&&e.plugin.domEventHandlers,i=e&&e.plugin.domEventObservers;if(t)for(let o in t){let e=t[o];e&&n(o).handlers.push(pRe(r.value,e))}if(i)for(let o in i){let e=i[o];e&&n(o).observers.push(pRe(r.value,e))}}for(let r in bRe)n(r).handlers.push(bRe[r]);for(let r in wRe)n(r).observers.push(wRe[r]);return t}(e),n=this.handlers,r=this.view.contentDOM;for(let i in t)if("scroll"!=i){let e=!t[i].handlers.length,o=n[i];o&&e!=!o.handlers.length&&(r.removeEventListener(i,this.handleEvent),o=null),o||r.addEventListener(i,this.handleEvent,{passive:e})}for(let i in n)"scroll"==i||t[i]||r.removeEventListener(i,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=e.keyCode&&gRe.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),U_e.android&&U_e.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return!U_e.ios||e.synthetic||e.altKey||e.metaKey||e.shiftKey||!((t=ARe.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||mRe.indexOf(e.key)>-1&&e.ctrlKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),!1):(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0)}flushIOSKey(e){let t=this.pendingIOSKey;return!!t&&(!("Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,pCe(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0)))}ignoreDuringComposition(e){return!(!/^key/.test(e.type)||e.synthetic)&&(this.composing>0||!!(U_e.safari&&!U_e.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function pRe(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(sy){eEe(n.state,sy)}}}const ARe=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],mRe="dthko",gRe=[16,17,18,20,91,92,224,225];function vRe(e){return.7*Math.max(0,e)+8}class yRe{constructor(e,t,n,r){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=cCe(e.contentDOM),this.atoms=e.state.facet(OEe).map(t=>t(e));let i=e.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(GTe.allowMultipleSelections)&&function(e,t){let n=e.state.facet(zCe);return n.length?n[0](t):U_e.mac?t.metaKey:t.ctrlKey}(e,t),this.dragging=!(!function(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=H_e(e.root);if(!r||0==r.rangeCount)return!0;let i=r.getRangeAt(0).getClientRects();for(let o=0;o<i.length;o++){let e=i[o];if(e.left<=t.clientX&&e.right>=t.clientX&&e.top<=t.clientY&&e.bottom>=t.clientY)return!0}return!1}(e,t)||1!=CRe(t))&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&(t=this.startEvent,n=e,Math.max(Math.abs(t.clientX-n.clientX),Math.abs(t.clientY-n.clientY))<10))return;var t,n;this.select(this.lastEvent=e);let r=0,i=0,o=0,a=0,s=this.view.win.innerWidth,l=this.view.win.innerHeight;this.scrollParents.x&&({left:o,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:a,bottom:l}=this.scrollParents.y.getBoundingClientRect());let c=pEe(this.view);e.clientX-c.left<=o+6?r=-vRe(o-e.clientX):e.clientX+c.right>=s-6&&(r=vRe(e.clientX-s)),e.clientY-c.top<=a+6?i=-vRe(a-e.clientY):e.clientY+c.bottom>=l-6&&(i=vRe(e.clientY-l)),this.setScrollSpeed(r,i)}up(e){null==this.dragging&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),!1===this.dragging&&this.select(this.lastEvent)}select(e){let{view:t}=this,n=KEe(this.atoms,this.style.get(e,this.extend,this.multiple));!this.mustSelect&&n.eq(t.state.selection,!1===this.dragging)||this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(e=>e.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}const bRe=Object.create(null),wRe=Object.create(null),QRe=U_e.ie&&U_e.ie_version<15||U_e.ios&&U_e.webkit_version<604;function $Re(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function SRe(e,t){t=$Re(e.state,WCe,t);let n,{state:r}=e,i=1,o=r.toText(t),a=o.lines==r.selection.ranges.length;if(null!=RRe&&r.selection.ranges.every(e=>e.empty)&&RRe==o.toString()){let e=-1;n=r.changeByRange(n=>{let s=r.doc.lineAt(n.from);if(s.from==e)return{range:n};e=s.from;let l=r.toText((a?o.line(i++).text:t)+r.lineBreak);return{changes:{from:s.from,insert:l},range:oTe.cursor(n.from+l.length)}})}else n=a?r.changeByRange(e=>{let t=o.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:oTe.cursor(e.from+t.length)}}):r.replaceSelection(o);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}function xRe(e,t,n,r){if(1==r)return oTe.cursor(t,n);if(2==r)return function(e,t,n=1){let r=e.charCategorizer(t),i=e.doc.lineAt(t),o=t-i.from;if(0==i.length)return oTe.cursor(t);0==o?n=1:o==i.length&&(n=-1);let a=o,s=o;n<0?a=qPe(i.text,o,!1):s=qPe(i.text,o);let l=r(i.text.slice(a,s));for(;a>0;){let e=qPe(i.text,a,!1);if(r(i.text.slice(e,a))!=l)break;a=e}for(;s<i.length;){let e=qPe(i.text,s);if(r(i.text.slice(s,e))!=l)break;s=e}return oTe.range(a+i.from,s+i.from)}(e.state,t,n);{let r=e.docView.lineAt(t,n),i=e.state.doc.lineAt(r?r.posAtEnd:t),o=r?r.posAtStart:i.from,a=r?r.posAtEnd:i.to;return a<e.state.doc.length&&a==i.to&&a++,oTe.range(o,a)}}wRe.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},wRe.wheel=wRe.mousewheel=e=>{e.inputState.lastWheelEvent=Date.now()},bRe.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),wRe.touchstart=(e,t)=>{let n=e.inputState,r=t.targetTouches[0];n.lastTouchTime=Date.now(),r&&(n.lastTouchX=r.clientX,n.lastTouchY=r.clientY),n.setSelectionOrigin("select.pointer")},wRe.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},bRe.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(MCe))if(n=r(e,t),n)break;if(n||0!=t.button||(n=function(e,t){let n=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),r=CRe(t),i=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get(t,o,a){let s,l=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),c=xRe(e,l.pos,l.assoc,r);if(n.pos!=l.pos&&!o){let t=xRe(e,n.pos,n.assoc,r),i=Math.min(t.from,c.from),o=Math.max(t.to,c.to);c=i<c.from?oTe.range(i,o,c.assoc):oTe.range(o,i,c.assoc)}return o?i.replaceRange(i.main.extend(c.from,c.to,c.assoc)):a&&1==r&&i.ranges.length>1&&(s=function(e,t){for(let n=0;n<e.ranges.length;n++){let{from:r,to:i}=e.ranges[n];if(r<=t&&i>=t)return oTe.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}(i,l.pos))?s:a?i.addRange(c):oTe.create([c])}}}(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new yRe(e,t,n,r)),r&&e.observer.ignore(()=>{hCe(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let i=e.inputState.mouseSelection;if(i)return i.start(t),!1===i.dragging}else e.inputState.setSelectionOrigin("select.pointer");return!1};const kRe=U_e.ie&&U_e.ie_version<=11;let PRe=null,TRe=0,_Re=0;function CRe(e){if(!kRe)return e.detail;let t=PRe,n=_Re;return PRe=e,_Re=Date.now(),TRe=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(TRe+1)%3:1}function ERe(e,t,n,r){if(!(n=$Re(e.state,WCe,n)))return;let i=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:o}=e.inputState,a=r&&o&&function(e,t){let n=e.state.facet(NCe);return n.length?n[0](t):U_e.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:o.from,to:o.to}:null,s={from:i,insert:n},l=e.state.changes(a?[a,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),e.inputState.draggedContent=null}bRe.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let r=e.docView.tile.nearest(t.target);if(r&&r.isWidget()){let e=r.posAtStart,t=e+r.length;(e>=n.to||t<=n.from)&&(n=oTe.range(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",$Re(e.state,ZCe,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1},bRe.dragend=e=>(e.inputState.draggedContent=null,!1),bRe.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,o=()=>{++i==n.length&&ERe(e,t,r.filter(e=>null!=e).join(e.state.lineBreak),!1)};for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=o,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),o()},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text");if(n)return ERe(e,t,n,!0),!0}return!1},bRe.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=QRe?null:t.clipboardData;return n?(SRe(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(function(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),SRe(e,n.value)},50)}(e),!1)};let RRe=null;bRe.copy=bRe.cut=(e,t)=>{if(!J_e(e.contentDOM,e.observer.selectionRange))return!1;let{text:n,ranges:r,linewise:i}=function(e){let t=[],n=[],r=!1;for(let i of e.selection.ranges)i.empty||(t.push(e.sliceDoc(i.from,i.to)),n.push(i));if(!t.length){let i=-1;for(let{from:r}of e.selection.ranges){let o=e.doc.lineAt(r);o.number>i&&(t.push(o.text),n.push({from:o.from,to:Math.min(e.doc.length,o.to+1)})),i=o.number}r=!0}return{text:$Re(e,ZCe,t.join(e.lineBreak)),ranges:n,linewise:r}}(e.state);if(!n&&!i)return!1;RRe=i?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=QRe?null:t.clipboardData;return o?(o.clearData(),o.setData("text/plain",n),!0):(function(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}(e,n),!1)};const XRe=BTe.define();function BRe(e,t){let n=[];for(let r of e.facet(FCe)){let i=r(e,t);i&&n.push(i)}return n.length?e.update({effects:n,annotations:XRe.of(!0)}):null}function URe(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=BRe(e.state,t);n?e.dispatch(n):e.update([])}},10)}wRe.focus=e=>{e.inputState.lastFocusTime=Date.now(),e.scrollDOM.scrollTop||!e.inputState.lastScrollTop&&!e.inputState.lastScrollLeft||(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),URe(e)},wRe.blur=e=>{e.observer.clearSelectionRange(),URe(e)},wRe.compositionstart=wRe.compositionupdate=e=>{e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},wRe.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,U_e.chrome&&U_e.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},wRe.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},bRe.beforeinput=(e,t)=>{var n,r;if("insertText"!=t.inputType&&"insertCompositionText"!=t.inputType||(e.inputState.insertingText=t.data,e.inputState.insertingTextAt=Date.now()),"insertReplacementText"==t.inputType&&e.observer.editContext){let r=null===(n=t.dataTransfer)||void 0===n?void 0:n.getData("text/plain"),i=t.getTargetRanges();if(r&&i.length){let t=i[0],n=e.posAtDOM(t.startContainer,t.startOffset),o=e.posAtDOM(t.endContainer,t.endOffset);return ORe(e,{from:n,to:o,insert:e.state.toText(r)},null),!0}}let i;if(U_e.chrome&&U_e.android&&(i=ARe.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(i.key,i.keyCode),"Backspace"==i.key||"Delete"==i.key)){let t=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||0;setTimeout(()=>{var n;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return U_e.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),U_e.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>wRe.compositionend(e,t),20),!1};const DRe=new Set;const IRe=["pre-wrap","normal","pre-line","break-spaces"];let zRe=!1;function NRe(){zRe=!1}class MRe{constructor(e){this.lineWrapping=e,this.doc=XPe.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){if(!this.lineWrapping)return this.lineHeight;return(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return IRe.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];r<0?n++:this.heightSamples[Math.floor(10*r)]||(t=!0,this.heightSamples[Math.floor(10*r)]=!0)}return t}refresh(e,t,n,r,i,o){let a=IRe.indexOf(e)>-1,s=Math.abs(t-this.lineHeight)>.3||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=i,s){this.heightSamples={};for(let e=0;e<o.length;e++){let t=o[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class LRe{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class VRe{constructor(e,t,n,r,i){this.from=e,this.length=t,this.top=n,this.height=r,this._content=i}get type(){return"number"==typeof this._content?V_e.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof Z_e?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new VRe(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var qRe=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(qRe||(qRe={}));const FRe=.001;class WRe{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(2&this.flags)>0}set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>FRe&&(zRe=!0),this.height=e)}replace(e,t,n){return WRe.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let i=this,o=n.doc;for(let a=r.length-1;a>=0;a--){let{fromA:s,toA:l,fromB:c,toB:u}=r[a],O=i.lineAt(s,qRe.ByPosNoHeight,n.setDoc(t),0,0),d=O.to>=l?O:i.lineAt(l,qRe.ByPosNoHeight,n,0,0);for(u+=d.to-l,l=d.to;a>0&&O.from<=r[a-1].toA;)s=r[a-1].fromA,c=r[a-1].fromB,a--,s<O.from&&(O=i.lineAt(s,qRe.ByPosNoHeight,n,0,0));c+=O.from-s,s=O.from;let h=eXe.build(n.setDoc(o),e,c,u);i=ZRe(i,i.replace(s,l,h))}return i.updateHeight(n,0)}static empty(){return new GRe(0,0,0)}static of(e){if(1==e.length)return e[0];let t=0,n=e.length,r=0,i=0;for(;;)if(t==n)if(r>2*i){let i=e[t-1];i.break?e.splice(--t,1,i.left,null,i.right):e.splice(--t,1,i.left,i.right),n+=1+i.break,r-=i.size}else{if(!(i>2*r))break;{let t=e[n];t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),n+=2+t.break,i-=t.size}}else if(r<i){let n=e[t++];n&&(r+=n.size)}else{let t=e[--n];t&&(i+=t.size)}let o=0;return null==e[t-1]?(o=1,t--):null==e[t]&&(o=1,n++),new KRe(WRe.of(e.slice(0,t)),o,WRe.of(e.slice(n)))}}function ZRe(e,t){return e==t?e:(e.constructor!=t.constructor&&(zRe=!0),t)}WRe.prototype.size=1;const YRe=q_e.replace({});class jRe extends WRe{constructor(e,t,n){super(e,t),this.deco=n,this.spaceAbove=0}mainBlock(e,t){return new VRe(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(e,t,n,r){return this.spaceAbove&&e<n+this.spaceAbove?new VRe(r,0,n,this.spaceAbove,YRe):this.mainBlock(n,r)}lineAt(e,t,n,r,i){let o=this.mainBlock(r,i);return this.spaceAbove?this.blockAt(0,n,r,i).join(o):o}forEachLine(e,t,n,r,i,o){e<=i+this.length&&t>=i&&o(this.lineAt(0,qRe.ByPos,n,r,i))}setMeasuredHeight(e){let t=e.heights[e.index++];t<0?(this.spaceAbove=-t,t=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(t)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setMeasuredHeight(r),this.outdated=!1,this}toString(){return`block(${this.length})`}}class GRe extends jRe{constructor(e,t,n){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,t){return new VRe(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,t,n){let r=n[0];return 1==n.length&&(r instanceof GRe||r instanceof HRe&&4&r.flags)&&Math.abs(this.length-r.length)<10?(r instanceof HRe?r=new GRe(r.length,this.height,this.spaceAbove):r.height=this.height,this.outdated||(r.outdated=!1),r):WRe.of(n)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setMeasuredHeight(r):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class HRe extends WRe{constructor(e){super(e,0)}heightMetrics(e,t){let n,r=e.doc.lineAt(t).number,i=e.doc.lineAt(t+this.length).number,o=i-r+1,a=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*o);n=t/o,this.length>o+1&&(a=(this.height-t)/(this.length-o-1))}else n=this.height/o;return{firstLine:r,lastLine:i,perLine:n,perChar:a}}blockAt(e,t,n,r){let{firstLine:i,lastLine:o,perLine:a,perChar:s}=this.heightMetrics(t,r);if(t.lineWrapping){let i=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),o=t.doc.lineAt(i),l=a+o.length*s,c=Math.max(n,e-l/2);return new VRe(o.from,o.length,c,l,0)}{let r=Math.max(0,Math.min(o-i,Math.floor((e-n)/a))),{from:s,length:l}=t.doc.line(i+r);return new VRe(s,l,n+a*r,a,0)}}lineAt(e,t,n,r,i){if(t==qRe.ByHeight)return this.blockAt(e,n,r,i);if(t==qRe.ByPosNoHeight){let{from:t,to:r}=n.doc.lineAt(e);return new VRe(t,r-t,0,0,0)}let{firstLine:o,perLine:a,perChar:s}=this.heightMetrics(n,i),l=n.doc.lineAt(e),c=a+l.length*s,u=l.number-o,O=r+a*u+s*(l.from-i-u);return new VRe(l.from,l.length,Math.max(r,Math.min(O,r+this.height-c)),c,0)}forEachLine(e,t,n,r,i,o){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:a,perLine:s,perChar:l}=this.heightMetrics(n,i);for(let c=e,u=r;c<=t;){let t=n.doc.lineAt(c);if(c==e){let n=t.number-a;u+=s*n+l*(e-i-n)}let r=s+l*t.length;o(new VRe(t.from,t.length,u,r,0)),u+=r,c=t.to+1}}replace(e,t,n){let r=this.length-t;if(r>0){let e=n[n.length-1];e instanceof HRe?n[n.length-1]=new HRe(e.length+r):n.push(null,new HRe(r-1))}if(e>0){let t=n[0];t instanceof HRe?n[0]=new HRe(e+t.length):n.unshift(new HRe(e-1),null)}return WRe.of(n)}decomposeLeft(e,t){t.push(new HRe(e-1),null)}decomposeRight(e,t){t.push(null,new HRe(this.length-e-1))}updateHeight(e,t=0,n=!1,r){let i=t+this.length;if(r&&r.from<=t+this.length&&r.more){let n=[],o=Math.max(t,r.from),a=-1;for(r.from>t&&n.push(new HRe(r.from-t-1).updateHeight(e,t));o<=i&&r.more;){let t=e.doc.lineAt(o).length;n.length&&n.push(null);let i=r.heights[r.index++],s=0;i<0&&(s=-i,i=r.heights[r.index++]),-1==a?a=i:Math.abs(i-a)>=FRe&&(a=-2);let l=new GRe(t,i,s);l.outdated=!1,n.push(l),o+=t+1}o<=i&&n.push(null,new HRe(i-o).updateHeight(e,o));let s=WRe.of(n);return(a<0||Math.abs(s.height-this.height)>=FRe||Math.abs(a-this.heightMetrics(e,t).perLine)>=FRe)&&(zRe=!0),ZRe(this,s)}return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class KRe extends WRe{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return 1&this.flags}blockAt(e,t,n,r){let i=n+this.left.height;return e<i?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,i,r+this.left.length+this.break)}lineAt(e,t,n,r,i){let o=r+this.left.height,a=i+this.left.length+this.break,s=t==qRe.ByHeight?e<o:e<a,l=s?this.left.lineAt(e,t,n,r,i):this.right.lineAt(e,t,n,o,a);if(this.break||(s?l.to<a:l.from>a))return l;let c=t==qRe.ByPosNoHeight?qRe.ByPosNoHeight:qRe.ByPos;return s?l.join(this.right.lineAt(a,c,n,o,a)):this.left.lineAt(a,c,n,r,i).join(l)}forEachLine(e,t,n,r,i,o){let a=r+this.left.height,s=i+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,i,o),t>=s&&this.right.forEachLine(e,t,n,a,s,o);else{let l=this.lineAt(s,qRe.ByPos,n,r,i);e<l.from&&this.left.forEachLine(e,l.from-1,n,r,i,o),l.to>=e&&l.from<=t&&o(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,a,s,o)}}replace(e,t,n){let r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let i=[];e>0&&this.decomposeLeft(e,i);let o=i.length;for(let a of n)i.push(a);if(e>0&&JRe(i,o-1),t<this.length){let e=i.length;this.decomposeRight(t,i),JRe(i,e)}return WRe.of(i)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?WRe.of(this.break?[e,null,t]:[e,t]):(this.left=ZRe(this.left,e),this.right=ZRe(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,r){let{left:i,right:o}=this,a=t+i.length+this.break,s=null;return r&&r.from<=t+i.length&&r.more?s=i=i.updateHeight(e,t,n,r):i.updateHeight(e,t,n),r&&r.from<=a+o.length&&r.more?s=o=o.updateHeight(e,a,n,r):o.updateHeight(e,a,n),s?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function JRe(e,t){let n,r;null==e[t]&&(n=e[t-1])instanceof HRe&&(r=e[t+1])instanceof HRe&&e.splice(t-1,3,new HRe(n.length+1+r.length))}class eXe{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof GRe?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new GRe(e-this.pos,-1,0)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let r=n.widget?n.widget.estimatedHeight:0,i=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let o=t-e;n.block?this.addBlock(new jRe(o,r,n)):(o||i||r>=5)&&this.addLineDeco(r,i,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new GRe(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,t){let n=new HRe(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof GRe)return e;let t=new GRe(0,-1,0);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof GRe||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new GRe(0,-1,0));let n=e;for(let r of this.nodes)r instanceof GRe&&r.updateHeight(this.oracle,n),n+=r?r.length:1;return this.nodes}static build(e,t,n,r){let i=new eXe(n,e);return r_e.spans(t,n,r,i,0),i.finish(n)}}class tXe{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&j_e(e,t,this.changes,5)}}function nXe(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,i=r.defaultView||window,o=Math.max(0,n.left),a=Math.min(i.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(i.innerHeight,n.bottom);for(let c=e.parentNode;c&&c!=r.body;)if(1==c.nodeType){let t=c,n=window.getComputedStyle(t);if((t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&"visible"!=n.overflow){let n=t.getBoundingClientRect();o=Math.max(o,n.left),a=Math.min(a,n.right),s=Math.max(s,n.top),l=Math.min(c==e.parentNode?i.innerHeight:l,n.bottom)}c="absolute"==n.position||"fixed"==n.position?t.offsetParent:t.parentNode}else{if(11!=c.nodeType)break;c=c.host}return{left:o-n.left,right:Math.max(o,a)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}function rXe(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class iXe{constructor(e,t,n,r){this.from=e,this.to=t,this.size=n,this.displaySize=r}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.size!=i.size)return!1}return!0}draw(e,t){return q_e.replace({widget:new oXe(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class oXe extends L_e{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class aXe{constructor(e,t){this.view=e,this.state=t,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scaleX=1,this.scaleY=1,this.scrollOffset=0,this.scrolledToBottom=!1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=uXe,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=yCe.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let n=t.facet(sEe).some(e=>"function"!=typeof e&&"cm-lineWrapping"==e.class);this.heightOracle=new MRe(n),this.stateDeco=OXe(t),this.heightMap=WRe.empty().applyChanges(this.stateDeco,XPe.empty,this.heightOracle.setDoc(t.doc),[new mEe(0,0,0,t.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=q_e.set(this.lineGaps.map(e=>e.draw(this,!1))),this.scrollParent=e.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?t.head:t.anchor;if(!e.some(({from:e,to:t})=>r>=e&&r<=t)){let{from:t,to:n}=this.lineBlockAt(r);e.push(new sXe(t,n))}}return this.viewports=e.sort((e,t)=>e.from-t.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?uXe:new dXe(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(hXe(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=OXe(this.state);let r=e.changedRanges,i=mEe.extendWithRanges(r,function(e,t,n){let r=new tXe;return r_e.compare(e,t,n,r,0),r.changes}(n,this.stateDeco,e?e.changes:HPe.empty(this.state.doc.length))),o=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);NRe(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=o||zRe)&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o);let s=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t));let l=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(l||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(jCe)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?yCe.RTL:yCe.LTR;let o=this.heightOracle.mustRefreshForWrapping(i)||"refresh"===this.mustMeasureContent,a=t.getBoundingClientRect(),s=o||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let l=0,c=0;if(a.width&&a.height){let{scaleX:e,scaleY:n}=lCe(t,a);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,l|=16,o=s=!0)}let u=(parseInt(n.paddingTop)||0)*this.scaleY,O=(parseInt(n.paddingBottom)||0)*this.scaleY;this.paddingTop==u&&this.paddingBottom==O||(this.paddingTop=u,this.paddingBottom=O,l|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=16);let d=cCe(this.view.contentDOM,!1).y;d!=this.scrollParent&&(this.scrollParent=d,this.scrollAnchorHeight=-1,this.scrollOffset=0);let h=this.getScrollOffset();this.scrollOffset!=h&&(this.scrollAnchorHeight=-1,this.scrollOffset=h),this.scrolledToBottom=ACe(this.scrollParent||e.win);let f=(this.printing?rXe:nXe)(t,this.paddingTop),p=f.top-this.pixelViewport.top,A=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let m=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(m!=this.inView&&(this.inView=m,m&&(s=!0)),!this.inView&&!this.scrollTarget&&!function(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left<n.innerWidth&&t.right>0&&t.top<n.innerHeight&&t.bottom>0}(e.dom))return 0;let g=a.width;if(this.contentDOMWidth==g&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,l|=16),s){let t=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(t)&&(o=!0),o||r.lineWrapping&&Math.abs(g-this.contentDOMWidth)>r.charWidth){let{lineHeight:n,charWidth:a,textHeight:s}=e.docView.measureTextSize();o=n>0&&r.refresh(i,n,a,s,Math.max(5,g/a),t),o&&(e.docView.minWidth=0,l|=16)}p>0&&A>0?c=Math.max(p,A):p<0&&A<0&&(c=Math.min(p,A)),NRe();for(let n of this.viewports){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(o?WRe.empty().applyChanges(this.stateDeco,XPe.empty,this.heightOracle,[new mEe(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new LRe(n.from,i))}zRe&&(l|=2)}let v=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return v&&(2&l&&(l|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),l|=this.updateForViewport()),(2&l||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,i=this.heightOracle,{visibleTop:o,visibleBottom:a}=this,s=new sXe(r.lineAt(o-1e3*n,qRe.ByHeight,i,0,0).from,r.lineAt(a+1e3*(1-n),qRe.ByHeight,i,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let n,o=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),a=r.lineAt(e,qRe.ByPos,i,0,0);n="center"==t.y?(a.top+a.bottom)/2-o/2:"start"==t.y||"nearest"==t.y&&e<s.from?a.top:a.bottom-o,s=new sXe(r.lineAt(n-500,qRe.ByHeight,i,0,0).from,r.lineAt(n+o+500,qRe.ByHeight,i,0,0).to)}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new sXe(this.heightMap.lineAt(n,qRe.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,qRe.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,qRe.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(t,qRe.ByPos,this.heightOracle,0,0),{visibleTop:o,visibleBottom:a}=this;return(0==e||r<=o-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||i>=a+Math.max(10,Math.min(n,250)))&&r>o-2e3&&i<a+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let r of e)t.touchesRange(r.from,r.to)||n.push(new iXe(t.mapPos(r.from),t.mapPos(r.to),r.size,r.displaySize));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,i=r>>1,o=r<<1;if(this.defaultTextDirection!=yCe.LTR&&!n)return[];let a=[],s=(r,o,l,c)=>{if(o-r<i)return;let u=this.state.selection.main,O=[u.from];u.empty||O.push(u.to);for(let e of O)if(e>r&&e<o)return s(r,e-10,l,c),void s(e+10,o,l,c);let d=function(e,t){for(let n of e)if(t(n))return n;return}(e,e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-r)<i&&Math.abs(e.to-o)<i&&!O.some(t=>e.from<t&&e.to>t));if(!d){if(o<l.to&&t&&n&&t.visibleRanges.some(e=>e.from<=o&&e.to>=o)){let e=t.moveToLineBoundary(oTe.cursor(o),!1,!0).head;e>r&&(o=e)}let e=this.gapSize(l,r,o,c);d=new iXe(r,o,e,n||e<2e6?e:2e6)}a.push(d)},l=t=>{if(t.length<o||t.type!=V_e.Text)return;let i=function(e,t,n){let r=[],i=e,o=0;r_e.spans(n,e,t,{span(){},point(e,t){e>i&&(r.push({from:i,to:e}),o+=e-i),i=t}},20),i<t&&(r.push({from:i,to:t}),o+=t-i);return{total:o,ranges:r}}(t.from,t.to,this.stateDeco);if(i.total<o)return;let a,l,c=this.scrollTarget?this.scrollTarget.range.head:null;if(n){let e,n,o=r/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=c){let r=cXe(i,c),a=((this.visibleBottom-this.visibleTop)/2+o)/t.height;e=r-a,n=r+a}else e=(this.visibleTop-t.top-o)/t.height,n=(this.visibleBottom-t.top+o)/t.height;a=lXe(i,e),l=lXe(i,n)}else{let n=i.total*this.heightOracle.charWidth,o=r*this.heightOracle.charWidth,s=0;if(n>2e6)for(let r of e)r.from>=t.from&&r.from<t.to&&r.size!=r.displaySize&&r.from*this.heightOracle.charWidth+s<this.pixelViewport.left&&(s=r.size-r.displaySize);let u,O,d=this.pixelViewport.left+s,h=this.pixelViewport.right+s;if(null!=c){let e=cXe(i,c),t=((h-d)/2+o)/n;u=e-t,O=e+t}else u=(d-o)/n,O=(h+o)/n;a=lXe(i,u),l=lXe(i,O)}a>t.from&&s(t.from,a,t,i),l<t.to&&s(l,t.to,t,i)};for(let c of this.viewportLines)Array.isArray(c.type)?c.type.forEach(l):l(c);return a}gapSize(e,t,n,r){let i=cXe(r,n)-cXe(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}updateLineGaps(e){iXe.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=q_e.set(e.map(e=>e.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];r_e.spans(t,this.viewport.from,this.viewport.to,{span(e,t){n.push({from:e,to:t})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let i=0;i<n.length&&!(8&r);i++){let t=this.visibleRanges[i],o=n[i];t.from==o.from&&t.to==o.to||(r|=4,e&&e.mapPos(t.from,-1)==o.from&&e.mapPos(t.to,1)==o.to||(r|=8))}return this.visibleRanges=n,r}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||hXe(this.heightMap.lineAt(e,qRe.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||hXe(this.heightMap.lineAt(this.scaler.fromDOM(e),qRe.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return(this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top)*this.scaleY}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return hXe(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class sXe{constructor(e,t){this.from=e,this.to=t}}function lXe({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let i=0;;i++){let{from:e,to:n}=t[i],o=n-e;if(r<=o)return e+r;r-=o}}function cXe(e,t){let n=0;for(let{from:r,to:i}of e.ranges){if(t<=i){n+=t-r;break}n+=i-r}return n/e.total}const uXe={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};function OXe(e){let t=e.facet(lEe).filter(e=>"function"!=typeof e),n=e.facet(uEe).filter(e=>"function"!=typeof e);return n.length&&t.push(r_e.join(n)),t}class dXe{constructor(e,t,n){let r=0,i=0,o=0;this.viewports=n.map(({from:n,to:i})=>{let o=t.lineAt(n,qRe.ByPos,e,0,0).top,a=t.lineAt(i,qRe.ByPos,e,0,0).bottom;return r+=a-o,{from:n,to:i,top:o,bottom:a,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let a of this.viewports)a.domTop=o+(a.top-i)*this.scale,o=a.domBottom=a.domTop+(a.bottom-a.top),i=a.bottom}toDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return r+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,r=i.domBottom}}fromDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return n+(e-r)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,r=i.domBottom}}eq(e){return e instanceof dXe&&(this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((t,n)=>t.from==e.viewports[n].from&&t.to==e.viewports[n].to))}}function hXe(e,t){if(1==t.scale)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new VRe(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(e=>hXe(e,t)):e._content)}const fXe=lTe.define({combine:e=>e.join(" ")}),pXe=lTe.define({combine:e=>e.indexOf(!0)>-1}),AXe=y_e.newName(),mXe=y_e.newName(),gXe=y_e.newName(),vXe={"&light":"."+mXe,"&dark":"."+gXe};function yXe(e,t,n){return new y_e(t,{finish:t=>/&/.test(t)?t.replace(/&\w*/,t=>{if("&"==t)return e;if(!n||!n[t])throw new RangeError(`Unsupported selector: ${t}`);return n[t]}):e+" "+t})}const bXe=yXe("."+AXe,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{userSelect:"none",position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},vXe),wXe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},QXe=U_e.ie&&U_e.ie_version<=11;class $Xe{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new uCe,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(U_e.ie&&U_e.ie_version<=11||U_e.ios&&e.composing)&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),!window.EditContext||!U_e.android||!1===e.constructor.EDIT_CONTEXT||U_e.chrome&&U_e.chrome_version<126||(this.editContext=new kXe(e),e.state.facet(tEe)&&(e.contentDOM.editContext=this.editContext.editContext)),QXe&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver(()=>{var e;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){("change"!=e.type&&e.type||e.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(tEe)?n.root.activeElement!=this.dom:!J_e(this.dom,r))return;let i=r.anchorNode&&n.docView.tile.nearest(r.anchorNode);i&&i.isWidget()&&i.widget.ignoreEvent(e)?t||(this.selectionChanged=!1):(U_e.ie&&U_e.ie_version<=11||U_e.android&&U_e.chrome)&&!n.state.selection.main.empty&&r.focusNode&&tCe(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=H_e(e.root);if(!t)return!1;let n=U_e.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return xXe(e,n)}let n=null;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),n?xXe(e,n):null}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=J_e(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,oCe(n));;)if(r){if(1!=n.nodeType)return!1;let e=n.childNodes[r-1];"false"==e.contentEditable?r--:(n=e,r=oCe(n))}else{if(n==e)return!0;r=nCe(n),n=n.parentNode}}(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),r&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break;n=n.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,wXe),QXe&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),QXe&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;if(e){this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&pCe(this.dom,e.key,e.keyCode)}};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,r=!1;for(let i of e){let e=this.readMutation(i);e&&(e.typeOver&&(r=!0),-1==t?({from:t,to:n}=e):(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&J_e(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new lRe(this.view,e,t,n);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let n=this.view.state,r=uRe(this.view,t);return this.view.state==n&&(t.domChanged||t.newSel&&!hRe(this.view.state.selection,t.newSel.main))&&this.view.update([]),r}readMutation(e){let t=this.view.docView.tile.nearest(e.target);if(!t||t.isWidget())return null;if(t.markDirty("attributes"==e.type),"childList"==e.type){let n=SXe(t,e.previousSibling||e.target.previousSibling,-1),r=SXe(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(tEe)!=e.state.facet(tEe)&&(e.view.contentDOM.editContext=e.state.facet(tEe)?this.editContext.editContext:null))}destroy(){var e,t,n;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(n=this.resizeScroll)||void 0===n||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function SXe(e,t,n){for(;t;){let r=yEe.get(t);if(r&&r.parent==e)return r;let i=t.parentNode;t=i!=e.dom?i:n>0?t.nextSibling:t.previousSibling}return null}function xXe(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,o=t.endOffset,a=e.docView.domAtPos(e.state.selection.main.anchor,1);return tCe(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}class kXe{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let r=e.state.selection.main,{anchor:i,head:o}=r,a=this.toEditorPos(n.updateRangeStart),s=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:a,drifted:!1});let l=s-a>n.text.length;a==this.from&&i<this.from?a=i:s==this.to&&i>this.to&&(s=i);let c=dRe(e.state.sliceDoc(a,s),n.text,(l?r.from:r.to)-a,l?"end":null);if(!c){let t=oTe.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));return void(hRe(t,r)||e.dispatch({selection:t,userEvent:"select"}))}let u={from:c.from+a,to:c.toA+a,insert:XPe.of(n.text.slice(c.from,c.toB).split("\n"))};if((U_e.mac||U_e.android)&&u.from==o-1&&/^\. ?$/.test(n.text)&&"off"==e.contentDOM.getAttribute("autocorrect")&&(u={from:a,to:s,insert:XPe.of([n.text.replace("."," ")])}),this.pendingContextChange=u,!e.state.readOnly){let t=this.to-this.from+(u.to-u.from+u.insert.length);ORe(e,u,oTe.single(this.toEditorPos(n.selectionStart,t),this.toEditorPos(n.selectionEnd,t)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),u.from<u.to&&!u.insert.length&&e.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(t.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(t.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let r=[],i=null;for(let t=this.toEditorPos(n.rangeStart),o=this.toEditorPos(n.rangeEnd);t<o;t++){let n=e.coordsForChar(t);i=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||i||new DOMRect,r.push(i)}t.updateCharacterBounds(n.rangeStart,r)},this.handlers.textformatupdate=t=>{let n=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness;if(!/none/i.test(t)&&!/none/i.test(r)){let i=this.toEditorPos(e.rangeStart),o=this.toEditorPos(e.rangeEnd);if(i<o){let e=`text-decoration: underline ${/^[a-z]/.test(t)?t+" ":"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${/thin/i.test(r)?1:2}px`;n.push(q_e.mark({attributes:{style:e}}).range(i,o))}}}e.dispatch({effects:JCe.of(q_e.set(n))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}};for(let n in this.handlers)t.addEventListener(n,this.handlers[n]);this.measureReq={read:e=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=H_e(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((i,o,a,s,l)=>{if(n)return;let c=l.length-(o-i);if(r&&o>=r.to){if(r.from==i&&r.to==o&&r.insert.eq(l))return r=this.pendingContextChange=null,t+=c,void(this.to+=c);r=null,this.revertPending(e.state)}if(i+=t,(o+=t)<=this.from)this.from+=c,this.to+=c;else if(i<this.to){if(i<this.from||o>this.to||this.to-this.from+l.length>3e4)return void(n=!0);this.editContext.updateText(this.toContextPos(i),this.toContextPos(o),l.toString()),this.to+=c}t+=c}),r&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(e=>!e.isUserEvent("input.type")&&e.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(e.state)),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head);this.editContext.selectionStart==n&&this.editContext.selectionEnd==r||this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class PXe{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(e=>e.forEach(e=>n(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(e.parent)||document,this.viewState=new aXe(this,e.state||GTe.create(e)),e.scrollTo&&e.scrollTo.is(KCe)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(rEe).map(e=>new oEe(e));for(let r of this.plugins)r.update(this);this.observer=new $Xe(this),this.inputState=new fRe(this),this.inputState.ensureHandlers(this.plugins),this.docView=new VEe(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null===(t=document.fonts)||void 0===t?void 0:t.ready)&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let t=1==e.length&&e[0]instanceof zTe?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t,n=!1,r=!1,i=this.state;for(let O of e){if(O.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=O.state}if(this.destroyed)return void(this.viewState.state=i);let o=this.hasFocus,a=0,s=null;e.some(e=>e.annotation(XRe))?(this.inputState.notifiedFocused=o,a=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,s=BRe(i,o),s||(a=1));let l=this.observer.delayedAndroidKey,c=null;if(l?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(c=null)):this.observer.clear(),i.facet(GTe.phrases)!=this.state.facet(GTe.phrases))return this.setState(i);t=gEe.create(this,i,e),t.flags|=a;let u=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(u&&(u=u.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection,{x:n,y:r}=this.state.facet(PXe.cursorScrollMargin);u=new HCe(e.empty?e:oTe.cursor(e.head,e.head>e.anchor?-1:1),"nearest","nearest",r,n)}for(let e of t.effects)e.is(KCe)&&(u=e.value.clip(this.state))}this.viewState.update(t,u),this.bidiCache=CXe.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),n=this.docView.update(t),this.state.facet(AEe)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(e=>e.isUserEvent("select.pointer")))}finally{this.updateState=0}if(t.startState.facet(fXe)!=t.state.facet(fXe)&&(this.viewState.mustMeasureContent=!0),(n||r||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!t.empty)for(let O of this.state.facet(VCe))try{O(t)}catch(sy){eEe(this.state,sy,"update listener")}(s||c)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),c&&!uRe(this,c)&&l.force&&pCe(this.contentDOM,l.key,l.keyCode)})}setState(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=e);this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new aXe(this,e),this.plugins=e.facet(rEe).map(e=>new oEe(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new VEe(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(rEe),n=e.state.facet(rEe);if(t!=n){let r=[];for(let i of n){let n=t.indexOf(i);if(n<0)r.push(new oEe(i));else{let t=this.plugins[n];t.mustUpdate=e,r.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r<this.plugins.length;r++)this.plugins[r].update(this);t!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{t.docViewUpdate(this)}catch(sy){eEe(this.state,sy,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.viewState.scrollParent,r=this.viewState.getScrollOffset(),{scrollAnchorPos:i,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollOffset)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(o<0)if(ACe(n||this.win))i=-1,o=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r);i=e.from,o=e.top}this.updateState=1;let a=this.viewState.measure();if(!a&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(e>5)break;let s=[];4&a||([this.measureRequests,s]=[s,this.measureRequests]);let l=s.map(e=>{try{return e.read(this)}catch(sy){return eEe(this.state,sy),_Xe}}),c=gEe.create(this,this.state,[]),u=!1;c.flags|=a,t?t.flags|=a:t=c,this.updateState=2,c.empty||(this.updatePlugins(c),this.inputState.update(c),this.updateAttrs(),u=this.docView.update(c),u&&this.docViewUpdate());for(let e=0;e<s.length;e++)if(l[e]!=_Xe)try{let t=s[e];t.write&&t.write(l[e],this)}catch(sy){eEe(this.state,sy)}if(u&&this.docView.updateSelection(!0),!c.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,o=-1;continue}{let e=((i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)-o)/this.scaleY;if((e>1||e<-1)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){r+=e,n?n.scrollTop+=e:this.win.scrollBy(0,e),o=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let a of this.state.facet(VCe))a(t)}get themeClasses(){return AXe+" "+(this.state.facet(pXe)?gXe:mXe)+" "+this.state.facet(fXe)}updateAttrs(){let e=EXe(this,aEe,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(tEe)?"true":"false",class:"cm-content",style:`${U_e.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),EXe(this,sEe,t);let n=this.observer.ignore(()=>{let n=N_e(this.contentDOM,this.contentAttrs,t),r=N_e(this.dom,this.editorAttrs,e);return n||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let e of n.effects)if(e.is(PXe.announce)){t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value}}mountStyles(){this.styleModules=this.state.facet(AEe);let e=this.state.facet(PXe.cspNonce);y_e.mount(this.root,this.styleModules.concat(bXe).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e);this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.plugin!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.plugin==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return JEe(this,e,GEe(this,e,t,n))}moveByGroup(e,t){return JEe(this,e,GEe(this,e,t,t=>function(e,t,n){let r=e.state.charCategorizer(t),i=r(n);return e=>{let t=r(e);return i==WTe.Space&&(i=t),i==t}}(this,e.head,t)))}visualLineSide(e,t){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),i=n[t?n.length-1:0];return oTe.cursor(i.side(t,r)+e.from,i.forward(!t,r)?1:-1)}moveToLineBoundary(e,t,n=!0){return function(e,t,n,r){let i=jEe(e,t.head,t.assoc||-1),o=r&&i.type==V_e.Text&&(e.lineWrapping||i.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head):null;if(o){let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(i.from),a=e.posAtCoords({x:n==(r==yCe.LTR)?t.right-1:t.left+1,y:(o.top+o.bottom)/2});if(null!=a)return oTe.cursor(a,n?-1:1)}return oTe.cursor(n?i.to:i.from,n?-1:1)}(this,e,t,n)}moveVertically(e,t,n){return JEe(this,e,function(e,t,n,r){let i=t.head,o=n?1:-1;if(i==(n?e.state.doc.length:0))return oTe.cursor(i,t.assoc);let a,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(i,t.assoc||((t.empty?n:t.head==t.from)?1:-1)),u=e.documentTop;if(c)null==s&&(s=c.left-l.left),a=o<0?c.top:c.bottom;else{let t=e.viewState.lineBlockAt(i);null==s&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(i-t.from))),a=(o<0?t.top:t.bottom)+u}let O=l.left+s,d=e.viewState.heightOracle.textHeight>>1,h=null!=r?r:d;for(let f=0;;f+=d){let t=a+(h+f)*o,r=tRe(e,{x:O,y:t},!1,o);if(n?t>l.bottom:t<l.top)return oTe.cursor(r.pos,r.assoc);let i=e.coordsAtPos(r.pos,r.assoc),c=i?(i.top+i.bottom)/2:0;if(!i||(n?c>a:c<a))return oTe.cursor(r.pos,r.assoc,void 0,s)}}(this,e,t,n))}domAtPos(e,t=1){return this.docView.domAtPos(e,t)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){this.readMeasured();let n=tRe(this,e,t);return n&&n.pos}posAndSideAtCoords(e,t=!0){return this.readMeasured(),tRe(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),i=this.bidiSpans(r);return aCe(n,i[_Ce.find(i,e-r.from,-1,t)].dir==yCe.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(YCe)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>TXe)return BCe(e.length);let t,n=this.textDirectionAt(e.from);for(let i of this.bidiCache)if(i.from==e.from&&i.dir==n&&(i.fresh||CCe(i.isolates,t=hEe(this,e))))return i.order;t||(t=hEe(this,e));let r=function(e,t,n){if(!e)return[new _Ce(0,0,t==wCe?1:0)];if(t==bCe&&!n.length&&!TCe.test(e))return BCe(e.length);if(n.length)for(;e.length>ECe.length;)ECe[ECe.length]=256;let r=[],i=t==bCe?0:1;return XCe(e,i,i,n,0,e.length,r),r}(e.text,n,t);return this.bidiCache.push(new CXe(e.from,e.to,n,t,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||U_e.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{hCe(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){var n,r,i,o;return KCe.of(new HCe("number"==typeof e?oTe.cursor(e):e,null!==(n=t.y)&&void 0!==n?n:"nearest",null!==(r=t.x)&&void 0!==r?r:"nearest",null!==(i=t.yMargin)&&void 0!==i?i:5,null!==(o=t.xMargin)&&void 0!==o?o:5))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return KCe.of(new HCe(oTe.cursor(n.from),"start","start",n.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return iEe.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return iEe.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=y_e.newName(),r=[fXe.of(n),AEe.of(yXe(`.${n}`,e))];return t&&t.dark&&r.push(pXe.of(!0)),r}static baseTheme(e){return bTe.lowest(AEe.of(yXe("."+AXe,e,vXe)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),r=n&&yEe.get(n)||yEe.get(e);return(null===(t=null==r?void 0:r.root)||void 0===t?void 0:t.view)||null}}PXe.styleModule=AEe,PXe.inputHandler=qCe,PXe.clipboardInputFilter=WCe,PXe.clipboardOutputFilter=ZCe,PXe.scrollHandler=GCe,PXe.focusChangeEffect=FCe,PXe.perLineTextDirection=YCe,PXe.exceptionSink=LCe,PXe.updateListener=VCe,PXe.editable=tEe,PXe.mouseSelectionStyle=MCe,PXe.dragMovesSelection=NCe,PXe.clickAddsSelectionRange=zCe,PXe.decorations=lEe,PXe.blockWrappers=cEe,PXe.outerDecorations=uEe,PXe.atomicRanges=OEe,PXe.bidiIsolatedRanges=dEe,PXe.cursorScrollMargin=lTe.define({combine:e=>{let t=5,n=5;for(let r of e)"number"==typeof r?t=n=r:({x:t,y:n}=r);return{x:t,y:n}}}),PXe.scrollMargins=fEe,PXe.darkTheme=pXe,PXe.cspNonce=lTe.define({combine:e=>e.length?e[0]:""}),PXe.contentAttributes=sEe,PXe.editorAttributes=aEe,PXe.lineWrapping=PXe.contentAttributes.of({class:"cm-lineWrapping"}),PXe.announce=ITe.define();const TXe=4096,_Xe={};class CXe{constructor(e,t,n,r,i,o){this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=i,this.order=o}static update(e,t){if(t.empty&&!e.some(e=>e.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:yCe.LTR;for(let i=Math.max(0,e.length-10);i<e.length;i++){let o=e[i];o.dir!=r||t.touchesRange(o.from,o.to)||n.push(new CXe(t.mapPos(o.from,1),t.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return n}}function EXe(e,t,n){for(let r=e.state.facet(t),i=r.length-1;i>=0;i--){let t=r[i],o="function"==typeof t?t(e):t;o&&D_e(o,n)}return n}const RXe=U_e.mac?"mac":U_e.windows?"win":U_e.linux?"linux":"key";function XXe(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}const BXe=bTe.default(PXe.domEventHandlers({keydown:(e,t)=>LXe(IXe(t.state),e,t,"editor")})),UXe=lTe.define({enables:BXe}),DXe=new WeakMap;function IXe(e){let t=e.facet(UXe),n=DXe.get(t);return n||DXe.set(t,n=function(e,t=RXe){let n=Object.create(null),r=Object.create(null),i=(e,t)=>{let n=r[e];if(null==n)r[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},o=(e,r,o,a,s)=>{var l,c;let u=n[e]||(n[e]=Object.create(null)),O=r.split(/ (?!$)/).map(e=>function(e,t){const n=e.split(/-(?!$)/);let r,i,o,a,s=n[n.length-1];"Space"==s&&(s=" ");for(let l=0;l<n.length-1;++l){const e=n[l];if(/^(cmd|meta|m)$/i.test(e))a=!0;else if(/^a(lt)?$/i.test(e))r=!0;else if(/^(c|ctrl|control)$/i.test(e))i=!0;else if(/^s(hift)?$/i.test(e))o=!0;else{if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e);"mac"==t?a=!0:i=!0}}return r&&(s="Alt-"+s),i&&(s="Ctrl-"+s),a&&(s="Meta-"+s),o&&(s="Shift-"+s),s}(e,t));for(let t=1;t<O.length;t++){let n=O.slice(0,t).join(" ");i(n,!0),u[n]||(u[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=zXe={view:t,prefix:n,scope:e};return setTimeout(()=>{zXe==r&&(zXe=null)},NXe),!0}]})}let d=O.join(" ");i(d,!1);let h=u[d]||(u[d]={preventDefault:!1,stopPropagation:!1,run:(null===(c=null===(l=u._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]});o&&h.run.push(o),a&&(h.preventDefault=!0),s&&(h.stopPropagation=!0)};for(let a of e){let e=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null));e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:r}=a;for(let t in e)e[t].run.push(e=>r(e,MXe))}let r=a[t]||a.key;if(r)for(let t of e)o(t,r,a.run,a.preventDefault,a.stopPropagation),a.shift&&o(t,"Shift-"+r,a.shift,a.preventDefault,a.stopPropagation)}return n}(t.reduce((e,t)=>e.concat(t),[]))),n}let zXe=null;const NXe=4e3;let MXe=null;function LXe(e,t,n,r){MXe=t;let i=LN(t),o=ZPe(FPe(i,0))==i.length&&" "!=i,a="",s=!1,l=!1,c=!1;zXe&&zXe.view==n&&zXe.scope==r&&(a=zXe.prefix+" ",gRe.indexOf(t.keyCode)<0&&(l=!0,zXe=null));let u,O,d=new Set,h=e=>{if(e){for(let t of e.run)if(!d.has(t)&&(d.add(t),t(n)))return e.stopPropagation&&(c=!0),!0;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},f=e[r];return f&&(h(f[a+XXe(i,t,!o)])?s=!0:!o||!(t.altKey||t.metaKey||t.ctrlKey)||U_e.windows&&t.ctrlKey&&t.altKey||U_e.mac&&t.altKey&&!t.ctrlKey&&!t.metaKey||!(u=UN[t.keyCode])||u==i?o&&t.shiftKey&&h(f[a+XXe(i,t,!0)])&&(s=!0):(h(f[a+XXe(u,t,!0)])||t.shiftKey&&(O=DN[t.keyCode])!=i&&O!=u&&h(f[a+XXe(O,t,!1)]))&&(s=!0),!s&&h(f._any)&&(s=!0)),l&&(s=!0),s&&c&&t.stopPropagation(),MXe=null,s}class VXe{constructor(e,t,n,r,i){this.className=e,this.left=t,this.top=n,this.width=r,this.height=i}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className==this.className&&(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",null!=this.width&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let i=qXe(e);return[new VXe(t,r.left-i.left,r.top-i.top,null,r.bottom-r.top)]}return function(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let r=Math.max(n.from,e.viewport.from),i=Math.min(n.to,e.viewport.to),o=e.textDirection==yCe.LTR,a=e.contentDOM,s=a.getBoundingClientRect(),l=qXe(e),c=a.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),O=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=s.right-(u?parseInt(u.paddingRight):0),h=jEe(e,r,1),f=jEe(e,i,-1),p=h.type==V_e.Text?h:null,A=f.type==V_e.Text?f:null;p&&(e.lineWrapping||h.widgetLineBreaks)&&(p=FXe(e,r,1,p));A&&(e.lineWrapping||f.widgetLineBreaks)&&(A=FXe(e,i,-1,A));if(p&&A&&p.from==A.from&&p.to==A.to)return g(v(n.from,n.to,p));{let t=p?v(n.from,null,p):y(h,!1),r=A?v(null,n.to,A):y(f,!0),i=[];return(p||h).to<(A||f).from-(p&&A?1:0)||h.widgetLineBreaks>1&&t.bottom+e.defaultLineHeight/2<r.top?i.push(m(O,t.bottom,d,r.top)):t.bottom<r.top&&e.elementAtHeight((t.bottom+r.top)/2).type==V_e.Text&&(t.bottom=r.top=(t.bottom+r.top)/2),g(t).concat(i).concat(g(r))}function m(e,n,r,i){return new VXe(t,e-l.left,n-l.top,Math.max(0,r-e),i-n)}function g({top:e,bottom:t,horizontal:n}){let r=[];for(let i=0;i<n.length;i+=2)r.push(m(n[i],e,n[i+1],t));return r}function v(t,n,r){let i=1e9,a=-1e9,s=[];function l(t,n,l,c,u){let h=e.coordsAtPos(t,t==r.to?-2:2),f=e.coordsAtPos(l,l==r.from?2:-2);h&&f&&(i=Math.min(h.top,f.top,i),a=Math.max(h.bottom,f.bottom,a),u==yCe.LTR?s.push(o&&n?O:h.left,o&&c?d:f.right):s.push(!o&&c?O:f.left,!o&&n?d:h.right))}let c=null!=t?t:r.from,u=null!=n?n:r.to;for(let o of e.visibleRanges)if(o.to>c&&o.from<u)for(let r=Math.max(o.from,c),i=Math.min(o.to,u);;){let o=e.state.doc.lineAt(r);for(let a of e.bidiSpans(o)){let e=a.from+o.from,s=a.to+o.from;if(e>=i)break;s>r&&l(Math.max(e,r),null==t&&e<=c,Math.min(s,i),null==n&&s>=u,a.dir)}if(r=o.to+1,r>=i)break}return 0==s.length&&l(c,null==t,u,null==n,e.textDirection),{top:i,bottom:a,horizontal:s}}function y(e,t){let n=s.top+(t?e.top:e.bottom);return{top:n,bottom:n,horizontal:[]}}}(e,t,n)}}function qXe(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==yCe.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function FXe(e,t,n,r){let i=e.coordsAtPos(t,2*n);if(!i)return r;let o=e.dom.getBoundingClientRect(),a=(i.top+i.bottom)/2,s=e.posAtCoords({x:o.left+1,y:a}),l=e.posAtCoords({x:o.right-1,y:a});return null==s||null==l?r:{from:Math.max(r.from,Math.min(s,l)),to:Math.min(r.to,Math.max(s,l))}}class WXe{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(ZXe)!=e.state.facet(ZXe)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){!1!==this.layer.updateOnDocViewUpdate&&e.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(ZXe);for(;t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:t}=this.view;e==this.scaleX&&t==this.scaleY||(this.scaleX=e,this.scaleY=t,this.dom.style.transform=`scale(${1/e}, ${1/t})`)}draw(e){if(e.length!=this.drawn.length||e.some((e,t)=>{return n=e,r=this.drawn[t],!(n.constructor==r.constructor&&n.eq(r));var n,r})){let t=this.dom.firstChild,n=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[n].constructor&&r.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(r.draw(),t);for(;t;){let e=t.nextSibling;t.remove(),t=e}this.drawn=e,U_e.webkit&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const ZXe=lTe.define();function YXe(e){return[iEe.define(t=>new WXe(t,e)),ZXe.of(e)]}const jXe=lTe.define({combine:e=>HTe(e,{cursorBlinkRate:1200,drawRangeCursor:!0,iosSelectionHandles:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})});function GXe(e={}){return[jXe.of(e),KXe,eBe,tBe,jCe.of(!0)]}function HXe(e){return e.startState.facet(jXe)!=e.state.facet(jXe)}const KXe=YXe({above:!0,markers(e){let{state:t}=e,n=t.facet(jXe),r=[];for(let i of t.selection.ranges){let o=i==t.selection.main;if(i.empty||n.drawRangeCursor&&!(o&&U_e.ios&&n.iosSelectionHandles)){let t=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",n=i.empty?i:oTe.cursor(i.head,i.assoc);for(let i of VXe.forRange(e,t,n))r.push(i)}}return r},update(e,t){e.transactions.some(e=>e.selection)&&(t.style.animationName="cm-blink"==t.style.animationName?"cm-blink2":"cm-blink");let n=HXe(e);return n&&JXe(e.state,t),e.docChanged||e.selectionSet||n},mount(e,t){JXe(t.state,e)},class:"cm-cursorLayer"});function JXe(e,t){t.style.animationDuration=e.facet(jXe).cursorBlinkRate+"ms"}const eBe=YXe({above:!1,markers(e){let t=[],{main:n,ranges:r}=e.state.selection;for(let i of r)if(!i.empty)for(let n of VXe.forRange(e,"cm-selectionBackground",i))t.push(n);if(U_e.ios&&!n.empty&&e.state.facet(jXe).iosSelectionHandles){for(let r of VXe.forRange(e,"cm-selectionHandle cm-selectionHandle-start",oTe.cursor(n.from,1)))t.push(r);for(let r of VXe.forRange(e,"cm-selectionHandle cm-selectionHandle-end",oTe.cursor(n.to,1)))t.push(r)}return t},update:(e,t)=>e.docChanged||e.selectionSet||e.viewportChanged||HXe(e),class:"cm-selectionLayer"}),tBe=bTe.highest(PXe.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),nBe=ITe.define({map:(e,t)=>null==e?null:t.mapPos(e)}),rBe=pTe.define({create:()=>null,update:(e,t)=>(null!=e&&(e=t.changes.mapPos(e)),t.effects.reduce((e,t)=>t.is(nBe)?t.value:e,e))}),iBe=iEe.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let n=e.state.field(rBe);null==n?null!=this.cursor&&(null===(t=this.cursor)||void 0===t||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(rBe)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(rBe),n=null!=t&&e.coordsAtPos(t);if(!n)return null;let r=e.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+e.scrollDOM.scrollLeft*e.scaleX,top:n.top-r.top+e.scrollDOM.scrollTop*e.scaleY,height:n.bottom-n.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:n}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/n+"px",this.cursor.style.height=e.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(rBe)!=e&&this.view.dispatch({effects:nBe.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){e.target!=this.view.contentDOM&&this.view.contentDOM.contains(e.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function oBe(e,t,n,r,i){t.lastIndex=0;for(let o,a=e.iterRange(n,r),s=n;!a.next().done;s+=a.value.length)if(!a.lineBreak)for(;o=t.exec(a.value);)i(s+o.index,o)}class aBe{constructor(e){const{regexp:t,decoration:n,decorate:r,boundary:i,maxLength:o=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(e,t,n,i)=>r(i,n,n+e[0].length,e,t);else if("function"==typeof n)this.addMatch=(e,t,r,i)=>{let o=n(e,t,r);o&&i(r,r+e[0].length,o)};else{if(!n)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(e,t,r,i)=>i(r,r+e[0].length,n)}this.boundary=i,this.maxLength=o}createDeco(e){let t=new i_e,n=t.add.bind(t);for(let{from:r,to:i}of function(e,t){let n=e.visibleRanges;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:i,to:o}of n)i=Math.max(e.state.doc.lineAt(i).from,i-t),o=Math.min(e.state.doc.lineAt(o).to,o+t),r.length&&r[r.length-1].to>=i?r[r.length-1].to=o:r.push({from:i,to:o});return r}(e,this.maxLength))oBe(e.state.doc,this.regexp,r,i,(t,r)=>this.addMatch(r,e,t,n));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((t,i,o,a)=>{a>=e.view.viewport.from&&o<=e.view.viewport.to&&(n=Math.min(o,n),r=Math.max(a,r))}),e.viewportMoved||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let i of e.visibleRanges){let o=Math.max(i.from,n),a=Math.min(i.to,r);if(a>=o){let n=e.state.doc.lineAt(o),r=n.to<a?e.state.doc.lineAt(a):n,s=Math.max(i.from,n.from),l=Math.min(i.to,r.to);if(this.boundary){for(;o>n.from;o--)if(this.boundary.test(n.text[o-1-n.from])){s=o;break}for(;a<r.to;a++)if(this.boundary.test(r.text[a-r.from])){l=a;break}}let c,u=[],O=(e,t,n)=>u.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=s-n.from;(c=this.regexp.exec(n.text))&&c.index<l-n.from;)this.addMatch(c,e,c.index+n.from,O);else oBe(e.state.doc,this.regexp,s,l,(t,n)=>this.addMatch(n,e,t,O));t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:u})}}return t}}const sBe=null!=/x/.unicode?"gu":"g",lBe=new RegExp("[\0-\b\n--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff-]",sBe),cBe={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let uBe=null;const OBe=lTe.define({combine(e){let t=HTe(e,{render:null,specialChars:lBe,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==uBe&&"undefined"!=typeof document&&document.body){let t=document.body.style;uBe=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return uBe||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,sBe)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,sBe)),t}});function dBe(e={}){return[OBe.of(e),hBe||(hBe=iEe.fromClass(class{constructor(e){this.view=e,this.decorations=q_e.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(OBe)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new aBe({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,o=FPe(t[0],0);if(9==o){let e=i.lineAt(r),t=n.state.tabSize,o=p_e(e.text,t,r-e.from);return q_e.replace({widget:new pBe((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=q_e.replace({widget:new fBe(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(OBe);e.startState.facet(OBe)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))]}let hBe=null;class fBe extends L_e{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=(n=this.code)>=32?"•":10==n?"␤":String.fromCharCode(9216+n);var n;let r=e.state.phrase("Control character")+" "+(cBe[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,t);if(i)return i;let o=document.createElement("span");return o.textContent=t,o.title=r,o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class pBe extends L_e{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}const ABe=q_e.line({class:"cm-activeLine"}),mBe=iEe.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,n=[];for(let r of e.state.selection.ranges){let i=e.lineBlockAt(r.head);i.from>t&&(n.push(ABe.range(i.from)),t=i.from)}return q_e.set(n)}},{decorations:e=>e.decorations}),gBe=2e3;function vBe(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),i=n-r.from,o=i>gBe?-1:i==r.length?function(e,t){let n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}(e,t.clientX):p_e(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:o,off:i}}function yBe(e,t){let n=vBe(e,t),r=e.state.selection;return n?{update(e){if(e.docChanged){let t=e.changes.mapPos(e.startState.doc.line(n.line).from),i=e.state.doc.lineAt(t);n={line:i.number,col:n.col,off:Math.min(n.off,i.length)},r=r.map(e.changes)}},get(t,i,o){let a=vBe(e,t);if(!a)return r;let s=function(e,t,n){let r=Math.min(t.line,n.line),i=Math.max(t.line,n.line),o=[];if(t.off>gBe||n.off>gBe||t.col<0||n.col<0){let a=Math.min(t.off,n.off),s=Math.max(t.off,n.off);for(let t=r;t<=i;t++){let n=e.doc.line(t);n.length<=s&&o.push(oTe.range(n.from+a,n.to+s))}}else{let a=Math.min(t.col,n.col),s=Math.max(t.col,n.col);for(let t=r;t<=i;t++){let n=e.doc.line(t),r=A_e(n.text,a,e.tabSize,!0);if(r<0)o.push(oTe.cursor(n.to));else{let t=A_e(n.text,s,e.tabSize);o.push(oTe.range(n.from+r,n.from+t))}}}return o}(e.state,n,a);return s.length?o?oTe.create(s.concat(r.ranges)):oTe.create(s):r}}:null}const bBe={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},wBe={style:"cursor: crosshair"};function QBe(e={}){let[t,n]=bBe[e.key||"Alt"],r=iEe.fromClass(class{constructor(e){this.view=e,this.isDown=!1}set(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}},{eventObservers:{keydown(e){this.set(e.keyCode==t||n(e))},keyup(e){e.keyCode!=t&&n(e)||this.set(!1)},mousemove(e){this.set(n(e))}}});return[r,PXe.contentAttributes.of(e=>{var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.isDown)?wBe:null})]}const $Be="-10000px";class SBe{constructor(e,t,n,r){this.facet=t,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let i=null;this.tooltipViews=this.tooltips.map(e=>i=n(e,i))}update(e,t){var n;let r=e.state.facet(this.facet),i=r.filter(e=>e);if(r===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let o=[],a=t?[]:null;for(let s=0;s<i.length;s++){let n=i[s],r=-1;if(n){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==n.create&&(r=e)}if(r<0)o[s]=this.createTooltipView(n,s?o[s-1]:null),a&&(a[s]=!!n.above);else{let n=o[s]=this.tooltipViews[r];a&&(a[s]=t[r]),n.update&&n.update(e)}}}for(let s of this.tooltipViews)o.indexOf(s)<0&&(this.removeTooltipView(s),null===(n=s.destroy)||void 0===n||n.call(s));return t&&(a.forEach((e,n)=>t[n]=e),t.length=a.length),this.input=r,this.tooltips=i,this.tooltipViews=o,!0}}function xBe(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}const kBe=lTe.define({combine:e=>{var t,n,r;return{position:U_e.ios?"absolute":(null===(t=e.find(e=>e.position))||void 0===t?void 0:t.position)||"fixed",parent:(null===(n=e.find(e=>e.parent))||void 0===n?void 0:n.parent)||null,tooltipSpace:(null===(r=e.find(e=>e.tooltipSpace))||void 0===r?void 0:r.tooltipSpace)||xBe}}}),PBe=new WeakMap,TBe=iEe.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(kBe);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new SBe(e,RBe,(e,t)=>this.createTooltip(e,t),e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()}),this.above=this.manager.tooltips.map(e=>!!e.above),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(kBe);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",n.dom.appendChild(e)}return n.dom.style.position=this.position,n.dom.style.top=$Be,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),null===(e=r.destroy)||void 0===e||e.call(r);this.parent&&this.container.remove(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(U_e.safari){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}else n=!!e.offsetParent&&e.offsetParent!=this.container.ownerDocument.body}if(n||"absolute"==this.position)if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,t=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),i=pEe(this.view);return{visible:{left:r.left+i.left,top:r.top+i.top,right:r.right-i.right,bottom:r.bottom-i.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(kBe).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}let{visible:n,space:r,scaleX:i,scaleY:o}=e,a=[];for(let s=0;s<this.manager.tooltips.length;s++){let l=this.manager.tooltips[s],c=this.manager.tooltipViews[s],{dom:u}=c,O=e.pos[s],d=e.size[s];if(!O||!1!==l.clip&&(O.bottom<=Math.max(n.top,r.top)||O.top>=Math.min(n.bottom,r.bottom)||O.right<Math.max(n.left,r.left)-.1||O.left>Math.min(n.right,r.right)+.1)){u.style.top=$Be;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,f=h?7:0,p=d.right-d.left,A=null!==(t=PBe.get(c))&&void 0!==t?t:d.bottom-d.top,m=c.offset||EBe,g=this.view.textDirection==yCe.LTR,v=d.width>r.right-r.left?g?r.left:r.right-d.width:g?Math.max(r.left,Math.min(O.left-(h?14:0)+m.x,r.right-p)):Math.min(Math.max(r.left,O.left-p+(h?14:0)-m.x),r.right-p),y=this.above[s];!l.strictSide&&(y?O.top-A-f-m.y<r.top:O.bottom+A+f+m.y>r.bottom)&&y==r.bottom-O.bottom>O.top-r.top&&(y=this.above[s]=!y);let b=(y?O.top-r.top:r.bottom-O.bottom)-f;if(b<A&&!1!==c.resize){if(b<this.view.defaultLineHeight){u.style.top=$Be;continue}PBe.set(c,A),u.style.height=(A=b)/o+"px"}else u.style.height&&(u.style.height="");let w=y?O.top-A-f-m.y:O.bottom+f+m.y,Q=v+p;if(!0!==c.overlap)for(let e of a)e.left<Q&&e.right>v&&e.top<w+A&&e.bottom>w&&(w=y?e.top-A-2-f:e.bottom+f+2);if("absolute"==this.position?(u.style.top=(w-e.parent.top)/o+"px",_Be(u,(v-e.parent.left)/i)):(u.style.top=w/o+"px",_Be(u,v/i)),h){let e=O.left+(g?m.x:-m.x)-(v+14-7);h.style.left=e/i+"px"}!0!==c.overlap&&a.push({left:v,top:w,right:Q,bottom:w+A}),u.classList.toggle("cm-tooltip-above",y),u.classList.toggle("cm-tooltip-below",!y),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=$Be}},{eventObservers:{scroll(){this.maybeMeasure()}}});function _Be(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const CBe=PXe.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),EBe={x:0,y:0},RBe=lTe.define({enables:[TBe,CBe]}),XBe=lTe.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])});class BBe{static create(e){return new BBe(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new SBe(e,XBe,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)null===(e=t.destroy)||void 0===e||e.call(t)}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e];if(void 0!==r)if(void 0===t)t=r;else if(t!==r)return}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const UBe=RBe.compute([XBe],e=>{let t=e.facet(XBe);return 0===t.length?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos})),create:BBe.create,above:t[0].above,arrow:t.some(e=>e.arrow)}}),DBe=lTe.define();class IBe{constructor(e,t,n,r,i,o){this.view=e,this.source=t,this.field=n,this.locked=r,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(e){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.tile.nearest(t.target);if(!n)return;let r,i=1;if(n.isWidget())r=n.posAtStart;else{if(r=e.posAtCoords(t),null==r)return;let n=e.coordsAtPos(r);if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return;let o=e.bidiSpans(e.state.doc.lineAt(r)).find(e=>e.from<=r&&e.to>=r),a=o&&o.dir==yCe.RTL?-1:1;i=t.x<n.left?-a:a}this.activateHover(e,r,i)}activateHover(e,t,n,r){let i=this.source(e,t,n),o=t=>{if(t&&(!Array.isArray(t)||t.length)){let n=Array.isArray(t)?t:[t];r&&this.locked.set(n,r),e.dispatch({effects:this.setHover.of(n)})}};if(i&&"then"in i){let n=this.pending={pos:t};i.then(e=>{this.pending==n&&(this.pending=null,o(e))},t=>eEe(e.state,t,"hover tooltip"))}else o(i)}get tooltip(){let e=this.view.plugin(TBe),t=e?e.manager.tooltips.findIndex(e=>e.create==BBe.create):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:r,tooltip:i}=this;if(r.length&&!this.locked.has(r)&&i&&!function(e,t){let n,{left:r,right:i,top:o,bottom:a}=e.getBoundingClientRect();if(n=e.querySelector(".cm-tooltip-arrow")){let e=n.getBoundingClientRect();o=Math.min(e.top,o),a=Math.max(e.bottom,a)}return t.clientX>=r-zBe&&t.clientX<=i+zBe&&t.clientY>=o-zBe&&t.clientY<=a+zBe}(i.dom,e)||this.pending){let{pos:i}=r[0]||this.pending,o=null!==(n=null===(t=r[0])||void 0===t?void 0:t.end)&&void 0!==n?n:i;(i==o?this.view.posAtCoords(this.lastMove)==i:function(e,t,n,r,i){let o=e.scrollDOM.getBoundingClientRect(),a=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>i||Math.min(o.bottom,a)<i)return!1;let s=e.posAtCoords({x:r,y:i},!1);return s>=t&&s<=n}(this.view,i,o,e.clientX,e.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length&&!this.locked.has(t)){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=n=>{e.removeEventListener("mouseleave",t);let{active:r}=this;!r.length||this.locked.has(r)||this.view.dom.contains(n.relatedTarget)||this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),clearTimeout(this.restartTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const zBe=4;function NBe(e,t={}){let n=ITe.define(),r=new WeakMap,i=pTe.define({create:()=>[],update(e,o){let a=r.get(e);if(e.length&&(t.hideOnChange&&(o.docChanged||o.selection)||a&&a(o)?e=[]:t.hideOn&&(e=e.filter(e=>!t.hideOn(o,e)))),o.docChanged&&e.length){let t=[];for(let n of e){let e=o.changes.mapPos(n.pos,-1,jPe.TrackDel);if(null!=e){let r=Object.assign(Object.create(null),n);r.pos=e,null!=r.end&&(r.end=o.changes.mapPos(r.end)),t.push(r)}}e=t}for(let t of o.effects)t.is(n)&&(e=t.value,a=void 0),(t.is(LBe)&&!t.value||t.value==i)&&(e=[]);return e.length&&a&&r.set(e,a),e},provide:e=>XBe.from(e)});const o=iEe.define(o=>new IBe(o,e,i,r,n,t.hoverTime||300));return{active:i,extension:[i,o,DBe.of(o),UBe]}}function MBe(e,t){let n=e.plugin(TBe);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}const LBe=ITe.define(),VBe=lTe.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}});function qBe(e,t){let n=e.plugin(FBe),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}const FBe=iEe.fromClass(class{constructor(e){this.input=e.state.facet(YBe),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(VBe);this.top=new WBe(e,!0,t.topContainer),this.bottom=new WBe(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(e){let t=e.state.facet(VBe);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new WBe(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new WBe(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(YBe);if(n!=this.input){let t=n.filter(e=>e),r=[],i=[],o=[],a=[];for(let n of t){let t,s=this.specs.indexOf(n);s<0?(t=n(e.view),a.push(t)):(t=this.panels[s],t.update&&t.update(e)),r.push(t),(t.top?i:o).push(t)}this.specs=t,this.panels=r,this.top.sync(i),this.bottom.sync(o);for(let e of a)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}else for(let r of this.panels)r.update&&r.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>PXe.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class WBe{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=ZBe(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=ZBe(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function ZBe(e){let t=e.nextSibling;return e.remove(),t}const YBe=lTe.define({enables:FBe});function jBe(e,t){let n,r=new Promise(e=>n=e),i=e=>function(e,t,n){let r=t.content?t.content(e,()=>a(null)):null;if(!r){if(r=Q_e("form"),t.input){let e=Q_e("input",t.input);/^(text|password|number|email|tel|url)$/.test(e.type)&&e.classList.add("cm-textfield"),e.name||(e.name="input"),r.appendChild(Q_e("label",(t.label||"")+": ",e))}else r.appendChild(document.createTextNode(t.label||""));r.appendChild(document.createTextNode(" ")),r.appendChild(Q_e("button",{class:"cm-button",type:"submit"},t.submitLabel||"OK"))}let i="FORM"==r.nodeName?[r]:r.querySelectorAll("form");for(let s=0;s<i.length;s++){let e=i[s];e.addEventListener("keydown",t=>{27==t.keyCode?(t.preventDefault(),a(null)):13==t.keyCode&&(t.preventDefault(),a(e))}),e.addEventListener("submit",t=>{t.preventDefault(),a(e)})}let o=Q_e("div",r,Q_e("button",{onclick:()=>a(null),"aria-label":e.state.phrase("close"),class:"cm-dialog-close",type:"button"},["×"]));t.class&&(o.className=t.class);function a(t){o.contains(o.ownerDocument.activeElement)&&e.focus(),n(t)}return o.classList.add("cm-dialog"),{dom:o,top:t.top,mount:()=>{if(t.focus){let e;e="string"==typeof t.focus?r.querySelector(t.focus):r.querySelector("input")||r.querySelector("button"),e&&"select"in e?e.select():e&&"focus"in e&&e.focus()}}}}(e,t,n);e.state.field(GBe,!1)?e.dispatch({effects:HBe.of(i)}):e.dispatch({effects:ITe.appendConfig.of(GBe.init(()=>[i]))});let o=KBe.of(i);return{close:o,result:r.then(t=>((e.win.queueMicrotask||(t=>e.win.setTimeout(t,10)))(()=>{e.state.field(GBe).indexOf(i)>-1&&e.dispatch({effects:o})}),t))}}const GBe=pTe.define({create:()=>[],update(e,t){for(let n of t.effects)n.is(HBe)?e=[n.value].concat(e):n.is(KBe)&&(e=e.filter(e=>e!=n.value));return e},provide:e=>YBe.computeN([e],t=>t.field(e))}),HBe=ITe.define(),KBe=ITe.define();class JBe extends KTe{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}JBe.prototype.elementClass="",JBe.prototype.toDOM=void 0,JBe.prototype.mapMode=jPe.TrackBefore,JBe.prototype.startSide=JBe.prototype.endSide=-1,JBe.prototype.point=!0;const eUe=lTe.define(),tUe=lTe.define(),nUe={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>r_e.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},rUe=lTe.define();function iUe(e){return[aUe(),rUe.of({...nUe,...e})]}const oUe=lTe.define({combine:e=>e.some(e=>e)});function aUe(e){return[sUe]}const sUe=iEe.fromClass(class{constructor(e){this.view=e,this.domAfter=null,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(rUe).map(t=>new OUe(e,t)),this.fixed=!e.state.facet(oUe);for(let t of this.gutters)"after"==t.config.side?this.getDOMAfter().appendChild(t.dom):this.dom.appendChild(t.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<.8*(n.to-n.from))}if(e.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(oUe)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let n=r_e.iter(this.view.state.facet(eUe),this.view.viewport.from),r=[],i=this.gutters.map(e=>new uUe(e,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(o.type)){let e=!0;for(let t of o.type)if(t.type==V_e.Text&&e){cUe(n,r,t.from);for(let e of i)e.line(this.view,t,r);e=!1}else if(t.widget)for(let e of i)e.widget(this.view,t)}else if(o.type==V_e.Text){cUe(n,r,o.from);for(let e of i)e.line(this.view,o,r)}else if(o.widget)for(let e of i)e.widget(this.view,o);for(let o of i)o.finish();e&&(this.view.scrollDOM.insertBefore(this.dom,t),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(e){let t=e.startState.facet(rUe),n=e.state.facet(rUe),r=e.docChanged||e.heightChanged||e.viewportChanged||!r_e.eq(e.startState.facet(eUe),e.state.facet(eUe),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let i of this.gutters)i.update(e)&&(r=!0);else{r=!0;let i=[];for(let r of n){let n=t.indexOf(r);n<0?i.push(new OUe(this.view,r)):(this.gutters[n].update(e),i.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),i.indexOf(e)<0&&e.destroy();for(let e of i)"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.gutters=i}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:e=>PXe.scrollMargins.of(t=>{let n=t.plugin(e);if(!n||0==n.gutters.length||!n.fixed)return null;let r=n.dom.offsetWidth*t.scaleX,i=n.domAfter?n.domAfter.offsetWidth*t.scaleX:0;return t.textDirection==yCe.LTR?{left:r,right:i}:{right:r,left:i}})});function lUe(e){return Array.isArray(e)?e:[e]}function cUe(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class uUe{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=r_e.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:r}=this,i=(t.top-this.height)/e.scaleY,o=t.height/e.scaleY;if(this.i==r.elements.length){let t=new dUe(e,o,i,n);r.elements.push(t),r.dom.appendChild(t.dom)}else r.elements[this.i].update(e,o,i,n);this.height=t.bottom,this.i++}line(e,t,n){let r=[];cUe(this.cursor,r,t.from),n.length&&(r=r.concat(n));let i=this.gutter.config.lineMarker(e,t,r);i&&r.unshift(i);let o=this.gutter;(0!=r.length||o.config.renderEmptyElements)&&this.addElement(e,t,r)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),r=n?[n]:null;for(let i of e.state.facet(tUe)){let n=i(e,t.widget,t);n&&(r||(r=[])).push(n)}r&&this.addElement(e,t,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class OUe{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,r=>{let i,o=r.target;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let e=o.getBoundingClientRect();i=(e.top+e.bottom)/2}else i=r.clientY;let a=e.lineBlockAtHeight(i-e.documentTop);t.domEventHandlers[n](e,a,r)&&r.preventDefault()});this.markers=lUe(t.markers(e)),t.initialSpacer&&(this.spacer=new dUe(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=lUe(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let n=e.view.viewport;return!r_e.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}}class dUe{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),function(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let n="cm-gutterElement",r=this.dom.firstChild;for(let i=0,o=0;;){let a=o,s=i<t.length?t[i++]:null,l=!1;if(s){let e=s.elementClass;e&&(n+=" "+e);for(let t=o;t<this.markers.length;t++)if(this.markers[t].compare(s)){a=t,l=!0;break}}else a=this.markers.length;for(;o<a;){let e=this.markers[o++];if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&o++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}const hUe=lTe.define(),fUe=lTe.define(),pUe=lTe.define({combine:e=>HTe(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let r in t){let e=n[r],i=t[r];n[r]=e?(t,n,r)=>e(t,n,r)||i(t,n,r):i}return n}})});class AUe extends JBe{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function mUe(e,t){return e.state.facet(pUe).formatNumber(t,e.state)}const gUe=rUe.compute([pUe],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(hUe),lineMarker:(e,t,n)=>n.some(e=>e.toDOM)?null:new AUe(mUe(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,n)=>{for(let r of e.state.facet(fUe)){let i=r(e,t,n);if(i)return i}return null},lineMarkerChange:e=>e.startState.facet(pUe)!=e.state.facet(pUe),initialSpacer:e=>new AUe(mUe(e,yUe(e.state.doc.lines))),updateSpacer(e,t){let n=mUe(t.view,yUe(t.view.state.doc.lines));return n==e.number?e:new AUe(n)},domEventHandlers:e.facet(pUe).domEventHandlers,side:"before"}));function vUe(e={}){return[pUe.of(e),aUe(),gUe]}function yUe(e){let t=9;for(;t<e;)t=10*t+9;return t}const bUe=new class extends JBe{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},wUe=eUe.compute(["selection"],e=>{let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.head).from;i>n&&(n=i,t.push(bUe.range(i)))}return r_e.of(t)});var QUe=Object.defineProperty,$Ue=Object.getOwnPropertySymbols,SUe=Object.prototype.hasOwnProperty,xUe=Object.prototype.propertyIsEnumerable,kUe=(e,t,n)=>t in e?QUe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,PUe=(e,t)=>{for(var n in t||(t={}))SUe.call(t,n)&&kUe(e,n,t[n]);if($Ue)for(var n of $Ue(t))xUe.call(t,n)&&kUe(e,n,t[n]);return e};function TUe(e,t){return Object.assign(e,{meta:PUe({package:"@milkdown/components"},t)}),e}const _Ue=VF({extensions:[],languages:[],expandIcon:()=>"⬇",searchIcon:()=>"🔍",clearSearchIcon:()=>"⌫",searchPlaceholder:"Search language",noResultText:"No result",renderLanguage:e=>A1`${e}`},"codeBlockConfigCtx");TUe(_Ue,{displayName:"Config<code-block>",group:"CodeBlock"});var CUe=Object.getOwnPropertySymbols,EUe=Object.prototype.hasOwnProperty,RUe=Object.prototype.propertyIsEnumerable;class XUe{constructor(e,t,n,r,i){this.node=e,this.view=t,this.getPos=n,this.loader=r,this.config=i,this.updating=!1,this.languageName="",this.forwardUpdate=e=>{var t;if(this.updating||!this.cm.hasFocus)return;let n=(null!=(t=this.getPos())?t:0)+1;const{main:r}=e.state.selection,i=n+r.from,o=n+r.to,a=this.view.state.selection;if(e.docChanged||a.from!==i||a.to!==o){const t=this.view.state.tr;e.changes.iterChanges((e,r,i,o,a)=>{a.length?t.replaceWith(n+e,n+r,this.view.state.schema.text(a.toString())):t.delete(n+e,n+r),n+=o-i-(r-e)}),t.setSelection(sz.create(t.doc,i,o)),this.view.dispatch(t)}},this.codeMirrorKeymap=()=>{const e=this.view;return[{key:"ArrowUp",run:()=>this.maybeEscape("line",-1)},{key:"ArrowLeft",run:()=>this.maybeEscape("char",-1)},{key:"ArrowDown",run:()=>this.maybeEscape("line",1)},{key:"ArrowRight",run:()=>this.maybeEscape("char",1)},{key:"Mod-Enter",run:()=>!!bN(e.state,e.dispatch)&&(e.focus(),!0)},{key:"Mod-z",run:()=>oK(e.state,e.dispatch)},{key:"Shift-Mod-z",run:()=>aK(e.state,e.dispatch)},{key:"Mod-y",run:()=>aK(e.state,e.dispatch)},{key:"Backspace",run:()=>{var e;const t=this.cm.state.selection.ranges;if(t.length>1)return!1;const n=t[0];if(n&&(!n.empty||n.anchor>0))return!1;if(this.cm.state.doc.lines>=2)return!1;const r=this.view.state,i=null!=(e=this.getPos())?e:0,o=r.tr.replaceWith(i,i+this.node.nodeSize,r.schema.nodes.paragraph.createChecked({},this.node.content));return o.setSelection(sz.near(o.doc.resolve(i))),this.view.dispatch(o),this.view.focus(),!0}}]},this.maybeEscape=(e,t)=>{var n;const{state:r}=this.cm;let i=r.selection.main;if(!i.empty)return!1;if("line"===e&&(i=r.doc.lineAt(i.head)),t<0?i.from>0:i.to<r.doc.length)return!1;const o=(null!=(n=this.getPos())?n:0)+(t<0?0:this.node.nodeSize),a=sz.near(this.view.state.doc.resolve(o),t),s=this.view.state.tr.setSelection(a).scrollIntoView();return this.view.dispatch(s),this.view.focus(),!0},this.setLanguage=e=>{var t;this.view.dispatch(this.view.state.tr.setNodeAttribute(null!=(t=this.getPos())?t:0,"language",e))},this.getAllLanguages=()=>this.loader.getAll(),this.languageConf=new QTe,this.readOnlyConf=new QTe,this.cm=new PXe({doc:this.node.textContent,root:this.view.root,extensions:[this.readOnlyConf.of(GTe.readOnly.of(!this.view.editable)),UXe.of(this.codeMirrorKeymap()),this.languageConf.of([]),...i.extensions,PXe.updateListener.of(this.forwardUpdate)]}),this.dom=this.createDom(),this.updateLanguage()}createDom(){const e=document.createElement("milkdown-code-block");e.codemirror=this.cm,e.getAllLanguages=this.getAllLanguages,e.setLanguage=this.setLanguage,e.isEditorReadonly=()=>!this.view.editable;const t=((e,t)=>{var n={};for(var r in e)EUe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&CUe)for(var r of CUe(e))t.indexOf(r)<0&&RUe.call(e,r)&&(n[r]=e[r]);return n})(this.config,["languages","extensions"]);return e.config=t,e}updateLanguage(){const e=this.node.attrs.language;if(e===this.languageName)return;this.dom.language=e;this.loader.load(null!=e?e:"").then(t=>{t&&(this.cm.dispatch({effects:this.languageConf.reconfigure(t)}),this.languageName=e)})}setSelection(e,t){this.cm.dom.isConnected&&(this.cm.focus(),this.updating=!0,this.cm.dispatch({selection:{anchor:e,head:t}}),this.updating=!1)}update(e){if(e.type!==this.node.type)return!1;if(this.updating)return!0;this.node=e,this.updateLanguage(),this.view.editable===this.cm.state.readOnly&&this.cm.dispatch({effects:this.readOnlyConf.reconfigure(GTe.readOnly.of(!this.view.editable))});const t=function(e,t){if(e===t)return null;let n=0,r=e.length,i=t.length;for(;n<r&&e.charCodeAt(n)===t.charCodeAt(n);)++n;for(;r>n&&i>n&&e.charCodeAt(r-1)===t.charCodeAt(i-1);)r--,i--;return{from:n,to:r,text:t.slice(n,i)}}(this.cm.state.doc.toString(),e.textContent);return t&&(this.updating=!0,this.cm.dispatch({changes:{from:t.from,to:t.to,insert:t.text}}),this.updating=!1),!0}selectNode(){this.dom.selected=!0,this.cm.focus()}deselectNode(){this.dom.selected=!1}stopEvent(){return!0}destroy(){this.cm.destroy()}}class BUe{constructor(e){this.languages=e,this.map={},e.forEach(e=>{e.alias.forEach(t=>{this.map[t]=e})})}getAll(){return this.languages.map(e=>({name:e.name,alias:e.alias}))}load(e){const t=this.map[e.toLowerCase()];return t?t.support?Promise.resolve(t.support):t.load():Promise.resolve(void 0)}}const UUe=({selected:e=!1,codemirror:t,getAllLanguages:n,setLanguage:r,language:i,config:o,isEditorReadonly:a})=>{var s,l,c;const u=gJ(),O=mJ(),d=mJ(),h=mJ(),[f,p]=WJ(""),[A,m]=WJ(!1),g=ZJ(()=>u.current.getRootNode(),[u]);VJ(()=>{var e;const t=null==(e=null==n?void 0:n())?void 0:e.find(e=>e.alias.some(e=>e.toLowerCase()===(null==i?void 0:i.toLowerCase())));t&&t.name!==i&&(null==r||r(t.name))},[i]),VJ(()=>{m(!1)},[i]),VJ(()=>{const e=e=>{const t=e.target;if(O.current&&O.current.contains(t))return;const n=d.current;n&&"true"===n.dataset.expanded&&(n.contains(t)||m(!1))};return g.addEventListener("click",e),()=>{g.removeEventListener("click",e)}},[]),LJ(()=>{p("");const e=O.current,t=d.current;e&&t&&Qg(e,t,{placement:"bottom-start"}).then(({x:e,y:n})=>{Object.assign(t.style,{left:`${e}px`,top:`${n}px`})})},[A]);const v=ZJ(()=>{var e;if(!A)return[];const t=null!=(e=null==n?void 0:n())?e:[],r=t.find(e=>e.name.toLowerCase()===(null==i?void 0:i.toLowerCase())),o=t.filter(e=>(e.name.toLowerCase().includes(f.toLowerCase())||e.alias.some(e=>e.toLowerCase().includes(f.toLowerCase())))&&e!==r);return 0===o.length?[]:r?[r,...o]:o},[f,A,i]),y=ZJ(()=>(null==v?void 0:v.length)?v.map(e=>{var t;return A1`<li
139 role="listitem"
140 tabindex="0"
141 class="language-list-item"
142 aria-selected=${e.name.toLowerCase()===(null==i?void 0:i.toLowerCase())}
143 data-language=${e.name}
144 onclick=${()=>null==r?void 0:r(e.name)}
145 >
146 ${null==(t=null==o?void 0:o.renderLanguage)?void 0:t.call(o,e.name,e.name.toLowerCase()===(null==i?void 0:i.toLowerCase()))}
147 </li>`}):A1`<li class="language-list-item no-result">
148 ${null==o?void 0:o.noResultText}
149 </li>`,[v]);return A1`<host class=${g1(e&&"selected")}>
150 <div class="tools">
151 <button
152 type="button"
153 ref=${O}
154 class="language-button"
155 onpointerdown=${e=>{e.preventDefault(),e.stopPropagation(),(null==a?void 0:a())||m(e=>(e||setTimeout(()=>{var e;return null==(e=h.current)?void 0:e.focus()},0),!e))}}
156 data-expanded=${A}
157 >
158 ${i||"Text"}
159 <div class="expand-icon">${null==(s=null==o?void 0:o.expandIcon)?void 0:s.call(o)}</div>
160 </button>
161 <div
162 ref=${d}
163 data-expanded=${A}
164 class=${g1("language-picker",A&&"show")}
165 >
166 <div class="list-wrapper">
167 <div class="search-box">
168 <div class="search-icon">${null==(l=null==o?void 0:o.searchIcon)?void 0:l.call(o)}</div>
169 <input
170 ref=${h}
171 class="search-input"
172 placeholder=${null==o?void 0:o.searchPlaceholder}
173 value=${f}
174 oninput=${e=>{const t=e.target;p(t.value)}}
175 onkeydown=${e=>{"Escape"===e.key&&p("")}}
176 />
177 <div
178 class=${g1("clear-icon",0===f.length&&"hidden")}
179 onmousedown=${e=>{e.preventDefault(),p("")}}
180 >
181 ${null==(c=null==o?void 0:o.clearSearchIcon)?void 0:c.call(o)}
182 </div>
183 </div>
184 <ul class="language-list" role="listbox" onkeydown=${e=>{if("Enter"===e.key){const e=document.activeElement;e instanceof HTMLElement&&e.dataset.language&&(null==r||r(e.dataset.language))}}}>
185 ${y}
186 </ul>
187 </div>
188 </div>
189 </div>
190 <div class="codemirror-host">${c1(null==t?void 0:t.dom,{})}</div>
191 </host>`};UUe.props={selected:Boolean,codemirror:Object,language:String,getAllLanguages:Function,setLanguage:Function,isEditorReadonly:Function,config:Object};!function(e,t){const n=customElements.get(e);null!=n||customElements.define(e,t)}("milkdown-code-block",NJ(UUe));const DUe=LF(FW.node,e=>{const t=e.get(_Ue.key),n=new BUe(t.languages);return(e,r,i)=>new XUe(e,r,i,n,t)});TUe(DUe,{displayName:"NodeView<code-block>",group:"CodeBlock"});const IUe=[DUe,_Ue],zUe=1024;let NUe=0;class MUe{constructor(e,t){this.from=e,this.to=t}}class LUe{constructor(e={}){this.id=NUe++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=FUe.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}LUe.closedBy=new LUe({deserialize:e=>e.split(" ")}),LUe.openedBy=new LUe({deserialize:e=>e.split(" ")}),LUe.group=new LUe({deserialize:e=>e.split(" ")}),LUe.isolate=new LUe({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),LUe.contextHash=new LUe({perNode:!0}),LUe.lookAhead=new LUe({perNode:!0}),LUe.mounted=new LUe({perNode:!0});class VUe{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[LUe.mounted.id]}}const qUe=Object.create(null);class FUe{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):qUe,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new FUe(e.name||"",t,e.id,n);if(e.props)for(let i of e.props)if(Array.isArray(i)||(i=i(r)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[i[0].id]=i[1]}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(LUe.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(LUe.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}FUe.none=new FUe("",Object.create(null),0,8);class WUe{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);if(e){r||(r=Object.assign({},n.props));let t=e[1],i=e[0];i.combine&&i.id in r&&(t=i.combine(r[i.id],t)),r[i.id]=t}}t.push(r?new FUe(n.name,r,n.id,n.flags):n)}return new WUe(t)}}const ZUe=new WeakMap,YUe=new WeakMap;var jUe,GUe;(GUe=jUe||(jUe={}))[GUe.ExcludeBuffers=1]="ExcludeBuffers",GUe[GUe.IncludeAnonymous=2]="IncludeAnonymous",GUe[GUe.IgnoreMounts=4]="IgnoreMounts",GUe[GUe.IgnoreOverlays=8]="IgnoreOverlays",GUe[GUe.EnterBracketed=16]="EnterBracketed";class HUe{constructor(e,t,n,r,i){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,i&&i.length){this.props=Object.create(null);for(let[e,t]of i)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=VUe.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new uDe(this.topNode,e)}cursorAt(e,t=0,n=0){let r=ZUe.get(this)||this.topNode,i=new uDe(r);return i.moveTo(e,t),ZUe.set(this,i._tree),i}get topNode(){return new rDe(this,0,0,null)}resolve(e,t=0){let n=tDe(ZUe.get(this)||this.topNode,e,t,!1);return ZUe.set(this,n),n}resolveInner(e,t=0){let n=tDe(YUe.get(this)||this.topNode,e,t,!0);return YUe.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),i=null;for(let o=r instanceof rDe?r:r.context.parent;o;o=o.parent)if(o.index<0){let e=o.parent;(i||(i=[r])).push(e.resolve(t,n)),o=e}else{let e=VUe.get(o.tree);if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){let a=new rDe(e.tree,e.overlay[0].from+o.from,-1,o);(i||(i=[r])).push(tDe(a,t,n,!1))}}return i?lDe(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:r=0,to:i=this.length}=e,o=e.mode||0,a=(o&jUe.IncludeAnonymous)>0;for(let s=this.cursor(o|jUe.IncludeAnonymous);;){let e=!1;if(s.from<=i&&s.to>=r&&(!a&&s.type.isAnonymous||!1!==t(s))){if(s.firstChild())continue;e=!0}for(;e&&n&&(a||!s.type.isAnonymous)&&n(s),!s.nextSibling();){if(!s.parent())return;e=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:fDe(FUe.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new HUe(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new HUe(FUe.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=zUe,reused:o=[],minRepeatType:a=r.types.length}=e,s=Array.isArray(n)?new KUe(n,n.length):n,l=r.types,c=0,u=0;function O(e,t,n,g,v,y){let{id:b,start:w,end:Q,size:$}=s,S=u,x=c;if($<0){if(s.next(),-1==$){let t=o[b];return n.push(t),void g.push(w-e)}if(-3==$)return void(c=b);if(-4==$)return void(u=b);throw new RangeError(`Unrecognized record size: ${$}`)}let k,P,T=l[b],_=w-e;if(Q-w<=i&&(P=A(s.pos-t,v))){let t=new Uint16Array(P.size-P.skip),n=s.pos-P.size,i=t.length;for(;s.pos>n;)i=m(P.start,t,i);k=new JUe(t,Q-P.start,r),_=P.start-e}else{let e=s.pos-$;s.next();let t=[],n=[],r=b>=a?b:-1,o=0,l=Q;for(;s.pos>e;)r>=0&&s.id==r&&s.size>=0?(s.end<=l-i&&(f(t,n,w,o,s.end,l,r,S,x),o=t.length,l=s.end),s.next()):y>2500?d(w,e,t,n):O(w,e,t,n,r,y+1);if(r>=0&&o>0&&o<t.length&&f(t,n,w,o,w,l,r,S,x),t.reverse(),n.reverse(),r>-1&&o>0){let e=h(T,x);k=fDe(T,t,n,0,t.length,0,Q-w,e,e)}else k=p(T,t,n,Q-w,S-Q,x)}n.push(k),g.push(_)}function d(e,t,n,o){let a=[],l=0,c=-1;for(;s.pos>t;){let{id:e,start:t,end:n,size:r}=s;if(r>4)s.next();else{if(c>-1&&t<c)break;c<0&&(c=n-i),a.push(e,t,n),l++,s.next()}}if(l){let t=new Uint16Array(4*l),i=a[a.length-2];for(let e=a.length-3,n=0;e>=0;e-=3)t[n++]=a[e],t[n++]=a[e+1]-i,t[n++]=a[e+2]-i,t[n++]=n;n.push(new JUe(t,a[2]-i,r)),o.push(i-e)}}function h(e,t){return(n,r,i)=>{let o,a,s=0,l=n.length-1;if(l>=0&&(o=n[l])instanceof HUe){if(!l&&o.type==e&&o.length==i)return o;(a=o.prop(LUe.lookAhead))&&(s=r[l]+o.length+a)}return p(e,n,r,i,s,t)}}function f(e,t,n,i,o,a,s,l,c){let u=[],O=[];for(;e.length>i;)u.push(e.pop()),O.push(t.pop()+n-o);e.push(p(r.types[s],u,O,a-o,l-a,c)),t.push(o-n)}function p(e,t,n,r,i,o,a){if(o){let e=[LUe.contextHash,o];a=a?[e].concat(a):[e]}if(i>25){let e=[LUe.lookAhead,i];a=a?[e].concat(a):[e]}return new HUe(e,t,n,r,a)}function A(e,t){let n=s.fork(),r=0,o=0,l=0,c=n.end-i,u={size:0,start:0,skip:0};e:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){u.size=r,u.start=o,u.skip=l,l+=4,r+=4,n.next();continue}let s=n.pos-e;if(e<0||s<i||n.start<c)break;let O=n.id>=a?4:0,d=n.start;for(n.next();n.pos>s;){if(n.size<0){if(-3!=n.size&&-4!=n.size)break e;O+=4}else n.id>=a&&(O+=4);n.next()}o=d,r+=e,l+=O}return(t<0||r==e)&&(u.size=r,u.start=o,u.skip=l),u.size>4?u:void 0}function m(e,t,n){let{id:r,start:i,end:o,size:l}=s;if(s.next(),l>=0&&r<a){let a=n;if(l>4){let r=s.pos-(l-4);for(;s.pos>r;)n=m(e,t,n)}t[--n]=a,t[--n]=o-e,t[--n]=i-e,t[--n]=r}else-3==l?c=r:-4==l&&(u=r);return n}let g=[],v=[];for(;s.pos>0;)O(e.start||0,e.bufferStart||0,g,v,-1,0);let y=null!==(t=e.length)&&void 0!==t?t:g.length?v[0]+g[0].length:0;return new HUe(l[e.topID],g.reverse(),v.reverse(),y)}(e)}}HUe.empty=new HUe(FUe.none,[],[],0);class KUe{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new KUe(this.buffer,this.index)}}class JUe{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return FUe.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),n==(e+=4))return i;let o=[];for(;e<n;)o.push(this.childString(e)),e=this.buffer[e+3];return i+"("+o.join(",")+")"}findChild(e,t,n,r,i){let{buffer:o}=this,a=-1;for(let s=e;s!=t&&!(eDe(i,r,o[s+1],o[s+2])&&(a=s,n>0));s=o[s+3]);return a}slice(e,t,n){let r=this.buffer,i=new Uint16Array(t-e),o=0;for(let a=e,s=0;a<t;){i[s++]=r[a++],i[s++]=r[a++]-n;let t=i[s++]=r[a++]-n;i[s++]=r[a++]-e,o=Math.max(o,t)}return new JUe(i,o,this.set)}}function eDe(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function tDe(e,t,n,r){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof rDe&&e.index<0?null:e.parent;if(!t)return e;e=t}let o=r?0:jUe.IgnoreOverlays;if(r)for(let a=e,s=a.parent;s;a=s,s=a.parent)a instanceof rDe&&a.index<0&&(null===(i=s.enter(t,n,o))||void 0===i?void 0:i.from)!=a.from&&(e=s);for(;;){let r=e.enter(t,n,o);if(!r)return e;e=r}}class nDe{cursor(e=0){return new uDe(this,e)}getChild(e,t=null,n=null){let r=iDe(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return iDe(this,e,t,n)}resolve(e,t=0){return tDe(this,e,t,!1)}resolveInner(e,t=0){return tDe(this,e,t,!0)}matchContext(e){return oDe(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class rDe extends nDe{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,r,i=0){for(let o=this;;){for(let{children:a,positions:s}=o._tree,l=t>0?a.length:-1;e!=l;e+=t){let l,c=a[e],u=s[e]+o.from;if(i&jUe.EnterBracketed&&c instanceof HUe&&(l=VUe.get(c))&&!l.overlay&&l.bracketed&&n>=u&&n<=u+c.length||eDe(r,n,u,u+c.length))if(c instanceof JUe){if(i&jUe.ExcludeBuffers)continue;let a=c.findChild(0,c.buffer.length,t,n-u,r);if(a>-1)return new sDe(new aDe(o,c,e,u),null,a)}else if(i&jUe.IncludeAnonymous||!c.type.isAnonymous||ODe(c)){let a;if(!(i&jUe.IgnoreMounts)&&(a=VUe.get(c))&&!a.overlay)return new rDe(a.tree,u,e,o);let s=new rDe(c,u,e,o);return i&jUe.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?c.children.length-1:0,t,n,r,i)}}if(i&jUe.IncludeAnonymous||!o.type.isAnonymous)return null;if(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,o=o._parent,!o)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let r;if(!(n&jUe.IgnoreOverlays)&&(r=VUe.get(this._tree))&&r.overlay){let i=e-this.from,o=n&jUe.EnterBracketed&&r.bracketed;for(let{from:e,to:n}of r.overlay)if((t>0||o?e<=i:e<i)&&(t<0||o?n>=i:n>i))return new rDe(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function iDe(e,t,n,r){let i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n)for(let a=!1;!a;)if(a=i.type.is(n),!i.nextSibling())return o;for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function oDe(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class aDe{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class sDe extends nDe{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new sDe(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&jUe.ExcludeBuffers)return null;let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return i<0?null:new sDe(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new sDe(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new sDe(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let o=n.buffer[this.index+1];e.push(n.slice(r,i,o)),t.push(0)}return new HUe(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function lDe(e){if(!e.length)return null;let t=0,n=e[0];for(let o=1;o<e.length;o++){let r=e[o];(r.from>n.from||r.to<n.to)&&(n=r,t=o)}let r=n instanceof rDe&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new cDe(i,n)}class cDe{constructor(e,t){this.heads=e,this.node=t}get next(){return lDe(this.heads)}}class uDe{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~jUe.EnterBracketed,e instanceof rDe)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof rDe?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&jUe.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&jUe.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&jUe.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree);for(;n;({index:t,_parent:n}=n))if(t>-1)for(let r=t+e,i=e<0?-1:n._tree.children.length;r!=i;r+=e){let e=n._tree.children[r];if(this.mode&jUe.IncludeAnonymous||e instanceof JUe||!e.type.isAnonymous||ODe(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let r=this.index,i=this.stack.length;i>=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break e}r=this.stack[--i]}for(let r=n;r<this.stack.length;r++)t=new sDe(this.buffer,t,this.stack[r]);return this.bufferNode=new sDe(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return oDe(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return oDe(this._tree,e,r);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function ODe(e){return e.children.some(e=>e instanceof JUe||!e.type.isAnonymous||ODe(e))}const dDe=new WeakMap;function hDe(e,t){if(!e.isAnonymous||t instanceof JUe||t.type!=e)return 1;let n=dDe.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof HUe)){n=1;break}n+=hDe(e,r)}dDe.set(t,n)}return n}function fDe(e,t,n,r,i,o,a,s,l){let c=0;for(let h=r;h<i;h++)c+=hDe(e,t[h]);let u=Math.ceil(1.5*c/8),O=[],d=[];return function t(n,r,i,a,s){for(let c=i;c<a;){let i=c,h=r[c],f=hDe(e,n[c]);for(c++;c<a;c++){let t=hDe(e,n[c]);if(f+t>=u)break;f+=t}if(c==i+1){if(f>u){let e=n[i];t(e.children,e.positions,0,e.children.length,r[i]+s);continue}O.push(n[i])}else{let t=r[c-1]+n[c-1].length-h;O.push(fDe(e,n,r,i,c,h,t,null,l))}d.push(h+s-o)}}(t,n,r,i,0),(s||l)(O,d,a)}class pDe{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof sDe?this.setBuffer(e.context.buffer,e.index,t):e instanceof rDe&&this.map.set(e.tree,t)}get(e){return e instanceof sDe?this.getBuffer(e.context.buffer,e.index):e instanceof rDe?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class ADe{constructor(e,t,n,r,i=!1,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(i?1:0)|(o?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new ADe(0,e.length,e,0,!1,n)];for(let i of t)i.to>e.length&&r.push(i);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],i=1,o=e.length?e[0]:null;for(let a=0,s=0,l=0;;a++){let c=a<t.length?t[a]:null,u=c?c.fromA:1e9;if(u-s>=n)for(;o&&o.from<u;){let t=o;if(s>=t.from||u<=t.to||l){let e=Math.max(t.from,s)-l,n=Math.min(t.to,u)-l;t=e>=n?null:new ADe(e,n,t.tree,t.offset+l,a>0,!!c)}if(t&&r.push(t),o.to>u)break;o=i<e.length?e[i++]:null}if(!c)break;s=c.toA,l=c.toA-c.toB}return r}}class mDe{startParse(e,t,n){return"string"==typeof e&&(e=new gDe(e)),n=n?n.length?n.map(e=>new MUe(e.from,e.to)):[new MUe(0,0)]:[new MUe(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class gDe{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function vDe(e){return(t,n,r,i)=>new $De(t,e,n,r,i)}class yDe{constructor(e,t,n,r,i,o){this.parser=e,this.parse=t,this.overlay=n,this.bracketed=r,this.target=i,this.from=o}}function bDe(e){if(!e.length||e.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class wDe{constructor(e,t,n,r,i,o,a,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=i,this.bracketed=o,this.target=a,this.prev=s,this.depth=0,this.ranges=[]}}const QDe=new LUe({perNode:!0});class $De{constructor(e,t,n,r,i){this.nest=t,this.input=n,this.fragments=r,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new HUe(e.type,e.children,e.positions,e.length,e.propValues.concat([[QDe,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[LUe.mounted.id]=new VUe(t,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new TDe(this.fragments),t=null,n=null,r=new uDe(new rDe(this.baseTree,this.ranges[0].from,0,null),jUe.IncludeAnonymous|jUe.IgnoreMounts);e:for(let i,o;;){let a,s=!0;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)s=!1;else if(e.hasNode(r)){if(t){let e=t.mounts.find(e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let i=n.from+e.pos,o=n.to+e.pos;i>=r.from&&o<=r.to&&!t.ranges.some(e=>e.from<o&&e.to>i)&&t.ranges.push({from:i,to:o})}}s=!1}else if(n&&(o=SDe(n.ranges,r.from,r.to)))s=2!=o;else if(!r.type.isAnonymous&&(i=this.nest(r,this.input))&&(r.from<r.to||!i.overlay)){r.tree||(kDe(r),t&&t.depth++,n&&n.depth++);let o=e.findMounts(r.from,i.parser);if("function"==typeof i.overlay)t=new wDe(i.parser,i.overlay,o,this.inner.length,r.from,!!i.bracketed,r.tree,t);else{let e=_De(this.ranges,i.overlay||(r.from<r.to?[new MUe(r.from,r.to)]:[]));e.length&&bDe(e),!e.length&&i.overlay||this.inner.push(new yDe(i.parser,e.length?i.parser.startParse(this.input,EDe(o,e),e):i.parser.startParse(""),i.overlay?i.overlay.map(e=>new MUe(e.from-r.from,e.to-r.from)):null,!!i.bracketed,r.tree,e.length?e[0].from:r.from)),i.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):s=!1}}else if(t&&(a=t.predicate(r))&&(!0===a&&(a=new MUe(r.from,r.to)),a.from<a.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==a.from?t.ranges[e]={from:t.ranges[e].from,to:a.to}:t.ranges.push(a)}if(s&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(t&&! --t.depth){let e=_De(this.ranges,t.ranges);e.length&&(bDe(e),this.inner.splice(t.index,0,new yDe(t.parser,t.parser.startParse(this.input,EDe(t.mounts,e),e),t.ranges.map(e=>new MUe(e.from-t.start,e.to-t.start)),t.bracketed,t.target,e[0].from))),t=t.prev}n&&! --n.depth&&(n=n.prev)}}}}function SDe(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function xDe(e,t,n,r,i,o){if(t<n){let a=e.buffer[t+1];r.push(e.slice(t,n,a)),i.push(a-o)}}function kDe(e){let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()}while(!e.tree);let i=e.tree,o=i.children.indexOf(r),a=i.children[o],s=a.buffer,l=[o];i.children[o]=function e(r,i,o,c,u,O){let d=n[O],h=[],f=[];xDe(a,r,d,h,f,c);let p=s[d+1],A=s[d+2];l.push(h.length);let m=O?e(d+4,s[d+3],a.set.types[s[d]],p,A-p,O-1):t.toTree();return h.push(m),f.push(p-c),xDe(a,s[d+3],i,h,f,c),new HUe(o,h,f,u)}(0,s.length,FUe.none,0,a.length,n.length-1);for(let c of l){let t=e.tree.children[c],n=e.tree.positions[c];e.yield(new rDe(t,n+e.from,c,e._tree))}}class PDe{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(jUe.IncludeAnonymous|jUe.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)if(t.to>=e&&t.enter(n,1,jUe.IgnoreOverlays|jUe.ExcludeBuffers));else{if(!(t.to<=e))break;t.next(!1)||(this.done=!0)}}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof HUe))break;t=t.children[0]}return!1}}let TDe=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(QDe))&&void 0!==t?t:n.to,this.inner=new PDe(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(QDe))&&void 0!==e?e:t.to,this.inner=new PDe(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let i=null===(n=e.tree)||void 0===n?void 0:n.prop(LUe.mounted);if(i&&i.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:i})}}}return r}};function _De(e,t){let n=null,r=t;for(let i=1,o=0;i<e.length;i++){let a=e[i-1].to,s=e[i].from;for(;o<r.length;o++){let e=r[o];if(e.from>=s)break;e.to<=a||(n||(r=n=t.slice()),e.from<a?(n[o]=new MUe(e.from,a),e.to>s&&n.splice(o+1,0,new MUe(s,e.to))):e.to>s?n[o--]=new MUe(s,e.to):n.splice(o--,1))}}return r}function CDe(e,t,n,r){let i=0,o=0,a=!1,s=!1,l=-1e9,c=[];for(;;){let u=i==e.length?1e9:a?e[i].to:e[i].from,O=o==t.length?1e9:s?t[o].to:t[o].from;if(a!=s){let e=Math.max(l,n),t=Math.min(u,O,r);e<t&&c.push(new MUe(e,t))}if(l=Math.min(u,O),1e9==l)break;u==l&&(a?(a=!1,i++):a=!0),O==l&&(s?(s=!1,o++):s=!0)}return c}function EDe(e,t){let n=[];for(let{pos:r,mount:i,frag:o}of e){let e=r+(i.overlay?i.overlay[0].from:0),a=e+i.tree.length,s=Math.max(o.from,e),l=Math.min(o.to,a);if(i.overlay){let a=CDe(t,i.overlay.map(e=>new MUe(e.from+r,e.to+r)),s,l);for(let t=0,r=s;;t++){let s=t==a.length,c=s?l:a[t].from;if(c>r&&n.push(new ADe(r,c,i.tree,-e,o.from>=r||o.openStart,o.to<=c||o.openEnd)),s)break;r=a[t].to}}else n.push(new ADe(s,l,i.tree,-e,o.from>=e||o.openStart,o.to<=a||o.openEnd))}return n}let RDe=0,XDe=class e{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=RDe++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(t,n){let r="string"==typeof t?t:"?";if(t instanceof e&&(n=t),null==n?void 0:n.base)throw new Error("Can not derive from a modified tag");let i=new e(r,[],null,[]);if(i.set.push(i),n)for(let e of n.set)i.set.push(e);return i}static defineModifier(e){let t=new UDe(e);return e=>e.modified.indexOf(t)>-1?e:UDe.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}},BDe=0;class UDe{constructor(e){this.name=e,this.instances=[],this.id=BDe++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{return n.base==e&&(r=t,i=n.modified,r.length==i.length&&r.every((e,t)=>e==i[t]));var r,i});if(n)return n;let r=[],i=new XDe(e.name,r,e,t);for(let a of t)a.instances.push(i);let o=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}(t);for(let a of e.set)if(!a.modified.length)for(let e of o)r.push(UDe.get(a,e));return i}}function DDe(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let e of n.split(" "))if(e){let n=[],i=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!r)throw new RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let a=e[t++];if(t==e.length&&"!"==a){i=0;break}if("/"!=a)throw new RangeError("Invalid path: "+e);o=e.slice(t)}let a=n.length-1,s=n[a];if(!s)throw new RangeError("Invalid path: "+e);let l=new zDe(r,i,a>0?n.slice(0,a):null);t[s]=l.sort(t[s])}}return IDe.add(t)}const IDe=new LUe({combine(e,t){let n,r,i;for(;e||t;){if(!e||t&&e.depth>=t.depth?(i=t,t=t.next):(i=e,e=e.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let o=new zDe(i.tags,i.mode,i.context);n?n.next=o:r=o,n=o}return r}});let zDe=class{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}};function NDe(e,t){let n=Object.create(null);for(let o of e)if(Array.isArray(o.tag))for(let e of o.tag)n[e.id]=o.class;else n[o.tag.id]=o.class;let{scope:r,all:i=null}=t||{};return{style:e=>{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function MDe(e,t,n,r=0,i=e.length){let o=new LDe(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}zDe.empty=new zDe([],2,null);class LDe{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,i){let{type:o,from:a,to:s}=e;if(a>=n||s<=t)return;o.isTop&&(i=this.highlighters.filter(e=>!e.scope||e.scope(o)));let l=r,c=function(e){let t=e.type.prop(IDe);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||zDe.empty,u=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(i,c.tags);if(u&&(l&&(l+=" "),l+=u,1==c.mode&&(r+=(r?" ":"")+u)),this.startSpan(Math.max(t,a),l),c.opaque)return;let O=e.tree&&e.tree.prop(LUe.mounted);if(O&&O.overlay){let o=e.node.enter(O.overlay[0].from+a,1),c=this.highlighters.filter(e=>!e.scope||e.scope(O.tree.type)),u=e.firstChild();for(let d=0,h=a;;d++){let f=d<O.overlay.length?O.overlay[d]:null,p=f?f.from+a:s,A=Math.max(t,h),m=Math.min(n,p);if(A<m&&u)for(;e.from<m&&(this.highlightRange(e,A,m,r,i),this.startSpan(Math.min(m,e.to),l),!(e.to>=p)&&e.nextSibling()););if(!f||p>n)break;h=f.to+a,h>t&&(this.highlightRange(o.cursor(),Math.max(t,f.from+a),Math.min(n,h),"",c),this.startSpan(Math.min(n,h),l))}u&&e.parent()}else if(e.firstChild()){O&&(r="");do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,r,i),this.startSpan(Math.min(n,e.to),l)}}while(e.nextSibling());e.parent()}}}const VDe=XDe.define,qDe=VDe(),FDe=VDe(),WDe=VDe(FDe),ZDe=VDe(FDe),YDe=VDe(),jDe=VDe(YDe),GDe=VDe(YDe),HDe=VDe(),KDe=VDe(HDe),JDe=VDe(),eIe=VDe(),tIe=VDe(),nIe=VDe(tIe),rIe=VDe(),iIe={comment:qDe,lineComment:VDe(qDe),blockComment:VDe(qDe),docComment:VDe(qDe),name:FDe,variableName:VDe(FDe),typeName:WDe,tagName:VDe(WDe),propertyName:ZDe,attributeName:VDe(ZDe),className:VDe(FDe),labelName:VDe(FDe),namespace:VDe(FDe),macroName:VDe(FDe),literal:YDe,string:jDe,docString:VDe(jDe),character:VDe(jDe),attributeValue:VDe(jDe),number:GDe,integer:VDe(GDe),float:VDe(GDe),bool:VDe(YDe),regexp:VDe(YDe),escape:VDe(YDe),color:VDe(YDe),url:VDe(YDe),keyword:JDe,self:VDe(JDe),null:VDe(JDe),atom:VDe(JDe),unit:VDe(JDe),modifier:VDe(JDe),operatorKeyword:VDe(JDe),controlKeyword:VDe(JDe),definitionKeyword:VDe(JDe),moduleKeyword:VDe(JDe),operator:eIe,derefOperator:VDe(eIe),arithmeticOperator:VDe(eIe),logicOperator:VDe(eIe),bitwiseOperator:VDe(eIe),compareOperator:VDe(eIe),updateOperator:VDe(eIe),definitionOperator:VDe(eIe),typeOperator:VDe(eIe),controlOperator:VDe(eIe),punctuation:tIe,separator:VDe(tIe),bracket:nIe,angleBracket:VDe(nIe),squareBracket:VDe(nIe),paren:VDe(nIe),brace:VDe(nIe),content:HDe,heading:KDe,heading1:VDe(KDe),heading2:VDe(KDe),heading3:VDe(KDe),heading4:VDe(KDe),heading5:VDe(KDe),heading6:VDe(KDe),contentSeparator:VDe(HDe),list:VDe(HDe),quote:VDe(HDe),emphasis:VDe(HDe),strong:VDe(HDe),link:VDe(HDe),monospace:VDe(HDe),strikethrough:VDe(HDe),inserted:VDe(),deleted:VDe(),changed:VDe(),invalid:VDe(),meta:rIe,documentMeta:VDe(rIe),annotation:VDe(rIe),processingInstruction:VDe(rIe),definition:XDe.defineModifier("definition"),constant:XDe.defineModifier("constant"),function:XDe.defineModifier("function"),standard:XDe.defineModifier("standard"),local:XDe.defineModifier("local"),special:XDe.defineModifier("special")};for(let os in iIe){let e=iIe[os];e instanceof XDe&&(e.name=os)}var oIe;NDe([{tag:iIe.link,class:"tok-link"},{tag:iIe.heading,class:"tok-heading"},{tag:iIe.emphasis,class:"tok-emphasis"},{tag:iIe.strong,class:"tok-strong"},{tag:iIe.keyword,class:"tok-keyword"},{tag:iIe.atom,class:"tok-atom"},{tag:iIe.bool,class:"tok-bool"},{tag:iIe.url,class:"tok-url"},{tag:iIe.labelName,class:"tok-labelName"},{tag:iIe.inserted,class:"tok-inserted"},{tag:iIe.deleted,class:"tok-deleted"},{tag:iIe.literal,class:"tok-literal"},{tag:iIe.string,class:"tok-string"},{tag:iIe.number,class:"tok-number"},{tag:[iIe.regexp,iIe.escape,iIe.special(iIe.string)],class:"tok-string2"},{tag:iIe.variableName,class:"tok-variableName"},{tag:iIe.local(iIe.variableName),class:"tok-variableName tok-local"},{tag:iIe.definition(iIe.variableName),class:"tok-variableName tok-definition"},{tag:iIe.special(iIe.variableName),class:"tok-variableName2"},{tag:iIe.definition(iIe.propertyName),class:"tok-propertyName tok-definition"},{tag:iIe.typeName,class:"tok-typeName"},{tag:iIe.namespace,class:"tok-namespace"},{tag:iIe.className,class:"tok-className"},{tag:iIe.macroName,class:"tok-macroName"},{tag:iIe.propertyName,class:"tok-propertyName"},{tag:iIe.operator,class:"tok-operator"},{tag:iIe.comment,class:"tok-comment"},{tag:iIe.meta,class:"tok-meta"},{tag:iIe.invalid,class:"tok-invalid"},{tag:iIe.punctuation,class:"tok-punctuation"}]);const aIe=new LUe;function sIe(e){return lTe.define({combine:e?t=>t.concat(e):void 0})}const lIe=new LUe;class cIe{constructor(e,t,n=[],r=""){this.data=e,this.name=r,GTe.prototype.hasOwnProperty("tree")||Object.defineProperty(GTe.prototype,"tree",{get(){return dIe(this)}}),this.parser=t,this.extension=[bIe.of(this),GTe.languageData.of((e,t,n)=>{let r=uIe(e,t,n),i=r.type.prop(aIe);if(!i)return[];let o=e.facet(i),a=r.type.prop(lIe);if(a){let i=r.resolve(t-r.from,n);for(let t of a)if(t.test(i,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(o)}}return o})].concat(n)}isActiveAt(e,t,n=-1){return uIe(e,t,n).type.prop(aIe)==this.data}findRegions(e){let t=e.facet(bIe);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(aIe)==this.data)return void n.push({from:t,to:t+e.length});let i=e.prop(LUe.mounted);if(i){if(i.tree.prop(aIe)==this.data){if(i.overlay)for(let e of i.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(i.overlay){let e=n.length;if(r(i.tree,i.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let i=e.children[n];i instanceof HUe&&r(i,e.positions[n]+t)}};return r(dIe(e),0),n}get allowsNesting(){return!0}}function uIe(e,t,n){let r=e.facet(bIe),i=dIe(e).topNode;if(!r||r.allowsNesting)for(let o=i;o;o=o.enter(t,n,jUe.ExcludeBuffers|jUe.EnterBracketed))o.type.isTop&&(i=o);return i}cIe.setState=ITe.define();class OIe extends cIe{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=sIe(e.languageData);return new OIe(t,e.parser.configure({props:[aIe.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new OIe(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function dIe(e){let t=e.field(cIe.state,!1);return t?t.tree:HUe.empty}class hIe{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let fIe=null;class pIe{constructor(e,t,n=[],r,i,o,a,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=o,this.skipped=a,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new pIe(e,t,[],HUe.empty,0,n,[],null)}startParse(){return this.parser.startParse(new hIe(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=HUe.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let r=this.parse.advance();if(r){if(this.fragments=this.withoutTempSkipped(ADe.addTree(r,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,this.tree=r,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(ADe.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=fIe;fIe=this;try{return e()}finally{fIe=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=AIe(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:i,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,i)=>t.push({fromA:e,toA:n,fromB:r,toB:i})),n=ADe.applyChanges(n,t),r=HUe.empty,i=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let t of this.skipped){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&a.push({from:n,to:r})}}}return new pIe(this.parser,t,n,r,i,o,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:t,to:r}=this.skipped[n];t<e.to&&r>e.from&&(this.fragments=AIe(this.fragments,t,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends mDe{createParse(t,n,r){let i=r[0].from,o=r[r.length-1].to;return{parsedPos:i,advance(){let t=fIe;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new HUe(FUe.none,[],[],o-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return fIe}}function AIe(e,t,n){return ADe.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class mIe{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new mIe(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=pIe.create(e.facet(bIe).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new mIe(n)}}cIe.state=pTe.define({create:mIe.init,update(e,t){for(let n of t.effects)if(n.is(cIe.setState))return n.value;return t.startState.facet(bIe)!=t.state.facet(bIe)?mIe.init(t.state):e.apply(t)}});let gIe=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(gIe=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const vIe="undefined"!=typeof navigator&&(null===(oIe=navigator.scheduling)||void 0===oIe?void 0:oIe.isInputPending)?()=>navigator.scheduling.isInputPending():null,yIe=iEe.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(cIe.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(cIe.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=gIe(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(cIe.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!vIe?Math.max(25,e.timeRemaining()-5):1e9),a=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>vIe&&vIe()||Date.now()>o,r+(a?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:cIe.setState.of(new mIe(i.context))})),this.chunkBudget>0&&(!s||a)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>eEe(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),bIe=lTe.define({combine:e=>e.length?e[0]:null,enables:e=>[cIe.state,yIe,PXe.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class wIe{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class QIe{constructor(e,t,n,r,i,o=void 0){this.name=e,this.alias=t,this.extensions=n,this.filename=r,this.loadFunc=i,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new QIe(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let r of e)if(r.filename&&r.filename.test(t))return r;let n=/\.([^.]+)$/.exec(t);if(n)for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r;return null}static matchLanguageName(e,t,n=!0){t=t.toLowerCase();for(let r of e)if(r.alias.some(e=>e==t))return r;if(n)for(let r of e)for(let e of r.alias){let n=t.indexOf(e);if(n>-1&&(e.length>2||!/\w/.test(t[n-1])&&!/\w/.test(t[n+e.length])))return r}return null}}const $Ie=lTe.define(),SIe=lTe.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function xIe(e){let t=e.facet(SIe);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function kIe(e,t){let n="",r=e.tabSize,i=e.facet(SIe)[0];if("\t"==i){for(;t>=r;)n+="\t",t-=r;i=" "}for(let o=0;o<t;o++)n+=i;return n}function PIe(e,t){e instanceof GTe&&(e=new TIe(e));for(let r of e.state.facet($Ie)){let n=r(e,t);if(void 0!==n)return n}let n=dIe(e.state);return n.length>=t?function(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;t&&!(t.from<r.node.from||t.to>r.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return CIe(r,e,n)}(e,n,t):null}class TIe{constructor(e,t={}){this.state=e,this.options=t,this.unit=xIe(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;return null!=r&&r>=n.from&&r<=n.to?i&&r==e?{text:"",from:e}:(t<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.countColumn(n,e-r),o=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return o>-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return p_e(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const _Ie=new LUe;function CIe(e,t,n){for(let r=e;r;r=r.next){let e=EIe(r.node);if(e)return e(XIe.create(t,n,r))}return 0}function EIe(e){let t=e.type.prop(_Ie);if(t)return t;let n,r=e.firstChild;if(r&&(n=r.type.prop(LUe.closedBy))){let t=e.lastChild,r=t&&n.indexOf(t.name)>-1;return e=>DIe(e,!0,1,void 0,r&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?RIe:null}function RIe(){return 0}class XIe extends TIe{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new XIe(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(BIe(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return CIe(this.context.next,this.base,this.pos)}}function BIe(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function UIe({closing:e,align:t=!0,units:n=1}){return r=>DIe(r,t,n,e)}function DIe(e,t,n,r,i){let o=e.textAfter,a=o.match(/^\s*/)[0].length,s=r&&o.slice(a,a+r.length)==r||i==e.pos+a,l=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),a=null==i||i<=o.from?o.to:Math.min(o.to,i);for(let s=n.to;;){let e=t.childAfter(s);if(!e||e==r)return null;if(!e.type.isSkipped){if(e.from>=a)return null;let t=/^ */.exec(o.text.slice(n.to-o.from))[0].length;return{from:n.from,to:n.to+t}}s=e.to}}(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}const IIe=e=>e.baseIndent;function zIe({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const NIe=lTe.define(),MIe=new LUe;function LIe(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function VIe(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function qIe(e,t,n){for(let r of e.facet(NIe)){let i=r(e,t,n);if(i)return i}return function(e,t,n){let r=dIe(e);if(r.length<n)return null;let i=null;for(let o=r.resolveStack(n,1);o;o=o.next){let a=o.node;if(a.to<=n||a.from>n)continue;if(i&&a.from<t)break;let s=a.type.prop(MIe);if(s&&(a.to<r.length-50||r.length==e.doc.length||!VIe(a))){let r=s(a,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(i=r)}}return i}(e,t,n)}function FIe(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const WIe=ITe.define({map:FIe}),ZIe=ITe.define({map:FIe});function YIe(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}const jIe=pTe.define({create:()=>q_e.none,update(e,t){t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=GIe(e,t,n)),e=e.map(t.changes);for(let n of t.effects)if(n.is(WIe)&&!KIe(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(rze),i=r?q_e.replace({widget:new sze(r(t.state,n.value))}):aze;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(ZIe)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));return t.selection&&(e=GIe(e,t.selection.main.head)),e},provide:e=>PXe.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],i=e[n++];if("number"!=typeof r||"number"!=typeof i)throw new RangeError("Invalid JSON for fold state");t.push(aze.range(r,i))}return q_e.set(t,!0)}});function GIe(e,t,n=t){let r=!1;return e.between(t,n,(e,i)=>{e<n&&i>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function HIe(e,t,n){var r;let i=null;return null===(r=e.field(jIe,!1))||void 0===r||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function KIe(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}function JIe(e,t){return e.field(jIe,!1)?t:t.concat(ITe.appendConfig.of(ize()))}function eze(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return PXe.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}const tze=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of YIe(e)){let n=qIe(e.state,t.from,t.to);if(n)return e.dispatch({effects:JIe(e.state,[WIe.of(n),eze(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(jIe,!1))return!1;let t=[];for(let n of YIe(e)){let r=HIe(e.state,n.from,n.to);r&&t.push(ZIe.of(r),eze(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r<t.doc.length;){let i=e.lineBlockAt(r),o=qIe(t,i.from,i.to);o&&n.push(WIe.of(o)),r=(o?e.lineBlockAt(o.to):i).to+1}return n.length&&e.dispatch({effects:JIe(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:e=>{let t=e.state.field(jIe,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(ZIe.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],nze={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},rze=lTe.define({combine:e=>HTe(e,nze)});function ize(e){return[jIe,Oze]}function oze(e,t){let{state:n}=e,r=n.facet(rze),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=HIe(e.state,n.from,n.to);r&&e.dispatch({effects:ZIe.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}const aze=q_e.replace({widget:new class extends L_e{toDOM(e){return oze(e,null)}}});class sze extends L_e{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return oze(e,this.value)}}const lze={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class cze extends JBe{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function uze(e={}){let t={...lze,...e},n=new cze(t,!0),r=new cze(t,!1),i=iEe.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(bIe)!=e.state.facet(bIe)||e.startState.field(jIe,!1)!=e.state.field(jIe,!1)||dIe(e.startState)!=dIe(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new i_e;for(let i of e.viewportLineBlocks){let o=HIe(e.state,i.from,i.to)?r:qIe(e.state,i.from,i.to)?n:null;o&&t.add(i.from,i.from,o)}return t.finish()}}),{domEventHandlers:o}=t;return[i,iUe({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(i))||void 0===t?void 0:t.markers)||r_e.empty},initialSpacer:()=>new cze(t,!1),domEventHandlers:{...o,click:(e,t,n)=>{if(o.click&&o.click(e,t,n))return!0;let r=HIe(e.state,t.from,t.to);if(r)return e.dispatch({effects:ZIe.of(r)}),!0;let i=qIe(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:WIe.of(i)}),!0)}}}),ize()]}const Oze=PXe.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class dze{constructor(e,t){let n;function r(e){let t=y_e.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;const i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof cIe?e=>e.prop(aIe)==o.data:o?e=>e==o:void 0,this.style=NDe(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new y_e(n):null,this.themeType=t.themeType}static define(e,t){return new dze(e,t||{})}}const hze=lTe.define(),fze=lTe.define({combine:e=>e.length?[e[0]]:null});function pze(e){let t=e.facet(hze);return t.length?t:e.facet(fze)}function Aze(e,t){let n,r=[gze];return e instanceof dze&&(e.module&&r.push(PXe.styleModule.of(e.module)),n=e.themeType),(null==t?void 0:t.fallback)?r.push(fze.of(e)):n?r.push(hze.computeN([PXe.darkTheme],t=>t.facet(PXe.darkTheme)==("dark"==n)?[e]:[])):r.push(hze.of(e)),r}class mze{constructor(e){this.markCache=Object.create(null),this.tree=dIe(e.state),this.decorations=this.buildDeco(e,pze(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=dIe(e.state),n=pze(e.state),r=n!=pze(e.startState),{viewport:i}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!r&&t.type==this.tree.type&&o>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return q_e.none;let n=new i_e;for(let{from:r,to:i}of e.visibleRanges)MDe(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=q_e.mark({class:r})))},r,i);return n.finish()}}const gze=bTe.high(iEe.fromClass(mze,{decorations:e=>e.decorations})),vze=dze.define([{tag:iIe.meta,color:"#404740"},{tag:iIe.link,textDecoration:"underline"},{tag:iIe.heading,textDecoration:"underline",fontWeight:"bold"},{tag:iIe.emphasis,fontStyle:"italic"},{tag:iIe.strong,fontWeight:"bold"},{tag:iIe.strikethrough,textDecoration:"line-through"},{tag:iIe.keyword,color:"#708"},{tag:[iIe.atom,iIe.bool,iIe.url,iIe.contentSeparator,iIe.labelName],color:"#219"},{tag:[iIe.literal,iIe.inserted],color:"#164"},{tag:[iIe.string,iIe.deleted],color:"#a11"},{tag:[iIe.regexp,iIe.escape,iIe.special(iIe.string)],color:"#e40"},{tag:iIe.definition(iIe.variableName),color:"#00f"},{tag:iIe.local(iIe.variableName),color:"#30a"},{tag:[iIe.typeName,iIe.namespace],color:"#085"},{tag:iIe.className,color:"#167"},{tag:[iIe.special(iIe.variableName),iIe.macroName],color:"#256"},{tag:iIe.definition(iIe.propertyName),color:"#00c"},{tag:iIe.comment,color:"#940"},{tag:iIe.invalid,color:"#f00"}]),yze=PXe.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),bze="()[]{}",wze=lTe.define({combine:e=>HTe(e,{afterCursor:!0,brackets:bze,maxScanDistance:1e4,renderMatch:Sze})}),Qze=q_e.mark({class:"cm-matchingBracket"}),$ze=q_e.mark({class:"cm-nonmatchingBracket"});function Sze(e){let t=[],n=e.matched?Qze:$ze;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function xze(e){let t=[],n=e.facet(wze);for(let r of e.selection.ranges){if(!r.empty)continue;let i=Eze(e,r.head,-1,n)||r.head>0&&Eze(e,r.head-1,1,n)||n.afterCursor&&(Eze(e,r.head,1,n)||r.head<e.doc.length&&Eze(e,r.head+1,-1,n));i&&(t=t.concat(n.renderMatch(i,e)))}return q_e.set(t,!0)}const kze=[iEe.fromClass(class{constructor(e){this.paused=!1,this.decorations=xze(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=xze(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),yze];function Pze(e={}){return[wze.of(e),kze]}const Tze=new LUe;function _ze(e,t,n){let r=e.prop(t<0?LUe.openedBy:LUe.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}function Cze(e){let t=e.type.prop(Tze);return t?t(e.node):e}function Eze(e,t,n,r={}){let i=r.maxScanDistance||1e4,o=r.brackets||bze,a=dIe(e),s=a.resolveInner(t,n);for(let l=s;l;l=l.parent){let r=_ze(l.type,n,o);if(r&&l.from<l.to){let i=Cze(l);if(i&&(n>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return Rze(e,t,n,l,i,r,o)}}return function(e,t,n,r,i,o,a){if(n<0?!t:t==e.doc.length)return null;let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=a.indexOf(s);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),O=0;for(let d=0;!u.next().done&&d<=o;){let e=u.value;n<0&&(d+=e.length);let o=t+d*n;for(let t=n>0?0:e.length-1,s=n>0?e.length:-1;t!=s;t+=n){let s=a.indexOf(e[t]);if(!(s<0||r.resolveInner(o+t,1).type!=i))if(s%2==0==n>0)O++;else{if(1==O)return{start:c,end:{from:o+t,to:o+t+1},matched:s>>1==l>>1};O--}}n>0&&(d+=e.length)}return u.done?{start:c,matched:!1}:null}(e,t,n,a,s.type,i,o)}function Rze(e,t,n,r,i,o,a){let s=r.parent,l={from:i.from,to:i.to},c=0,u=null==s?void 0:s.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do{if(n<0?u.to<=r.from:u.from>=r.to){if(0==c&&o.indexOf(u.type.name)>-1&&u.from<u.to){let e=Cze(u);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(_ze(u.type,n,a))c++;else if(_ze(u.type,-n,a)){if(0==c){let e=Cze(u);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function Xze(e,t,n,r=0,i=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let o=i;for(let a=r;a<t;a++)9==e.charCodeAt(a)?o+=n-o%n:o++;return o}class Bze{constructor(e,t,n,r){this.string=e,this.tabSize=t,this.indentUnit=n,this.overrideIndent=r,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let t,n=this.string.charAt(this.pos);if(t="string"==typeof e?n==e:n&&(e instanceof RegExp?e.test(n):e(n)),t)return++this.pos,n}eatWhile(e){let t=this.pos;for(;this.eat(e););return this.pos>t}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Xze(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return null!==(e=this.overrideIndent)&&void 0!==e?e:Xze(this.string,null,this.tabSize)}match(e,t,n){if("string"==typeof e){let r=e=>n?e.toLowerCase():e;return r(this.string.substr(this.pos,e.length))==r(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}}function Uze(e){if("object"!=typeof e)return e;let t={};for(let n in e){let r=e[n];t[n]=r instanceof Array?r.slice():r}return t}const Dze=new WeakMap;class Ize extends cIe{constructor(e){let t,n=sIe(e.languageData),r={name:(i=e).name||"",token:i.token,blankLine:i.blankLine||(()=>{}),startState:i.startState||(()=>!0),copyState:i.copyState||Uze,indent:i.indent||(()=>null),languageData:i.languageData||{},tokenTable:i.tokenTable||Vze,mergeTokens:!1!==i.mergeTokens};var i;super(n,new class extends mDe{createParse(e,n,r){return new Mze(t,e,n,r)}},[],e.name),this.topNode=function(e,t){let n=FUe.define({id:qze.length,name:"Document",props:[aIe.add(()=>e),_Ie.add(()=>e=>t.getIndent(e))],top:!0});return qze.push(n),n}(n,this),t=this,this.streamParser=r,this.stateAfter=new LUe({perNode:!0}),this.tokenTable=e.tokenTable?new jze(r.tokenTable):Gze}static define(e){return new Ize(e)}getIndent(e){let t,{overrideIndentation:n}=e.options;n&&(t=Dze.get(e.state),null!=t&&t<e.pos-1e4&&(t=void 0));let r,i,o=zze(this,e.node.tree,e.node.from,e.node.from,null!=t?t:e.pos);if(o?(i=o.state,r=o.pos+1):(i=this.streamParser.startState(e.unit),r=e.node.from),e.pos-r>1e4)return null;for(;r<e.pos;){let t=e.state.doc.lineAt(r),o=Math.min(e.pos,t.to);if(t.length){let r=n?n(t.from):-1,a=new Bze(t.text,e.state.tabSize,e.unit,r<0?void 0:r);for(;a.pos<o-t.from;)Lze(this.streamParser.token,a,i)}else this.streamParser.blankLine(i,e.unit);if(o==e.pos)break;r=t.to+1}let a=e.lineAt(e.pos);return n&&null==t&&Dze.set(e.state,a.from),this.streamParser.indent(i,/^\s*(.*)/.exec(a.text)[1],e)}get allowsNesting(){return!1}}function zze(e,t,n,r,i){let o=n>=r&&n+t.length<=i&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let a=t.children.length-1;a>=0;a--){let o=t.children[a],s=n+t.positions[a],l=o instanceof HUe&&s<i&&zze(e,o,s,r,i);if(l)return l}return null}function Nze(e,t,n,r,i){if(i&&n<=0&&r>=t.length)return t;i||0!=n||t.type!=e.topNode||(i=!0);for(let o=t.children.length-1;o>=0;o--){let a,s=t.positions[o],l=t.children[o];if(s<r&&l instanceof HUe){if(!(a=Nze(e,l,n-s,r-s,i)))break;return i?new HUe(t.type,t.children.slice(0,o).concat(a),t.positions.slice(0,o+1),s+a.length):a}}return null}let Mze=class{constructor(e,t,n,r){this.lang=e,this.input=t,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let i=pIe.get(),o=r[0].from,{state:a,tree:s}=function(e,t,n,r,i){for(let o of t){let t,i=o.from+(o.openStart?25:0),a=o.to-(o.openEnd?25:0),s=i<=n&&a>n&&zze(e,o.tree,0-o.offset,n,a);if(s&&s.pos<=r&&(t=Nze(e,o.tree,n+o.offset,s.pos+o.offset,!1)))return{state:s.state,tree:t}}return{state:e.streamParser.startState(i?xIe(i):4),tree:HUe.empty}}(e,n,o,this.to,null==i?void 0:i.state);this.state=a,this.parsedPos=this.chunkStart=o+s.length;for(let l=0;l<s.children.length;l++)this.chunks.push(s.children[l]),this.chunkPos.push(s.positions[l]);i&&this.parsedPos<i.viewport.from-1e5&&r.some(e=>e.from<=i.viewport.from&&e.to>=i.viewport.from)&&(this.state=this.lang.streamParser.startState(xIe(i.state)),i.skipUntilInView(this.parsedPos,i.viewport.from),this.parsedPos=i.viewport.from),this.moveRangeIndex()}advance(){let e=pIe.get(),t=null==this.stoppedAt?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(t,this.chunkStart+512);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=t?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let e=t.indexOf("\n");e>-1&&(t=t.slice(0,e))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let r=this.rangeIndex;;){let e=this.ranges[r].to;if(e>=n)break;if(t=t.slice(0,e-(n-t.length)),r++,r==this.ranges.length)break;let i=this.ranges[r].from,o=this.lineAfter(i);t+=o,n=i+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let r=this.ranges[this.rangeIndex].to,i=e+t;if(n>0?r>i:r>=i)break;t+=this.ranges[++this.rangeIndex].from-r}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,t,n,r){let i=4;if(this.ranges.length>1){t+=r=this.skipGapsTo(t,r,1);let e=this.chunk.length;n+=r=this.skipGapsTo(n,r,-1),i+=this.chunk.length-e}let o=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&4==i&&o>=0&&this.chunk[o]==e&&this.chunk[o+2]==t?this.chunk[o+2]=n:this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),r=0,{streamParser:i}=this.lang,o=new Bze(t,e?e.state.tabSize:4,e?xIe(e.state):2);if(o.eol())i.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let e=Lze(i.token,o,this.state);if(e&&(r=this.emitToken(this.lang.tokenTable.resolve(e),this.parsedPos+o.start,this.parsedPos+o.pos,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=HUe.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:Fze,topID:0,maxBufferLength:512,reused:this.chunkReused});e=new HUe(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new HUe(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}};function Lze(e,t,n){t.start=t.pos;for(let r=0;r<10;r++){let r=e(t,n);if(t.pos>t.start)return r}throw new Error("Stream parser failed to advance stream.")}const Vze=Object.create(null),qze=[FUe.none],Fze=new WUe(qze),Wze=[],Zze=Object.create(null),Yze=Object.create(null);for(let[os,Set]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Yze[os]=Kze(Vze,Set);class jze{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),Yze)}resolve(e){return e?this.table[e]||(this.table[e]=Kze(this.extra,e)):0}}const Gze=new jze(Vze);function Hze(e,t){Wze.indexOf(e)>-1||Wze.push(e)}function Kze(e,t){let n=[];for(let s of t.split(" ")){let t=[];for(let n of s.split(".")){let r=e[n]||iIe[n];r?"function"==typeof r?t.length?t=t.map(r):Hze(n):t.length?Hze(n):t=Array.isArray(r)?r:[r]:Hze(n)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),i=r+" "+n.map(e=>e.id),o=Zze[i];if(o)return o.id;let a=Zze[i]=FUe.define({id:qze.length,name:r,props:[DDe({[r]:n})]});return qze.push(a),a.id}yCe.RTL,yCe.LTR;function Jze(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}const eNe=Jze(aNe,0),tNe=Jze(oNe,0),nNe=Jze((e,t)=>oNe(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let o=t.length-1;o>=0&&t[o].to>r.from?t[o].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}(t)),0);function rNe(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}const iNe=50;function oNe(e,t,n=t.selection.ranges){let r=n.map(e=>rNe(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>function(e,{open:t,close:n},r,i){let o,a,s=e.sliceDoc(r-iNe,r),l=e.sliceDoc(i,i+iNe),c=/\s*$/.exec(s)[0].length,u=/^\s*/.exec(l)[0].length,O=s.length-c;if(s.slice(O-t.length,O)==t&&l.slice(u,u+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:i+u,margin:u&&1}};i-r<=2*iNe?o=a=e.sliceDoc(r,i):(o=e.sliceDoc(r,r+iNe),a=e.sliceDoc(i-iNe,i));let d=/^\s*/.exec(o)[0].length,h=/\s*$/.exec(a)[0].length,f=a.length-h-n.length;return o.slice(d,d+t.length)==t&&a.slice(f,f+n.length)==n?{open:{pos:r+d+t.length,margin:/\s/.test(o.charAt(d+t.length))?1:0},close:{pos:i-h-n.length,margin:/\s/.test(a.charAt(f-1))?1:0}}:null}(t,r[n],e.from,e.to));if(2!=e&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]))};if(1!=e&&i.some(e=>e)){let e=[];for(let t,n=0;n<i.length;n++)if(t=i[n]){let i=r[n],{open:o,close:a}=t;e.push({from:o.pos-i.open.length,to:o.pos+o.margin},{from:a.pos-a.margin,to:a.pos+i.close.length})}return{changes:e}}return null}function aNe(e,t,n=t.selection.ranges){let r=[],i=-1;e:for(let{from:o,to:a}of n){let e,n=r.length,s=1e9;for(let l=o;l<=a;){let n=t.doc.lineAt(l);if(null==e&&(e=rNe(t,n.from).line,!e))continue e;if(n.from>i&&(o==a||a>n.from)){i=n.from;let t=/^\s*/.exec(n.text)[0].length,o=t==n.length,a=n.text.slice(t,t+e.length)==e?t:-1;t<n.text.length&&t<s&&(s=t),r.push({line:n,comment:a,token:e,indent:t,empty:o,single:!1})}l=n.to+1}if(s<1e9)for(let t=n;t<r.length;t++)r[t].indent<r[t].line.text.length&&(r[t].indent=s);r.length==n+1&&(r[n].single=!0)}if(2!=e&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:i,indent:o,empty:a,single:s}of r)!s&&a||e.push({from:t.from+o,insert:i+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,o=r+i.length;" "==t.text[o-t.from]&&o++,e.push({from:r,to:o})}return{changes:e}}return null}const sNe=BTe.define(),lNe=BTe.define(),cNe=lTe.define(),uNe=lTe.define({combine:e=>HTe(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),ONe=pTe.define({create:()=>PNe.empty,update(e,t){let n=t.state.facet(uNe),r=t.annotation(sNe);if(r){let i=gNe.fromTransaction(t,r.selection),o=r.side,a=0==o?e.undone:e.done;return a=i?vNe(a,a.length,n.minDepth,i):QNe(a,t.startState.selection),new PNe(0==o?r.rest:a,0==o?a:r.rest)}let i=t.annotation(lNe);if("full"!=i&&"before"!=i||(e=e.isolate()),!1===t.annotation(zTe.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=gNe.fromTransaction(t),a=t.annotation(zTe.time),s=t.annotation(zTe.userEvent);return o?e=e.addChanges(o,a,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,a,s,n.newGroupDelay)),"full"!=i&&"after"!=i||(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new PNe(e.done.map(gNe.fromJSON),e.undone.map(gNe.fromJSON))});function dNe(e={}){return[ONe,uNe.of(e),PXe.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?fNe:"historyRedo"==e.inputType?pNe:null;return!!n&&(e.preventDefault(),n(t))}})]}function hNe(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(ONe,!1);if(!i)return!1;let o=i.pop(e,n,t);return!!o&&(r(o),!0)}}const fNe=hNe(0,!1),pNe=hNe(1,!1),ANe=hNe(0,!0),mNe=hNe(1,!0);class gNe{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(e){return new gNe(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new gNe(e.changes&&HPe.fromJSON(e.changes),[],e.mapped&&GPe.fromJSON(e.mapped),e.startSelection&&oTe.fromJSON(e.startSelection),e.selectionsAfter.map(oTe.fromJSON))}static fromTransaction(e,t){let n=bNe;for(let r of e.startState.facet(cNe)){let t=r(e);t.length&&(n=n.concat(t))}return!n.length&&e.changes.empty?null:new gNe(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,bNe)}static selection(e){return new gNe(void 0,bNe,void 0,void 0,e)}}function vNe(e,t,n,r){let i=t+1>n+20?t-n-1:0,o=e.slice(i,t);return o.push(r),o}function yNe(e,t){return e.length?t.length?e.concat(t):e:t}const bNe=[],wNe=200;function QNe(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-wNe));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),vNe(e,e.length-1,1e9,n.setSelAfter(r)))}return[gNe.selection([t])]}function $Ne(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function SNe(e,t){if(!e.length)return e;let n=e.length,r=bNe;for(;n;){let i=xNe(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[gNe.selection(r)]:bNe}function xNe(e,t,n){let r=yNe(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):bNe,n);if(!e.changes)return gNe.selection(r);let i=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new gNe(i,ITe.mapEffects(e.effects,t),a,e.startSelection.map(o),r)}const kNe=/^(input\.type|delete)($|\.)/;class PNe{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new PNe(this.done,this.undone):this}addChanges(e,t,n,r,i){let o=this.done,a=o[o.length-1];return o=a&&a.changes&&!a.changes.empty&&e.changes&&(!n||kNe.test(n))&&(!a.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(i,function(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,o)=>{for(let a=0;a<n.length;){let e=n[a++],t=n[a++];o>=e&&i<=t&&(r=!0)}}),r}(a.changes,e.changes))||"input.type.compose"==n)?vNe(o,o.length-1,r.minDepth,new gNe(e.changes.compose(a.changes),yNe(ITe.mapEffects(e.effects,a.changes),a.effects),a.mapped,a.startSelection,bNe)):vNe(o,o.length,r.minDepth,e),new PNe(o,bNe,t,n)}addSelection(e,t,n,r){let i=this.done.length?this.done[this.done.length-1].selectionsAfter:bNe;return i.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(o=i[i.length-1],a=e,o.ranges.length==a.ranges.length&&0===o.ranges.filter((e,t)=>e.empty!=a.ranges[t].empty).length)?this:new PNe(QNe(this.done,e),this.undone,t,n);var o,a}addMapping(e){return new PNe(SNe(this.done,e),SNe(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let i=r[r.length-1],o=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:sNe.of({side:e,rest:$Ne(r),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){let n=1==r.length?bNe:r.slice(0,r.length-1);return i.mapped&&(n=SNe(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:sNe.of({side:e,rest:n,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}PNe.empty=new PNe(bNe,bNe);const TNe=[{key:"Mod-z",run:fNe,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:pNe,preventDefault:!0},{linux:"Ctrl-Shift-z",run:pNe,preventDefault:!0},{key:"Mod-u",run:ANe,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:mNe,preventDefault:!0}];function _Ne(e,t){return oTe.create(e.ranges.map(t),e.mainIndex)}function CNe(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function ENe({state:e,dispatch:t},n){let r=_Ne(e.selection,n);return!r.eq(e.selection,!0)&&(t(CNe(e,r)),!0)}function RNe(e,t){return oTe.cursor(t?e.to:e.from)}function XNe(e,t){return ENe(e,n=>n.empty?e.moveByChar(n,t):RNe(n,t))}function BNe(e){return e.textDirectionAt(e.state.selection.main.head)==yCe.LTR}const UNe=e=>XNe(e,!BNe(e)),DNe=e=>XNe(e,BNe(e));function INe(e,t){return ENe(e,n=>n.empty?e.moveByGroup(n,t):RNe(n,t))}function zNe(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function NNe(e,t,n){let r,i,o=dIe(e).resolveInner(t.head),a=n?LUe.closedBy:LUe.openedBy;for(let s=t.head;;){let t=n?o.childAfter(s):o.childBefore(s);if(!t)break;zNe(e,t,a)?o=t:s=n?t.to:t.from}return i=o.type.prop(a)&&(r=n?Eze(e,o.from,1):Eze(e,o.to,-1))&&r.matched?n?r.end.to:r.end.from:n?o.to:o.from,oTe.cursor(i,n?-1:1)}function MNe(e,t){return ENe(e,n=>{if(!n.empty)return RNe(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}const LNe=e=>MNe(e,!1),VNe=e=>MNe(e,!0);function qNe(e){let t,n=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,r=0,i=0;if(n){for(let t of e.state.facet(PXe.scrollMargins)){let n=t(e);(null==n?void 0:n.top)&&(r=Math.max(null==n?void 0:n.top,r)),(null==n?void 0:n.bottom)&&(i=Math.max(null==n?void 0:n.bottom,i))}t=e.scrollDOM.clientHeight-r-i}else t=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:i,selfScroll:n,height:Math.max(e.defaultLineHeight,t-5)}}function FNe(e,t){let n,r=qNe(e),{state:i}=e,o=_Ne(i.selection,n=>n.empty?e.moveVertically(n,t,r.height):RNe(n,t));if(o.eq(i.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(i.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),s=a.top+r.marginTop,l=a.bottom-r.marginBottom;t&&t.top>s&&t.bottom<l&&(n=PXe.scrollIntoView(o.main.head,{y:"start",yMargin:t.top-s}))}return e.dispatch(CNe(i,o),{effects:n}),!0}const WNe=e=>FNe(e,!1),ZNe=e=>FNe(e,!0);function YNe(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=oTe.cursor(r.from+n))}return i}function jNe(e,t){let n=_Ne(e.state.selection,e=>{let n=t(e);return oTe.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0,n.assoc)});return!n.eq(e.state.selection)&&(e.dispatch(CNe(e.state,n)),!0)}function GNe(e,t){return jNe(e,n=>e.moveByChar(n,t))}const HNe=e=>GNe(e,!BNe(e)),KNe=e=>GNe(e,BNe(e));function JNe(e,t){return jNe(e,n=>e.moveByGroup(n,t))}function eMe(e,t){return jNe(e,n=>e.moveVertically(n,t))}const tMe=e=>eMe(e,!1),nMe=e=>eMe(e,!0);function rMe(e,t){return jNe(e,n=>e.moveVertically(n,t,qNe(e).height))}const iMe=e=>rMe(e,!1),oMe=e=>rMe(e,!0),aMe=({state:e,dispatch:t})=>(t(CNe(e,{anchor:0})),!0),sMe=({state:e,dispatch:t})=>(t(CNe(e,{anchor:e.doc.length})),!0),lMe=({state:e,dispatch:t})=>(t(CNe(e,{anchor:e.selection.main.anchor,head:0})),!0),cMe=({state:e,dispatch:t})=>(t(CNe(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function uMe(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let o of n.selection.ranges){let r=n.doc.lineAt(o.head);if(t?r.to<e.state.doc.length:r.from>0)for(let n=o;;){let o=e.moveVertically(n,t);if(o.head<r.from||o.head>r.to){i.some(e=>e.head==o.head)||i.push(o);break}if(o.head==n.head)break;n=o}}return i.length!=r.ranges.length&&(e.dispatch(CNe(n,oTe.create(i,i.length-1))),!0)}function OMe(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:o}=r;if(i==o){let a=t(r);a<i?(n="delete.backward",a=dMe(e,a,!1)):a>i&&(n="delete.forward",a=dMe(e,a,!0)),i=Math.min(i,a),o=Math.max(o,a)}else i=dMe(e,i,!1),o=dMe(e,o,!0);return i==o?{range:r}:{changes:{from:i,to:o},range:oTe.cursor(i,i<r.head?-1:1)}});return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?PXe.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function dMe(e,t,n){if(e instanceof PXe)for(let r of e.state.facet(PXe.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}const hMe=(e,t,n)=>OMe(e,r=>{let i,o,a=r.from,{state:s}=e,l=s.doc.lineAt(a);if(n&&!t&&a>l.from&&a<l.from+200&&!/[^ \t]/.test(i=l.text.slice(0,a-l.from))){if("\t"==i[i.length-1])return a-1;let e=p_e(i,s.tabSize)%xIe(s)||xIe(s);for(let t=0;t<e&&" "==i[i.length-1-t];t++)a--;o=a}else o=qPe(l.text,a-l.from,t,t)+l.from,o==a&&l.number!=(t?s.doc.lines:1)?o+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(l.text.slice(o-l.from,a-l.from))&&(o=qPe(l.text,o-l.from,!1,!1)+l.from);return o}),fMe=e=>hMe(e,!1,!0),pMe=e=>hMe(e,!0,!1),AMe=(e,t)=>OMe(e,n=>{let r=n.head,{state:i}=e,o=i.doc.lineAt(r),a=i.charCategorizer(r);for(let e=null;;){if(r==(t?o.to:o.from)){r==n.head&&o.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let s=qPe(o.text,r-o.from,t)+o.from,l=o.text.slice(Math.min(r,s)-o.from,Math.max(r,s)-o.from),c=a(l);if(null!=e&&c!=e)break;" "==l&&r==n.head||(e=c),r=s}return r}),mMe=e=>AMe(e,!1);function gMe(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),o=e.doc.lineAt(r.to);if(r.empty||r.to!=o.from||(o=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=o.to,e.ranges.push(r)}else t.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return t}function vMe(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let o of gMe(e)){if(n?o.to==e.doc.length:0==o.from)continue;let t=e.doc.lineAt(n?o.to+1:o.from-1),a=t.length+1;if(n){r.push({from:o.to,to:t.to},{from:o.from,insert:t.text+e.lineBreak});for(let t of o.ranges)i.push(oTe.range(Math.min(e.doc.length,t.anchor+a),Math.min(e.doc.length,t.head+a)))}else{r.push({from:t.from,to:o.from},{from:o.to,insert:e.lineBreak+t.text});for(let e of o.ranges)i.push(oTe.range(e.anchor-a,e.head-a))}}return!!r.length&&(t(e.update({changes:r,scrollIntoView:!0,selection:oTe.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0)}function yMe(e,t,n){if(e.readOnly)return!1;let r=[];for(let o of gMe(e))n?r.push({from:o.from,insert:e.doc.slice(o.from,o.to)+e.lineBreak}):r.push({from:o.to,insert:e.lineBreak+e.doc.slice(o.from,o.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const bMe=wMe(!1);function wMe(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,o=t.doc.lineAt(r),a=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n,r=dIe(e).resolveInner(t),i=r.childBefore(t),o=r.childAfter(t);return i&&o&&i.to<=t&&o.from>=t&&(n=i.type.prop(LUe.closedBy))&&n.indexOf(o.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(i.to,o.from))?{from:i.to,to:o.from}:null}(t,r);e&&(r=i=(i<=o.to?o:t.doc.lineAt(i)).to);let s=new TIe(t,{simulateBreak:r,simulateDoubleBreak:!!a}),l=PIe(s,r);for(null==l&&(l=p_e(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize));i<o.to&&/\s/.test(o.text[i-o.from]);)i++;a?({from:r,to:i}=a):r>o.from&&r<o.from+100&&!/\S/.test(o.text.slice(0,r))&&(r=o.from);let c=["",kIe(t,l)];return a&&c.push(kIe(t,s.lineIndent(o.from,-1))),{changes:{from:r,to:i,insert:XPe.of(c)},range:oTe.cursor(r+1+c[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}}function QMe(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let o=e.changes(i);return{changes:i,range:oTe.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}const $Me=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(QMe(e,(t,n)=>{n.push({from:t.from,insert:e.facet(SIe)})}),{userEvent:"input.indent"})),!0),SMe=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(QMe(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=p_e(r,e.tabSize),o=0,a=kIe(e,Math.max(0,i-xIe(e)));for(;o<r.length&&o<a.length&&r.charCodeAt(o)==a.charCodeAt(o);)o++;n.push({from:t.from+o,to:t.from+r.length,insert:a.slice(o)})}),{userEvent:"delete.dedent"})),!0),xMe=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>ENe(e,t=>NNe(e.state,t,!BNe(e))),shift:e=>jNe(e,t=>NNe(e.state,t,!BNe(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>ENe(e,t=>NNe(e.state,t,BNe(e))),shift:e=>jNe(e,t=>NNe(e.state,t,BNe(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>vMe(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>yMe(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>vMe(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>yMe(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>uMe(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>uMe(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=oTe.create([n.main]):n.main.empty||(r=oTe.create([oTe.cursor(n.main.head)])),!!r&&(t(CNe(e,r)),!0)}},{key:"Mod-Enter",run:wMe(!0)},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=gMe(e).map(({from:t,to:n})=>oTe.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:oTe.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=_Ne(e.selection,t=>{let n=dIe(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return oTe.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(CNe(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:SMe},{key:"Mod-]",run:$Me},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new TIe(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=QMe(e,(t,i,o)=>{let a=PIe(r,t.from);if(null==a)return;/\S/.test(t.text)||(a=0);let s=/^\s*/.exec(t.text)[0],l=kIe(e,a);(s!=l||o.from<t.from+s.length)&&(n[t.from]=a,i.push({from:t.from,to:t.from+s.length,insert:l}))});return i.changes.empty||t(e.update(i,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(gMe(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=_Ne(t.selection,t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>function(e,t){let n=!1,r=_Ne(e.selection,t=>{let r=Eze(e,t.head,-1)||Eze(e,t.head,1)||t.head>0&&Eze(e,t.head-1,1)||t.head<e.doc.length&&Eze(e,t.head+1,-1);if(!r||!r.end)return t;n=!0;let i=r.start.from==t.head?r.end.to:r.end.from;return oTe.cursor(i)});return!!n&&(t(CNe(e,r)),!0)}(e,t)},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=rNe(e.state,n.from);return r.line?eNe(e):!!r.block&&nNe(e)}},{key:"Alt-A",run:tNe},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:UNe,shift:HNe,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>INe(e,!BNe(e)),shift:e=>JNe(e,!BNe(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>ENe(e,t=>YNe(e,t,!BNe(e))),shift:e=>jNe(e,t=>YNe(e,t,!BNe(e))),preventDefault:!0},{key:"ArrowRight",run:DNe,shift:KNe,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>INe(e,BNe(e)),shift:e=>JNe(e,BNe(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>ENe(e,t=>YNe(e,t,BNe(e))),shift:e=>jNe(e,t=>YNe(e,t,BNe(e))),preventDefault:!0},{key:"ArrowUp",run:LNe,shift:tMe,preventDefault:!0},{mac:"Cmd-ArrowUp",run:aMe,shift:lMe},{mac:"Ctrl-ArrowUp",run:WNe,shift:iMe},{key:"ArrowDown",run:VNe,shift:nMe,preventDefault:!0},{mac:"Cmd-ArrowDown",run:sMe,shift:cMe},{mac:"Ctrl-ArrowDown",run:ZNe,shift:oMe},{key:"PageUp",run:WNe,shift:iMe},{key:"PageDown",run:ZNe,shift:oMe},{key:"Home",run:e=>ENe(e,t=>YNe(e,t,!1)),shift:e=>jNe(e,t=>YNe(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:aMe,shift:lMe},{key:"End",run:e=>ENe(e,t=>YNe(e,t,!0)),shift:e=>jNe(e,t=>YNe(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:sMe,shift:cMe},{key:"Enter",run:bMe,shift:bMe},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:fMe,shift:fMe,preventDefault:!0},{key:"Delete",run:pMe,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:mMe,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>AMe(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>OMe(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>OMe(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),preventDefault:!0}].concat([{key:"Ctrl-b",run:UNe,shift:HNe,preventDefault:!0},{key:"Ctrl-f",run:DNe,shift:KNe},{key:"Ctrl-p",run:LNe,shift:tMe},{key:"Ctrl-n",run:VNe,shift:nMe},{key:"Ctrl-a",run:e=>ENe(e,t=>oTe.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>jNe(e,t=>oTe.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>ENe(e,t=>oTe.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>jNe(e,t=>oTe.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:pMe},{key:"Ctrl-h",run:fMe},{key:"Ctrl-k",run:e=>OMe(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)})},{key:"Ctrl-Alt-h",run:mMe},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:XPe.of(["",""])},range:oTe.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),i=n==r.from?n-1:qPe(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:qPe(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:o,insert:e.doc.slice(n,o).append(e.doc.slice(i,n))},range:oTe.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:ZNe}].map(e=>({mac:e.key,run:e.run,shift:e.shift})))),kMe={key:"Tab",run:$Me,shift:SMe},PMe="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class TMe{constructor(e,t,n=0,r=e.length,i,o){this.test=o,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(PMe(e)):PMe,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return FPe(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=WPe(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=ZPe(e);let r=this.normalize(t);if(r.length)for(let i=0,o=n,a=!0;;i++){let e=r.charCodeAt(i),n=this.match(e,o,a,this.bufferPos+this.bufferStart,i==r.length-1);if(n)return this.value=n,this;if(i==r.length-1)break;a&&i<t.length&&t.charCodeAt(i)==e?o++:a=!1}}}match(e,t,n,r,i){let o=null;for(let a=0;a<this.matches.length;){let t=this.matches[a],n=!1;this.query.charCodeAt(t.index)==e&&(t.index==this.query.length-1?o={from:t.from,to:r,precise:i&&t.precise}:(t.index++,n=!0)),n?a++:this.matches.splice(a,1)}return this.query.charCodeAt(0)==e&&(1==this.query.length?o={from:t,to:r,precise:n&&i}:this.matches.push({from:t,index:1,precise:n})),o&&this.test&&!this.test(o.from,o.to,this.buffer,this.bufferStart)&&(o=null),o}}"undefined"!=typeof Symbol&&(TMe.prototype[Symbol.iterator]=function(){return this});const _Me={from:-1,to:-1,match:/.*/.exec(""),precise:!0},CMe="gm"+(null==/x/.unicode?"":"u");class EMe{constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine="",this.done=!1,this.value=_Me,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new BMe(e,t,n,r,i);this.re=new RegExp(t,CMe+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.iter=e.iter();let o=e.lineAt(r);this.curLineStart=o.from,this.matchPos=UMe(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=UMe(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,precise:!0,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}const RMe=new WeakMap;class XMe{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let r=RMe.get(e);if(!r||r.from>=n||r.to<=t){let r=new XMe(t,e.sliceString(t,n));return RMe.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:o}=r;return o>t&&(i=e.sliceString(t,o)+i,o=t),r.to<n&&(i+=e.sliceString(r.to,n)),RMe.set(e,new XMe(o,i)),new XMe(t,i.slice(t-o,n-o))}}class BMe{constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=_Me,this.matchPos=UMe(e,r),this.re=new RegExp(t,CMe+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.flat=XMe.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,precise:!0,match:t},this.matchPos=UMe(this.text,n+(e==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=XMe.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function UMe(e,t){if(t>=e.length)return t;let n,r=e.lineAt(t);for(;t<r.to&&(n=r.text.charCodeAt(t-r.from))>=56320&&n<57344;)t++;return t}"undefined"!=typeof Symbol&&(EMe.prototype[Symbol.iterator]=BMe.prototype[Symbol.iterator]=function(){return this});const DMe={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},IMe=lTe.define({combine:e=>HTe(e,DMe,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})});const zMe=q_e.mark({class:"cm-selectionMatch"}),NMe=q_e.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function MMe(e,t,n,r){return!(0!=n&&e(t.sliceDoc(n-1,n))==WTe.Word||r!=t.doc.length&&e(t.sliceDoc(r,r+1))==WTe.Word)}const LMe=iEe.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(IMe),{state:n}=e,r=n.selection;if(r.ranges.length>1)return q_e.none;let i,o=r.main,a=null;if(o.empty){if(!t.highlightWordAroundCursor)return q_e.none;let e=n.wordAt(o.head);if(!e)return q_e.none;a=n.charCategorizer(o.head),i=n.sliceDoc(e.from,e.to)}else{let e=o.to-o.from;if(e<t.minSelectionLength||e>200)return q_e.none;if(t.wholeWords){if(i=n.sliceDoc(o.from,o.to),a=n.charCategorizer(o.head),!MMe(a,n,o.from,o.to)||!function(e,t,n,r){return e(t.sliceDoc(n,n+1))==WTe.Word&&e(t.sliceDoc(r-1,r))==WTe.Word}(a,n,o.from,o.to))return q_e.none}else if(i=n.sliceDoc(o.from,o.to),!i)return q_e.none}let s=[];for(let l of e.visibleRanges){let e=new TMe(n.doc,i,l.from,l.to);for(;!e.next().done;){let{from:r,to:i}=e.value;if((!a||MMe(a,n,r,i))&&(o.empty&&r<=o.from&&i>=o.to?s.push(NMe.range(r,i)):(r>=o.to||i<=o.from)&&s.push(zMe.range(r,i)),s.length>t.maxMatches))return q_e.none}}return q_e.set(s)}},{decorations:e=>e.decorations}),VMe=PXe.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});const qMe=lTe.define({combine:e=>HTe(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new vLe(e),scrollToMatch:e=>PXe.scrollIntoView(e)})});class FMe{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,CMe),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new KMe(this):new YMe(this)}getCursor(e,t=0,n){let r=e.doc?e:GTe.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?jMe(this,r,t,n):ZMe(this,r,t,n)}}class WMe{constructor(e){this.spec=e}}function ZMe(e,t,n,r){let i;var o,a;return e.wholeWord&&(o=t.doc,a=t.charCategorizer(t.selection.main.head),i=(e,t,n,r)=>((r>e||r+n.length<t)&&(r=Math.max(0,e-2),n=o.sliceString(r,Math.min(o.length,t+2))),!(a(GMe(n,e-r))==WTe.Word&&a(HMe(n,e-r))==WTe.Word||a(HMe(n,t-r))==WTe.Word&&a(GMe(n,t-r))==WTe.Word))),e.test&&(i=function(e,t,n){return(r,i,o,a)=>{if(n&&!n(r,i,o,a))return!1;let s=r>=a&&i<=a+o.length?o.slice(r-a,i-a):t.doc.sliceString(r,i);return e(s,t,r,i)}}(e.test,t,i)),new TMe(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),i)}class YMe extends WMe{constructor(e){super(e)}nextMatch(e,t,n){let r=ZMe(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=ZMe(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=ZMe(this.spec,e,n,r),o=null;for(;!i.nextOverlapping().done;)o=i.value;if(o)return o;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),!r||r.from==t&&r.to==n?null:r}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=ZMe(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=ZMe(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}function jMe(e,t,n,r){let i;var o;return e.wholeWord&&(o=t.charCategorizer(t.selection.main.head),i=(e,t,n)=>!n[0].length||(o(GMe(n.input,n.index))!=WTe.Word||o(HMe(n.input,n.index))!=WTe.Word)&&(o(HMe(n.input,n.index+n[0].length))!=WTe.Word||o(GMe(n.input,n.index+n[0].length))!=WTe.Word)),e.test&&(i=function(e,t,n){return(r,i,o)=>(!n||n(r,i,o))&&e(o[0],t,r,i)}(e.test,t,i)),new EMe(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:i},n,r)}function GMe(e,t){return e.slice(qPe(e,t,!1),t)}function HMe(e,t){return e.slice(t,qPe(e,t))}class KMe extends WMe{nextMatch(e,t,n){let r=jMe(this.spec,e,n,e.doc.length).next();return r.done&&(r=jMe(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-1e4*r),o=jMe(this.spec,e,i,n),a=null;for(;!o.next().done;)a=o.value;if(a&&(i==t||a.from>i+10))return a;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let r=n.length;r>0;r--){let t=+n.slice(0,r);if(t>0&&t<e.match.length)return e.match[t]+n.slice(r)}return t})}matchAll(e,t){let n=jMe(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=jMe(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}const JMe=ITe.define(),eLe=ITe.define(),tLe=pTe.define({create:e=>new nLe(hLe(e).create(),null),update(e,t){for(let n of t.effects)n.is(JMe)?e=new nLe(n.value.create(),e.panel):n.is(eLe)&&(e=new nLe(e.query,n.value?dLe:null));return e},provide:e=>YBe.from(e,e=>e.panel)});class nLe{constructor(e,t){this.query=e,this.panel=t}}const rLe=q_e.mark({class:"cm-searchMatch"}),iLe=q_e.mark({class:"cm-searchMatch cm-searchMatch-selected"}),oLe=iEe.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(tLe))}update(e){let t=e.state.field(tLe);(t!=e.startState.field(tLe)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return q_e.none;let{view:n}=this,r=new i_e;for(let i=0,o=n.visibleRanges,a=o.length;i<a;i++){let{from:t,to:s}=o[i];for(;i<a-1&&s>o[i+1].from-500;)s=o[++i].to;e.highlight(n.state,t,s,(e,t)=>{let i=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,i?iLe:rLe)})}return r.finish()}},{decorations:e=>e.decorations});function aLe(e){return t=>{let n=t.state.field(tLe,!1);return n&&n.query.spec.valid?e(t,n):ALe(t)}}const sLe=aLe((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=oTe.single(r.from,r.to),o=e.state.facet(qMe);return e.dispatch({selection:i,effects:[QLe(e,r),o.scrollToMatch(i.main,e)],userEvent:"select.search"}),pLe(e),!0}),lLe=aLe((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let o=oTe.single(i.from,i.to),a=e.state.facet(qMe);return e.dispatch({selection:o,effects:[QLe(e,i),a.scrollToMatch(o.main,e)],userEvent:"select.search"}),pLe(e),!0}),cLe=aLe((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!(!n||!n.length)&&(e.dispatch({selection:oTe.create(n.map(e=>oTe.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),uLe=aLe((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let o=t.nextMatch(n,r,r);if(!o)return!1;let a,s,l=o,c=[],u=[];l.precise?l.from==r&&l.to==i&&(s=n.toText(t.getReplacement(l)),c.push({from:l.from,to:l.to,insert:s}),l=t.nextMatch(n,l.from,l.to),u.push(PXe.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))):l=t.nextMatch(n,l.from,l.to);let O=e.state.changes(c);return l&&(a=oTe.single(l.from,l.to).map(O),u.push(QLe(e,l)),u.push(n.facet(qMe).scrollToMatch(a.main,e))),e.dispatch({changes:O,selection:a,effects:u,userEvent:"input.replace"}),!0}),OLe=aLe((e,{query:t})=>{if(e.state.readOnly)return!1;let n=[];for(let i of t.matchAll(e.state,1e9)){let{from:e,to:r,precise:o}=i;o&&n.push({from:e,to:r,insert:t.getReplacement(i)})}if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:PXe.announce.of(r),userEvent:"input.replace.all"}),!0});function dLe(e){return e.state.facet(qMe).createPanel(e)}function hLe(e,t){var n,r,i,o,a;let s=e.selection.main,l=s.empty||s.to>s.from+100?"":e.sliceDoc(s.from,s.to);if(t&&!l)return t;let c=e.facet(qMe);return new FMe({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(r=null==t?void 0:t.caseSensitive)&&void 0!==r?r:c.caseSensitive,literal:null!==(i=null==t?void 0:t.literal)&&void 0!==i?i:c.literal,regexp:null!==(o=null==t?void 0:t.regexp)&&void 0!==o?o:c.regexp,wholeWord:null!==(a=null==t?void 0:t.wholeWord)&&void 0!==a?a:c.wholeWord})}function fLe(e){let t=qBe(e,dLe);return t&&t.dom.querySelector("[main-field]")}function pLe(e){let t=fLe(e);t&&t==e.root.activeElement&&t.select()}const ALe=e=>{let t=e.state.field(tLe,!1);if(t&&t.panel){let n=fLe(e);if(n&&n!=e.root.activeElement){let r=hLe(e.state,t.query.spec);r.valid&&e.dispatch({effects:JMe.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[eLe.of(!0),t?JMe.of(hLe(e.state,t.query.spec)):ITe.appendConfig.of(SLe)]});return!0},mLe=e=>{let t=e.state.field(tLe,!1);if(!t||!t.panel)return!1;let n=qBe(e,dLe);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:eLe.of(!1)}),!0},gLe=[{key:"Mod-f",run:ALe,scope:"editor search-panel"},{key:"F3",run:sLe,shift:lLe,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:sLe,shift:lLe,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:mLe,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],a=0;for(let s=new TMe(e.doc,e.sliceDoc(r,i));!s.next().done;){if(o.length>1e3)return!1;s.value.from==r&&(a=o.length),o.push(oTe.range(s.value.from,s.value.to))}return t(e.update({selection:oTe.create(o,a),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let{state:t}=e,n=String(t.doc.lineAt(e.state.selection.main.head).number),{close:r,result:i}=jBe(e,{label:t.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:t.phrase("go")});return i.then(n=>{let i=n&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.elements.line.value);if(!i)return void e.dispatch({effects:r});let o=t.doc.lineAt(t.selection.main.head),[,a,s,l,c]=i,u=l?+l.slice(1):0,O=s?+s:o.number;if(s&&c){let e=O/100;a&&(e=e*("-"==a?-1:1)+o.number/t.doc.lines),O=Math.round(t.doc.lines*e)}else s&&a&&(O=O*("-"==a?-1:1)+o.number);let d=t.doc.line(Math.max(1,Math.min(t.doc.lines,O))),h=oTe.cursor(d.from+Math.max(0,Math.min(u,d.length)));e.dispatch({effects:[r,PXe.scrollIntoView(h.from,{y:"center"})],selection:h})}),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=oTe.create(n.ranges.map(t=>e.wordAt(t.head)||oTe.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let i=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let a=!1,s=new TMe(e.doc,t,r[r.length-1].to);;){if(s.next(),!s.done){if(a&&r.some(e=>e.from==s.value.from))continue;if(o){let t=e.wordAt(s.value.from);if(!t||t.from!=s.value.from||t.to!=s.value.to)continue}return s.value}if(a)return null;s=new TMe(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),a=!0}}(e,r);return!!i&&(t(e.update({selection:e.selection.addRange(oTe.range(i.from,i.to),!1),effects:PXe.scrollIntoView(i.to)})),!0)},preventDefault:!0}];class vLe{constructor(e){this.view=e;let t=this.query=e.state.field(tLe).query.spec;function n(e,t,n){return Q_e("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=Q_e("input",{value:t.search,placeholder:yLe(e,"Find"),"aria-label":yLe(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Q_e("input",{value:t.replace,placeholder:yLe(e,"Replace"),"aria-label":yLe(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Q_e("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Q_e("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Q_e("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=Q_e("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>sLe(e),[yLe(e,"next")]),n("prev",()=>lLe(e),[yLe(e,"previous")]),n("select",()=>cLe(e),[yLe(e,"all")]),Q_e("label",null,[this.caseField,yLe(e,"match case")]),Q_e("label",null,[this.reField,yLe(e,"regexp")]),Q_e("label",null,[this.wordField,yLe(e,"by word")]),...e.state.readOnly?[]:[Q_e("br"),this.replaceField,n("replace",()=>uLe(e),[yLe(e,"replace")]),n("replaceAll",()=>OLe(e),[yLe(e,"replace all")])],Q_e("button",{name:"close",onclick:()=>mLe(e),"aria-label":yLe(e,"close"),type:"button"},["×"])])}commit(){let e=new FMe({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:JMe.of(e)}))}keydown(e){var t,n,r;t=this.view,n=e,r="search-panel",LXe(IXe(t.state),n,t,r)?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?lLe:sLe)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),uLe(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(JMe)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(qMe).top}}function yLe(e,t){return e.state.phrase(t)}const bLe=30,wLe=/[\s\.,:;?!]/;function QLe(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,o=Math.max(r.from,t-bLe),a=Math.min(i,n+bLe),s=e.state.sliceDoc(o,a);if(o!=r.from)for(let l=0;l<bLe;l++)if(!wLe.test(s[l+1])&&wLe.test(s[l])){s=s.slice(l);break}if(a!=i)for(let l=s.length-1;l>s.length-bLe;l--)if(!wLe.test(s[l-1])&&wLe.test(s[l])){s=s.slice(0,l);break}return PXe.announce.of(`${e.state.phrase("current match")}. ${s} ${e.state.phrase("on line")} ${r.number}.`)}const $Le=PXe.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),SLe=[tLe,bTe.low(oLe),$Le];class xLe{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=dIe(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(ELe(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function kLe(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function PLe(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let e=1;e<i.length;e++)n[i[e]]=!0}let r=kLe(t)+kLe(n)+"*$";return[new RegExp("^"+r),new RegExp(r)]}(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function TLe(e,t){return n=>{for(let t=dIe(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}class _Le{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function CLe(e){return e.selection.main.from}function ELe(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?new RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}const RLe=BTe.define();function XLe(e,t,n,r){let{main:i}=e.selection,o=n-i.from,a=r-i.from;return{...e.changeByRange(s=>{if(s!=i&&n!=r&&e.sliceDoc(s.from+o,s.from+a)!=e.sliceDoc(n,r))return{range:s};let l=e.toText(t);return{changes:{from:s.from+o,to:r==i.from?s.to:s.from+a,insert:l},range:oTe.cursor(s.from+o+l.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const BLe=new WeakMap;function ULe(e){if(!Array.isArray(e))return e;let t=BLe.get(e);return t||BLe.set(e,t=PLe(e)),t}const DLe=ITe.define(),ILe=ITe.define();class zLe{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=FPe(e,t),r=ZPe(n);this.chars.push(n);let i=e.slice(t,t+r),o=i.toUpperCase();this.folded.push(FPe(o==i?i.toLowerCase():o,0)),t+=r}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:r,precise:i,byWord:o}=this;if(1==t.length){let r=FPe(e,0),i=ZPe(r),o=i==e.length?0:-100;if(r==t[0]);else{if(r!=n[0])return null;o+=-200}return this.ret(o,[0,i])}let a=e.indexOf(this.pattern);if(0==a)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,l=0;if(a<0){for(let i=0,o=Math.min(e.length,200);i<o&&l<s;){let o=FPe(e,i);o!=t[l]&&o!=n[l]||(r[l++]=i),i+=ZPe(o)}if(l<s)return null}let c=0,u=0,O=!1,d=0,h=-1,f=-1,p=/[a-z]/.test(e),A=!0;for(let m=0,g=Math.min(e.length,200),v=0;m<g&&u<s;){let r=FPe(e,m);a<0&&(c<s&&r==t[c]&&(i[c++]=m),d<s&&(r==t[d]||r==n[d]?(0==d&&(h=m),f=m+1,d++):d=0));let l,g=r<255?r>=48&&r<=57||r>=97&&r<=122?2:r>=65&&r<=90?1:0:(l=WPe(r))!=l.toLowerCase()?1:l!=l.toUpperCase()?2:0;(!m||1==g&&p||0==v&&0!=g)&&(t[u]==r||n[u]==r&&(O=!0)?o[u++]=m:o.length&&(A=!1)),v=g,m+=ZPe(r)}return u==s&&0==o[0]&&A?this.result((O?-200:0)-100,o,e):d==s&&0==h?this.ret(-200-e.length+(f==e.length?0:-100),[0,f]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):d==s?this.ret(-900-e.length,[h,f]):u==s?this.result((O?-200:0)-100-700+(A?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)}result(e,t,n){let r=[],i=0;for(let o of t){let e=o+(this.astral?ZPe(FPe(n,o)):1);i&&r[i-1]==o?r[i-1]=e:(r[i++]=o,r[i++]=e)}return this.ret(e-n.length,r)}}class NLe{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}const MLe=lTe.define({combine:e=>HTe(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:VLe,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>LLe(e(n),t(n)),optionClass:(e,t)=>n=>LLe(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function LLe(e,t){return e?t?e+" "+t:e:t}function VLe(e,t,n,r,i,o){let a,s,l=e.textDirection==yCe.RTL,c=l,u=!1,O="top",d=t.left-i.left,h=i.right-t.right,f=r.right-r.left,p=r.bottom-r.top;if(c&&d<Math.min(f,h)?c=!1:!c&&h<Math.min(f,d)&&(c=!0),f<=(c?d:h))a=Math.max(i.top,Math.min(n.top,i.bottom-p))-t.top,s=Math.min(400,c?d:h);else{u=!0,s=Math.min(400,(l?t.right:i.right-t.left)-30);let e=i.bottom-t.bottom;e>=p||e>t.top?a=n.bottom-t.top:(O="bottom",a=t.bottom-n.top)}return{style:`${O}: ${a/((t.bottom-t.top)/o.offsetHeight)}px; max-width: ${s/((t.right-t.left)/o.offsetWidth)}px`,class:"cm-completionInfo-"+(u?l?"left-narrow":"right-narrow":c?"left":"right")}}const qLe=ITe.define();function FLe(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.ceil((e-t)/n);return{from:e-r*n,to:e-(r-1)*n}}class WLe{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:i,selected:o}=r.open,a=e.state.facet(MLe);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){let i=document.createElement("span");i.className="cm-completionLabel";let o=e.displayLabel||e.label,a=0;for(let s=0;s<r.length;){let e=r[s++],t=r[s++];e>a&&i.appendChild(document.createTextNode(o.slice(a,e)));let n=i.appendChild(document.createElement("span"));n.appendChild(document.createTextNode(o.slice(e,t))),n.className="cm-completionMatchedText",a=t}return a<o.length&&i.appendChild(document.createTextNode(o.slice(a))),i},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=FLe(i.length,o,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t,i=n.target;i&&i!=this.dom;i=i.parentNode)if("LI"==i.nodeName&&(t=/-(\d+)$/.exec(i.id))&&+t[1]<r.length)return this.applyCompletion(e,r[+t[1]]),void n.preventDefault();if(n.target==this.list){let t=this.list.classList.contains("cm-completionListIncompleteTop")&&n.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&n.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;null!=t&&(e.dispatch({effects:qLe.of(t)}),n.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(MLe).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:ILe.of(null)})}),this.showOptions(i,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:i,selected:o,disabled:a}=n.open;r.open&&r.open.options==i||(this.range=FLe(i.length,o,e.state.facet(MLe).maxRenderedOptions),this.showOptions(i,n.id)),this.updateSel(),a!=(null===(t=r.open)||void 0===t?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=FLe(t.options.length,t.selected,this.view.state.facet(MLe).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:i}=r;if(!i)return;let o="string"==typeof i?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>eEe(this.view.state,e,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)"LI"==n.nodeName&&n.id?r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&(n.removeAttribute("aria-selected"),n.removeAttribute("aria-describedby")):r--;return t&&function(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.height/e.offsetHeight;r.top<n.top?e.scrollTop-=(n.top-r.top)/i:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/i)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(MLe).positionInfo(this.view,t,r,n,i,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){const r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions")),r.addEventListener("mousedown",e=>{e.target==r&&e.preventDefault()});let i=null;for(let o=n.from;o<n.to;o++){let{completion:a,match:s}=e[o],{section:l}=a;if(l){let e="string"==typeof l?l:l.name;if(e!=i&&(o>n.from||0==n.from))if(i=e,"string"!=typeof l&&l.header)r.appendChild(l.header(l));else{r.appendChild(document.createElement("completion-section")).textContent=e}}const c=r.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(a);u&&(c.className=u);for(let e of this.optionContent){let t=e(a,this.view.state,this.view,s);t&&c.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function ZLe(e,t){return n=>new WLe(n,e,t)}function YLe(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class jLe{constructor(e,t,n,r,i,o){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new jLe(this.options,JLe(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,i,o){if(r&&!o&&e.some(e=>e.isPending))return r.setDisabled();let a=function(e,t){let n=[],r=null,i=null,o=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},a=t.facet(MLe);for(let u of e)if(u.hasResult()){let e=u.result.getMatch;if(!1===u.result.filter)for(let t of u.result.options)o(new _Le(t,u.source,e?e(t):[],1e9-n.length));else{let n,r=t.sliceDoc(u.from,u.to),s=a.filterStrict?new NLe(r):new zLe(r);for(let t of u.result.options)if(n=s.match(t.label)){let r=t.displayLabel?e?e(t,n.matched):[]:n.matched,a=n.score+(t.boost||0);if(o(new _Le(t,u.source,r,a)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(a,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0,o=(e,t)=>("dynamic"===e.rank&&"dynamic"===t.rank?i[t.name]-i[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.name<t.name?-1:1);for(let n of r.sort(o))t-=1e5,e[n.name]=t;for(let r of n){let{section:t}=r.completion;t&&(r.score+=e["string"==typeof t?t:t.name])}}let s=[],l=null,c=a.compareCompletions;for(let u of n.sort((e,t)=>t.score-e.score||c(e.completion,t.completion))){let e=u.completion;!l||l.label!=e.label||l.detail!=e.detail||null!=l.type&&null!=e.type&&l.type!=e.type||l.apply!=e.apply||l.boost!=e.boost?s.push(u):YLe(u.completion)>YLe(l)&&(s[s.length-1]=u),l=u.completion}return s}(e,t);if(!a.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let s=t.facet(MLe).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<a.length;t++)if(a[t].completion==e){s=t;break}}return new jLe(a,JLe(n,s),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:sVe,above:i.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new jLe(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new jLe(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class GLe{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new GLe(eVe,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(MLe),r=(n.override||t.languageDataAt("autocomplete",CLe(t)).map(ULe)).map(t=>(this.active.find(e=>e.source==t)||new nVe(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let i=this.open,o=e.effects.some(e=>e.is(iVe));i&&e.docChanged&&(i=i.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let i=n==e.length,o=r==t.length;if(i||o)return i==o;if(e[n++].result!=t[r++].result)return!1}}(r,this.active)||o?i=jLe.build(r,t,this.id,i,n,o):i&&i.disabled&&!r.some(e=>e.isPending)&&(i=null),!i&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new nVe(e.source,0):e));for(let a of e.effects)a.is(qLe)&&(i=i&&i.setSelected(a.value,this.id));return r==this.active&&i==this.open?this:new GLe(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?HLe:KLe}}const HLe={"aria-autocomplete":"list"},KLe={};function JLe(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const eVe=[];function tVe(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(RLe);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class nVe{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=tVe(e,t),r=this;(8&n||16&n&&this.touches(e))&&(r=new nVe(r.source,0)),4&n&&0==r.state&&(r=new nVe(this.source,1)),r=r.updateFor(e,n);for(let i of e.effects)if(i.is(DLe))r=new nVe(r.source,1,i.value);else if(i.is(ILe))r=new nVe(r.source,0);else if(i.is(iVe))for(let e of i.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(CLe(e.state))}}class rVe extends nVe{constructor(e,t,n,r,i,o){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=o}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let i=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),a=CLe(e.state);if(a>o||!r||2&t&&(CLe(e.startState)==this.from||a<this.limit))return new nVe(this.source,4&t?1:0);let s=e.changes.mapPos(this.limit);return function(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return"function"==typeof e?e(i,n,r,t):ELe(e,!0).test(i)}(r.validFor,e.state,i,o)?new rVe(this.source,this.explicit,s,r,i,o):r.update&&(r=r.update(r,i,o,new xLe(e.state,a,!1)))?new rVe(this.source,this.explicit,s,r,r.from,null!==(n=r.to)&&void 0!==n?n:CLe(e.state)):new nVe(this.source,1,this.explicit)}map(e){if(e.empty)return this;let t=this.result.map?this.result.map(this.result,e):this.result;return t?new rVe(this.source,this.explicit,e.mapPos(this.limit),t,e.mapPos(this.from),e.mapPos(this.to,1)):new nVe(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}const iVe=ITe.define({map:(e,t)=>e.map(e=>e.map(t))}),oVe=pTe.define({create:()=>GLe.start(),update:(e,t)=>e.update(t),provide:e=>[RBe.from(e,e=>e.tooltip),PXe.contentAttributes.from(e,e=>e.attrs)]});function aVe(e,t){const n=t.completion.apply||t.completion.label;let r=e.state.field(oVe).active.find(e=>e.source==t.source);return r instanceof rVe&&("string"==typeof n?e.dispatch({...XLe(e.state,n,r.from,r.to),annotations:RLe.of(t.completion)}):n(e,t.completion,r.from,r.to),!0)}const sVe=ZLe(oVe,aVe);function lVe(e,t="option"){return n=>{let r=n.state.field(oVe,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(MLe).interactionDelay)return!1;let i,o=1;"page"==t&&(i=MBe(n,r.open.tooltip))&&(o=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));let{length:a}=r.open.options,s=r.open.selected>-1?r.open.selected+o*(e?1:-1):e?0:a-1;return s<0?s="page"==t?0:a-1:s>=a&&(s="page"==t?a-1:0),n.dispatch({effects:qLe.of(s)}),!0}}const cVe=e=>!!e.state.field(oVe,!1)&&(e.dispatch({effects:DLe.of(!0)}),!0);class uVe{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const OVe=iEe.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(oVe).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(oVe),n=e.state.facet(MLe);if(!e.selectionSet&&!e.docChanged&&e.startState.field(oVe)==t)return;let r=e.transactions.some(e=>{let t=tVe(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let o=0;o<this.running.length;o++){let t=this.running[o];if(r||t.context.abortOnDocChange&&e.docChanged||t.updates.length+e.transactions.length>50&&Date.now()-t.time>1e3){for(let e of t.context.abortListeners)try{e()}catch(sy){eEe(this.view.state,sy)}t.context.abortListeners=null,this.running.splice(o--,1)}else t.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(DLe)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),i):-1,0!=this.composing)for(let o of e.transactions)o.isUserEvent("input.type")?this.composing=2:2==this.composing&&o.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(oVe);for(let n of t.active)n.isPending&&!this.running.some(e=>e.active.source==n.source)&&this.startQuery(n);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(MLe).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=CLe(t),r=new xLe(t,n,e.explicit,this.view),i=new uVe(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:ILe.of(null)}),eEe(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(MLe).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(MLe),r=this.view.state.field(oVe);for(let i=0;i<this.running.length;i++){let o=this.running[i];if(void 0===o.done)continue;if(this.running.splice(i--,1),o.done){let r=CLe(o.updates.length?o.updates[0].startState:this.view.state),i=Math.min(r,o.done.from+(o.active.explicit?0:1)),a=new rVe(o.active.source,o.active.explicit,i,o.done,o.done.from,null!==(e=o.done.to)&&void 0!==e?e:r);for(let e of o.updates)a=a.update(e,n);if(a.hasResult()){t.push(a);continue}}let a=r.active.find(e=>e.source==o.active.source);if(a&&a.isPending)if(null==o.done){let e=new nVe(o.active.source,0);for(let t of o.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(a)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:iVe.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(oVe,!1);if(t&&t.tooltip&&this.view.state.facet(MLe).closeOnBlur){let n=t.open&&MBe(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:ILe.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:DLe.of(!1)}),20),this.composing=0}}}),dVe="object"==typeof navigator&&/Win/.test(navigator.platform),hVe=bTe.highest(PXe.domEventHandlers({keydown(e,t){let n=t.state.field(oVe,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&(!dVe||!e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&aVe(t,r),!1}})),fVe=PXe.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class pVe{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class AVe{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,jPe.TrackDel),n=e.mapPos(this.to,1,jPe.TrackDel);return null==t||null==n?null:new AVe(this.field,t,n)}}class mVe{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),o=/^\s*/.exec(i.text)[0];for(let a of this.lines){if(n.length){let n=o,i=/^\t*/.exec(a)[0].length;for(let t=0;t<i;t++)n+=e.facet(SIe);r.push(t+n.length-i),a=n+a.slice(i)}n.push(a),t+=a.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new AVe(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t,n=[],r=[],i=[];for(let o of e.split(/\r\n?|\n/)){for(;t=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let e=t[1]?+t[1]:null,a=t[2]||t[3]||"",s=-1;0===e&&(e=1e9);let l=a.replace(/\\[{}]/g,e=>e[1]);for(let t=0;t<n.length;t++)(null!=e?n[t].seq==e:l&&n[t].name==l)&&(s=t);if(s<0){let t=0;for(;t<n.length&&(null==e||null!=n[t].seq&&n[t].seq<e);)t++;n.splice(t,0,{seq:e,name:l}),s=t;for(let e of i)e.field>=s&&e.field++}for(let n of i)if(n.line==r.length&&n.from>t.index){let e=t[2]?3+(t[1]||"").length:2;n.from-=e,n.to-=e}i.push(new pVe(s,r.length,t.index,t.index+l.length)),o=o.slice(0,t.index)+a+o.slice(t.index+t[0].length)}o=o.replace(/\\([{}])/g,(e,t,n)=>{for(let o of i)o.line==r.length&&o.from>n&&(o.from--,o.to--);return t}),r.push(o)}return new mVe(r,i)}}let gVe=q_e.widget({widget:new class extends L_e{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),vVe=q_e.mark({class:"cm-snippetField"});class yVe{constructor(e,t){this.ranges=e,this.active=t,this.deco=q_e.set(e.map(e=>(e.from==e.to?gVe:vVe).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new yVe(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}const bVe=ITe.define({map:(e,t)=>e&&e.map(t)}),wVe=ITe.define(),QVe=pTe.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(bVe))return n.value;if(n.is(wVe)&&e)return new yVe(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>PXe.decorations.from(e,e=>e?e.deco:q_e.none)});function $Ve(e,t){return oTe.create(e.filter(e=>e.field==t).map(e=>oTe.range(e.from,e.to)))}function SVe(e){let t=mVe.parse(e);return(e,n,r,i)=>{let{text:o,ranges:a}=t.instantiate(e.state,r),{main:s}=e.state.selection,l={changes:{from:r,to:i==s.from?s.to:i,insert:XPe.of(o)},scrollIntoView:!0,annotations:n?[RLe.of(n),zTe.userEvent.of("input.complete")]:void 0};if(a.length&&(l.selection=$Ve(a,0)),a.some(e=>e.field>0)){let t=new yVe(a,0),n=l.effects=[bVe.of(t)];void 0===e.state.field(QVe,!1)&&n.push(ITe.appendConfig.of([QVe,TVe,CVe,fVe]))}e.dispatch(e.state.update(l))}}function xVe(e){return({state:t,dispatch:n})=>{let r=t.field(QVe,!1);if(!r||e<0&&0==r.active)return!1;let i=r.active+e,o=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:$Ve(r.ranges,i),effects:bVe.of(o?null:new yVe(r.ranges,i)),scrollIntoView:!0})),!0}}const kVe=[{key:"Tab",run:xVe(1),shift:xVe(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(QVe,!1)&&(t(e.update({effects:bVe.of(null)})),!0)}],PVe=lTe.define({combine:e=>e.length?e[0]:kVe}),TVe=bTe.highest(UXe.compute([PVe],e=>e.facet(PVe)));function _Ve(e,t){return{...t,apply:SVe(e)}}const CVe=PXe.domEventHandlers({mousedown(e,t){let n,r=t.state.field(QVe,!1);if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let i=r.ranges.find(e=>e.from<=n&&e.to>=n);return!(!i||i.field==r.active)&&(t.dispatch({selection:$Ve(r.ranges,i.field),effects:bVe.of(r.ranges.some(e=>e.field>i.field)?new yVe(r.ranges,i.field):null),scrollIntoView:!0}),!0)}}),EVe={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},RVe=ITe.define({map(e,t){let n=t.mapPos(e,-1,jPe.TrackAfter);return null==n?void 0:n}}),XVe=new class extends KTe{};XVe.startSide=1,XVe.endSide=-1;const BVe=pTe.define({create:()=>r_e.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(RVe)&&(e=e.update({add:[XVe.range(n.value,n.value+1)]}));return e}});const UVe="()[]{}<>«»»«[]{}";function DVe(e){for(let t=0;t<16;t+=2)if(UVe.charCodeAt(t)==e)return UVe.charAt(t+1);return WPe(e<128?e:e+1)}function IVe(e,t){return e.languageDataAt("closeBrackets",t)[0]||EVe}const zVe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),NVe=PXe.inputHandler.of((e,t,n,r)=>{if((zVe?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||2==r.length&&1==ZPe(FPe(r,0))||t!=i.from||n!=i.to)return!1;let o=function(e,t){let n=IVe(e,e.selection.main.head),r=n.brackets||EVe.brackets;for(let i of r){let o=DVe(FPe(i,0));if(t==i)return o==i?WVe(e,i,r.indexOf(i+i+i)>-1,n):qVe(e,i,o,n.before||EVe.before);if(t==o&&LVe(e,e.selection.main.from))return FVe(e,i,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)}),MVe=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=IVe(e,e.selection.main.head).brackets||EVe.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t);return ZPe(FPe(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let i of n)if(i==r&&VVe(e.doc,t.head)==DVe(FPe(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:oTe.cursor(t.head-i.length)}}return{range:r=t}});return r||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function LVe(e,t){let n=!1;return e.field(BVe).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function VVe(e,t){let n=e.sliceString(t,t+2);return n.slice(0,ZPe(FPe(n,0)))}function qVe(e,t,n,r){let i=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:RVe.of(o.to+t.length),range:oTe.range(o.anchor+t.length,o.head+t.length)};let a=VVe(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:RVe.of(o.head+t.length),range:oTe.cursor(o.head+t.length)}:{range:i=o}});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function FVe(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&VVe(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:oTe.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function WVe(e,t,n,r){let i=r.stringPrefixes||EVe.stringPrefixes,o=null,a=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:RVe.of(r.to+t.length),range:oTe.range(r.anchor+t.length,r.head+t.length)};let a,s=r.head,l=VVe(e.doc,s);if(l==t){if(ZVe(e,s))return{changes:{insert:t+t,from:s},effects:RVe.of(s+t.length),range:oTe.cursor(s+t.length)};if(LVe(e,s)){let r=n&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,to:s+r.length,insert:r},range:oTe.cursor(s+r.length)}}}else{if(n&&e.sliceDoc(s-2*t.length,s)==t+t&&(a=YVe(e,s-2*t.length,i))>-1&&ZVe(e,a))return{changes:{insert:t+t+t+t,from:s},effects:RVe.of(s+t.length),range:oTe.cursor(s+t.length)};if(e.charCategorizer(s)(l)!=WTe.Word&&YVe(e,s,i)>-1&&!function(e,t,n,r){let i=dIe(e).resolveInner(t,-1),o=r.reduce((e,t)=>Math.max(e,t.length),0);for(let a=0;a<5;a++){let a=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),s=a.indexOf(n);if(!s||s>-1&&r.indexOf(a.slice(0,s))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=i.to==t&&i.parent;if(!l)break;i=l}return!1}(e,s,t,i))return{changes:{insert:t+t,from:s},effects:RVe.of(s+t.length),range:oTe.cursor(s+t.length)}}return{range:o=r}});return o?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function ZVe(e,t){let n=dIe(e).resolveInner(t+1);return n.parent&&n.from==t}function YVe(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=WTe.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=WTe.Word)return n}return-1}function jVe(e={}){return[hVe,oVe,MLe.of(e),OVe,HVe,fVe]}const GVe=[{key:"Ctrl-Space",run:cVe},{mac:"Alt-`",run:cVe},{mac:"Alt-i",run:cVe},{key:"Escape",run:e=>{let t=e.state.field(oVe,!1);return!(!t||!t.active.some(e=>0!=e.state))&&(e.dispatch({effects:ILe.of(null)}),!0)}},{key:"ArrowDown",run:lVe(!0)},{key:"ArrowUp",run:lVe(!1)},{key:"PageDown",run:lVe(!0,"page")},{key:"PageUp",run:lVe(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(oVe,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(MLe).interactionDelay)&&aVe(e,t.open.options[t.open.selected])}}],HVe=bTe.highest(UXe.computeN([MLe],e=>e.facet(MLe).defaultKeymap?[GVe]:[]));class KVe{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class JVe{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=n.facet(uqe).markerFilter;r&&(e=r(e,n));let i=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),o=new i_e,a=[],s=0,l=n.doc.iter(),c=0,u=n.doc.length;for(let d=0;;){let e,t,n=d==i.length?null:i[d];if(!n&&!a.length)break;if(a.length)e=s,t=a.reduce((e,t)=>Math.min(e,t.to),n&&n.from>e?n.from:1e8);else{if(e=n.from,e>u)break;t=n.to,a.push(n),d++}for(;d<i.length;){let n=i[d];if(n.from!=e||!(n.to>n.from||n.to==e)){t=Math.min(n.from,t);break}a.push(n),d++,t=Math.min(n.to,t)}t=Math.min(t,u);let r=!1;if(a.some(n=>n.from==e&&(n.to==t||t==u))&&(r=e==t,!r&&t-e<10)){let n=e-(c+l.value.length);n>0&&(l.next(n),c=e);for(let i=e;;){if(i>=t){r=!0;break}if(!l.lineBreak&&c+l.value.length>i)break;i=c+l.value.length,c+=l.value.length,l.next()}}let O=yqe(a);if(r)o.add(e,e,q_e.widget({widget:new fqe(O),diagnostics:a.slice()}));else{let n=a.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");o.add(e,t,q_e.mark({class:"cm-lintRange cm-lintRange-"+O+n,diagnostics:a.slice(),inclusiveEnd:a.some(e=>e.to>t)}))}if(s=t,s==u)break;for(let i=0;i<a.length;i++)a[i].to<=s&&a.splice(i--,1)}let O=o.finish();return new JVe(O,t,eqe(O))}}function eqe(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:i})=>{if(!(t&&i.diagnostics.indexOf(t)<0))if(r){if(i.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new KVe(r.from,n,r.diagnostic)}else r=new KVe(e,n,t||i.diagnostics[0])}),r}const tqe=ITe.define(),nqe=ITe.define(),rqe=ITe.define(),iqe=pTe.define({create:()=>new JVe(q_e.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=eqe(n,e.selected.diagnostic,i)||eqe(n,null,i)}!n.size&&i&&t.state.facet(uqe).autoPanel&&(i=null),e=new JVe(n,i,r)}for(let n of t.effects)if(n.is(tqe)){let r=t.state.facet(uqe).autoPanel?n.value.length?Aqe.open:null:e.panel;e=JVe.init(n.value,r,t.state)}else n.is(nqe)?e=new JVe(e.diagnostics,n.value?Aqe.open:null,e.selected):n.is(rqe)&&(e=new JVe(e.diagnostics,e.panel,n.value));return e},provide:e=>[YBe.from(e,e=>e.panel),PXe.decorations.from(e,e=>e.diagnostics)]}),oqe=q_e.mark({class:"cm-lintRange cm-lintRange-active"});function aqe(e,t,n){let r,{diagnostics:i}=e.state.field(iqe),o=-1,a=-1;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:s})=>{if(t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t<i||n<0)))return r=s.diagnostics,o=e,a=i,!1});let s=e.state.facet(uqe).tooltipFilter;return r&&s&&(r=s(r,e.state)),r?{pos:o,end:a,above:!0,create:()=>({dom:sqe(e,r)})}:null}function sqe(e,t){return Q_e("ul",{class:"cm-tooltip-lint"},t.map(t=>hqe(e,t,!1)))}const lqe=e=>{let t=e.state.field(iqe,!1);return!(!t||!t.panel)&&(e.dispatch({effects:nqe.of(!1)}),!0)},cqe=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(iqe,!1);var n,r;t&&t.panel||e.dispatch({effects:(n=e.state,r=[nqe.of(!0)],n.field(iqe,!1)?r:r.concat(ITe.appendConfig.of(wqe)))});let i=qBe(e,Aqe.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(iqe,!1);if(!t)return!1;let n=e.state.selection.main,r=eqe(t.diagnostics,null,n.to+1);return!(!r&&(r=eqe(t.diagnostics,null,0),!r||r.from==n.from&&r.to==n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),function(e,t,n,r={}){var i;let o=e.state.facet(DBe).map(t=>e.plugin(t)).filter(e=>!!e);if(r.tooltip&&r.tooltip.active){let e=o.find(e=>e.field==r.tooltip.active);e&&(o=[e])}for(let a of o)a.activateHover(e,t,n,null!==(i=r.until)&&void 0!==i?i:()=>!1)}(e,r.from,1,{tooltip:bqe,until:e=>e.docChanged||e.newSelection.main.head<r.from||e.newSelection.main.head>r.to}),!0)}}],uqe=lTe.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...HTe(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:Oqe,tooltipFilter:Oqe,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,i)=>e(n,r,i)||t(n,r,i):e:t,autoPanel:(e,t)=>e||t})})});function Oqe(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function dqe(e){let t=[];if(e)e:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function hqe(e,t,n){var r;let i=n?dqe(t.actions):[];return Q_e("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Q_e("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(r=t.actions)||void 0===r?void 0:r.map((n,r)=>{let o=!1,a=r=>{if(r.preventDefault(),o)return;o=!0;let i=eqe(e.state.field(iqe).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:s}=n,l=i[r]?s.indexOf(i[r]):-1,c=l<0?s:[s.slice(0,l),Q_e("u",s.slice(l,l+1)),s.slice(l+1)];return Q_e("button",{type:"button",class:"cm-diagnosticAction"+(n.markClass?" "+n.markClass:""),onclick:a,onmousedown:a,"aria-label":` Action: ${s}${l<0?"":` (access key "${i[r]})"`}.`},c)}),t.source&&Q_e("div",{class:"cm-diagnosticSource"},t.source))}class fqe extends L_e{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return Q_e("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class pqe{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=hqe(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Aqe{constructor(e){this.view=e,this.items=[];this.list=Q_e("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(!(t.ctrlKey||t.altKey||t.metaKey)){if(27==t.keyCode)lqe(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:n}=this.items[this.selectedIndex],r=dqe(n.actions);for(let i=0;i<r.length;i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=eqe(this.view.state.field(iqe).diagnostics,n);t&&n.actions[i].apply(e,t.from,t.to)}}}t.preventDefault()}},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=Q_e("div",{class:"cm-panel-lint"},this.list,Q_e("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>lqe(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(iqe).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(iqe),n=0,r=!1,i=null,o=new Set;for(e.between(0,this.view.state.doc.length,(e,a,{spec:s})=>{for(let l of s.diagnostics){if(o.has(l))continue;o.add(l);let e,a=-1;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==l){a=t;break}a<0?(e=new pqe(this.view,l),this.items.splice(n,0,e),r=!0):(e=this.items[a],a>n&&(this.items.splice(n,a-n),r=!0)),t&&e.diagnostic==t.diagnostic?e.dom.hasAttribute("aria-selected")||(e.dom.setAttribute("aria-selected","true"),i=e):e.dom.hasAttribute("aria-selected")&&e.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();0==this.items.length&&(this.items.push(new pqe(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),i?(this.list.setAttribute("aria-activedescendant",i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=eqe(this.view.state.field(iqe).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:rqe.of(t)})}static open(e){return new Aqe(e)}}function mqe(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const gqe=PXe.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:mqe("#f11")},".cm-lintRange-warning":{backgroundImage:mqe("orange")},".cm-lintRange-info":{backgroundImage:mqe("#999")},".cm-lintRange-hint":{backgroundImage:mqe("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});function vqe(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function yqe(e){let t="hint",n=1;for(let r of e){let e=vqe(r.severity);e>n&&(n=e,t=r.severity)}return t}const bqe=NBe(aqe,{hideOn:function(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(uqe).hideOn(e,n,r);if(null!=i)return i;let o=e.startState.doc.lineAt(t.pos);return!(!e.effects.some(e=>e.is(tqe))&&!e.changes.touchesRange(o.from,Math.max(o.to,r)))}}),wqe=[iqe,PXe.decorations.compute([iqe],e=>{let{selected:t,panel:n}=e.field(iqe);return t&&n&&t.from!=t.to?q_e.set([oqe.range(t.from,t.to)]):q_e.none}),bqe,gqe],Qqe=(()=>[vUe(),wUe,dBe(),dNe(),uze(),GXe(),[rBe,iBe],GTe.allowMultipleSelections.of(!0),GTe.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+200)return e;let o=n.sliceString(i.from,r);if(!t.some(e=>e.test(o)))return e;let{state:a}=e,s=-1,l=[];for(let{head:c}of a.selection.ranges){let e=a.doc.lineAt(c);if(e.from==s)continue;s=e.from;let t=PIe(a,e.from);if(null==t)continue;let n=/^\s*/.exec(e.text)[0],r=kIe(a,t);n!=r&&l.push({from:e.from,to:e.from+n.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e}),Aze(vze,{fallback:!0}),Pze(),[NVe,BVe],jVe(),PXe.mouseSelectionStyle.of((e,t)=>(e=>e.altKey&&0==e.button)(t)?yBe(e,t):null),QBe(),mBe,[VMe,LMe],UXe.of([...MVe,...xMe,...gLe,...TNe,...tze,...GVe,...cqe])])(),$qe=A1`
192 <svg
193 xmlns="http://www.w3.org/2000/svg"
194 width="24"
195 height="24"
196 viewBox="0 0 24 24"
197 >
198 <path
199 d="M4.25 20.5C4.0375 20.5 3.85942 20.4281 3.71575 20.2843C3.57192 20.1404 3.5 19.9622 3.5 19.7498C3.5 19.5371 3.57192 19.359 3.71575 19.2155C3.85942 19.0718 4.0375 19 4.25 19H19.75C19.9625 19 20.1406 19.0719 20.2843 19.2158C20.4281 19.3596 20.5 19.5378 20.5 19.7502C20.5 19.9629 20.4281 20.141 20.2843 20.2845C20.1406 20.4282 19.9625 20.5 19.75 20.5H4.25ZM8.25 16.625C8.0375 16.625 7.85942 16.5531 7.71575 16.4093C7.57192 16.2654 7.5 16.0872 7.5 15.8748C7.5 15.6621 7.57192 15.484 7.71575 15.3405C7.85942 15.1968 8.0375 15.125 8.25 15.125H15.75C15.9625 15.125 16.1406 15.1969 16.2843 15.3408C16.4281 15.4846 16.5 15.6628 16.5 15.8753C16.5 16.0879 16.4281 16.266 16.2843 16.4095C16.1406 16.5532 15.9625 16.625 15.75 16.625H8.25ZM4.25 12.75C4.0375 12.75 3.85942 12.6781 3.71575 12.5343C3.57192 12.3904 3.5 12.2122 3.5 11.9998C3.5 11.7871 3.57192 11.609 3.71575 11.4655C3.85942 11.3218 4.0375 11.25 4.25 11.25H19.75C19.9625 11.25 20.1406 11.3219 20.2843 11.4658C20.4281 11.6096 20.5 11.7878 20.5 12.0003C20.5 12.2129 20.4281 12.391 20.2843 12.5345C20.1406 12.6782 19.9625 12.75 19.75 12.75H4.25ZM8.25 8.875C8.0375 8.875 7.85942 8.80308 7.71575 8.65925C7.57192 8.51542 7.5 8.33725 7.5 8.12475C7.5 7.91208 7.57192 7.734 7.71575 7.5905C7.85942 7.44683 8.0375 7.375 8.25 7.375H15.75C15.9625 7.375 16.1406 7.44692 16.2843 7.59075C16.4281 7.73458 16.5 7.91275 16.5 8.12525C16.5 8.33792 16.4281 8.516 16.2843 8.6595C16.1406 8.80317 15.9625 8.875 15.75 8.875H8.25ZM4.25 5C4.0375 5 3.85942 4.92808 3.71575 4.78425C3.57192 4.64042 3.5 4.46225 3.5 4.24975C3.5 4.03708 3.57192 3.859 3.71575 3.7155C3.85942 3.57183 4.0375 3.5 4.25 3.5H19.75C19.9625 3.5 20.1406 3.57192 20.2843 3.71575C20.4281 3.85958 20.5 4.03775 20.5 4.25025C20.5 4.46292 20.4281 4.641 20.2843 4.7845C20.1406 4.92817 19.9625 5 19.75 5H4.25Z"
200 />
201 </svg>
202 `,Sqe=A1`
203 <svg
204 xmlns="http://www.w3.org/2000/svg"
205 width="24"
206 height="24"
207 viewBox="0 0 24 24"
208 >
209 <path
210 d="M4.25 20.5C4.0375 20.5 3.85942 20.4281 3.71575 20.2843C3.57192 20.1404 3.5 19.9622 3.5 19.7498C3.5 19.5371 3.57192 19.359 3.71575 19.2155C3.85942 19.0718 4.0375 19 4.25 19H19.75C19.9625 19 20.1406 19.0719 20.2843 19.2158C20.4281 19.3596 20.5 19.5378 20.5 19.7502C20.5 19.9629 20.4281 20.141 20.2843 20.2845C20.1406 20.4282 19.9625 20.5 19.75 20.5H4.25ZM4.25 16.625C4.0375 16.625 3.85942 16.5531 3.71575 16.4093C3.57192 16.2654 3.5 16.0872 3.5 15.8748C3.5 15.6621 3.57192 15.484 3.71575 15.3405C3.85942 15.1968 4.0375 15.125 4.25 15.125H13.75C13.9625 15.125 14.1406 15.1969 14.2843 15.3408C14.4281 15.4846 14.5 15.6628 14.5 15.8753C14.5 16.0879 14.4281 16.266 14.2843 16.4095C14.1406 16.5532 13.9625 16.625 13.75 16.625H4.25ZM4.25 12.75C4.0375 12.75 3.85942 12.6781 3.71575 12.5343C3.57192 12.3904 3.5 12.2122 3.5 11.9998C3.5 11.7871 3.57192 11.609 3.71575 11.4655C3.85942 11.3218 4.0375 11.25 4.25 11.25H19.75C19.9625 11.25 20.1406 11.3219 20.2843 11.4658C20.4281 11.6096 20.5 11.7878 20.5 12.0003C20.5 12.2129 20.4281 12.391 20.2843 12.5345C20.1406 12.6782 19.9625 12.75 19.75 12.75H4.25ZM4.25 8.875C4.0375 8.875 3.85942 8.80308 3.71575 8.65925C3.57192 8.51542 3.5 8.33725 3.5 8.12475C3.5 7.91208 3.57192 7.734 3.71575 7.5905C3.85942 7.44683 4.0375 7.375 4.25 7.375H13.75C13.9625 7.375 14.1406 7.44692 14.2843 7.59075C14.4281 7.73458 14.5 7.91275 14.5 8.12525C14.5 8.33792 14.4281 8.516 14.2843 8.6595C14.1406 8.80317 13.9625 8.875 13.75 8.875H4.25ZM4.25 5C4.0375 5 3.85942 4.92808 3.71575 4.78425C3.57192 4.64042 3.5 4.46225 3.5 4.24975C3.5 4.03708 3.57192 3.859 3.71575 3.7155C3.85942 3.57183 4.0375 3.5 4.25 3.5H19.75C19.9625 3.5 20.1406 3.57192 20.2843 3.71575C20.4281 3.85958 20.5 4.03775 20.5 4.25025C20.5 4.46292 20.4281 4.641 20.2843 4.7845C20.1406 4.92817 19.9625 5 19.75 5H4.25Z"
211 />
212 </svg>
213 `,xqe=A1`
214 <svg
215 xmlns="http://www.w3.org/2000/svg"
216 width="24"
217 height="24"
218 viewBox="0 0 24 24"
219 >
220 <path
221 d="M4.25 5C4.0375 5 3.85942 4.92808 3.71575 4.78425C3.57192 4.64042 3.5 4.46225 3.5 4.24975C3.5 4.03708 3.57192 3.859 3.71575 3.7155C3.85942 3.57183 4.0375 3.5 4.25 3.5H19.75C19.9625 3.5 20.1406 3.57192 20.2843 3.71575C20.4281 3.85958 20.5 4.03775 20.5 4.25025C20.5 4.46292 20.4281 4.641 20.2843 4.7845C20.1406 4.92817 19.9625 5 19.75 5H4.25ZM10.25 8.875C10.0375 8.875 9.85942 8.80308 9.71575 8.65925C9.57192 8.51542 9.5 8.33725 9.5 8.12475C9.5 7.91208 9.57192 7.734 9.71575 7.5905C9.85942 7.44683 10.0375 7.375 10.25 7.375H19.75C19.9625 7.375 20.1406 7.44692 20.2843 7.59075C20.4281 7.73458 20.5 7.91275 20.5 8.12525C20.5 8.33792 20.4281 8.516 20.2843 8.6595C20.1406 8.80317 19.9625 8.875 19.75 8.875H10.25ZM4.25 12.75C4.0375 12.75 3.85942 12.6781 3.71575 12.5343C3.57192 12.3904 3.5 12.2122 3.5 11.9998C3.5 11.7871 3.57192 11.609 3.71575 11.4655C3.85942 11.3218 4.0375 11.25 4.25 11.25H19.75C19.9625 11.25 20.1406 11.3219 20.2843 11.4658C20.4281 11.6096 20.5 11.7878 20.5 12.0003C20.5 12.2129 20.4281 12.391 20.2843 12.5345C20.1406 12.6782 19.9625 12.75 19.75 12.75H4.25ZM10.25 16.625C10.0375 16.625 9.85942 16.5531 9.71575 16.4093C9.57192 16.2654 9.5 16.0872 9.5 15.8748C9.5 15.6621 9.57192 15.484 9.71575 15.3405C9.85942 15.1968 10.0375 15.125 10.25 15.125H19.75C19.9625 15.125 20.1406 15.1969 20.2843 15.3408C20.4281 15.4846 20.5 15.6628 20.5 15.8753C20.5 16.0879 20.4281 16.266 20.2843 16.4095C20.1406 16.5532 19.9625 16.625 19.75 16.625H10.25ZM4.25 20.5C4.0375 20.5 3.85942 20.4281 3.71575 20.2843C3.57192 20.1404 3.5 19.9622 3.5 19.7498C3.5 19.5371 3.57192 19.359 3.71575 19.2155C3.85942 19.0718 4.0375 19 4.25 19H19.75C19.9625 19 20.1406 19.0719 20.2843 19.2158C20.4281 19.3596 20.5 19.5378 20.5 19.7502C20.5 19.9629 20.4281 20.141 20.2843 20.2845C20.1406 20.4282 19.9625 20.5 19.75 20.5H4.25Z"
222 />
223 </svg>
224 `,kqe=A1`
225 <svg
226 xmlns="http://www.w3.org/2000/svg"
227 width="24"
228 height="24"
229 viewBox="0 0 24 24"
230 >
231 <path
232 d="M8.85758 18.625C8.4358 18.625 8.07715 18.4772 7.78163 18.1817C7.48613 17.8862 7.33838 17.5275 7.33838 17.1058V6.8942C7.33838 6.47242 7.48613 6.11377 7.78163 5.81825C8.07715 5.52275 8.4358 5.375 8.85758 5.375H12.1999C13.2191 5.375 14.1406 5.69231 14.9643 6.32693C15.788 6.96154 16.1999 7.81603 16.1999 8.89038C16.1999 9.63779 16.0194 10.2471 15.6585 10.7183C15.2976 11.1894 14.9088 11.5314 14.4922 11.7442C15.005 11.9211 15.4947 12.2708 15.9614 12.7933C16.428 13.3157 16.6614 14.0192 16.6614 14.9038C16.6614 16.182 16.1902 17.1217 15.2479 17.723C14.3056 18.3243 13.3563 18.625 12.3999 18.625H8.85758ZM9.4883 16.6327H12.3191C13.1063 16.6327 13.6627 16.4141 13.9884 15.9769C14.314 15.5397 14.4768 15.1205 14.4768 14.7192C14.4768 14.3179 14.314 13.8987 13.9884 13.4615C13.6627 13.0243 13.0909 12.8057 12.273 12.8057H9.4883V16.6327ZM9.4883 10.875H12.0826C12.6903 10.875 13.172 10.7013 13.5278 10.3539C13.8836 10.0064 14.0615 9.59037 14.0615 9.10575C14.0615 8.59035 13.8733 8.16918 13.497 7.84225C13.1207 7.51533 12.6595 7.35188 12.1133 7.35188H9.4883V10.875Z"
233 />
234 </svg>
235 `,Pqe=A1`
236 <svg
237 xmlns="http://www.w3.org/2000/svg"
238 width="24"
239 height="24"
240 viewBox="0 0 24 24"
241 >
242 <g clip-path="url(#clip0_952_6527)">
243 <circle cx="12" cy="12" r="3" />
244 </g>
245 <defs>
246 <clipPath id="clip0_952_6527">
247 <rect width="24" height="24" />
248 </clipPath>
249 </defs>
250 </svg>
251 `,Tqe=A1`
252 <svg
253 xmlns="http://www.w3.org/2000/svg"
254 width="24"
255 height="24"
256 viewBox="0 0 24 24"
257 >
258 <g clip-path="url(#clip0_977_8070)">
259 <path
260 d="M4 10.5C3.17 10.5 2.5 11.17 2.5 12C2.5 12.83 3.17 13.5 4 13.5C4.83 13.5 5.5 12.83 5.5 12C5.5 11.17 4.83 10.5 4 10.5ZM4 4.5C3.17 4.5 2.5 5.17 2.5 6C2.5 6.83 3.17 7.5 4 7.5C4.83 7.5 5.5 6.83 5.5 6C5.5 5.17 4.83 4.5 4 4.5ZM4 16.5C3.17 16.5 2.5 17.18 2.5 18C2.5 18.82 3.18 19.5 4 19.5C4.82 19.5 5.5 18.82 5.5 18C5.5 17.18 4.83 16.5 4 16.5ZM8 19H20C20.55 19 21 18.55 21 18C21 17.45 20.55 17 20 17H8C7.45 17 7 17.45 7 18C7 18.55 7.45 19 8 19ZM8 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H8C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM7 6C7 6.55 7.45 7 8 7H20C20.55 7 21 6.55 21 6C21 5.45 20.55 5 20 5H8C7.45 5 7 5.45 7 6Z"
261 />
262 </g>
263 <defs>
264 <clipPath id="clip0_977_8070">
265 <rect width="24" height="24" />
266 </clipPath>
267 </defs>
268 </svg>
269 `,_qe=A1`
270 <svg
271 xmlns="http://www.w3.org/2000/svg"
272 width="32"
273 height="32"
274 viewBox="0 0 24 24"
275 >
276 <path
277 fill="currentColor"
278 d="M9 22a1 1 0 0 1-1-1v-3H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6.1l-3.7 3.71c-.2.19-.45.29-.7.29zm1-6v3.08L13.08 16H20V4H4v12z"
279 />
280 </svg>
281 `,Cqe=A1`
282 <svg
283 xmlns="http://www.w3.org/2000/svg"
284 width="24"
285 height="24"
286 viewBox="0 0 24 24"
287 >
288 <g clip-path="url(#clip0_1803_1151)">
289 <path
290 d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM10.71 16.29C10.32 16.68 9.69 16.68 9.3 16.29L5.71 12.7C5.32 12.31 5.32 11.68 5.71 11.29C6.1 10.9 6.73 10.9 7.12 11.29L10 14.17L16.88 7.29C17.27 6.9 17.9 6.9 18.29 7.29C18.68 7.68 18.68 8.31 18.29 8.7L10.71 16.29Z"
291 />
292 </g>
293 <defs>
294 <clipPath id="clip0_1803_1151">
295 <rect width="24" height="24" />
296 </clipPath>
297 </defs>
298 </svg>
299 `,Eqe=A1`
300 <svg
301 xmlns="http://www.w3.org/2000/svg"
302 width="24"
303 height="24"
304 viewBox="0 0 24 24"
305 >
306 <g clip-path="url(#clip0_1803_535)">
307 <path
308 d="M18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z"
309 />
310 </g>
311 <defs>
312 <clipPath id="clip0_1803_535">
313 <rect width="24" height="24" />
314 </clipPath>
315 </defs>
316 </svg>
317 `,Rqe=A1`
318 <svg
319 xmlns="http://www.w3.org/2000/svg"
320 fill="none"
321 viewBox="0 0 24 24"
322 stroke-width="1.5"
323 stroke="currentColor"
324 class="w-6 h-6"
325 >
326 <path
327 stroke-linecap="round"
328 stroke-linejoin="round"
329 d="M19.5 8.25l-7.5 7.5-7.5-7.5"
330 />
331 </svg>
332 `,Xqe=A1`
333 <svg
334 xmlns="http://www.w3.org/2000/svg"
335 width="24"
336 height="24"
337 viewBox="0 0 24 24"
338 >
339 <g clip-path="url(#clip0_1098_15553)">
340 <path
341 d="M18.3007 5.70973C17.9107 5.31973 17.2807 5.31973 16.8907 5.70973L12.0007 10.5897L7.1107 5.69973C6.7207 5.30973 6.0907 5.30973 5.7007 5.69973C5.3107 6.08973 5.3107 6.71973 5.7007 7.10973L10.5907 11.9997L5.7007 16.8897C5.3107 17.2797 5.3107 17.9097 5.7007 18.2997C6.0907 18.6897 6.7207 18.6897 7.1107 18.2997L12.0007 13.4097L16.8907 18.2997C17.2807 18.6897 17.9107 18.6897 18.3007 18.2997C18.6907 17.9097 18.6907 17.2797 18.3007 16.8897L13.4107 11.9997L18.3007 7.10973C18.6807 6.72973 18.6807 6.08973 18.3007 5.70973Z"
342 />
343 </g>
344 <defs>
345 <clipPath id="clip0_1098_15553">
346 <rect width="24" height="24" />
347 </clipPath>
348 </defs>
349 </svg>
350 `,Bqe=A1`
351 <svg
352 xmlns="http://www.w3.org/2000/svg"
353 width="24"
354 height="24"
355 viewBox="0 0 24 24"
356 >
357 <g clip-path="url(#clip0_977_8081)">
358 <path
359 d="M9.4 16.6L4.8 12L9.4 7.4L8 6L2 12L8 18L9.4 16.6ZM14.6 16.6L19.2 12L14.6 7.4L16 6L22 12L16 18L14.6 16.6Z"
360 />
361 </g>
362 <defs>
363 <clipPath id="clip0_977_8081">
364 <rect width="24" height="24" />
365 </clipPath>
366 </defs>
367 </svg>
368 `,Uqe=A1`
369 <svg
370 xmlns="http://www.w3.org/2000/svg"
371 width="24"
372 height="24"
373 viewBox="0 0 24 24"
374 fill="none"
375 >
376 <g clip-path="url(#clip0_1013_1606)">
377 <path
378 d="M9.00012 16.1998L5.50012 12.6998C5.11012 12.3098 4.49012 12.3098 4.10012 12.6998C3.71012 13.0898 3.71012 13.7098 4.10012 14.0998L8.29012 18.2898C8.68012 18.6798 9.31012 18.6798 9.70012 18.2898L20.3001 7.69982C20.6901 7.30982 20.6901 6.68982 20.3001 6.29982C19.9101 5.90982 19.2901 5.90982 18.9001 6.29982L9.00012 16.1998Z"
379 fill="#817567"
380 />
381 </g>
382 <defs>
383 <clipPath id="clip0_1013_1606">
384 <rect width="24" height="24" />
385 </clipPath>
386 </defs>
387 </svg>
388 `,Dqe=A1`
389 <svg
390 xmlns="http://www.w3.org/2000/svg"
391 height="24px"
392 viewBox="0 -960 960 960"
393 width="24px"
394 fill="none"
395 >
396 <path
397 d="M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"
398 />
399 </svg>
400 `,Iqe=A1`
401 <svg
402 xmlns="http://www.w3.org/2000/svg"
403 width="24"
404 height="24"
405 viewBox="0 0 24 24"
406 >
407 <g clip-path="url(#clip0_977_7900)">
408 <path
409 fill-rule="evenodd"
410 clip-rule="evenodd"
411 d="M19 13H5C4.45 13 4 12.55 4 12C4 11.45 4.45 11 5 11H19C19.55 11 20 11.45 20 12C20 12.55 19.55 13 19 13Z"
412 />
413 </g>
414 <defs>
415 <clipPath id="clip0_977_7900">
416 <rect width="24" height="24" />
417 </clipPath>
418 </defs>
419 </svg>
420 `,zqe=A1`
421 <svg
422 xmlns="http://www.w3.org/2000/svg"
423 width="16"
424 height="16"
425 viewBox="0 0 16 16"
426 >
427 <path
428 d="M3.5 9.83366C3.35833 9.83366 3.23961 9.78571 3.14383 9.68983C3.04794 9.59394 3 9.47516 3 9.33349C3 9.19171 3.04794 9.07299 3.14383 8.97733C3.23961 8.88155 3.35833 8.83366 3.5 8.83366H12.5C12.6417 8.83366 12.7604 8.8816 12.8562 8.97749C12.9521 9.07338 13 9.19216 13 9.33383C13 9.4756 12.9521 9.59433 12.8562 9.68999C12.7604 9.78577 12.6417 9.83366 12.5 9.83366H3.5ZM3.5 7.16699C3.35833 7.16699 3.23961 7.11905 3.14383 7.02316C3.04794 6.92727 3 6.80849 3 6.66683C3 6.52505 3.04794 6.40633 3.14383 6.31066C3.23961 6.21488 3.35833 6.16699 3.5 6.16699H12.5C12.6417 6.16699 12.7604 6.21494 12.8562 6.31083C12.9521 6.40671 13 6.52549 13 6.66716C13 6.80894 12.9521 6.92766 12.8562 7.02333C12.7604 7.1191 12.6417 7.16699 12.5 7.16699H3.5Z"
429 />
430 </svg>
431 `,Nqe=A1`
432 <svg
433 xmlns="http://www.w3.org/2000/svg"
434 width="24"
435 height="24"
436 viewBox="0 0 24 24"
437 >
438 <g clip-path="url(#clip0_1013_1585)">
439 <path
440 d="M14.06 9.02L14.98 9.94L5.92 19H5V18.08L14.06 9.02ZM17.66 3C17.41 3 17.15 3.1 16.96 3.29L15.13 5.12L18.88 8.87L20.71 7.04C21.1 6.65 21.1 6.02 20.71 5.63L18.37 3.29C18.17 3.09 17.92 3 17.66 3ZM14.06 6.19L3 17.25V21H6.75L17.81 9.94L14.06 6.19Z"
441 />
442 </g>
443 <defs>
444 <clipPath id="clip0_1013_1585">
445 <rect width="24" height="24" />
446 </clipPath>
447 </defs>
448 </svg>
449 `,Mqe=A1`
450 <svg
451 xmlns="http://www.w3.org/2000/svg"
452 width="24"
453 height="24"
454 viewBox="0 0 24 24"
455 >
456 <g clip-path="url(#clip0_992_5553)">
457 <path
458 d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19ZM12 17H14V7H10V9H12V17Z"
459 />
460 </g>
461 <defs>
462 <clipPath id="clip0_992_5553">
463 <rect width="24" height="24" />
464 </clipPath>
465 </defs>
466 </svg>
467 `,Lqe=A1`
468 <svg
469 xmlns="http://www.w3.org/2000/svg"
470 width="24"
471 height="24"
472 viewBox="0 0 24 24"
473 >
474 <g clip-path="url(#clip0_992_5559)">
475 <path
476 d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19ZM15 15H11V13H13C14.1 13 15 12.11 15 11V9C15 7.89 14.1 7 13 7H9V9H13V11H11C9.9 11 9 11.89 9 13V17H15V15Z"
477 />
478 </g>
479 <defs>
480 <clipPath id="clip0_992_5559">
481 <rect width="24" height="24" />
482 </clipPath>
483 </defs>
484 </svg>
485 `,Vqe=A1`
486 <svg
487 xmlns="http://www.w3.org/2000/svg"
488 width="24"
489 height="24"
490 viewBox="0 0 24 24"
491 >
492 <g clip-path="url(#clip0_992_5565)">
493 <path
494 d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19ZM15 15V13.5C15 12.67 14.33 12 13.5 12C14.33 12 15 11.33 15 10.5V9C15 7.89 14.1 7 13 7H9V9H13V11H11V13H13V15H9V17H13C14.1 17 15 16.11 15 15Z"
495 />
496 </g>
497 <defs>
498 <clipPath id="clip0_992_5565">
499 <rect width="24" height="24" />
500 </clipPath>
501 </defs>
502 </svg>
503 `,qqe=A1`
504 <svg
505 xmlns="http://www.w3.org/2000/svg"
506 width="24"
507 height="24"
508 viewBox="0 0 24 24"
509 >
510 <g clip-path="url(#clip0_977_7757)">
511 <path
512 d="M19.04 3H5.04004C3.94004 3 3.04004 3.9 3.04004 5V19C3.04004 20.1 3.94004 21 5.04004 21H19.04C20.14 21 21.04 20.1 21.04 19V5C21.04 3.9 20.14 3 19.04 3ZM19.04 19H5.04004V5H19.04V19ZM13.04 17H15.04V7H13.04V11H11.04V7H9.04004V13H13.04V17Z"
513 />
514 </g>
515 <defs>
516 <clipPath id="clip0_977_7757">
517 <rect width="24" height="24" />
518 </clipPath>
519 </defs>
520 </svg>
521 `,Fqe=A1`
522 <svg
523 xmlns="http://www.w3.org/2000/svg"
524 width="24"
525 height="24"
526 viewBox="0 0 24 24"
527 >
528 <g clip-path="url(#clip0_977_7760)">
529 <path
530 d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19ZM15 15V13C15 11.89 14.1 11 13 11H11V9H15V7H9V13H13V15H9V17H13C14.1 17 15 16.11 15 15Z"
531 />
532 </g>
533 <defs>
534 <clipPath id="clip0_977_7760">
535 <rect width="24" height="24" />
536 </clipPath>
537 </defs>
538 </svg>
539 `,Wqe=A1`
540 <svg
541 xmlns="http://www.w3.org/2000/svg"
542 width="24"
543 height="24"
544 viewBox="0 0 24 24"
545 >
546 <g clip-path="url(#clip0_977_7763)">
547 <path
548 d="M11 17H13C14.1 17 15 16.11 15 15V13C15 11.89 14.1 11 13 11H11V9H15V7H11C9.9 7 9 7.89 9 9V15C9 16.11 9.9 17 11 17ZM11 13H13V15H11V13ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19Z"
549 />
550 </g>
551 <defs>
552 <clipPath id="clip0_977_7763">
553 <rect width="24" height="24" />
554 </clipPath>
555 </defs>
556 </svg>
557 `,Zqe=A1`
558 <svg
559 xmlns="http://www.w3.org/2000/svg"
560 width="24"
561 height="24"
562 viewBox="0 0 24 24"
563 >
564 <g clip-path="url(#clip0_977_8075)">
565 <path
566 d="M19 5V19H5V5H19ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM14.14 11.86L11.14 15.73L9 13.14L6 17H18L14.14 11.86Z"
567 />
568 </g>
569 <defs>
570 <clipPath id="clip0_977_8075">
571 <rect width="24" height="24" />
572 </clipPath>
573 </defs>
574 </svg>
575 `,Yqe=A1`
576 <svg
577 xmlns="http://www.w3.org/2000/svg"
578 width="24"
579 height="24"
580 viewBox="0 0 24 24"
581 >
582 <path
583 d="M6.29811 18.625C6.04505 18.625 5.83115 18.5375 5.65641 18.3626C5.48166 18.1877 5.39429 17.9736 5.39429 17.7203C5.39429 17.467 5.48166 17.2532 5.65641 17.0788C5.83115 16.9045 6.04505 16.8173 6.29811 16.8173H9.21159L12.452 7.18265H9.53851C9.28545 7.18265 9.07155 7.0952 8.89681 6.9203C8.72206 6.7454 8.63469 6.5313 8.63469 6.278C8.63469 6.02472 8.72206 5.81089 8.89681 5.63652C9.07155 5.46217 9.28545 5.375 9.53851 5.375H16.8847C17.1377 5.375 17.3516 5.46245 17.5264 5.63735C17.7011 5.81225 17.7885 6.02634 17.7885 6.27962C17.7885 6.53293 17.7011 6.74676 17.5264 6.92113C17.3516 7.09548 17.1377 7.18265 16.8847 7.18265H14.2789L11.0385 16.8173H13.6443C13.8973 16.8173 14.1112 16.9048 14.286 17.0797C14.4607 17.2546 14.5481 17.4687 14.5481 17.722C14.5481 17.9752 14.4607 18.1891 14.286 18.3634C14.1112 18.5378 13.8973 18.625 13.6443 18.625H6.29811Z"
584 />
585 </svg>
586 `,jqe=A1`
587 <svg
588 xmlns="http://www.w3.org/2000/svg"
589 width="24"
590 height="24"
591 viewBox="0 0 24 24"
592 >
593 <path
594 d="M17.0385 19.5003V16.5388H14.0769V15.0388H17.0385V12.0773H18.5384V15.0388H21.5V16.5388H18.5384V19.5003H17.0385ZM10.8077 16.5388H7.03845C5.78282 16.5388 4.7125 16.0963 3.8275 15.2114C2.9425 14.3266 2.5 13.2564 2.5 12.0009C2.5 10.7454 2.9425 9.67504 3.8275 8.78979C4.7125 7.90454 5.78282 7.46191 7.03845 7.46191H10.8077V8.96186H7.03845C6.1987 8.96186 5.48235 9.25834 4.8894 9.85129C4.29645 10.4442 3.99998 11.1606 3.99998 12.0003C3.99998 12.8401 4.29645 13.5564 4.8894 14.1494C5.48235 14.7423 6.1987 15.0388 7.03845 15.0388H10.8077V16.5388ZM8.25 12.7503V11.2504H15.75V12.7503H8.25ZM21.5 12.0003H20C20 11.1606 19.7035 10.4442 19.1106 9.85129C18.5176 9.25834 17.8013 8.96186 16.9615 8.96186H13.1923V7.46191H16.9615C18.2171 7.46191 19.2875 7.90441 20.1725 8.78939C21.0575 9.67439 21.5 10.7447 21.5 12.0003Z"
595 />
596 </svg>
597 `,Gqe=A1`
598 <svg
599 xmlns="http://www.w3.org/2000/svg"
600 width="24"
601 height="24"
602 viewBox="0 0 24 24"
603 >
604 <g clip-path="url(#clip0_971_7680)">
605 <path
606 d="M11 18C11 19.1 10.1 20 9 20C7.9 20 7 19.1 7 18C7 16.9 7.9 16 9 16C10.1 16 11 16.9 11 18ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4ZM15 8C16.1 8 17 7.1 17 6C17 4.9 16.1 4 15 4C13.9 4 13 4.9 13 6C13 7.1 13.9 8 15 8ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16Z"
607 />
608 </g>
609 <defs>
610 <clipPath id="clip0_971_7680">
611 <rect width="24" height="24" />
612 </clipPath>
613 </defs>
614 </svg>
615 `,Hqe=A1`
616 <svg
617 xmlns="http://www.w3.org/2000/svg"
618 width="24"
619 height="24"
620 viewBox="0 0 24 24"
621 >
622 <g clip-path="url(#clip0_977_8067)">
623 <path
624 d="M8 7H20C20.55 7 21 6.55 21 6C21 5.45 20.55 5 20 5H8C7.45 5 7 5.45 7 6C7 6.55 7.45 7 8 7ZM20 17H8C7.45 17 7 17.45 7 18C7 18.55 7.45 19 8 19H20C20.55 19 21 18.55 21 18C21 17.45 20.55 17 20 17ZM20 11H8C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11ZM4.5 16H2.5C2.22 16 2 16.22 2 16.5C2 16.78 2.22 17 2.5 17H4V17.5H3.5C3.22 17.5 3 17.72 3 18C3 18.28 3.22 18.5 3.5 18.5H4V19H2.5C2.22 19 2 19.22 2 19.5C2 19.78 2.22 20 2.5 20H4.5C4.78 20 5 19.78 5 19.5V16.5C5 16.22 4.78 16 4.5 16ZM2.5 5H3V7.5C3 7.78 3.22 8 3.5 8C3.78 8 4 7.78 4 7.5V4.5C4 4.22 3.78 4 3.5 4H2.5C2.22 4 2 4.22 2 4.5C2 4.78 2.22 5 2.5 5ZM4.5 10H2.5C2.22 10 2 10.22 2 10.5C2 10.78 2.22 11 2.5 11H3.8L2.12 12.96C2.04 13.05 2 13.17 2 13.28V13.5C2 13.78 2.22 14 2.5 14H4.5C4.78 14 5 13.78 5 13.5C5 13.22 4.78 13 4.5 13H3.2L4.88 11.04C4.96 10.95 5 10.83 5 10.72V10.5C5 10.22 4.78 10 4.5 10Z"
625 />
626 </g>
627 <defs>
628 <clipPath id="clip0_977_8067">
629 <rect width="24" height="24" />
630 </clipPath>
631 </defs>
632 </svg>
633 `,Kqe=A1`
634 <svg
635 xmlns="http://www.w3.org/2000/svg"
636 width="24"
637 height="24"
638 viewBox="0 0 24 24"
639 >
640 <g clip-path="url(#clip0_971_7676)">
641 <path
642 d="M18 13H13V18C13 18.55 12.55 19 12 19C11.45 19 11 18.55 11 18V13H6C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11H11V6C11 5.45 11.45 5 12 5C12.55 5 13 5.45 13 6V11H18C18.55 11 19 11.45 19 12C19 12.55 18.55 13 18 13Z"
643 />
644 </g>
645 <defs>
646 <clipPath id="clip0_971_7676">
647 <rect width="24" height="24" />
648 </clipPath>
649 </defs>
650 </svg>
651 `,Jqe=A1`
652 <svg
653 xmlns="http://www.w3.org/2000/svg"
654 width="24"
655 height="24"
656 viewBox="0 0 24 24"
657 >
658 <g clip-path="url(#clip0_977_7897)">
659 <path
660 d="M7.17 17C7.68 17 8.15 16.71 8.37 16.26L9.79 13.42C9.93 13.14 10 12.84 10 12.53V8C10 7.45 9.55 7 9 7H5C4.45 7 4 7.45 4 8V12C4 12.55 4.45 13 5 13H7L5.97 15.06C5.52 15.95 6.17 17 7.17 17ZM17.17 17C17.68 17 18.15 16.71 18.37 16.26L19.79 13.42C19.93 13.14 20 12.84 20 12.53V8C20 7.45 19.55 7 19 7H15C14.45 7 14 7.45 14 8V12C14 12.55 14.45 13 15 13H17L15.97 15.06C15.52 15.95 16.17 17 17.17 17Z"
661 />
662 </g>
663 <defs>
664 <clipPath id="clip0_977_7897">
665 <rect width="24" height="24" />
666 </clipPath>
667 </defs>
668 </svg>
669 `,eFe=A1`
670 <svg
671 xmlns="http://www.w3.org/2000/svg"
672 width="24"
673 height="24"
674 viewBox="0 0 24 24"
675 >
676 <path
677 d="M7.30775 20.4997C6.81058 20.4997 6.385 20.3227 6.031 19.9687C5.677 19.6147 5.5 19.1892 5.5 18.692V5.99973H5.25C5.0375 5.99973 4.85942 5.92782 4.71575 5.78398C4.57192 5.64015 4.5 5.46198 4.5 5.24948C4.5 5.03682 4.57192 4.85873 4.71575 4.71523C4.85942 4.57157 5.0375 4.49973 5.25 4.49973H9C9 4.2549 9.08625 4.04624 9.25875 3.87374C9.43108 3.7014 9.63967 3.61523 9.8845 3.61523H14.1155C14.3603 3.61523 14.5689 3.7014 14.7413 3.87374C14.9138 4.04624 15 4.2549 15 4.49973H18.75C18.9625 4.49973 19.1406 4.57165 19.2843 4.71548C19.4281 4.85932 19.5 5.03748 19.5 5.24998C19.5 5.46265 19.4281 5.64073 19.2843 5.78423C19.1406 5.9279 18.9625 5.99973 18.75 5.99973H18.5V18.692C18.5 19.1892 18.323 19.6147 17.969 19.9687C17.615 20.3227 17.1894 20.4997 16.6923 20.4997H7.30775ZM17 5.99973H7V18.692C7 18.7818 7.02883 18.8556 7.0865 18.9132C7.14417 18.9709 7.21792 18.9997 7.30775 18.9997H16.6923C16.7821 18.9997 16.8558 18.9709 16.9135 18.9132C16.9712 18.8556 17 18.7818 17 18.692V5.99973ZM10.1543 16.9997C10.3668 16.9997 10.5448 16.9279 10.6885 16.7842C10.832 16.6404 10.9037 16.4622 10.9037 16.2497V8.74973C10.9037 8.53723 10.8318 8.35907 10.688 8.21523C10.5443 8.07157 10.3662 7.99973 10.1535 7.99973C9.941 7.99973 9.76292 8.07157 9.61925 8.21523C9.47575 8.35907 9.404 8.53723 9.404 8.74973V16.2497C9.404 16.4622 9.47583 16.6404 9.6195 16.7842C9.76333 16.9279 9.94158 16.9997 10.1543 16.9997ZM13.8465 16.9997C14.059 16.9997 14.2371 16.9279 14.3807 16.7842C14.5243 16.6404 14.596 16.4622 14.596 16.2497V8.74973C14.596 8.53723 14.5242 8.35907 14.3805 8.21523C14.2367 8.07157 14.0584 7.99973 13.8458 7.99973C13.6333 7.99973 13.4552 8.07157 13.3115 8.21523C13.168 8.35907 13.0962 8.53723 13.0962 8.74973V16.2497C13.0962 16.4622 13.1682 16.6404 13.312 16.7842C13.4557 16.9279 13.6338 16.9997 13.8465 16.9997Z"
678 />
679 </svg>
680 `,tFe=A1`
681 <svg
682 xmlns="http://www.w3.org/2000/svg"
683 fill="none"
684 viewBox="0 0 24 24"
685 stroke-width="1.5"
686 stroke="currentColor"
687 class="w-6 h-6"
688 >
689 <path
690 stroke-linecap="round"
691 stroke-linejoin="round"
692 d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"
693 />
694 </svg>
695 `,nFe=A1`
696 <svg
697 xmlns="http://www.w3.org/2000/svg"
698 width="24"
699 height="24"
700 viewBox="0 0 24 24"
701 >
702 <path
703 d="M3.25 13.7404C3.0375 13.7404 2.85938 13.6684 2.71563 13.5246C2.57188 13.3808 2.5 13.2026 2.5 12.99C2.5 12.7774 2.57188 12.5993 2.71563 12.4558C2.85938 12.3122 3.0375 12.2404 3.25 12.2404H20.75C20.9625 12.2404 21.1406 12.3123 21.2843 12.4561C21.4281 12.5999 21.5 12.7781 21.5 12.9907C21.5 13.2033 21.4281 13.3814 21.2843 13.525C21.1406 13.6686 20.9625 13.7404 20.75 13.7404H3.25ZM10.9423 10.2596V6.62495H6.5673C6.2735 6.62495 6.02377 6.52201 5.8181 6.31613C5.61245 6.11026 5.50963 5.86027 5.50963 5.56615C5.50963 5.27205 5.61245 5.02083 5.8181 4.8125C6.02377 4.60417 6.2735 4.5 6.5673 4.5H17.4423C17.7361 4.5 17.9858 4.60294 18.1915 4.80883C18.3971 5.01471 18.5 5.2647 18.5 5.5588C18.5 5.85292 18.3971 6.10413 18.1915 6.31245C17.9858 6.52078 17.7361 6.62495 17.4423 6.62495H13.0673V10.2596H10.9423ZM10.9423 15.7211H13.0673V18.4423C13.0673 18.7361 12.9643 18.9858 12.7584 19.1915C12.5526 19.3971 12.3026 19.5 12.0085 19.5C11.7144 19.5 11.4631 19.3962 11.2548 19.1887C11.0465 18.9811 10.9423 18.7291 10.9423 18.4327V15.7211Z"
704 />
705 </svg>
706 `,rFe=A1`
707 <svg
708 xmlns="http://www.w3.org/2000/svg"
709 width="24"
710 height="24"
711 viewBox="0 0 24 24"
712 >
713 <g clip-path="url(#clip0_977_8078)">
714 <path
715 d="M20 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3ZM20 5V8H5V5H20ZM15 19H10V10H15V19ZM5 10H8V19H5V10ZM17 19V10H20V19H17Z"
716 />
717 </g>
718 <defs>
719 <clipPath id="clip0_977_8078">
720 <rect width="24" height="24" />
721 </clipPath>
722 </defs>
723 </svg>
724 `,iFe=A1`
725 <svg
726 xmlns="http://www.w3.org/2000/svg"
727 width="24"
728 height="24"
729 viewBox="0 0 24 24"
730 >
731 <g clip-path="url(#clip0_992_5547)">
732 <path
733 d="M5 5.5C5 6.33 5.67 7 6.5 7H10.5V17.5C10.5 18.33 11.17 19 12 19C12.83 19 13.5 18.33 13.5 17.5V7H17.5C18.33 7 19 6.33 19 5.5C19 4.67 18.33 4 17.5 4H6.5C5.67 4 5 4.67 5 5.5Z"
734 />
735 </g>
736 <defs>
737 <clipPath id="clip0_992_5547">
738 <rect width="24" height="24" />
739 </clipPath>
740 </defs>
741 </svg>
742 `,oFe=A1`
743 <svg
744 xmlns="http://www.w3.org/2000/svg"
745 width="24"
746 height="24"
747 viewBox="0 0 24 24"
748 >
749 <path
750 d="M5.66936 16.3389L9.39244 12.6158C9.54115 12.4671 9.71679 12.3937 9.91936 12.3957C10.1219 12.3976 10.2975 12.4761 10.4463 12.6312C10.5847 12.7823 10.654 12.9585 10.654 13.1599C10.654 13.3613 10.5847 13.5363 10.4463 13.6851L6.32704 17.8197C6.14627 18.0004 5.93538 18.0908 5.69436 18.0908C5.45333 18.0908 5.24243 18.0004 5.06166 17.8197L3.01744 15.7754C2.87899 15.637 2.81136 15.4629 2.81456 15.2533C2.81776 15.0437 2.88859 14.8697 3.02706 14.7312C3.16551 14.5928 3.34008 14.5235 3.55076 14.5235C3.76144 14.5235 3.93494 14.5928 4.07126 14.7312L5.66936 16.3389ZM5.66936 8.72359L9.39244 5.00049C9.54115 4.85177 9.71679 4.77838 9.91936 4.78031C10.1219 4.78223 10.2975 4.86075 10.4463 5.01586C10.5847 5.16691 10.654 5.34314 10.654 5.54454C10.654 5.74592 10.5847 5.92097 10.4463 6.06969L6.32704 10.2043C6.14627 10.3851 5.93538 10.4755 5.69436 10.4755C5.45333 10.4755 5.24243 10.3851 5.06166 10.2043L3.01744 8.16009C2.87899 8.02162 2.81136 7.84759 2.81456 7.63799C2.81776 7.42837 2.88859 7.25433 3.02706 7.11586C3.16551 6.97741 3.34008 6.90819 3.55076 6.90819C3.76144 6.90819 3.93494 6.97741 4.07126 7.11586L5.66936 8.72359ZM13.7597 16.5581C13.5472 16.5581 13.3691 16.4862 13.2253 16.3424C13.0816 16.1986 13.0097 16.0204 13.0097 15.8078C13.0097 15.5952 13.0816 15.4171 13.2253 15.2735C13.3691 15.13 13.5472 15.0582 13.7597 15.0582H20.7597C20.9722 15.0582 21.1503 15.1301 21.2941 15.2739C21.4378 15.4177 21.5097 15.5959 21.5097 15.8085C21.5097 16.0211 21.4378 16.1992 21.2941 16.3427C21.1503 16.4863 20.9722 16.5581 20.7597 16.5581H13.7597ZM13.7597 8.94276C13.5472 8.94276 13.3691 8.87085 13.2253 8.72704C13.0816 8.58324 13.0097 8.40504 13.0097 8.19244C13.0097 7.97985 13.0816 7.80177 13.2253 7.65819C13.3691 7.5146 13.5472 7.44281 13.7597 7.44281H20.7597C20.9722 7.44281 21.1503 7.51471 21.2941 7.65851C21.4378 7.80233 21.5097 7.98053 21.5097 8.19311C21.5097 8.40571 21.4378 8.5838 21.2941 8.72739C21.1503 8.87097 20.9722 8.94276 20.7597 8.94276H13.7597Z"
751 />
752 </svg>
753 `,aFe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t={})=>{e.config(async e=>{let{languages:n,theme:r}=t;if(!n){const{languages:e}=await Uu(async()=>{const{languages:e}=await Promise.resolve().then(()=>uje);return{languages:e}},void 0,import.meta.url);n=e}if(!r){const{oneDark:e}=await Uu(async()=>{const{oneDark:e}=await Promise.resolve().then(()=>wje);return{oneDark:e}},void 0,import.meta.url);r=e}e.update(_Ue.key,e=>{var i;return{extensions:[UXe.of(xMe.concat(kMe)),Qqe,r,...null!=(i=null==t?void 0:t.extensions)?i:[]],languages:n,expandIcon:t.expandIcon||(()=>Rqe),searchIcon:t.searchIcon||(()=>tFe),clearSearchIcon:t.clearSearchIcon||(()=>Xqe),searchPlaceholder:t.searchPlaceholder||"Search language",noResultText:t.noResultText||"No result",renderLanguage:t.renderLanguage||e.renderLanguage}})}).use(IUe)}},Symbol.toStringTag,{value:"Module"}));var sFe=Object.defineProperty,lFe=Object.getOwnPropertySymbols,cFe=Object.prototype.hasOwnProperty,uFe=Object.prototype.propertyIsEnumerable,OFe=(e,t,n)=>t in e?sFe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dFe=(e,t)=>{for(var n in t||(t={}))cFe.call(t,n)&&OFe(e,n,t[n]);if(lFe)for(var n of lFe(t))uFe.call(t,n)&&OFe(e,n,t[n]);return e};function hFe(e,t){return Object.assign(e,{meta:dFe({package:"@milkdown/components"},t)}),e}const fFe=({selected:e,label:t="",listType:n="",checked:r,onMount:i,setAttr:o,config:a,readonly:s})=>{const l=gJ(),c=mJ();LJ(()=>{const e=c.current;if(!e)return;const t=l.current.querySelector("[data-content-dom]");t&&(e.appendChild(t),null==i||i())},[]);const u={label:t,listType:n,checked:r,readonly:s};return A1`<host class=${e&&"ProseMirror-selectednode"}>
754 <li class="list-item">
755 <div
756 class="label-wrapper"
757 onclick=${()=>{null!=r&&(null==o||o("checked",!r))}}
758 contenteditable="false"
759 >
760 ${null==a?void 0:a.renderLabel(u)}
761 </div>
762 <div class="children" ref=${c}></div>
763 </li>
764 </host>`};fFe.props={label:String,checked:Boolean,readonly:Boolean,listType:String,config:Object,selected:Boolean,setAttr:Function,onMount:Function};const pFe=NJ(fFe),AFe=VF({renderLabel:({label:e,listType:t,checked:n,readonly:r})=>null==n?A1`<span class="label"
765 >${"bullet"===t?"⦿":e}</span
766 >`:A1`<input
767 disabled=${r}
768 class="label"
769 type="checkbox"
770 checked=${n}
771 />`},"listItemBlockConfigCtx");hFe(AFe,{displayName:"Config<list-item-block>",group:"ListItemBlock"}),function(e,t){const n=customElements.get(e);null!=n||customElements.define(e,t)}("milkdown-list-item-block",pFe);const mFe=LF(yZ.node,e=>(t,n,r)=>{const i=document.createElement("milkdown-list-item-block"),o=document.createElement("div");o.setAttribute("data-content-dom","true"),o.classList.add("content-dom");const a=e.get(AFe.key),s=e=>{i.listType=e.attrs.listType,i.label=e.attrs.label,i.checked=e.attrs.checked,i.readonly=!n.editable};s(t),i.appendChild(o),i.selected=!1,i.setAttr=(e,t)=>{const i=r();null!=i&&n.dispatch(n.state.tr.setNodeAttribute(i,e,t))},i.onMount=()=>{const{anchor:e,head:t}=n.state.selection;n.hasFocus()&&Promise.resolve().then(()=>{const r=n.state.doc.resolve(e),i=n.state.doc.resolve(t);n.dispatch(n.state.tr.setSelection(new sz(r,i)))})};let l=t;return i.config=a,{dom:i,contentDOM:o,update:e=>e.type===t.type&&(e.sameMarkup(l)&&e.content.eq(l.content)||(l=e,s(e)),!0),ignoreMutation:e=>!i||!o||"selection"!==e.type&&(o===e.target&&"attributes"===e.type||!o.contains(e.target)),selectNode:()=>{i.selected=!0},deselectNode:()=>{i.selected=!1},destroy:()=>{i.remove(),o.remove()}}});hFe(mFe,{displayName:"NodeView<list-item-block>",group:"ListItemBlock"});const gFe=[AFe,mFe];const vFe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(e=>function(e,t){e.set(AFe.key,{renderLabel:({label:e,listType:n,checked:r,readonly:i})=>{var o,a,s,l,c,u;return null==r?"bullet"===n?A1`<span class="label"
772 >${null!=(a=null==(o=null==t?void 0:t.bulletIcon)?void 0:o.call(t))?a:Pqe}</span
773 >`:A1`<span class="label">${e}</span>`:r?A1`<span
774 class=${g1("label checkbox",i&&"readonly")}
775 >${null!=(l=null==(s=null==t?void 0:t.checkBoxCheckedIcon)?void 0:s.call(t))?l:Cqe}</span
776 >`:A1`<span class=${g1("label checkbox",i&&"readonly")}
777 >${null!=(u=null==(c=null==t?void 0:t.checkBoxUncheckedIcon)?void 0:c.call(t))?u:Eqe}</span
778 >`}})}(e,t)).use(gFe)}},Symbol.toStringTag,{value:"Module"})),yFe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(R0).config(e=>{e.update(X1.key,e=>{var n,r,i,o,a,s;return{...e,linkIcon:null!=(n=null==t?void 0:t.linkIcon)?n:()=>Dqe,editButton:null!=(r=null==t?void 0:t.editButton)?r:()=>Nqe,removeButton:null!=(i=null==t?void 0:t.removeButton)?i:()=>eFe,confirmButton:null!=(o=null==t?void 0:t.confirmButton)?o:()=>Uqe,inputPlaceholder:null!=(a=null==t?void 0:t.inputPlaceholder)?a:"Paste link...",onCopyLink:null!=(s=null==t?void 0:t.onCopyLink)?s:()=>{}}})}).use(X0)}},Symbol.toStringTag,{value:"Module"}));var bFe=Object.defineProperty,wFe=Object.getOwnPropertySymbols,QFe=Object.prototype.hasOwnProperty,$Fe=Object.prototype.propertyIsEnumerable,SFe=(e,t,n)=>t in e?bFe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xFe=(e,t)=>{for(var n in t||(t={}))QFe.call(t,n)&&SFe(e,n,t[n]);if(wFe)for(var n of wFe(t))$Fe.call(t,n)&&SFe(e,n,t[n]);return e};function kFe(e,t){return Object.assign(e,{meta:xFe({package:"@milkdown/components"},t)}),e}var PFe=Object.defineProperty,TFe=Object.getOwnPropertySymbols,_Fe=Object.prototype.hasOwnProperty,CFe=Object.prototype.propertyIsEnumerable,EFe=(e,t,n)=>t in e?PFe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,RFe=(e,t)=>{for(var n in t||(t={}))_Fe.call(t,n)&&EFe(e,n,t[n]);if(TFe)for(var n of TFe(t))CFe.call(t,n)&&EFe(e,n,t[n]);return e};const XFe="image-block",BFe=qF("image-block",()=>({inline:!1,group:"block",selectable:!0,draggable:!0,isolating:!0,marks:"",atom:!0,priority:100,attrs:{src:{default:""},caption:{default:""},ratio:{default:1}},parseDOM:[{tag:`img[data-type="${XFe}"]`,getAttrs:e=>{var t;if(!(e instanceof HTMLElement))throw sE(e);return{src:e.getAttribute("src")||"",caption:e.getAttribute("caption")||"",ratio:Number(null!=(t=e.getAttribute("ratio"))?t:1)}}}],toDOM:e=>["img",RFe({"data-type":XFe},e.attrs)],parseMarkdown:{match:({type:e})=>"image-block"===e,runner:(e,t,n)=>{const r=t.url,i=t.title;let o=Number(t.alt||1);(Number.isNaN(o)||0===o)&&(o=1),e.addNode(n,{src:r,caption:i,ratio:o})}},toMarkdown:{match:e=>"image-block"===e.type.name,runner:(e,t)=>{e.openNode("paragraph"),e.addNode("image",void 0,void 0,{title:t.attrs.caption,url:t.attrs.src,alt:`${Number.parseFloat(t.attrs.ratio).toFixed(2)}`}),e.closeNode()}}}));function UFe(e){return kU(e,"paragraph",(e,t,n)=>{var r,i;if(1!==(null==(r=e.children)?void 0:r.length))return;const o=null==(i=e.children)?void 0:i[0];if(!o||"image"!==o.type)return;const{url:a,alt:s,title:l}=o,c={type:"image-block",url:a,alt:s,title:l};n.children.splice(t,1,c)})}kFe(BFe.node,{displayName:"NodeSchema<image-block>",group:"ImageBlock"});const DFe=jF("remark-image-block",()=>()=>UFe);kFe(DFe.plugin,{displayName:"Remark<remarkImageBlock>",group:"ImageBlock"}),kFe(DFe.options,{displayName:"RemarkConfig<remarkImageBlock>",group:"ImageBlock"});const IFe=VF({imageIcon:()=>"🌌",captionIcon:()=>"💬",uploadButton:()=>A1`Upload file`,confirmButton:()=>A1`Confirm ⏎`,uploadPlaceholderText:"or paste the image link ...",captionPlaceholderText:"Image caption",onUpload:e=>Promise.resolve(URL.createObjectURL(e))},"imageBlockConfigCtx");kFe(IFe,{displayName:"Config<image-block>",group:"ImageBlock"});let zFe=0;const NFe=({src:e="",caption:t="",ratio:n=1,selected:r=!1,readonly:i=!1,setAttr:o,config:a})=>{const s=mJ(),l=mJ(),c=mJ(),[u,O]=WJ(t.length>0),[d,h]=WJ(0!==e.length),[f]=WJ(crypto.randomUUID()),[p,A]=WJ(!1),[m,g]=WJ(e);!function({image:e,resizeHandle:t,ratio:n,setRatio:r,src:i}){const o=gJ(),a=ZJ(()=>o.current.getRootNode(),[o]);VJ(()=>{const t=e.current;t&&(delete t.dataset.origin,delete t.dataset.height,t.style.height="")},[i]),VJ(()=>{const i=t.current,s=e.current;if(!i||!s)return;const l=e=>{e.preventDefault();const t=s.getBoundingClientRect().top,n=e.clientY-t,r=Number(n<100?100:n).toFixed(2);s.dataset.height=r,s.style.height=`${r}px`},c=()=>{a.removeEventListener("pointermove",l),a.removeEventListener("pointerup",c);const e=Number(s.dataset.origin),t=Number(s.dataset.height),n=Number.parseFloat(Number(t/e).toFixed(2));Number.isNaN(n)||r(n)},u=e=>{e.preventDefault(),a.addEventListener("pointermove",l),a.addEventListener("pointerup",c)},O=e=>{const t=o.current.getBoundingClientRect().width;if(!t)return;const r=e.target,i=r.height,a=r.width,l=a<t?i:t*(i/a),c=(l*n).toFixed(2);s.dataset.origin=l.toFixed(2),s.dataset.height=c,s.style.height=`${c}px`};return s.addEventListener("load",O),i.addEventListener("pointerdown",u),()=>{s.removeEventListener("load",O),i.removeEventListener("pointerdown",u)}},[])}({image:s,resizeHandle:l,ratio:n,setRatio:e=>null==o?void 0:o("ratio",e),src:e}),VJ(()=>{r||O(t.length>0)},[r]);const v=()=>{var e,t;null==o||o("src",null!=(t=null==(e=c.current)?void 0:e.value)?t:"")},y=e=>{e.preventDefault(),e.stopPropagation()};return A1`<host class=${g1(r&&"selected")}>
779 <div class=${g1("image-edit",e.length>0&&"hidden")}>
780 <div class="image-icon">${null==a?void 0:a.imageIcon()}</div>
781 <div class=${g1("link-importer",p&&"focus")}>
782 <input
783 ref=${c}
784 draggable="true"
785 ondragstart=${y}
786 disabled=${i}
787 class="link-input-area"
788 value=${m}
789 oninput=${e=>{const t=e.target.value;h(0!==t.length),g(t)}}
790 onkeydown=${e=>{"Enter"===e.key&&v()}}
791 onfocus=${()=>A(!0)}
792 onblur=${()=>A(!1)}
793 />
794 <div class=${g1("placeholder",d&&"hidden")}>
795 <input
796 disabled=${i}
797 class="hidden"
798 id=${f}
799 type="file"
800 accept="image/*"
801 onchange=${e=>{return t=void 0,n=null,r=function*(){var t;const n=null==(t=e.target.files)?void 0:t[0];if(!n)return;const r=yield null==a?void 0:a.onUpload(n);r&&(null==o||o("src",r),h(!0))},new Promise((i,o)=>{var a=t=>{try{l(r.next(t))}catch(e){o(e)}},s=t=>{try{l(r.throw(t))}catch(e){o(e)}},l=e=>e.done?i(e.value):Promise.resolve(e.value).then(a,s);l((r=r.apply(t,n)).next())});var t,n,r}}
802 />
803 <label onpointerdown=${e=>{e.stopPropagation(),e.preventDefault()}} class="uploader" for=${f}>
804 ${null==a?void 0:a.uploadButton()}
805 </label>
806 <span class="text" onclick=${()=>{var e;return null==(e=c.current)?void 0:e.focus()}}>
807 ${null==a?void 0:a.uploadPlaceholderText}
808 </span>
809 </div>
810 </div>
811 <div
812 class=${g1("confirm",0===m.length&&"hidden")}
813 onclick=${()=>v()}
814 >
815 ${null==a?void 0:a.confirmButton()}
816 </div>
817 </div>
818 <div class=${g1("image-wrapper",0===e.length&&"hidden")}>
819 <div class="operation">
820 <div class="operation-item" onpointerdown=${e=>{e.preventDefault(),e.stopPropagation(),i||O(e=>!e)}}>
821 ${null==a?void 0:a.captionIcon()}
822 </div>
823 </div>
824 <img
825 ref=${s}
826 data-type=${XFe}
827 src=${e}
828 alt=${t}
829 ratio=${n}
830 />
831 <div ref=${l} class="image-resize-handle"></div>
832 </div>
833 <input
834 draggable="true"
835 ondragstart=${y}
836 class=${g1("caption-input",!u&&"hidden")}
837 placeholder=${null==a?void 0:a.captionPlaceholderText}
838 oninput=${e=>{const t=e.target.value;zFe&&window.clearTimeout(zFe),zFe=window.setTimeout(()=>{null==o||o("caption",t)},1e3)}}
839 onblur=${e=>{const t=e.target.value;zFe&&(window.clearTimeout(zFe),zFe=0),null==o||o("caption",t)}}
840 value=${t}
841 />
842 </host>`};NFe.props={src:String,caption:String,ratio:Number,selected:Boolean,readonly:Boolean,setAttr:Function,config:Object};!function(e,t){const n=customElements.get(e);null!=n||customElements.define(e,t)}("milkdown-image-block",NJ(NFe));const MFe=LF(BFe.node,e=>(t,n,r)=>{const i=document.createElement("milkdown-image-block"),o=e.get(IFe.key),a=o.proxyDomURL,s=e=>{if(a){const t=a(e.attrs.src);"string"==typeof t?i.src=t:t.then(e=>{i.src=e})}else i.src=e.attrs.src;i.ratio=e.attrs.ratio,i.caption=e.attrs.caption,i.readonly=!n.editable};return s(t),i.selected=!1,i.setAttr=(e,t)=>{const i=r();null!=i&&n.dispatch(n.state.tr.setNodeAttribute(i,e,t))},i.config=o,{dom:i,update:e=>e.type===t.type&&(s(e),!0),stopEvent:e=>e.target instanceof HTMLInputElement,selectNode:()=>{i.selected=!0},deselectNode:()=>{i.selected=!1},destroy:()=>{i.remove()}}});kFe(MFe,{displayName:"NodeView<image-block>",group:"ImageBlock"});const LFe=[DFe,BFe,MFe,IFe].flat();var VFe=Object.defineProperty,qFe=Object.getOwnPropertySymbols,FFe=Object.prototype.hasOwnProperty,WFe=Object.prototype.propertyIsEnumerable,ZFe=(e,t,n)=>t in e?VFe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,YFe=(e,t)=>{for(var n in t||(t={}))FFe.call(t,n)&&ZFe(e,n,t[n]);if(qFe)for(var n of qFe(t))WFe.call(t,n)&&ZFe(e,n,t[n]);return e};function jFe(e,t){return Object.assign(e,{meta:YFe({package:"@milkdown/components"},t)}),e}const GFe=VF({imageIcon:()=>"🌌",uploadButton:()=>A1`Upload`,confirmButton:()=>A1`⏎`,uploadPlaceholderText:"/Paste",onUpload:e=>Promise.resolve(URL.createObjectURL(e))},"inlineImageConfigCtx");jFe(GFe,{displayName:"Config<image-inline>",group:"ImageInline"});const HFe=({src:e="",selected:t=!1,alt:n,title:r,setAttr:i,config:o})=>{const a=mJ(),[s]=WJ(crypto.randomUUID()),[l,c]=WJ(!1),[u,O]=WJ(0!==e.length),[d,h]=WJ(e),f=()=>{var e,t;null==i||i("src",null!=(t=null==(e=a.current)?void 0:e.value)?t:"")};return A1`<host class=${g1(t&&"selected",!e&&"empty")}>
843 ${e?A1`<img class="image-inline" src=${e} alt=${n} title=${r} />`:A1`<div class="empty-image-inline">
844 <div class="image-icon">${null==o?void 0:o.imageIcon()}</div>
845 <div class=${g1("link-importer",l&&"focus")}>
846 <input
847 draggable="true"
848 ref=${a}
849 ondragstart=${e=>{e.preventDefault(),e.stopPropagation()}}
850 class="link-input-area"
851 value=${d}
852 oninput=${e=>{const t=e.target.value;O(0!==t.length),h(t)}}
853 onkeydown=${e=>{"Enter"===e.key&&f()}}
854 onfocus=${()=>c(!0)}
855 onblur=${()=>c(!1)}
856 />
857 <div class=${g1("placeholder",u&&"hidden")}>
858 <input
859 class="hidden"
860 id=${s}
861 type="file"
862 accept="image/*"
863 onchange=${e=>{return t=void 0,n=null,r=function*(){var t;const n=null==(t=e.target.files)?void 0:t[0];if(!n)return;const r=yield null==o?void 0:o.onUpload(n);r&&(null==i||i("src",r),O(!0))},new Promise((i,o)=>{var a=t=>{try{l(r.next(t))}catch(e){o(e)}},s=t=>{try{l(r.throw(t))}catch(e){o(e)}},l=e=>e.done?i(e.value):Promise.resolve(e.value).then(a,s);l((r=r.apply(t,n)).next())});var t,n,r}}
864 />
865 <label
866 onpointerdown=${e=>{e.stopPropagation(),e.preventDefault()}}
867 class="uploader"
868 for=${s}
869 >
870 ${null==o?void 0:o.uploadButton()}
871 </label>
872 <span class="text" onclick=${()=>{var e;return null==(e=a.current)?void 0:e.focus()}}>
873 ${null==o?void 0:o.uploadPlaceholderText}
874 </span>
875 </div>
876 </div>
877 <div
878 class=${g1("confirm",0===d.length&&"hidden")}
879 onclick=${()=>f()}
880 >
881 ${null==o?void 0:o.confirmButton()}
882 </div>
883 </div>`}
884 </host>`};HFe.props={src:String,alt:String,title:String,selected:Boolean,setAttr:Function,config:Object};!function(e,t){const n=customElements.get(e);null!=n||customElements.define(e,t)}("milkdown-image-inline",NJ(HFe));const KFe=LF(HW.node,e=>(t,n,r)=>{const i=document.createElement("milkdown-image-inline"),o=e.get(GFe.key),a=o.proxyDomURL,s=e=>{if(a){const t=a(e.attrs.src);"string"==typeof t?i.src=t:t.then(e=>{i.src=e})}else i.src=e.attrs.src;i.alt=e.attrs.alt,i.title=e.attrs.title};return s(t),i.selected=!1,i.setAttr=(e,t)=>{const i=r();null!=i&&n.dispatch(n.state.tr.setNodeAttribute(i,e,t))},i.config=o,{dom:i,update:e=>e.type===t.type&&(s(e),!0),stopEvent:e=>!!(i.selected&&e.target instanceof HTMLInputElement),selectNode:()=>{i.selected=!0},deselectNode:()=>{i.selected=!1},destroy:()=>{i.remove()}}});jFe(KFe,{displayName:"NodeView<image-inline>",group:"ImageInline"});const JFe=[GFe,KFe],eWe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(e=>{e.update(GFe.key,e=>{var n,r,i,o,a,s;return{uploadButton:null!=(n=null==t?void 0:t.inlineUploadButton)?n:()=>"Upload",imageIcon:null!=(r=null==t?void 0:t.inlineImageIcon)?r:()=>Zqe,confirmButton:null!=(i=null==t?void 0:t.inlineConfirmButton)?i:()=>Uqe,uploadPlaceholderText:null!=(o=null==t?void 0:t.inlineUploadPlaceholderText)?o:"or paste link",onUpload:null!=(s=null!=(a=null==t?void 0:t.inlineOnUpload)?a:null==t?void 0:t.onUpload)?s:e.onUpload,proxyDomURL:null==t?void 0:t.proxyDomURL}}),e.update(IFe.key,e=>{var n,r,i,o,a,s,l,c;return{uploadButton:null!=(n=null==t?void 0:t.blockUploadButton)?n:()=>"Upload file",imageIcon:null!=(r=null==t?void 0:t.blockImageIcon)?r:()=>Zqe,captionIcon:null!=(i=null==t?void 0:t.blockCaptionIcon)?i:()=>_qe,confirmButton:null!=(o=null==t?void 0:t.blockConfirmButton)?o:()=>"Confirm",captionPlaceholderText:null!=(a=null==t?void 0:t.blockCaptionPlaceholderText)?a:"Write Image Caption",uploadPlaceholderText:null!=(s=null==t?void 0:t.blockUploadPlaceholderText)?s:"or paste link",onUpload:null!=(c=null!=(l=null==t?void 0:t.blockOnUpload)?l:null==t?void 0:t.onUpload)?c:e.onUpload,proxyDomURL:null==t?void 0:t.proxyDomURL}})}).use(LFe).use(JFe)}},Symbol.toStringTag,{value:"Module"}));class tWe{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(n=t.width)&&void 0!==n?n:1,this.color=!1===t.color?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(t=>{let n=e=>{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){null!=this.cursorPos&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e,t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,r=this.editorView.dom,i=r.getBoundingClientRect(),o=i.width/r.offsetWidth,a=i.height/r.offsetHeight;if(n){let n=t.nodeBefore,r=t.nodeAfter;if(n||r){let t=this.editorView.nodeDOM(this.cursorPos-(n?n.nodeSize:0));if(t){let i=t.getBoundingClientRect(),o=n?i.bottom:i.top;n&&r&&(o=(o+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let s=this.width/2*a;e={left:i.left,right:i.right,top:o-s,bottom:o+s}}}}if(!e){let t=this.editorView.coordsAtPos(this.cursorPos),n=this.width/2*o;e={left:t.left-n,right:t.left+n,top:t.top,bottom:t.bottom}}let s,l,c=this.editorView.dom.offsetParent;if(this.element||(this.element=c.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),!c||c==document.body&&"static"==getComputedStyle(c).position)s=-pageXOffset,l=-pageYOffset;else{let e=c.getBoundingClientRect(),t=e.width/c.offsetWidth,n=e.height/c.offsetHeight;s=e.left-c.scrollLeft*t,l=e.top-c.scrollTop*n}this.element.style.left=(e.left-s)/o+"px",this.element.style.top=(e.top-l)/a+"px",this.element.style.width=(e.right-e.left)/o+"px",this.element.style.height=(e.bottom-e.top)/a+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),r=n&&n.type.spec.disableDropCursor,i="function"==typeof r?r(this.editorView,t,e):r;if(t&&!i){let e=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let t=NI(this.editorView.state.doc,e,this.editorView.dragging.slice);null!=t&&(e=t)}this.setCursor(e),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class nWe extends rz{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return nWe.valid(n)?new nWe(n):rz.near(n)}content(){return rR.empty}eq(e){return e instanceof nWe&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new nWe(e.resolve(t.pos))}getBookmark(){return new rWe(this.anchor)}static valid(e){let t=e.parent;if(t.inlineContent||!function(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(0!=n)for(let e=r.child(n-1);;e=e.lastChild){if(0==e.childCount&&!e.inlineContent||iWe(e.type))return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e)||!function(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n!=r.childCount)for(let e=r.child(n);;e=e.firstChild){if(0==e.childCount&&!e.inlineContent||iWe(e.type))return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e))return!1;let n=t.type.spec.allowGapCursor;if(null!=n)return n;let r=t.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&&nWe.valid(e))return e;let r=e.pos,i=null;for(let n=e.depth;;n--){let o=e.node(n);if(t>0?e.indexAfter(n)<o.childCount:e.index(n)>0){i=o.child(t>0?e.indexAfter(n):e.index(n)-1);break}if(0==n)return null;r+=t;let a=e.doc.resolve(r);if(nWe.valid(a))return a}for(;;){let o=t>0?i.firstChild:i.lastChild;if(!o){if(i.isAtom&&!i.isText&&!cz.isSelectable(i)){e=e.doc.resolve(r+i.nodeSize*t),n=!1;continue e}break}i=o,r+=t;let a=e.doc.resolve(r);if(nWe.valid(a))return a}return null}}}nWe.prototype.visible=!1,nWe.findFrom=nWe.findGapCursorFrom,rz.jsonID("gapcursor",nWe);class rWe{constructor(e){this.pos=e}map(e){return new rWe(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return nWe.valid(t)?new nWe(t):rz.near(t)}}function iWe(e){return e.isAtom||e.spec.isolating||e.spec.createGapCursor}const oWe=YN({ArrowLeft:aWe("horiz",-1),ArrowRight:aWe("horiz",1),ArrowUp:aWe("vert",-1),ArrowDown:aWe("vert",1)});function aWe(e,t){const n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,r,i){let o=e.selection,a=t>0?o.$to:o.$from,s=o.empty;if(o instanceof sz){if(!i.endOfTextblock(n)||0==a.depth)return!1;s=!1,a=e.doc.resolve(t>0?a.after():a.before())}let l=nWe.findGapCursorFrom(a,t,s);return!!l&&(r&&r(e.tr.setSelection(new nWe(l))),!0)}}function sWe(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!nWe.valid(r))return!1;let i=e.posAtCoords({left:n.clientX,top:n.clientY});return!(i&&i.inside>-1&&cz.isSelectable(e.state.doc.nodeAt(i.inside)))&&(e.dispatch(e.state.tr.setSelection(new nWe(r))),!0)}function lWe(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof nWe))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let i=HE.empty;for(let a=r.length-1;a>=0;a--)i=HE.from(r[a].createAndFill(null,i));let o=e.state.tr.replace(n.pos,n.pos,new rR(i,0,0));return o.setSelection(sz.near(o.doc.resolve(n.pos+1))),e.dispatch(o),!1}function cWe(e){if(!(e.selection instanceof nWe))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",DV.create(e.doc,[XV.widget(e.selection.head,t,{key:"gapcursor"})])}function uWe(e,t){return Object.assign(e,{meta:{package:"@milkdown/plugin-cursor",...t}}),e}const OWe=VF({},"dropCursorConfig");uWe(OWe,{displayName:"Ctx<dropCursor>"});const dWe=NF(e=>function(e={}){return new wz({view:t=>new tWe(t,e)})}(e.get(OWe.key)));uWe(dWe,{displayName:"Prose<dropCursor>"});const hWe=NF(()=>new wz({props:{decorations:cWe,createSelectionBetween:(e,t,n)=>t.pos==n.pos&&nWe.valid(n)?new nWe(n):null,handleClick:sWe,handleKeyDown:oWe,handleDOMEvents:{beforeinput:lWe}}}));uWe(hWe,{displayName:"Prose<gapCursor>"});const fWe=[OWe,dWe,hWe],pWe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(e=>{e.update(OWe.key,()=>{var e,n;return{class:"crepe-drop-cursor",width:null!=(e=null==t?void 0:t.width)?e:4,color:null!=(n=null==t?void 0:t.color)&&n}})}).use(fWe)}},Symbol.toStringTag,{value:"Module"}));var AWe,mWe;var gWe=function(){if(mWe)return AWe;mWe=1;var e="Expected a function",t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,o=parseInt,a="object"==typeof Av&&Av&&Av.Object===Object&&Av,s="object"==typeof self&&self&&self.Object===Object&&self,l=a||s||Function("return this")(),c=Object.prototype.toString,u=Math.max,O=Math.min,d=function(){return l.Date.now()};function h(t,n,r){var i,o,a,s,l,c,h=0,A=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError(e);function v(e){var n=i,r=o;return i=o=void 0,h=e,s=t.apply(r,n)}function y(e){var t=e-c;return void 0===c||t>=n||t<0||m&&e-h>=a}function b(){var e=d();if(y(e))return w(e);l=setTimeout(b,function(e){var t=n-(e-c);return m?O(t,a-(e-h)):t}(e))}function w(e){return l=void 0,g&&i?v(e):(i=o=void 0,s)}function Q(){var e=d(),t=y(e);if(i=arguments,o=this,c=e,t){if(void 0===l)return function(e){return h=e,l=setTimeout(b,n),A?v(e):s}(c);if(m)return l=setTimeout(b,n),v(c)}return void 0===l&&(l=setTimeout(b,n)),s}return n=p(n)||0,f(r)&&(A=!!r.leading,a=(m="maxWait"in r)?u(p(r.maxWait)||0,n):a,g="trailing"in r?!!r.trailing:g),Q.cancel=function(){void 0!==l&&clearTimeout(l),h=0,i=c=o=l=void 0},Q.flush=function(){return void 0===l?s:w(d())},Q}function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return NaN;if(f(e)){var a="function"==typeof e.valueOf?e.valueOf():e;e=f(a)?a+"":a}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(t,"");var s=r.test(e);return s||i.test(e)?o(e.slice(2),s?2:8):n.test(e)?NaN:+e}return AWe=function(t,n,r){var i=!0,o=!0;if("function"!=typeof t)throw new TypeError(e);return f(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),h(t,n,{leading:i,maxWait:n,trailing:o})},AWe}();const vWe=mv(gWe);var yWe=e=>{throw TypeError(e)},bWe=(e,t,n)=>t.has(e)||yWe("Cannot "+n),wWe=(e,t,n)=>(bWe(e,t,"read from private field"),n?n.call(e):t.get(e)),QWe=(e,t,n)=>t.has(e)?yWe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),$We=(e,t,n,r)=>(bWe(e,t,"write to private field"),t.set(e,n),n);function SWe(e,t){return Object.assign(e,{meta:{package:"@milkdown/plugin-block",...t}}),e}const xWe=VF({filterNodes:e=>!uN(e=>"table"===e.type.name)(e)},"blockConfig");SWe(xWe,{displayName:"Ctx<blockConfig>"});let kWe=null;const PWe={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};function TWe(e,t){const n=[];let{openStart:r,openEnd:i,content:o}=t;for(;r>1&&i>1&&1===o.childCount&&1===o.firstChild.childCount;){r-=1,i-=1;const e=o.firstChild;n.push(e.type.name,e.attrs!==e.type.defaultAttrs?e.attrs:null),o=e.content}const a=e.someProp("clipboardSerializer")||KR.fromSchema(e.state.schema),s=kWe||(kWe=document.implementation.createHTMLDocument("title")),l=s.createElement("div");l.appendChild(a.serializeFragment(o,{document:s}));let c,u=l.firstChild,O=0;for(;u&&1===u.nodeType&&(c=PWe[u.nodeName.toLowerCase()]);){for(let e=c.length-1;e>=0;e--){const t=s.createElement(c[e]);for(;l.firstChild;)t.appendChild(l.firstChild);l.appendChild(t),O++}u=l.firstChild}u&&1===u.nodeType&&u.setAttribute("data-pm-slice",`${r} ${i}${O?` -${O}`:""} ${JSON.stringify(n)}`);return{dom:l,text:e.someProp("clipboardTextSerializer",n=>n(t,e))||t.content.textBetween(0,t.content.size,"\n\n")}}const _We=jz.ie&&jz.ie_version<15||jz.ios&&jz.webkit_version<604;var CWe,EWe,RWe,XWe,BWe,UWe,DWe,IWe,zWe,NWe,MWe,LWe,VWe,qWe,FWe,WWe,ZWe;CWe=new WeakMap,EWe=new WeakMap,RWe=new WeakMap,XWe=new WeakMap,BWe=new WeakMap,UWe=new WeakMap,DWe=new WeakSet,IWe=function(){var e;return null==(e=wWe(this,CWe))?void 0:e.get(xWe.key).filterNodes},zWe=function(){var e;return null==(e=wWe(this,CWe))?void 0:e.get(yq)},NWe=new WeakMap,MWe=new WeakMap,LWe=new WeakMap,VWe=new WeakMap,qWe=new WeakMap,FWe=new WeakMap,WWe=new WeakMap,ZWe=new WeakMap;const YWe=VF(new class{constructor(){QWe(this,DWe),QWe(this,CWe),QWe(this,EWe),QWe(this,RWe),QWe(this,XWe),QWe(this,BWe),QWe(this,UWe),QWe(this,NWe),QWe(this,MWe),QWe(this,LWe),QWe(this,VWe),QWe(this,qWe),QWe(this,FWe),QWe(this,WWe),QWe(this,ZWe),$We(this,EWe,()=>{if(!wWe(this,XWe))return null;const e=wWe(this,XWe),t=wWe(this,DWe,zWe);if(t&&cz.isSelectable(e.node)){const n=cz.create(t.state.doc,e.$pos.pos);return t.dispatch(t.state.tr.setSelection(n)),t.focus(),$We(this,RWe,n),n}return null}),$We(this,RWe,null),$We(this,XWe,null),$We(this,BWe,void 0),$We(this,UWe,!1),$We(this,MWe,()=>{var e;null==(e=wWe(this,NWe))||e.call(this,{type:"hide"}),$We(this,XWe,null)}),$We(this,LWe,e=>{var t;$We(this,XWe,e),null==(t=wWe(this,NWe))||t.call(this,{type:"show",active:e})}),this.bind=(e,t)=>{$We(this,CWe,e),$We(this,NWe,t)},this.addEvent=e=>{e.addEventListener("mousedown",wWe(this,VWe)),e.addEventListener("mouseup",wWe(this,qWe)),e.addEventListener("dragstart",wWe(this,FWe))},this.removeEvent=e=>{e.removeEventListener("mousedown",wWe(this,VWe)),e.removeEventListener("mouseup",wWe(this,qWe)),e.removeEventListener("dragstart",wWe(this,FWe))},this.unBind=()=>{$We(this,NWe,void 0)},$We(this,VWe,()=>{var e;$We(this,BWe,null==(e=wWe(this,XWe))?void 0:e.el.getBoundingClientRect()),wWe(this,EWe).call(this)}),$We(this,qWe,()=>{wWe(this,UWe)?($We(this,UWe,!1),$We(this,RWe,null)):requestAnimationFrame(()=>{var e;wWe(this,BWe)&&(null==(e=wWe(this,DWe,zWe))||e.focus())})}),$We(this,FWe,e=>{var t;$We(this,UWe,!0);const n=wWe(this,DWe,zWe);if(!n)return;n.dom.dataset.dragging="true";const r=wWe(this,RWe);if(e.dataTransfer&&r){const i=r.content();e.dataTransfer.effectAllowed="copyMove";const{dom:o,text:a}=TWe(n,i);e.dataTransfer.clearData(),e.dataTransfer.setData(_We?"Text":"text/html",o.innerHTML),_We||e.dataTransfer.setData("text/plain",a);const s=null==(t=wWe(this,XWe))?void 0:t.el;s&&e.dataTransfer.setDragImage(s,0,0),n.dragging={slice:i,move:!0}}}),this.keydownCallback=e=>(wWe(this,MWe).call(this),$We(this,UWe,!1),e.dom.dataset.dragging="false",!1),$We(this,WWe,vWe((e,t)=>{if(!e.editable)return;const n=e.dom.getBoundingClientRect(),r=n.left+n.width/2;if(!(e.root.elementFromPoint(r,t.clientY)instanceof Element))return void wWe(this,MWe).call(this);const i=wWe(this,DWe,IWe);if(!i)return;const o=function(e,t,n){var r;if(!e.dom.parentElement)return null;try{const i=null==(r=e.posAtCoords({left:t.x,top:t.y}))?void 0:r.inside;if(null==i||i<0)return null;let o=e.state.doc.resolve(i),a=e.state.doc.nodeAt(i),s=e.nodeDOM(i);const l=t=>{const r=o.depth>=1&&0===o.index(o.depth);if(!t&&!r)return;const i=o.before(o.depth);a=e.state.doc.nodeAt(i),s=e.nodeDOM(i),o=e.state.doc.resolve(i),n(o,a)||l(!0)},c=n(o,a);return l(!c),s&&a?{node:a,$pos:o,el:s}:null}catch{return null}}(e,{x:r,y:t.clientY},i);o?wWe(this,LWe).call(this,o):wWe(this,MWe).call(this)},200)),this.mousemoveCallback=(e,t)=>(e.composing||!e.editable||wWe(this,WWe).call(this,e,t),!1),this.dragoverCallback=(e,t)=>{var n;if(wWe(this,UWe)){const r=null==(n=wWe(this,DWe,zWe))?void 0:n.dom.parentElement;if(!r)return!1;const i=r.scrollHeight>r.clientHeight,o=r.getBoundingClientRect();if(i){if(r.scrollTop>0&&Math.abs(t.y-o.y)<20){const e=r.scrollTop>10?r.scrollTop-10:0;return r.scrollTop=e,!1}const n=Math.round(e.dom.getBoundingClientRect().height);if(Math.round(r.scrollTop+o.height)<n&&Math.abs(t.y-(o.height+o.y))<20){const e=r.scrollTop+10;return r.scrollTop=e,!1}}}return!1},this.dragenterCallback=e=>{e.dragging&&($We(this,UWe,!0),e.dom.dataset.dragging="true")},this.dragleaveCallback=(e,t)=>{const n=t.clientX,r=t.clientY;(n<0||r<0||n>window.innerWidth||r>window.innerHeight)&&($We(this,XWe,null),wWe(this,ZWe).call(this,e))},this.dropCallback=e=>(wWe(this,ZWe).call(this,e),!1),this.dragendCallback=e=>{wWe(this,ZWe).call(this,e)},$We(this,ZWe,e=>{$We(this,UWe,!1),e.dom.dataset.dragging="false"})}},"blockService");SWe(xWe,{displayName:"Ctx<blockService>"});const jWe=VF({},"blockSpec");SWe(xWe,{displayName:"Ctx<blockSpec>"});const GWe=NF(e=>{const t=new Sz("MILKDOWN_BLOCK"),n=e.get(YWe.key),r=e.get(jWe.key);return new wz({key:t,...r,props:{...r.props,handleDOMEvents:{drop:e=>n.dropCallback(e),pointermove:(e,t)=>n.mousemoveCallback(e,t),keydown:e=>n.keydownCallback(e),dragover:(e,t)=>n.dragoverCallback(e,t),dragleave:(e,t)=>n.dragleaveCallback(e,t),dragenter:e=>n.dragenterCallback(e),dragend:e=>n.dragendCallback(e)}}})});var HWe,KWe,JWe,eZe,tZe,nZe,rZe,iZe,oZe,aZe,sZe,lZe;SWe(GWe,{displayName:"Prose<block>"});class cZe{constructor(e){QWe(this,sZe),QWe(this,HWe),QWe(this,KWe),QWe(this,JWe),QWe(this,eZe),QWe(this,tZe),QWe(this,nZe),QWe(this,rZe),QWe(this,iZe),QWe(this,oZe),QWe(this,aZe),$We(this,eZe,null),$We(this,tZe,!1),this.update=()=>{requestAnimationFrame(()=>{if(!wWe(this,tZe))try{((e,t,n)=>(bWe(e,t,"access private method"),n))(this,sZe,lZe).call(this),$We(this,tZe,!0)}catch{}})},this.destroy=()=>{var e,t;null==(e=wWe(this,JWe))||e.unBind(),null==(t=wWe(this,JWe))||t.removeEvent(wWe(this,HWe)),wWe(this,HWe).remove()},this.show=e=>{const t=e.el,n=wWe(this,KWe).get(yq).dom,r={ctx:wWe(this,KWe),active:e,editorDom:n,blockDom:wWe(this,HWe)},i={contextElement:t,getBoundingClientRect:()=>wWe(this,oZe)?wWe(this,oZe).call(this,r):t.getBoundingClientRect()},o=[bg()];if(wWe(this,iZe)){const e=wWe(this,iZe).call(this,r),t=vg(e);o.push(t)}Qg(i,wWe(this,HWe),{placement:wWe(this,aZe)?wWe(this,aZe).call(this,r):"left",middleware:[...o,...wWe(this,nZe)],...wWe(this,rZe)}).then(({x:e,y:t})=>{Object.assign(wWe(this,HWe).style,{left:`${e}px`,top:`${t}px`}),wWe(this,HWe).dataset.show="true"})},this.hide=()=>{wWe(this,HWe).dataset.show="false"},$We(this,KWe,e.ctx),$We(this,HWe,e.content),$We(this,iZe,e.getOffset),$We(this,oZe,e.getPosition),$We(this,aZe,e.getPlacement),$We(this,nZe,e.middleware??[]),$We(this,rZe,e.floatingUIOptions??{}),this.hide()}get active(){return wWe(this,eZe)}}HWe=new WeakMap,KWe=new WeakMap,JWe=new WeakMap,eZe=new WeakMap,tZe=new WeakMap,nZe=new WeakMap,rZe=new WeakMap,iZe=new WeakMap,oZe=new WeakMap,aZe=new WeakMap,sZe=new WeakSet,lZe=function(){var e;null==(e=wWe(this,KWe).get(yq).dom.parentElement)||e.appendChild(wWe(this,HWe));const t=wWe(this,KWe).get(YWe.key);t.bind(wWe(this,KWe),e=>{"hide"===e.type?(this.hide(),$We(this,eZe,null)):"show"===e.type&&(this.show(e.active),$We(this,eZe,e.active))}),$We(this,JWe,t),wWe(this,JWe).addEvent(wWe(this,HWe)),wWe(this,HWe).draggable=!0};const uZe=[jWe,xWe,YWe,GWe];uZe.key=jWe.key,uZe.pluginKey=GWe.key;var OZe,dZe,hZe,fZe,pZe,AZe,mZe,gZe,vZe,yZe,bZe=e=>{throw TypeError(e)},wZe=(e,t,n)=>t.has(e)||bZe("Cannot "+n),QZe=(e,t,n)=>(wZe(e,t,"read from private field"),n?n.call(e):t.get(e)),$Ze=(e,t,n)=>t.has(e)?bZe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),SZe=(e,t,n,r)=>(wZe(e,t,"write to private field"),t.set(e,n),n);class xZe{constructor(e){$Ze(this,vZe),$Ze(this,OZe),$Ze(this,dZe),$Ze(this,hZe),$Ze(this,fZe),$Ze(this,pZe),$Ze(this,AZe),$Ze(this,mZe),$Ze(this,gZe),SZe(this,OZe,!1),this.onShow=()=>{},this.onHide=()=>{},SZe(this,gZe,(e,t)=>{var n;const{state:r,composing:i}=e,{selection:o,doc:a}=r,{ranges:s}=o,l=Math.min(...s.map(e=>e.$from.pos)),c=Math.max(...s.map(e=>e.$to.pos)),u=t&&t.doc.eq(a)&&t.selection.eq(o);QZe(this,OZe)||(null==(n=e.dom.parentElement)||n.appendChild(this.element),SZe(this,OZe,!0)),i||u||(QZe(this,AZe).call(this,e,t)?(Qg({getBoundingClientRect:()=>lN(e,l,c)},this.element,{placement:"bottom-start",middleware:[bg(),vg(QZe(this,mZe)),...QZe(this,dZe)],...QZe(this,hZe)}).then(({x:e,y:t})=>{Object.assign(this.element.style,{left:`${e}px`,top:`${t}px`})}),this.show()):this.hide())}),this.update=(e,t)=>{IK(QZe(this,gZe),QZe(this,fZe))(e,t)},this.getContent=(e,t=e=>"paragraph"===e.type.name)=>{const{selection:n}=e.state,{empty:r,$from:i}=n,o=e.state.selection instanceof sz,a=this.element.contains(document.activeElement),s=!e.hasFocus()&&!a,l=!e.editable,c=!(u=t,e=>dN(u)(e.$from))(e.state.selection);var u;if(!s&&!l&&r&&o&&!c)return i.parent.textBetween(Math.max(0,i.parentOffset-500),i.parentOffset,void 0,"")},this.destroy=()=>{},this.show=()=>{this.element.dataset.show="true",this.onShow()},this.hide=()=>{this.element.dataset.show="false",this.onHide()},this.element=e.content,SZe(this,fZe,e.debounce??200),SZe(this,AZe,e.shouldShow??((e,t,n)=>(wZe(e,t,"access private method"),n))(this,vZe,yZe)),SZe(this,pZe,e.trigger??"/"),SZe(this,mZe,e.offset),SZe(this,dZe,e.middleware??[]),SZe(this,hZe,e.floatingUIOptions??{})}}function kZe(e){return"code_block"===e.$from.parent.type.name}function PZe(e){var t;const n=null==(t=e.$from.node(e.$from.depth-1))?void 0:t.type;return"list_item"===(null==n?void 0:n.name)}function TZe(e,t){null==customElements.get(e)&&customElements.define(e,t)}function _Ze(e){const{$from:t,$to:n}=e.selection,{pos:r}=t,{pos:i}=n;return e=e.deleteRange(r-t.node().content.size,i)}function CZe(e,t=null){return(n,r)=>{if(r){const i=function(e,t,n=null){const{from:r,to:i}=e.selection;return e.setBlockType(r,i,t,n)}(_Ze(n.tr),e,t);r(i.scrollIntoView())}return!0}}function EZe(e,t=null){return(n,r)=>{const i=function(e,t,n=null){const{$from:r,$to:i}=e.selection,o=r.blockRange(i),a=o&&XI(o,t,n);return a?e.wrap(o,a):null}(_Ze(n.tr),e,t);return!!i&&(r&&r(i.scrollIntoView()),!0)}}function RZe(e,t=null){return(n,r)=>{const i=function(e,t,n=null){const r=t.createAndFill(n);return r?e.replaceSelectionWith(r):null}(_Ze(n.tr),e,t);return!!i&&(r&&r(i.scrollIntoView()),!0)}}OZe=new WeakMap,dZe=new WeakMap,hZe=new WeakMap,fZe=new WeakMap,pZe=new WeakMap,AZe=new WeakMap,mZe=new WeakMap,gZe=new WeakMap,vZe=new WeakSet,yZe=function(e){const t=this.getContent(e);if(!t)return!1;const n=t.at(-1);return!!n&&(Array.isArray(QZe(this,pZe))?QZe(this,pZe).includes(n):QZe(this,pZe)===n)};var XZe,BZe,UZe=e=>{throw TypeError(e)},DZe=(e,t,n)=>t.has(e)||UZe("Cannot "+n),IZe=(e,t,n)=>(DZe(e,t,"read from private field"),n?n.call(e):t.get(e)),zZe=(e,t,n)=>t.has(e)?UZe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);class NZe{constructor(){zZe(this,XZe,[]),this.clear=()=>{var e,t,n;return n=[],DZe(e=this,t=XZe,"write to private field"),t.set(e,n),this},zZe(this,BZe,e=>{const t={group:e,addItem:(n,r)=>{const i={key:n,...r};return e.items.push(i),t},clear:()=>(e.items=[],t)};return t}),this.addGroup=(e,t)=>{const n={key:e,label:t,items:[]};return IZe(this,XZe).push(n),IZe(this,BZe).call(this,n)},this.getGroup=e=>{const t=IZe(this,XZe).find(t=>t.key===e);if(!t)throw new Error(`Group with key ${e} not found`);return IZe(this,BZe).call(this,t)},this.build=()=>IZe(this,XZe)}}XZe=new WeakMap,BZe=new WeakMap;const MZe=({show:e,hide:t,ctx:n,filter:r,config:i})=>{const{groups:o,size:a}=ZJ(()=>function(e,t){var n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v,y,b,w,Q,$,S,x,k,P,T,_,C,E,R,X,B,U,D,I,z,N,M,L,V,q,F,W,Z,Y,j,G;const H=new NZe;H.addGroup("text",null!=(n=null==t?void 0:t.slashMenuTextGroupLabel)?n:"Text").addItem("text",{label:null!=(r=null==t?void 0:t.slashMenuTextGroupLabel)?r:"Text",icon:null!=(o=null==(i=null==t?void 0:t.slashMenuTextIcon)?void 0:i.call(t))?o:iFe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;CZe(PW.type(e))(r,n)}}).addItem("h1",{label:null!=(a=null==t?void 0:t.slashMenuH1Label)?a:"Heading 1",icon:null!=(l=null==(s=null==t?void 0:t.slashMenuH1Icon)?void 0:s.call(t))?l:Mqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;CZe(XW.type(e),{level:1})(r,n)}}).addItem("h2",{label:null!=(c=null==t?void 0:t.slashMenuH2Label)?c:"Heading 2",icon:null!=(O=null==(u=null==t?void 0:t.slashMenuH2Icon)?void 0:u.call(t))?O:Lqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;CZe(XW.type(e),{level:2})(r,n)}}).addItem("h3",{label:null!=(d=null==t?void 0:t.slashMenuH3Label)?d:"Heading 3",icon:null!=(f=null==(h=null==t?void 0:t.slashMenuH3Icon)?void 0:h.call(t))?f:Vqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;CZe(XW.type(e),{level:3})(r,n)}}).addItem("h4",{label:null!=(p=null==t?void 0:t.slashMenuH4Label)?p:"Heading 4",icon:null!=(m=null==(A=null==t?void 0:t.slashMenuH4Icon)?void 0:A.call(t))?m:qqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;CZe(XW.type(e),{level:4})(r,n)}}).addItem("h5",{label:null!=(g=null==t?void 0:t.slashMenuH5Label)?g:"Heading 5",icon:null!=(y=null==(v=null==t?void 0:t.slashMenuH5Icon)?void 0:v.call(t))?y:Fqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;CZe(XW.type(e),{level:5})(r,n)}}).addItem("h6",{label:null!=(b=null==t?void 0:t.slashMenuH6Label)?b:"Heading 6",icon:null!=(Q=null==(w=null==t?void 0:t.slashMenuH6Icon)?void 0:w.call(t))?Q:Wqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;CZe(XW.type(e),{level:6})(r,n)}}).addItem("quote",{label:null!=($=null==t?void 0:t.slashMenuQuoteLabel)?$:"Quote",icon:null!=(x=null==(S=null==t?void 0:t.slashMenuQuoteIcon)?void 0:S.call(t))?x:Jqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;EZe(NW.type(e))(r,n)}}).addItem("divider",{label:null!=(k=null==t?void 0:t.slashMenuDividerLabel)?k:"Divider",icon:null!=(T=null==(P=null==t?void 0:t.slashMenuDividerIcon)?void 0:P.call(t))?T:Iqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;RZe(aZ.type(e))(r,n)}}),H.addGroup("list",null!=(_=null==t?void 0:t.slashMenuListGroupLabel)?_:"List").addItem("bullet-list",{label:null!=(C=null==t?void 0:t.slashMenuBulletListLabel)?C:"Bullet List",icon:null!=(R=null==(E=null==t?void 0:t.slashMenuBulletListIcon)?void 0:E.call(t))?R:Tqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;EZe(uZ.type(e))(r,n)}}).addItem("ordered-list",{label:null!=(X=null==t?void 0:t.slashMenuOrderedListLabel)?X:"Ordered List",icon:null!=(U=null==(B=null==t?void 0:t.slashMenuOrderedListIcon)?void 0:B.call(t))?U:Hqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;EZe(pZ.type(e))(r,n)}}).addItem("todo-list",{label:null!=(D=null==t?void 0:t.slashMenuTaskListLabel)?D:"Todo List",icon:null!=(z=null==(I=null==t?void 0:t.slashMenuTaskListIcon)?void 0:I.call(t))?z:oFe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;EZe(yZ.type(e),{checked:!1})(r,n)}}),H.addGroup("advanced",null!=(N=null==t?void 0:t.slashMenuAdvancedGroupLabel)?N:"Advanced").addItem("image",{label:null!=(M=null==t?void 0:t.slashMenuImageLabel)?M:"Image",icon:null!=(V=null==(L=null==t?void 0:t.slashMenuImageIcon)?void 0:L.call(t))?V:Zqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;RZe(BFe.type(e))(r,n)}}).addItem("code",{label:null!=(q=null==t?void 0:t.slashMenuCodeBlockLabel)?q:"Code",icon:null!=(W=null==(F=null==t?void 0:t.slashMenuCodeBlockIcon)?void 0:F.call(t))?W:Bqe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t;RZe(FW.type(e))(r,n)}}).addItem("table",{label:null!=(Z=null==t?void 0:t.slashMenuTableLabel)?Z:"Table",icon:null!=(j=null==(Y=null==t?void 0:t.slashMenuTableIcon)?void 0:Y.call(t))?j:rFe,onRun:e=>{const t=e.get(yq),{dispatch:n,state:r}=t,i=_Ze(r.tr),o=FG(e,3,3);i.replaceSelectionWith(o);const{from:a}=i.selection,s=a-o.nodeSize+2;n(i),requestAnimationFrame(()=>{const e=cz.create(t.state.tr.doc,s);n(t.state.tr.setSelection(e).scrollIntoView())})}}),null==(G=null==t?void 0:t.buildMenu)||G.call(t,H);let K=H.build();e&&(K=K.map(t=>{const n=t.items.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()));return{...t,items:n}}).filter(e=>e.items.length>0));const J=K.flatMap(e=>e.items);return J.forEach((e,t)=>{Object.assign(e,{index:t})}),K.reduce((e,t)=>{const n=e+t.items.length;return Object.assign(t,{range:[e,n]}),n},0),{groups:K,size:J.length}}(r,i),[r]),s=gJ(),[l,c]=WJ(0),u=ZJ(()=>s.current.getRootNode(),[s]),O=mJ({x:-999,y:-999}),d=YJ(e=>{const t=O.current;if(!t)return;const{x:n,y:r}=e;t.x=n,t.y=r},[]);VJ(()=>{0===a&&e?null==t||t():l>=a&&c(0)},[a,e]);const h=YJ((e,t)=>{c(n=>{const r="function"==typeof e?e(n):e;return null==t||t(r),r})},[]),f=YJ(e=>{const t=s.current.querySelector(`[data-index="${e}"]`),n=s.current.querySelector(".menu-groups");t&&n&&(n.scrollTop=t.offsetTop-n.offsetTop)},[]),p=YJ(e=>{const r=o.flatMap(e=>e.items).at(e);r&&n&&r.onRun(n),null==t||t()},[o]),A=YJ(e=>"Escape"===e.key?(e.preventDefault(),void(null==t||t())):"ArrowDown"===e.key?(e.preventDefault(),h(e=>e<a-1?e+1:e,f)):"ArrowUp"===e.key?(e.preventDefault(),h(e=>e<=0?e:e-1,f)):"ArrowLeft"===e.key?(e.preventDefault(),h(e=>{const t=o.find(t=>t.range[0]<=e&&t.range[1]>e);if(!t)return e;const n=o[o.indexOf(t)-1];return n?n.range[1]-1:e},f)):"ArrowRight"===e.key?(e.preventDefault(),h(e=>{const t=o.find(t=>t.range[0]<=e&&t.range[1]>e);if(!t)return e;const n=o[o.indexOf(t)+1];return n?n.range[0]:e},f)):void("Enter"===e.key&&(e.preventDefault(),p(l))),[t,o,l]),m=YJ(e=>t=>{const n=O.current;if(!n)return;const{x:r,y:i}=t;r===n.x&&i===n.y||h(e)},[]);return VJ(()=>(e?u.addEventListener("keydown",A,{capture:!0}):u.removeEventListener("keydown",A,{capture:!0}),()=>{u.removeEventListener("keydown",A,{capture:!0})}),[e,A]),A1`
885 <host onmousedown=${e=>e.preventDefault()}>
886 <nav class="tab-group">
887 <ul>
888 ${o.map(e=>A1`<li
889 key=${e.key}
890 onmousedown=${()=>h(e.range[0],f)}
891 class=${l>=e.range[0]&&l<e.range[1]?"selected":""}
892 >
893 ${e.label}
894 </li>`)}
895 </ul>
896 </nav>
897 <div class="menu-groups" onmousemove=${d}>
898 ${o.map(e=>A1`
899 <div key=${e.key} class="menu-group">
900 <h6>${e.label}</h6>
901 <ul>
902 ${e.items.map(e=>A1`<li
903 key=${e.key}
904 data-index=${e.index}
905 class=${l===e.index?"hover":""}
906 onmouseenter=${m(e.index)}
907 onmousedown=${()=>{var t;null==(t=s.current.querySelector(`[data-index="${e.index}"]`))||t.classList.add("active")}}
908 onmouseup=${()=>{var t;null==(t=s.current.querySelector(`[data-index="${e.index}"]`))||t.classList.remove("active"),p(e.index)}}
909 >
910 ${e.icon}
911 <span>${e.label}</span>
912 </li>`)}
913 </ul>
914 </div>
915 `)}
916 </div>
917 </host>
918 `};MZe.props={ctx:Object,config:Object,show:Boolean,filter:String,hide:Function};const LZe=NJ(MZe);var VZe,qZe,FZe,WZe=e=>{throw TypeError(e)},ZZe=(e,t,n)=>t.has(e)||WZe("Cannot "+n),YZe=(e,t,n)=>(ZZe(e,t,"read from private field"),n?n.call(e):t.get(e)),jZe=(e,t,n)=>t.has(e)?WZe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),GZe=(e,t,n,r)=>(ZZe(e,t,"write to private field"),t.set(e,n),n);const HZe=function(e){const t=VF({},`${e}_SLASH_SPEC`),n=NF(n=>{const r=n.get(t.key);return new wz({key:new Sz(`${e}_SLASH`),...r})}),r=[t,n];return r.key=t.key,r.pluginKey=n.key,t.meta={package:"@milkdown/plugin-slash",displayName:`Ctx<slashSpec>|${e}`},n.meta={package:"@milkdown/plugin-slash",displayName:`Prose<slash>|${e}`},r}("CREPE_MENU"),KZe=VF({show:()=>{},hide:()=>{}},"menuAPICtx");TZe("milkdown-slash-menu",LZe);class JZe{constructor(e,t,n){jZe(this,VZe),jZe(this,qZe),jZe(this,FZe,null),this.update=e=>{YZe(this,qZe).update(e)},this.show=e=>{GZe(this,FZe,e),YZe(this,VZe).filter="",YZe(this,qZe).show()},this.hide=()=>{GZe(this,FZe,null),YZe(this,qZe).hide()},this.destroy=()=>{YZe(this,qZe).destroy(),YZe(this,VZe).remove()},GZe(this,VZe,new LZe),YZe(this,VZe).hide=this.hide,YZe(this,VZe).ctx=e,YZe(this,VZe).config=n;const r=this;GZe(this,qZe,new xZe({content:YZe(this,VZe),debounce:20,shouldShow(e){if(kZe(e.state.selection)||PZe(e.state.selection))return!1;const t=this.getContent(e,e=>["paragraph","heading"].includes(e.type.name));if(null==t)return!1;const n=YZe(r,FZe);return YZe(r,VZe).filter=t.startsWith("/")?t.slice(1):t,"number"==typeof n?e.state.doc.resolve(n).node()===e.state.doc.resolve(e.state.selection.from).node()||(GZe(r,FZe,null),!1):!!t.startsWith("/")},offset:10})),YZe(this,qZe).onShow=()=>{YZe(this,VZe).show=!0},YZe(this,qZe).onHide=()=>{YZe(this,VZe).show=!1},this.update(t),e.set(KZe.key,{show:e=>this.show(e),hide:()=>this.hide()})}}VZe=new WeakMap,qZe=new WeakMap,FZe=new WeakMap;const eYe=({onAdd:e,addIcon:t,handleIcon:n})=>{const r=mJ();VJ(()=>{var e;null==(e=r.current)||e.classList.remove("active")});return A1`
919 <host>
920 <div
921 ref=${r}
922 onmousedown=${e=>{var t;e.preventDefault(),e.stopPropagation(),null==(t=r.current)||t.classList.add("active")}}
923 onmouseup=${t=>{var n;t.preventDefault(),t.stopPropagation(),null==e||e(),null==(n=r.current)||n.classList.remove("active")}}
924 class="operation-item"
925 >
926 ${(null==t?void 0:t())||Kqe}
927 </div>
928 <div class="operation-item">${(null==n?void 0:n())||Gqe}</div>
929 </host>
930 `};eYe.props={show:Boolean,onAdd:Function,addIcon:Function,handleIcon:Function};const tYe=NJ(eYe);var nYe,rYe,iYe,oYe=e=>{throw TypeError(e)},aYe=(e,t,n)=>t.has(e)||oYe("Cannot "+n),sYe=(e,t,n)=>(aYe(e,t,"read from private field"),n?n.call(e):t.get(e)),lYe=(e,t,n)=>t.has(e)?oYe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),cYe=(e,t,n,r)=>(aYe(e,t,"write to private field"),t.set(e,n),n);class uYe{constructor(e,t){lYe(this,nYe),lYe(this,rYe),lYe(this,iYe),this.update=()=>{sYe(this,rYe).update()},this.destroy=()=>{sYe(this,rYe).destroy(),sYe(this,nYe).remove()},this.onAdd=()=>{const e=sYe(this,iYe),t=e.get(yq);t.hasFocus()||t.focus();const{state:n,dispatch:r}=t,i=sYe(this,rYe).active;if(!i)return;const o=i.$pos.pos+i.node.nodeSize;let a=n.tr.insert(o,PW.type(e).create());a=a.setSelection(sz.near(a.doc.resolve(o))),r(a.scrollIntoView()),sYe(this,rYe).hide(),e.get(KZe.key).show(a.selection.from)},cYe(this,iYe,e);const n=new tYe;cYe(this,nYe,n),sYe(this,nYe).onAdd=this.onAdd,sYe(this,nYe).addIcon=null==t?void 0:t.handleAddIcon,sYe(this,nYe).handleIcon=null==t?void 0:t.handleDragIcon,cYe(this,rYe,new cZe({ctx:e,content:n,getOffset:()=>16,getPlacement:({active:e,blockDom:t})=>{if("heading"===e.node.type.name)return"left";let n=0;e.node.descendants(e=>{n+=e.childCount});const r=e.el,i=r.getBoundingClientRect(),o=t.getBoundingClientRect(),a=window.getComputedStyle(r),s=Number.parseInt(a.paddingTop,10)||0,l=Number.parseInt(a.paddingBottom,10)||0,c=i.height-s-l,u=o.height;return n>2||u<c?"left-start":"left"}})),this.update()}}nYe=new WeakMap,rYe=new WeakMap,iYe=new WeakMap,TZe("milkdown-block-handle",tYe);const OYe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(e=>function(e,t){e.set(xWe.key,{filterNodes:e=>!uN(e=>["table","blockquote"].includes(e.type.name))(e)}),e.set(uZe.key,{view:()=>new uYe(e,t)})}(e,t)).config(e=>function(e,t){e.set(HZe.key,{view:n=>new JZe(e,n,t)})}(e,t)).use(KZe).use(uZe).use(HZe)}},Symbol.toStringTag,{value:"Module"}));const dYe=VF({text:"Please enter...",mode:"block"},"placeholderConfigCtx"),hYe=NF(e=>new wz({key:new Sz("CREPE_PLACEHOLDER"),props:{decorations:t=>{var n;const r=e.get(dYe.key);if("doc"===r.mode&&!function(e){var t;return e.childCount<=1&&!(null==(t=e.firstChild)?void 0:t.content.size)}(t.doc))return null;if(kZe(t.selection)||PZe(t.selection))return null;const i=function(e,t){const{selection:n}=e;if(!n.empty)return null;const r=n.$anchor,i=r.parent;if(i.content.size>0)return null;if(uN(e=>"table"===e.type.name)(r))return null;const o=r.before();return XV.node(o,o+i.nodeSize,{class:"crepe-placeholder","data-placeholder":t})}(t,null!=(n=r.text)?n:"Please enter...");return i?DV.create(t.doc,[i]):null}}})),fYe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(e=>{t&&e.update(dYe.key,e=>({...e,...t}))}).use(hYe).use(dYe)},placeholderConfig:dYe,placeholderPlugin:hYe},Symbol.toStringTag,{value:"Module"})),pYe=({ctx:e,hide:t,show:n,config:r})=>{var i,o,a,s,l,c,u,O,d,h;const f=vJ();VJ(()=>{f()},[n]);const p=t=>n=>{n.preventDefault(),e&&t(e),f()},A=t=>{if(!e)return!1;const n=e.get(yq),{state:{doc:r,selection:i}}=n;return r.rangeHasMark(i.from,i.to,t)};return A1`<host>
931 <button
932 type="button"
933 class=${g1("toolbar-item",e&&A(hW.type(e))&&"active")}
934 onmousedown=${p(e=>{e.get(qq).call(fW.key)})}
935 >
936 ${null!=(o=null==(i=null==r?void 0:r.boldIcon)?void 0:i.call(r))?o:kqe}
937 </button>
938 <button
939 type="button"
940 class=${g1("toolbar-item",e&&A(sW.type(e))&&"active")}
941 onmousedown=${p(e=>{e.get(qq).call(lW.key)})}
942 >
943 ${null!=(s=null==(a=null==r?void 0:r.italicIcon)?void 0:a.call(r))?s:Yqe}
944 </button>
945 <button
946 type="button"
947 class=${g1("toolbar-item",e&&A(BG.type(e))&&"active")}
948 onmousedown=${p(e=>{e.get(qq).call(UG.key)})}
949 >
950 ${null!=(c=null==(l=null==r?void 0:r.strikethroughIcon)?void 0:l.call(r))?c:nFe}
951 </button>
952 <div class="divider"></div>
953 <button
954 type="button"
955 class=${g1("toolbar-item",e&&A(gW.type(e))&&"active")}
956 onmousedown=${p(e=>{e.get(qq).call(vW.key)})}
957 >
958 ${null!=(O=null==(u=null==r?void 0:r.codeIcon)?void 0:u.call(r))?O:Bqe}
959 </button>
960 <button
961 type="button"
962 class=${g1("toolbar-item",e&&A(QW.type(e))&&"active")}
963 onmousedown=${p(e=>{const n=e.get(yq),{selection:r}=n.state;A(QW.type(e))?e.get(R1.key).removeLink(r.from,r.to):(e.get(R1.key).addLink(r.from,r.to),null==t||t())})}
964 >
965 ${null!=(h=null==(d=null==r?void 0:r.linkIcon)?void 0:d.call(r))?h:jqe}
966 </button>
967 </host>`};pYe.props={ctx:Object,hide:Function,show:Boolean,config:Object};const AYe=NJ(pYe);var mYe,gYe,vYe=e=>{throw TypeError(e)},yYe=(e,t,n)=>t.has(e)||vYe("Cannot "+n),bYe=(e,t,n)=>(yYe(e,t,"read from private field"),n?n.call(e):t.get(e)),wYe=(e,t,n)=>t.has(e)?vYe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),QYe=(e,t,n,r)=>(yYe(e,t,"write to private field"),t.set(e,n),n);const $Ye=sJ("CREPE_TOOLBAR");class SYe{constructor(e,t,n){wYe(this,mYe),wYe(this,gYe),this.update=(e,t)=>{bYe(this,mYe).update(e,t)},this.destroy=()=>{bYe(this,mYe).destroy(),bYe(this,gYe).remove()},this.hide=()=>{bYe(this,mYe).hide()};const r=new AYe;QYe(this,gYe,r),bYe(this,gYe).ctx=e,bYe(this,gYe).hide=this.hide,bYe(this,gYe).config=n,QYe(this,mYe,new aJ({content:bYe(this,gYe),debounce:20,offset:10,shouldShow(e){const{doc:t,selection:n}=e.state,{empty:i,from:o,to:a}=n,s=!t.textBetween(o,a).length&&n instanceof sz,l=!(n instanceof sz),c=e.dom.getRootNode().activeElement,u=r.contains(c),O=!e.hasFocus()&&!u,d=!e.editable;return!(O||l||i||s||d)}})),bYe(this,mYe).onShow=()=>{bYe(this,gYe).show=!0},bYe(this,mYe).onHide=()=>{bYe(this,gYe).show=!1},this.update(t)}}mYe=new WeakMap,gYe=new WeakMap,TZe("milkdown-toolbar",AYe);const xYe=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(e=>{e.set($Ye.key,{view:n=>new SYe(e,n,t)})}).use($Ye)}},Symbol.toStringTag,{value:"Module"}));var kYe=Object.defineProperty,PYe=Object.getOwnPropertySymbols,TYe=Object.prototype.hasOwnProperty,_Ye=Object.prototype.propertyIsEnumerable,CYe=(e,t,n)=>t in e?kYe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,EYe=(e,t)=>{for(var n in t||(t={}))TYe.call(t,n)&&CYe(e,n,t[n]);if(PYe)for(var n of PYe(t))_Ye.call(t,n)&&CYe(e,n,t[n]);return e};function RYe(e,t){return Object.assign(e,{meta:EYe({package:"@milkdown/components"},t)}),e}var XYe=Object.defineProperty,BYe=Object.getOwnPropertySymbols,UYe=Object.prototype.hasOwnProperty,DYe=Object.prototype.propertyIsEnumerable,IYe=(e,t,n)=>t in e?XYe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zYe=VF(((e,t)=>{for(var n in t||(t={}))UYe.call(t,n)&&IYe(e,n,t[n]);if(BYe)for(var n of BYe(t))DYe.call(t,n)&&IYe(e,n,t[n]);return e})({},{renderButton:e=>{switch(e){case"add_row":case"add_col":return"+";case"delete_row":case"delete_col":return"-";case"align_col_left":return"left";case"align_col_center":return"center";case"align_col_right":return"right";case"col_drag_handle":case"row_drag_handle":return"="}}}),"tableBlockConfigCtx");function NYe(e,t){for(let n=0;n<e.childCount;n++)if(e.child(n)===t)return n;return-1}function MYe(e,[t,n]){const r=e.current;if(!r)return;const i=r.querySelectorAll("tr"),o=i[t];if(!o)return;const a=i[0];if(!a)return;const s=a.children[n];if(!s)return;const l=o.children[n];return l?{row:o,col:l,headerCol:s}:void 0}function LYe({refs:e,index:t,before:n,after:r}){const{contentWrapperRef:i,colHandleRef:o,hoverIndex:a}=e,s=o.current;if(!s)return;a.current=t;const l=MYe(i,t);if(!l)return;const{headerCol:c}=l;s.dataset.show="true",n&&n(s),Qg(c,s,{placement:"top"}).then(({x:e,y:t})=>{Object.assign(s.style,{left:`${e}px`,top:`${t}px`}),r&&r(s)})}function VYe({refs:e,index:t,before:n,after:r}){const{contentWrapperRef:i,rowHandleRef:o,hoverIndex:a}=e,s=o.current;if(!s)return;a.current=t;const l=MYe(i,t);if(!l)return;const{row:c}=l;s.dataset.show="true",n&&n(s),Qg(c,s,{placement:"left"}).then(({x:e,y:t})=>{Object.assign(s.style,{left:`${e}px`,top:`${t}px`}),r&&r(s)})}function qYe(e){const{dragPreviewRef:t,tableWrapperRef:n,contentWrapperRef:r,yLineHandleRef:i,xLineHandleRef:o,colHandleRef:a,rowHandleRef:s}=e,l=t.current;if(!l)return;const c=n.current;if(!c)return;const u=r.current;if(!u)return;const O=u.querySelector("tbody");if(!O)return;const d=l.querySelector("tbody");if(!d)return;const h=i.current;if(!h)return;const f=o.current;if(!f)return;const p=a.current;if(!p)return;const A=s.current;if(!A)return;return{preview:l,wrapper:c,content:u,contentRoot:O,previewRoot:d,yHandle:h,xHandle:f,colHandle:p,rowHandle:A}}function FYe(e,t,n,r){const i=null==n?void 0:n.get(yq);if(!(null==i?void 0:i.editable))return;t.stopPropagation(),t.dataTransfer&&(t.dataTransfer.effectAllowed="move");const o=qYe(e);o&&requestAnimationFrame(()=>{r(o)})}function WYe(e,t,n){const{dragPreviewRef:r,yLineHandleRef:i,xLineHandleRef:o,dragInfo:a}=e,s=gJ(),l=ZJ(()=>s.current.getRootNode(),[s]),c=ZJ(()=>function(e,t){return n=>{FYe(e,n,t,({preview:t,content:r,previewRoot:i,yHandle:o,xHandle:a,colHandle:s,rowHandle:l})=>{var c;const{hoverIndex:u,dragInfo:O}=e;a.dataset.displayType="indicator",o.dataset.show="false",s.dataset.show="false",null==(c=l.querySelector(".button-group"))||c.setAttribute("data-show","false");const[d]=u.current;O.current={startCoords:[n.clientX,n.clientY],startIndex:d,endIndex:d,type:"row"},t.dataset.direction="vertical";const h=r.querySelectorAll("tr");for(;i.firstChild;)i.removeChild(i.firstChild);const f=h[d];if(!f)return;i.appendChild(f.cloneNode(!0));const p=f.getBoundingClientRect().height,{width:A}=r.querySelector("tbody").getBoundingClientRect();Object.assign(t.style,{width:`${A}px`,height:`${p}px`}),t.dataset.show="true"})}}(e,t),[e]),u=ZJ(()=>function(e,t){return n=>{FYe(e,n,t,({preview:t,content:r,previewRoot:i,yHandle:o,xHandle:a,colHandle:s,rowHandle:l})=>{var c;const{hoverIndex:u,dragInfo:O}=e;a.dataset.show="false",o.dataset.displayType="indicator",l.dataset.show="false",null==(c=s.querySelector(".button-group"))||c.setAttribute("data-show","false");const[d,h]=u.current;O.current={startCoords:[n.clientX,n.clientY],startIndex:h,endIndex:h,type:"col"},t.dataset.direction="horizontal";const f=r.querySelectorAll("tr");for(;i.firstChild;)i.removeChild(i.firstChild);let p;Array.from(f).forEach(e=>{const t=e.children[h];if(!t)return;void 0===p&&(p=t.getBoundingClientRect().width);const n=t.parentElement.cloneNode(!1),r=t.cloneNode(!0);n.appendChild(r),i.appendChild(n)});const{height:A}=r.querySelector("tbody").getBoundingClientRect();Object.assign(t.style,{width:`${p}px`,height:`${A}px`}),t.dataset.show="true"})}}(e,t),[e]);return VJ(()=>{const s=()=>{const e=r.current;if(!e)return;if("false"===e.dataset.show)return;const t=null==e?void 0:e.querySelector("tbody");for(;null==t?void 0:t.firstChild;)null==t||t.removeChild(t.firstChild);e&&(e.dataset.show="false")},c=()=>{var s;const l=r.current;if(!l)return;const c=i.current;if(!c)return;const u=o.current;if(!u)return;const O=a.current;if(!O)return;if(!t)return;if("false"===l.dataset.show)return;if(!e.colHandleRef.current)return;if(!e.rowHandleRef.current)return;if(c.dataset.show="false",u.dataset.show="false",O.startIndex===O.endIndex)return;const d=t.get(qq),h={from:O.startIndex,to:O.endIndex,pos:(null!=(s=null==n?void 0:n())?s:0)+1};if("col"===O.type){d.call(pH.key,{pos:h.pos,index:O.startIndex}),d.call(hH.key,h);const t=[0,O.endIndex];LYe({refs:e,index:t})}else{d.call(fH.key,{pos:h.pos,index:O.startIndex}),d.call(dH.key,h);const t=[O.endIndex,0];VYe({refs:e,index:t})}requestAnimationFrame(()=>{t.get(yq).focus()})},u=function(e){return vWe(t=>{const n=qYe(e);if(!n)return;const{preview:r,content:i,contentRoot:o,xHandle:a,yHandle:s}=n,{dragInfo:l,hoverIndex:c}=e;if("false"===r.dataset.show)return;const u=MYe(e.contentWrapperRef,c.current);if(!u)return;const O=o.querySelector("tr");if(!O)return;const d=l.current;if(!d)return;const h=o.offsetParent.offsetTop,f=o.offsetParent.offsetLeft;if("col"===d.type){const e=u.col.getBoundingClientRect().width,{left:n,width:a}=o.getBoundingClientRect(),l=f-n,c=t.clientX+l-e/2,p=t.clientX+l+e/2,[A]=d.startCoords,m=A<t.clientX?"right":"left";r.style.top=`${h}px`;const g=c<n+l-20?n+l-20:c>n+a+l-e+20?n+a+l-e+20:c;r.style.left=`${g}px`;const v=Array.from(O.children),y=v.find((e,t)=>{const r=e.getBoundingClientRect();let i=r.left+f-n,o=r.right+f-n;if("right"===m){if(i+=r.width/2,o+=r.width/2,i<=p&&o>=p)return!0;if(t===O.children.length-1&&p>o)return!0}else{if(i-=r.width/2,o-=r.width/2,i<=c&&o>=c)return!0;if(0===t&&c<i)return!0}return!1});if(y){const e=s.getBoundingClientRect().width,t=i.getBoundingClientRect(),n=v.indexOf(y);d.endIndex=n,Qg(y,s,{placement:"left"===m?"left":"right",middleware:[vg("left"===m?-1*e:0)]}).then(({x:e})=>{s.dataset.show="true",Object.assign(s.style,{height:`${t.height}px`,left:`${e}px`,top:`${h}px`})})}}else if("row"===d.type){const e=u.row.getBoundingClientRect().height,{top:n,height:s}=o.getBoundingClientRect(),l=h-n,c=t.clientY+l-e/2,O=t.clientY+l+e/2,[p,A]=d.startCoords,m=A<t.clientY?"down":"up",g=c<n+l-20?n+l-20:c>n+s+l-e+20?n+s+l-e+20:c;r.style.top=`${g}px`,r.style.left=`${f}px`;const v=Array.from(o.querySelectorAll("tr")),y=v.find((e,t)=>{const r=e.getBoundingClientRect();let i=r.top+h-n,o=r.bottom+h-n;if("down"===m){if(i+=r.height/2,o+=r.height/2,i<=O&&o>=O)return!0;if(t===v.length-1&&O>o)return!0}else{if(i-=r.height/2,o-=r.height/2,i<=c&&o>=c)return!0;if(0===t&&c<i)return!0}return!1});if(y){const e=a.getBoundingClientRect().height,t=i.getBoundingClientRect(),n=v.indexOf(y);d.endIndex=n,Qg(y,a,{placement:"up"===m?"top":"bottom",middleware:[vg("up"===m?-1*e:0)]}).then(({y:e})=>{a.dataset.show="true",Object.assign(a.style,{width:`${t.width}px`,top:`${e}px`})})}}},20)}(e);return l.addEventListener("dragover",u),l.addEventListener("dragend",s),l.addEventListener("drop",c),()=>{l.removeEventListener("dragover",u),l.removeEventListener("dragend",s),l.removeEventListener("drop",c)}},[]),{dragRow:c,dragCol:u}}function ZYe(e,t){return vWe(n=>{if(!(null==t?void 0:t.editable))return;const{contentWrapperRef:r,yLineHandleRef:i,xLineHandleRef:o,colHandleRef:a,rowHandleRef:s,hoverIndex:l,lineHoverIndex:c}=e,u=i.current;if(!u)return;const O=o.current;if(!O)return;const d=r.current;if(!d)return;const h=s.current;if(!h)return;const f=a.current;if(!f)return;const p=function(e,t){var r,i,o;if(t)try{const n=t.posAtCoords({left:e.clientX,top:e.clientY});if(!n)return;const a=null==n?void 0:n.inside;if(null==a||a<0)return;const s=t.state.doc.resolve(a),l=t.state.doc.nodeAt(a);if(!l)return;const c=["table_cell","table_header"],u=["table_row","table_header_row"],O=c.includes(l.type.name)?l:null==(r=uN(e=>c.includes(e.type.name))(s))?void 0:r.node,d=null==(i=uN(e=>u.includes(e.type.name))(s))?void 0:i.node,h=null==(o=uN(e=>"table"===e.type.name)(s))?void 0:o.node;if(!O||!d||!h)return;const f=NYe(d,O);return[NYe(h,d),f]}catch(n){return}}(n,t);if(!p)return;const A=MYe(r,p);if(!A)return;const[m,g]=p,v=A.col.getBoundingClientRect(),y=Math.abs(n.clientX-v.left)<8,b=Math.abs(v.right-n.clientX)<8,w=Math.abs(n.clientY-v.top)<8,Q=Math.abs(v.bottom-n.clientY)<8,$=y||b||w||Q,S=h.querySelector(".button-group"),x=f.querySelector(".button-group");if(S&&(S.dataset.show="false"),x&&(x.dataset.show="false"),$){const e=d.getBoundingClientRect();h.dataset.show="false",f.dataset.show="false",O.dataset.displayType="tool",u.dataset.displayType="tool";const t=u.getBoundingClientRect().width,n=O.getBoundingClientRect().height;return y||b?(c.current[1]=y?g:g+1,Qg(A.col,u,{placement:y?"left":"right",middleware:[vg(y?-1*t:0)]}).then(({x:t})=>{u.dataset.show="true",Object.assign(u.style,{height:`${e.height}px`,left:`${t}px`})})):u.dataset.show="false",void(0!==p[0]&&(w||Q)?(c.current[0]=w?m:m+1,Qg(A.row,O,{placement:w?"top":"bottom",middleware:[vg(w?-1*n:0)]}).then(({y:t})=>{O.dataset.show="true",Object.assign(O.style,{width:`${e.width}px`,top:`${t}px`})})):O.dataset.show="false")}c.current=[-1,-1],u.dataset.show="false",O.dataset.show="false",h.dataset.show="true",f.dataset.show="true",VYe({refs:e,index:p}),LYe({refs:e,index:p}),l.current=p},20)}function YYe(e,t){const n=ZJ(()=>ZYe(e,t),[]),r=ZJ(()=>function(e){return()=>{const{rowHandleRef:t,colHandleRef:n,yLineHandleRef:r,xLineHandleRef:i}=e;setTimeout(()=>{const e=t.current;if(!e)return;const o=n.current;if(!o)return;const a=r.current;if(!a)return;const s=i.current;s&&(e.dataset.show="false",o.dataset.show="false",a.dataset.show="false",s.dataset.show="false")},200)}}(e),[]);return{pointerMove:n,pointerLeave:r}}RYe(zYe,{displayName:"Config<table-block>",group:"TableBlock"});const jYe=({view:e,ctx:t,getPos:n,node:r,config:i})=>{const o=gJ(),a=mJ(),s=mJ(),l=mJ(),c=mJ(),u=mJ(),O=mJ(),d=mJ(),h=mJ([0,0]),f=mJ([-1,-1]),p=mJ(),A=ZJ(()=>({dragPreviewRef:d,tableWrapperRef:O,contentWrapperRef:a,yLineHandleRef:u,xLineHandleRef:c,colHandleRef:s,rowHandleRef:l,hoverIndex:h,lineHoverIndex:f,dragInfo:p}),[]);LJ(()=>{const n=a.current;if(!n)return;const i=o.current.querySelector("[data-content-dom]");i&&n.appendChild(i),(null==e?void 0:e.editable)&&function(e,t,n){if(!t)return;if(!n)return;const{selection:r}=t.get(yq).state;if(!(r instanceof cY))return;const{$from:i}=r,o=WG(i);if(o&&o.node===n){if(r.isColSelection()){const{$head:t}=r;return void LYe({refs:e,index:[0,t.index(t.depth-1)],before:e=>{var t;null==(t=e.querySelector(".button-group"))||t.setAttribute("data-show","true")}})}if(r.isRowSelection()){const{$head:t}=r,n=uN(e=>"table_row"===e.type.name||"table_header_row"===e.type.name)(t);if(!n)return;const i=NYe(o.node,n.node);VYe({refs:e,index:[i,0],before:e=>{var t;i>0&&(null==(t=e.querySelector(".button-group"))||t.setAttribute("data-show","true"))}})}}}(A,t,r)},[]);const{pointerLeave:m,pointerMove:g}=YYe(A,e),{dragRow:v,dragCol:y}=WYe(A,t,n),{onAddRow:b,onAddCol:w,selectCol:Q,selectRow:$,deleteSelected:S,onAlign:x}=function(e,t,n){const{xLineHandleRef:r,contentWrapperRef:i,colHandleRef:o,rowHandleRef:a,hoverIndex:s,lineHoverIndex:l}=e,c=YJ(()=>{var e,o,a;if(!t)return;const s=r.current;if(!s)return;const[c]=l.current;if(c<0)return;if(!t.get(yq).editable)return;const u=Array.from(null!=(o=null==(e=i.current)?void 0:e.querySelectorAll("tr"))?o:[]),O=t.get(qq),d=(null!=(a=null==n?void 0:n())?a:0)+1;u.length===c?(O.call(fH.key,{pos:d,index:c-1}),O.call(bH.key)):(O.call(fH.key,{pos:d,index:c}),O.call(yH.key)),O.call(fH.key,{pos:d,index:c}),s.dataset.show="false"},[]),u=YJ(()=>{var e,o,a,s;if(!t)return;if(!r.current)return;const[c,u]=l.current;if(u<0)return;if(!t.get(yq).editable)return;const O=Array.from(null!=(a=null==(o=null==(e=i.current)?void 0:e.querySelector("tr"))?void 0:o.children)?a:[]),d=t.get(qq),h=(null!=(s=null==n?void 0:n())?s:0)+1;O.length===u?(d.call(pH.key,{pos:h,index:u-1}),d.call(vH.key)):(d.call(pH.key,{pos:h,index:u}),d.call(gH.key)),d.call(pH.key,{pos:h,index:u})},[]),O=YJ(()=>{var e,r;if(!t)return;const[i,a]=s.current,l=t.get(qq),c=(null!=(e=null==n?void 0:n())?e:0)+1;l.call(pH.key,{pos:c,index:a});const u=null==(r=o.current)?void 0:r.querySelector(".button-group");u&&(u.dataset.show="true"===u.dataset.show?"false":"true")},[]),d=YJ(()=>{var e,r;if(!t)return;const[i,o]=s.current,l=t.get(qq),c=(null!=(e=null==n?void 0:n())?e:0)+1;l.call(fH.key,{pos:c,index:i});const u=null==(r=a.current)?void 0:r.querySelector(".button-group");u&&i>0&&(u.dataset.show="true"===u.dataset.show?"false":"true")},[]),h=YJ(e=>{t&&t.get(yq).editable&&(e.preventDefault(),e.stopPropagation(),t.get(qq).call(mH.key),requestAnimationFrame(()=>{t.get(yq).focus()}))},[]),f=YJ(e=>n=>{t&&t.get(yq).editable&&(n.preventDefault(),n.stopPropagation(),t.get(qq).call(wH.key,e),requestAnimationFrame(()=>{t.get(yq).focus()}))},[]);return{onAddRow:c,onAddCol:u,selectCol:O,selectRow:d,deleteSelected:h,onAlign:f}}(A,t,n);return A1`
968 <host
969 class=${g1(!(null==e?void 0:e.editable)&&"readonly")}
970 ondragstart=${e=>e.preventDefault()}
971 ondragover=${e=>e.preventDefault()}
972 ondragleave=${e=>e.preventDefault()}
973 onpointermove=${g}
974 onpointerleave=${m}
975 >
976 <button
977 type="button"
978 data-show="false"
979 contenteditable="false"
980 draggable="true"
981 data-role="col-drag-handle"
982 class="handle cell-handle"
983 ondragstart=${y}
984 onclick=${Q}
985 onpointerdown=${e=>e.stopPropagation()}
986 onpointermove=${e=>e.stopPropagation()}
987 ref=${s}
988 >
989 ${null==i?void 0:i.renderButton("col_drag_handle")}
990 <div
991 data-show="false"
992 class="button-group"
993 onpointermove=${e=>e.stopPropagation}
994 >
995 <button type="button" onpointerdown=${x("left")}>
996 ${null==i?void 0:i.renderButton("align_col_left")}
997 </button>
998 <button type="button" onpointerdown=${x("center")}>
999 ${null==i?void 0:i.renderButton("align_col_center")}
1000 </button>
1001 <button type="button" onpointerdown=${x("right")}>
1002 ${null==i?void 0:i.renderButton("align_col_right")}
1003 </button>
1004 <button type="button" onpointerdown=${S}>
1005 ${null==i?void 0:i.renderButton("delete_col")}
1006 </button>
1007 </div>
1008 </button>
1009 <button
1010 type="button"
1011 data-show="false"
1012 contenteditable="false"
1013 draggable="true"
1014 data-role="row-drag-handle"
1015 class="handle cell-handle"
1016 ondragstart=${v}
1017 onclick=${$}
1018 onpointerdown=${e=>e.stopPropagation()}
1019 onpointermove=${e=>e.stopPropagation()}
1020 ref=${l}
1021 >
1022 ${null==i?void 0:i.renderButton("row_drag_handle")}
1023 <div
1024 data-show="false"
1025 class="button-group"
1026 onpointermove=${e=>e.stopPropagation}
1027 >
1028 <button type="button" onpointerdown=${S}>
1029 ${null==i?void 0:i.renderButton("delete_row")}
1030 </button>
1031 </div>
1032 </button>
1033 <div class="table-wrapper" ref=${O}>
1034 <div
1035 data-show="false"
1036 class="drag-preview"
1037 data-direction="vertical"
1038 ref=${d}
1039 >
1040 <table>
1041 <tbody></tbody>
1042 </table>
1043 </div>
1044 <div
1045 data-show="false"
1046 contenteditable="false"
1047 data-display-type="tool"
1048 data-role="x-line-drag-handle"
1049 class="handle line-handle"
1050 onpointermove=${e=>e.stopPropagation}
1051 ref=${c}
1052 >
1053 <button type="button" onclick=${b} class="add-button">
1054 ${null==i?void 0:i.renderButton("add_row")}
1055 </button>
1056 </div>
1057 <div
1058 data-show="false"
1059 contenteditable="false"
1060 data-display-type="tool"
1061 data-role="y-line-drag-handle"
1062 class="handle line-handle"
1063 onpointermove=${e=>e.stopPropagation}
1064 ref=${u}
1065 >
1066 <button type="button" onclick=${w} class="add-button">
1067 ${null==i?void 0:i.renderButton("add_col")}
1068 </button>
1069 </div>
1070 <table ref=${a} class="children"></table>
1071 </div>
1072 </host>
1073 `};jYe.props={getPos:Function,view:Object,ctx:Object,node:Object,config:Object};const GYe=NJ(jYe);var HYe,KYe,JYe=e=>{throw TypeError(e)},eje=(e,t,n)=>(((e,t,n)=>{t.has(e)||JYe("Cannot "+n)})(e,t,"access private method"),n);class tje{constructor(e,t,n,r){var i,o,a;this.ctx=e,this.node=t,this.view=n,this.getPos=r,i=this,(o=HYe).has(i)?JYe("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(i):o.set(i,a);const s=document.createElement("milkdown-table-block");this.dom=s,s.view=n,s.ctx=e,s.getPos=r,s.node=t,s.config=e.get(zYe.key);const l=document.createElement("tbody");this.contentDOM=l,l.setAttribute("data-content-dom","true"),l.classList.add("content-dom"),s.appendChild(l)}update(e){return e.type===this.node.type&&((!e.sameMarkup(this.node)||!e.content.eq(this.node.content))&&(this.node=e,this.dom.node=e,!0))}stopEvent(e){if("drop"===e.type||e.type.startsWith("drag"))return!0;if("mousedown"===e.type){if(e.target instanceof HTMLButtonElement)return!0;const t=e.target;if(t instanceof HTMLElement&&(t.closest("th")||t.closest("td"))){const t=e;return eje(this,HYe,KYe).call(this,t)}}return!1}ignoreMutation(e){return!this.dom||!this.contentDOM||"selection"!==e.type&&(this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target))}}HYe=new WeakSet,KYe=function(e){const t=this.view;if(!t.editable)return!1;const{state:n,dispatch:r}=t,i=t.posAtCoords({left:e.clientX,top:e.clientY});if(!i)return!1;const o=n.doc.resolve(i.inside),a=uN(e=>"table_cell"===e.type.name||"table_header"===e.type.name)(o);if(!a)return!1;const{from:s}=a,l=cz.create(n.doc,s+1);return!n.selection.eq(l)&&(n.selection instanceof cY?setTimeout(()=>{r(n.tr.setSelection(l).scrollIntoView())},20):requestAnimationFrame(()=>{r(n.tr.setSelection(l).scrollIntoView())}),!0)},function(e,t){const n=customElements.get(e);null!=n||customElements.define(e,t)}("milkdown-table-block",GYe);const nje=LF(NG.node,e=>(t,n,r)=>new tje(e,t,n,r));RYe(nje,{displayName:"NodeView<table-block>",group:"TableBlock"});const rje=[zYe,nje],ije=Object.freeze(Object.defineProperty({__proto__:null,defineFeature:(e,t)=>{e.config(e=>{e.update(zYe.key,e=>({...e,renderButton:e=>{var n,r,i,o,a,s,l,c,u,O,d,h,f,p,A,m,g,v;switch(e){case"add_row":return null!=(r=null==(n=null==t?void 0:t.addRowIcon)?void 0:n.call(t))?r:Kqe;case"add_col":return null!=(o=null==(i=null==t?void 0:t.addColIcon)?void 0:i.call(t))?o:Kqe;case"delete_row":return null!=(s=null==(a=null==t?void 0:t.deleteRowIcon)?void 0:a.call(t))?s:eFe;case"delete_col":return null!=(c=null==(l=null==t?void 0:t.deleteColIcon)?void 0:l.call(t))?c:eFe;case"align_col_left":return null!=(O=null==(u=null==t?void 0:t.alignLeftIcon)?void 0:u.call(t))?O:Sqe;case"align_col_center":return null!=(h=null==(d=null==t?void 0:t.alignCenterIcon)?void 0:d.call(t))?h:$qe;case"align_col_right":return null!=(p=null==(f=null==t?void 0:t.alignRightIcon)?void 0:f.call(t))?p:xqe;case"col_drag_handle":return null!=(m=null==(A=null==t?void 0:t.colDragHandleIcon)?void 0:A.call(t))?m:zqe;case"row_drag_handle":return null!=(v=null==(g=null==t?void 0:t.rowDragHandleIcon)?void 0:g.call(t))?v:zqe}}}))}).use(rje)}},Symbol.toStringTag,{value:"Module"}));var oje=function(e,t){return(oje=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function aje(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oje(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function sje(e){return new wIe(Ize.define(e))}function lje(e){return Uu(()=>Promise.resolve().then(()=>qGe),void 0,import.meta.url).then(t=>t.sql({dialect:t[e]}))}const cje=[QIe.of({name:"C",extensions:["c","h","ino"],load:()=>Uu(()=>Promise.resolve().then(()=>eHe),void 0,import.meta.url).then(e=>e.cpp())}),QIe.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>Uu(()=>Promise.resolve().then(()=>eHe),void 0,import.meta.url).then(e=>e.cpp())}),QIe.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>lje("Cassandra")}),QIe.of({name:"CSS",extensions:["css"],load:()=>Uu(()=>Promise.resolve().then(()=>RHe),void 0,import.meta.url).then(e=>e.css())}),QIe.of({name:"Go",extensions:["go"],load:()=>Uu(()=>Promise.resolve().then(()=>KHe),void 0,import.meta.url).then(e=>e.go())}),QIe.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Uu(()=>Promise.resolve().then(()=>NJe),void 0,import.meta.url).then(e=>e.html())}),QIe.of({name:"Java",extensions:["java"],load:()=>Uu(()=>Promise.resolve().then(()=>FJe),void 0,import.meta.url).then(e=>e.java())}),QIe.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Uu(()=>Promise.resolve().then(()=>OJe),void 0,import.meta.url).then(e=>e.javascript())}),QIe.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load:()=>Uu(()=>Promise.resolve().then(()=>d1e),void 0,import.meta.url).then(e=>e.jinja())}),QIe.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>Uu(()=>Promise.resolve().then(()=>A1e),void 0,import.meta.url).then(e=>e.json())}),QIe.of({name:"JSX",extensions:["jsx"],load:()=>Uu(()=>Promise.resolve().then(()=>OJe),void 0,import.meta.url).then(e=>e.javascript({jsx:!0}))}),QIe.of({name:"LESS",extensions:["less"],load:()=>Uu(()=>Promise.resolve().then(()=>P1e),void 0,import.meta.url).then(e=>e.less())}),QIe.of({name:"Liquid",extensions:["liquid"],load:()=>Uu(()=>Promise.resolve().then(()=>H1e),void 0,import.meta.url).then(e=>e.liquid())}),QIe.of({name:"MariaDB SQL",load:()=>lje("MariaSQL")}),QIe.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Uu(()=>Promise.resolve().then(()=>t5e),void 0,import.meta.url).then(e=>e.markdown())}),QIe.of({name:"MS SQL",load:()=>lje("MSSQL")}),QIe.of({name:"MySQL",load:()=>lje("MySQL")}),QIe.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>Uu(()=>Promise.resolve().then(()=>g5e),void 0,import.meta.url).then(e=>e.php())}),QIe.of({name:"PLSQL",extensions:["pls"],load:()=>lje("PLSQL")}),QIe.of({name:"PostgreSQL",load:()=>lje("PostgreSQL")}),QIe.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>Uu(()=>Promise.resolve().then(()=>e4e),void 0,import.meta.url).then(e=>e.python())}),QIe.of({name:"Rust",extensions:["rs"],load:()=>Uu(()=>Promise.resolve().then(()=>u4e),void 0,import.meta.url).then(e=>e.rust())}),QIe.of({name:"Sass",extensions:["sass"],load:()=>Uu(()=>Promise.resolve().then(()=>B4e),void 0,import.meta.url).then(e=>e.sass({indented:!0}))}),QIe.of({name:"SCSS",extensions:["scss"],load:()=>Uu(()=>Promise.resolve().then(()=>B4e),void 0,import.meta.url).then(e=>e.sass())}),QIe.of({name:"SQL",extensions:["sql"],load:()=>lje("StandardSQL")}),QIe.of({name:"SQLite",load:()=>lje("SQLite")}),QIe.of({name:"TSX",extensions:["tsx"],load:()=>Uu(()=>Promise.resolve().then(()=>OJe),void 0,import.meta.url).then(e=>e.javascript({jsx:!0,typescript:!0}))}),QIe.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load:()=>Uu(()=>Promise.resolve().then(()=>OJe),void 0,import.meta.url).then(e=>e.javascript({typescript:!0}))}),QIe.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>Uu(()=>Promise.resolve().then(()=>z4e),void 0,import.meta.url).then(e=>e.wast())}),QIe.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>Uu(()=>Promise.resolve().then(()=>d3e),void 0,import.meta.url).then(e=>e.xml())}),QIe.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>Uu(()=>Promise.resolve().then(()=>M3e),void 0,import.meta.url).then(e=>e.yaml())}),QIe.of({name:"APL",extensions:["dyalog","apl"],load:()=>Uu(()=>Promise.resolve().then(()=>j3e),void 0,import.meta.url).then(e=>sje(e.apl))}),QIe.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>Uu(()=>Promise.resolve().then(()=>K3e),void 0,import.meta.url).then(e=>sje(e.asciiArmor))}),QIe.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>Uu(()=>Promise.resolve().then(()=>t6e),void 0,import.meta.url).then(e=>sje(e.asn1({})))}),QIe.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>Uu(()=>Promise.resolve().then(()=>a6e),void 0,import.meta.url).then(e=>sje(e.asterisk))}),QIe.of({name:"Brainfuck",extensions:["b","bf"],load:()=>Uu(()=>Promise.resolve().then(()=>c6e),void 0,import.meta.url).then(e=>sje(e.brainfuck))}),QIe.of({name:"Cobol",extensions:["cob","cpy"],load:()=>Uu(()=>Promise.resolve().then(()=>g6e),void 0,import.meta.url).then(e=>sje(e.cobol))}),QIe.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>Uu(()=>Promise.resolve().then(()=>h8e),void 0,import.meta.url).then(e=>sje(e.csharp))}),QIe.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>Uu(()=>Promise.resolve().then(()=>C8e),void 0,import.meta.url).then(e=>sje(e.clojure))}),QIe.of({name:"ClojureScript",extensions:["cljs"],load:()=>Uu(()=>Promise.resolve().then(()=>C8e),void 0,import.meta.url).then(e=>sje(e.clojure))}),QIe.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>Uu(()=>Promise.resolve().then(()=>s7e),void 0,import.meta.url).then(e=>sje(e.gss))}),QIe.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>Uu(()=>Promise.resolve().then(()=>O7e),void 0,import.meta.url).then(e=>sje(e.cmake))}),QIe.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>Uu(()=>Promise.resolve().then(()=>_7e),void 0,import.meta.url).then(e=>sje(e.coffeeScript))}),QIe.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>Uu(()=>Promise.resolve().then(()=>M7e),void 0,import.meta.url).then(e=>sje(e.commonLisp))}),QIe.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>Uu(()=>Promise.resolve().then(()=>J7e),void 0,import.meta.url).then(e=>sje(e.cypher))}),QIe.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>Uu(()=>Promise.resolve().then(()=>c9e),void 0,import.meta.url).then(e=>sje(e.cython))}),QIe.of({name:"Crystal",extensions:["cr"],load:()=>Uu(()=>Promise.resolve().then(()=>B9e),void 0,import.meta.url).then(e=>sje(e.crystal))}),QIe.of({name:"D",extensions:["d"],load:()=>Uu(()=>Promise.resolve().then(()=>tet),void 0,import.meta.url).then(e=>sje(e.d))}),QIe.of({name:"Dart",extensions:["dart"],load:()=>Uu(()=>Promise.resolve().then(()=>h8e),void 0,import.meta.url).then(e=>sje(e.dart))}),QIe.of({name:"diff",extensions:["diff","patch"],load:()=>Uu(()=>Promise.resolve().then(()=>iet),void 0,import.meta.url).then(e=>sje(e.diff))}),QIe.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>Uu(()=>Promise.resolve().then(()=>vet),void 0,import.meta.url).then(e=>sje(e.dockerFile))}),QIe.of({name:"DTD",extensions:["dtd"],load:()=>Uu(()=>Promise.resolve().then(()=>xet),void 0,import.meta.url).then(e=>sje(e.dtd))}),QIe.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>Uu(()=>Promise.resolve().then(()=>Vet),void 0,import.meta.url).then(e=>sje(e.dylan))}),QIe.of({name:"EBNF",load:()=>Uu(()=>Promise.resolve().then(()=>Get),void 0,import.meta.url).then(e=>sje(e.ebnf))}),QIe.of({name:"ECL",extensions:["ecl"],load:()=>Uu(()=>Promise.resolve().then(()=>ftt),void 0,import.meta.url).then(e=>sje(e.ecl))}),QIe.of({name:"edn",extensions:["edn"],load:()=>Uu(()=>Promise.resolve().then(()=>C8e),void 0,import.meta.url).then(e=>sje(e.clojure))}),QIe.of({name:"Eiffel",extensions:["e"],load:()=>Uu(()=>Promise.resolve().then(()=>ytt),void 0,import.meta.url).then(e=>sje(e.eiffel))}),QIe.of({name:"Elm",extensions:["elm"],load:()=>Uu(()=>Promise.resolve().then(()=>Itt),void 0,import.meta.url).then(e=>sje(e.elm))}),QIe.of({name:"Erlang",extensions:["erl"],load:()=>Uu(()=>Promise.resolve().then(()=>pnt),void 0,import.meta.url).then(e=>sje(e.erlang))}),QIe.of({name:"Esper",load:()=>Uu(()=>Promise.resolve().then(()=>Unt),void 0,import.meta.url).then(e=>sje(e.esper))}),QIe.of({name:"Factor",extensions:["factor"],load:()=>Uu(()=>Promise.resolve().then(()=>Int),void 0,import.meta.url).then(e=>sje(e.factor))}),QIe.of({name:"FCL",load:()=>Uu(()=>Promise.resolve().then(()=>Ynt),void 0,import.meta.url).then(e=>sje(e.fcl))}),QIe.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>Uu(()=>Promise.resolve().then(()=>ert),void 0,import.meta.url).then(e=>sje(e.forth))}),QIe.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>Uu(()=>Promise.resolve().then(()=>crt),void 0,import.meta.url).then(e=>sje(e.fortran))}),QIe.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>Uu(()=>Promise.resolve().then(()=>frt),void 0,import.meta.url).then(e=>sje(e.fSharp))}),QIe.of({name:"Gas",extensions:["s"],load:()=>Uu(()=>Promise.resolve().then(()=>grt),void 0,import.meta.url).then(e=>sje(e.gas))}),QIe.of({name:"Gherkin",extensions:["feature"],load:()=>Uu(()=>Promise.resolve().then(()=>vrt),void 0,import.meta.url).then(e=>sje(e.gherkin))}),QIe.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>Uu(()=>Promise.resolve().then(()=>Urt),void 0,import.meta.url).then(e=>sje(e.groovy))}),QIe.of({name:"Haskell",extensions:["hs"],load:()=>Uu(()=>Promise.resolve().then(()=>Jrt),void 0,import.meta.url).then(e=>sje(e.haskell))}),QIe.of({name:"Haxe",extensions:["hx"],load:()=>Uu(()=>Promise.resolve().then(()=>not),void 0,import.meta.url).then(e=>sje(e.haxe))}),QIe.of({name:"HXML",extensions:["hxml"],load:()=>Uu(()=>Promise.resolve().then(()=>not),void 0,import.meta.url).then(e=>sje(e.hxml))}),QIe.of({name:"HTTP",load:()=>Uu(()=>Promise.resolve().then(()=>dot),void 0,import.meta.url).then(e=>sje(e.http))}),QIe.of({name:"IDL",extensions:["pro"],load:()=>Uu(()=>Promise.resolve().then(()=>wot),void 0,import.meta.url).then(e=>sje(e.idl))}),QIe.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>Uu(()=>Promise.resolve().then(()=>Pot),void 0,import.meta.url).then(e=>sje(e.jsonld))}),QIe.of({name:"Julia",extensions:["jl"],load:()=>Uu(()=>Promise.resolve().then(()=>Jot),void 0,import.meta.url).then(e=>sje(e.julia))}),QIe.of({name:"Kotlin",extensions:["kt","kts"],load:()=>Uu(()=>Promise.resolve().then(()=>h8e),void 0,import.meta.url).then(e=>sje(e.kotlin))}),QIe.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>Uu(()=>Promise.resolve().then(()=>dat),void 0,import.meta.url).then(e=>sje(e.liveScript))}),QIe.of({name:"Lua",extensions:["lua"],load:()=>Uu(()=>Promise.resolve().then(()=>Qat),void 0,import.meta.url).then(e=>sje(e.lua))}),QIe.of({name:"mIRC",extensions:["mrc"],load:()=>Uu(()=>Promise.resolve().then(()=>Xat),void 0,import.meta.url).then(e=>sje(e.mirc))}),QIe.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>Uu(()=>Promise.resolve().then(()=>Fat),void 0,import.meta.url).then(e=>sje(e.mathematica))}),QIe.of({name:"Modelica",extensions:["mo"],load:()=>Uu(()=>Promise.resolve().then(()=>lst),void 0,import.meta.url).then(e=>sje(e.modelica))}),QIe.of({name:"MUMPS",extensions:["mps"],load:()=>Uu(()=>Promise.resolve().then(()=>gst),void 0,import.meta.url).then(e=>sje(e.mumps))}),QIe.of({name:"Mbox",extensions:["mbox"],load:()=>Uu(()=>Promise.resolve().then(()=>Cst),void 0,import.meta.url).then(e=>sje(e.mbox))}),QIe.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>Uu(()=>Promise.resolve().then(()=>Lst),void 0,import.meta.url).then(e=>sje(e.nginx))}),QIe.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>Uu(()=>Promise.resolve().then(()=>qst),void 0,import.meta.url).then(e=>sje(e.nsis))}),QIe.of({name:"NTriples",extensions:["nt","nq"],load:()=>Uu(()=>Promise.resolve().then(()=>alt),void 0,import.meta.url).then(e=>sje(e.ntriples))}),QIe.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>Uu(()=>Promise.resolve().then(()=>h8e),void 0,import.meta.url).then(e=>sje(e.objectiveC))}),QIe.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>Uu(()=>Promise.resolve().then(()=>h8e),void 0,import.meta.url).then(e=>sje(e.objectiveCpp))}),QIe.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>Uu(()=>Promise.resolve().then(()=>frt),void 0,import.meta.url).then(e=>sje(e.oCaml))}),QIe.of({name:"Octave",extensions:["m"],load:()=>Uu(()=>Promise.resolve().then(()=>blt),void 0,import.meta.url).then(e=>sje(e.octave))}),QIe.of({name:"Oz",extensions:["oz"],load:()=>Uu(()=>Promise.resolve().then(()=>Nlt),void 0,import.meta.url).then(e=>sje(e.oz))}),QIe.of({name:"Pascal",extensions:["p","pas"],load:()=>Uu(()=>Promise.resolve().then(()=>Ylt),void 0,import.meta.url).then(e=>sje(e.pascal))}),QIe.of({name:"Perl",extensions:["pl","pm"],load:()=>Uu(()=>Promise.resolve().then(()=>act),void 0,import.meta.url).then(e=>sje(e.perl))}),QIe.of({name:"Pig",extensions:["pig"],load:()=>Uu(()=>Promise.resolve().then(()=>vct),void 0,import.meta.url).then(e=>sje(e.pig))}),QIe.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>Uu(()=>Promise.resolve().then(()=>Nct),void 0,import.meta.url).then(e=>sje(e.powerShell))}),QIe.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>Uu(()=>Promise.resolve().then(()=>Mct),void 0,import.meta.url).then(e=>sje(e.properties))}),QIe.of({name:"ProtoBuf",extensions:["proto"],load:()=>Uu(()=>Promise.resolve().then(()=>Wct),void 0,import.meta.url).then(e=>sje(e.protobuf))}),QIe.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load:()=>Uu(()=>Promise.resolve().then(()=>tut),void 0,import.meta.url).then(e=>sje(e.pug))}),QIe.of({name:"Puppet",extensions:["pp"],load:()=>Uu(()=>Promise.resolve().then(()=>sut),void 0,import.meta.url).then(e=>sje(e.puppet))}),QIe.of({name:"Q",extensions:["q"],load:()=>Uu(()=>Promise.resolve().then(()=>vut),void 0,import.meta.url).then(e=>sje(e.q))}),QIe.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>Uu(()=>Promise.resolve().then(()=>But),void 0,import.meta.url).then(e=>sje(e.r))}),QIe.of({name:"RPM Changes",load:()=>Uu(()=>Promise.resolve().then(()=>Zut),void 0,import.meta.url).then(e=>sje(e.rpmChanges))}),QIe.of({name:"RPM Spec",extensions:["spec"],load:()=>Uu(()=>Promise.resolve().then(()=>Zut),void 0,import.meta.url).then(e=>sje(e.rpmSpec))}),QIe.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load:()=>Uu(()=>Promise.resolve().then(()=>cOt),void 0,import.meta.url).then(e=>sje(e.ruby))}),QIe.of({name:"SAS",extensions:["sas"],load:()=>Uu(()=>Promise.resolve().then(()=>AOt),void 0,import.meta.url).then(e=>sje(e.sas))}),QIe.of({name:"Scala",extensions:["scala"],load:()=>Uu(()=>Promise.resolve().then(()=>h8e),void 0,import.meta.url).then(e=>sje(e.scala))}),QIe.of({name:"Scheme",extensions:["scm","ss"],load:()=>Uu(()=>Promise.resolve().then(()=>IOt),void 0,import.meta.url).then(e=>sje(e.scheme))}),QIe.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>Uu(()=>Promise.resolve().then(()=>GOt),void 0,import.meta.url).then(e=>sje(e.shell))}),QIe.of({name:"Sieve",extensions:["siv","sieve"],load:()=>Uu(()=>Promise.resolve().then(()=>idt),void 0,import.meta.url).then(e=>sje(e.sieve))}),QIe.of({name:"Smalltalk",extensions:["st"],load:()=>Uu(()=>Promise.resolve().then(()=>Adt),void 0,import.meta.url).then(e=>sje(e.smalltalk))}),QIe.of({name:"Solr",load:()=>Uu(()=>Promise.resolve().then(()=>Qdt),void 0,import.meta.url).then(e=>sje(e.solr))}),QIe.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>Uu(()=>Promise.resolve().then(()=>frt),void 0,import.meta.url).then(e=>sje(e.sml))}),QIe.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>Uu(()=>Promise.resolve().then(()=>Ddt),void 0,import.meta.url).then(e=>sje(e.sparql))}),QIe.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>Uu(()=>Promise.resolve().then(()=>Idt),void 0,import.meta.url).then(e=>sje(e.spreadsheet))}),QIe.of({name:"Squirrel",extensions:["nut"],load:()=>Uu(()=>Promise.resolve().then(()=>h8e),void 0,import.meta.url).then(e=>sje(e.squirrel))}),QIe.of({name:"Stylus",extensions:["styl"],load:()=>Uu(()=>Promise.resolve().then(()=>Lht),void 0,import.meta.url).then(e=>sje(e.stylus))}),QIe.of({name:"Swift",extensions:["swift"],load:()=>Uu(()=>Promise.resolve().then(()=>uft),void 0,import.meta.url).then(e=>sje(e.swift))}),QIe.of({name:"sTeX",load:()=>Uu(()=>Promise.resolve().then(()=>fft),void 0,import.meta.url).then(e=>sje(e.stex))}),QIe.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>Uu(()=>Promise.resolve().then(()=>fft),void 0,import.meta.url).then(e=>sje(e.stex))}),QIe.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>Uu(()=>Promise.resolve().then(()=>Qft),void 0,import.meta.url).then(e=>sje(e.verilog))}),QIe.of({name:"Tcl",extensions:["tcl"],load:()=>Uu(()=>Promise.resolve().then(()=>Rft),void 0,import.meta.url).then(e=>sje(e.tcl))}),QIe.of({name:"Textile",extensions:["textile"],load:()=>Uu(()=>Promise.resolve().then(()=>Vft),void 0,import.meta.url).then(e=>sje(e.textile))}),QIe.of({name:"TiddlyWiki",load:()=>Uu(()=>Promise.resolve().then(()=>fpt),void 0,import.meta.url).then(e=>sje(e.tiddlyWiki))}),QIe.of({name:"Tiki wiki",load:()=>Uu(()=>Promise.resolve().then(()=>Ept),void 0,import.meta.url).then(e=>sje(e.tiki))}),QIe.of({name:"TOML",extensions:["toml"],load:()=>Uu(()=>Promise.resolve().then(()=>Rpt),void 0,import.meta.url).then(e=>sje(e.toml))}),QIe.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>Uu(()=>Promise.resolve().then(()=>Ipt),void 0,import.meta.url).then(e=>sje(e.troff))}),QIe.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>Uu(()=>Promise.resolve().then(()=>dAt),void 0,import.meta.url).then(e=>sje(e.ttcn))}),QIe.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>Uu(()=>Promise.resolve().then(()=>xAt),void 0,import.meta.url).then(e=>sje(e.ttcnCfg))}),QIe.of({name:"Turtle",extensions:["ttl"],load:()=>Uu(()=>Promise.resolve().then(()=>BAt),void 0,import.meta.url).then(e=>sje(e.turtle))}),QIe.of({name:"Web IDL",extensions:["webidl"],load:()=>Uu(()=>Promise.resolve().then(()=>rmt),void 0,import.meta.url).then(e=>sje(e.webIDL))}),QIe.of({name:"VB.NET",extensions:["vb"],load:()=>Uu(()=>Promise.resolve().then(()=>_mt),void 0,import.meta.url).then(e=>sje(e.vb))}),QIe.of({name:"VBScript",extensions:["vbs"],load:()=>Uu(()=>Promise.resolve().then(()=>Xmt),void 0,import.meta.url).then(e=>sje(e.vbScript))}),QIe.of({name:"Velocity",extensions:["vtl"],load:()=>Uu(()=>Promise.resolve().then(()=>Wmt),void 0,import.meta.url).then(e=>sje(e.velocity))}),QIe.of({name:"Verilog",extensions:["v"],load:()=>Uu(()=>Promise.resolve().then(()=>Qft),void 0,import.meta.url).then(e=>sje(e.verilog))}),QIe.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>Uu(()=>Promise.resolve().then(()=>agt),void 0,import.meta.url).then(e=>sje(e.vhdl))}),QIe.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load:()=>Uu(()=>Promise.resolve().then(()=>Qgt),void 0,import.meta.url).then(e=>sje(e.xQuery))}),QIe.of({name:"Yacas",extensions:["ys"],load:()=>Uu(()=>Promise.resolve().then(()=>Bgt),void 0,import.meta.url).then(e=>sje(e.yacas))}),QIe.of({name:"Z80",extensions:["z80"],load:()=>Uu(()=>Promise.resolve().then(()=>zgt),void 0,import.meta.url).then(e=>sje(e.z80))}),QIe.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>Uu(()=>Promise.resolve().then(()=>Ygt),void 0,import.meta.url).then(e=>sje(e.mscgen))}),QIe.of({name:"Xù",extensions:["xu"],load:()=>Uu(()=>Promise.resolve().then(()=>Ygt),void 0,import.meta.url).then(e=>sje(e.xu))}),QIe.of({name:"MsGenny",extensions:["msgenny"],load:()=>Uu(()=>Promise.resolve().then(()=>Ygt),void 0,import.meta.url).then(e=>sje(e.msgenny))}),QIe.of({name:"Vue",extensions:["vue"],load:()=>Uu(()=>Promise.resolve().then(()=>ovt),void 0,import.meta.url).then(e=>e.vue())}),QIe.of({name:"Angular Template",load:()=>Uu(()=>Promise.resolve().then(()=>Qvt),void 0,import.meta.url).then(e=>e.angular())})],uje=Object.freeze(Object.defineProperty({__proto__:null,languages:cje},Symbol.toStringTag,{value:"Module"})),Oje="#e06c75",dje="#abb2bf",hje="#7d8799",fje="#d19a66",pje="#2c313a",Aje="#282c34",mje="#353a42",gje="#528bff",vje=PXe.theme({"&":{color:dje,backgroundColor:Aje},".cm-content":{caretColor:gje},".cm-cursor, .cm-dropCursor":{borderLeftColor:gje},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:dje},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Aje,color:hje,border:"none"},".cm-activeLineGutter":{backgroundColor:pje},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:mje},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:mje,borderBottomColor:mje},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:pje,color:dje}}},{dark:!0}),yje=dze.define([{tag:iIe.keyword,color:"#c678dd"},{tag:[iIe.name,iIe.deleted,iIe.character,iIe.propertyName,iIe.macroName],color:Oje},{tag:[iIe.function(iIe.variableName),iIe.labelName],color:"#61afef"},{tag:[iIe.color,iIe.constant(iIe.name),iIe.standard(iIe.name)],color:fje},{tag:[iIe.definition(iIe.name),iIe.separator],color:dje},{tag:[iIe.typeName,iIe.className,iIe.number,iIe.changed,iIe.annotation,iIe.modifier,iIe.self,iIe.namespace],color:"#e5c07b"},{tag:[iIe.operator,iIe.operatorKeyword,iIe.url,iIe.escape,iIe.regexp,iIe.link,iIe.special(iIe.string)],color:"#56b6c2"},{tag:[iIe.meta,iIe.comment],color:hje},{tag:iIe.strong,fontWeight:"bold"},{tag:iIe.emphasis,fontStyle:"italic"},{tag:iIe.strikethrough,textDecoration:"line-through"},{tag:iIe.link,color:hje,textDecoration:"underline"},{tag:iIe.heading,fontWeight:"bold",color:Oje},{tag:[iIe.atom,iIe.bool,iIe.special(iIe.variableName)],color:fje},{tag:[iIe.processingInstruction,iIe.string,iIe.inserted],color:"#98c379"},{tag:iIe.invalid,color:"#ffffff"}]),bje=[vje,Aze(yje)],wje=Object.freeze(Object.defineProperty({__proto__:null,oneDark:bje,oneDarkHighlightStyle:yje,oneDarkTheme:vje},Symbol.toStringTag,{value:"Module"}));var Qje={};class $je{constructor(e,t,n,r,i,o,a,s,l,c=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=o,this.buffer=a,this.bufferBase=s,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new $je(e,[],t,n,n,0,[],0,r?new Sje(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:i}=this.p,o=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),a=i.dynamicPrecedence(r);if(a&&(this.score+=a),0==n)return r<i.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(i.getGoto(this.state,r,!0),this.reducePos),r<i.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,o?8:4,!0),void this.reduceContext(r,this.reducePos);let s=this.stack.length-3*(n-1)-(262144&e?6:0),l=s?this.stack[s-2]:this.p.ranges[0].from;r<i.minRepeatTerm&&l==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let c=this.reducePos-l;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let u=s?this.stack[s-1]:0,O=this.bufferBase+this.buffer.length-u;if(r<i.minRepeatTerm||131072&e){let e=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,l,e,O+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=i.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,l)}storeNode(e,t,n,r=4,i=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&0==this.buffer[e-4]&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t)return void(this.buffer[e-2]=n)}}if(i&&this.pos!=n){let i=this.buffer.length;if(i>0&&(0!=this.buffer[i-4]||this.buffer[i-1]<0)){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let i=e,{parser:o}=this.p;this.pos=r;let a=o.stateFlag(i,1);!a&&(r>n||t<=o.maxNode)&&(this.reducePos=r),this.pushState(i,a?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=o.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(t&&0==e.buffer[t-4]&&(t-=4);t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new $je(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new xje(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(!(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r,i=0;i<t.length;i+=2)(r=t[i+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[i],r);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>1&t&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue;let i=this.split();i.pushState(e,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[r],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,i=this.stack.length-3*n;if(i<0||e.getGoto(this.stack[i],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(393216&t);else if(65536&t){let n=(t>>19)-i;if(n>1){let r=65535&t,i=this.stack.length-3*n;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(null!=e)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new Sje(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead)&&(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Sje{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class xje{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class kje{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new kje(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new kje(this.stack,this.pos,this.index)}}function Pje(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,i=0;r<e.length;){let o=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),o+=i,n)break;o*=46}n?n[i++]=o:n=new t(o)}return n}class Tje{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const _je=new Tje;class Cje{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=_je,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=_je,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class Eje{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;Bje(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}Eje.prototype.contextual=Eje.prototype.fallback=Eje.prototype.extend=!1;class Rje{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?Pje(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(Bje(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(n||r++,null==i)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}Rje.prototype.contextual=Eje.prototype.fallback=Eje.prototype.extend=!1;class Xje{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function Bje(e,t,n,r,i,o){let a=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;0!=(s&e[a]);){let n=e[a+1];for(let O=a+3;O<n;O+=2)if((e[O+1]&s)>0){let n=e[O];if(l.allows(n)&&(-1==t.token.value||t.token.value==n||Dje(n,t.token.value,i,o))){t.acceptToken(n);break}}let r=t.next,c=0,u=e[a+2];if(!(t.next<0&&u>c&&65535==e[n+3*u-3])){for(;c<u;){let i=c+u>>1,o=n+i+(i<<1),s=e[o],l=e[o+1]||65536;if(r<s)u=i;else{if(!(r>=l)){a=e[o+2],t.advance();continue e}c=i+1}}break}a=e[n+3*u-1]}}function Uje(e,t,n){for(let r,i=t;65535!=(r=e[i]);i++)if(r==n)return i-t;return-1}function Dje(e,t,n,r){let i=Uje(n,r,t);return i<0||Uje(n,r,e)<i}const Ije="undefined"!=typeof process&&Qje&&/\bparse\b/.test(Qje.LOG);let zje=null;function Nje(e,t,n){let r=e.cursor(jUe.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}let Mje=class{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Nje(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Nje(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[r],o=this.start[t]+n.positions[r];if(o>e)return this.nextStart=o,null;if(i instanceof HUe){if(o==e){if(o<this.safeFrom)return null;let e=o+i.length;if(e<=this.safeTo){let t=i.prop(LUe.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,o+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+i.length}}};class Lje{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new Tje)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,s=0;for(let l=0;l<i.length;l++){if(!(1<<l&o))continue;let r=i[l],c=this.tokens[l];if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=o||c.context!=a)&&(this.updateCachedToken(c,r,e),c.mask=o,c.context=a),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){let i=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!r.extend&&(n=c,t>i))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||(n=new Tje,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Tje,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){1&i?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let i=0;i<r;i+=3)if(this.actions[i]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:o}=e.p,{data:a}=o;for(let s=0;s<2;s++)for(let e=o.stateSlot(i,s?2:1);;e+=3){if(65535==a[e]){if(1!=a[e+1]){0==r&&2==a[e+1]&&(r=this.putAction(jje(a,e+2),t,n,r));break}e=jje(a,e+2)}a[e]==t&&(r=this.putAction(jje(a,e+1),t,n,r))}return r}}class Vje{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new Cje(t,r),this.tokens=new Lje(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[$je.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new Mje(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,i=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<n.length;o++){let a=n[o];for(;;){if(this.tokens.mainToken=null,a.pos>r)i.push(a);else{if(this.advanceStack(a,i,n))continue;{e||(e=[],t=[]),e.push(a);let n=this.tokens.getMainToken(a);t.push(n.value,n.end)}}break}}if(!i.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return this.stackToTree(t);if(this.parser.strict)throw new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,i);if(n)return this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(i.length>e)for(i.sort((e,t)=>t.score-e.score);i.length>e;)i.pop();i.some(e=>e.reducePos>r)&&this.recovering--}else if(i.length>1){e:for(let e=0;e<i.length-1;e++){let t=i[e];for(let n=e+1;n<i.length;n++){let r=i[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){i.splice(e--,1);continue e}i.splice(n--,1)}}}i.length>12&&(i.sort((e,t)=>t.score-e.score),i.splice(12,i.length-12))}this.minStackPos=i[0].pos;for(let o=1;o<i.length;o++)i[o].pos<this.minStackPos&&(this.minStackPos=i[o].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let r=e.pos,{parser:i}=this;Ije&&this.stackID(e);if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(r);o;){let r=this.parser.nodeSet.types[o.type.id]==o.type?i.getGoto(e.state,o.type.id):-1;if(r>-1&&o.length&&(!t||(o.prop(LUe.contextHash)||0)==n))return e.useNode(o,r),!0;if(!(o instanceof HUe)||0==o.children.length||o.positions[0]>0)break;let a=o.children[0];if(!(a instanceof HUe&&0==o.positions[0]))break;o=a}}let o=i.stateSlot(e.state,4);if(o>0)return e.reduce(o),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let s=0;s<a.length;){let i=a[s++],o=a[s++],l=a[s++],c=s==a.length||!n,u=c?e:e.split(),O=this.tokens.mainToken;if(u.apply(i,o,O?O.start:u.pos,l),c)return!0;u.pos>r?t.push(u):n.push(u)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return qje(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let o=0;o<e.length;o++){let a=e[o],s=t[o<<1],l=t[1+(o<<1)],c=Ije?this.stackID(a)+" -> ":"";if(a.deadEnd){if(i)continue;if(i=!0,a.restart(),this.advanceFully(a,n))continue}let u=a.split(),O=c;for(let e=0;e<10&&u.forceReduce();e++){if(this.advanceFully(u,n))break;Ije&&(O=this.stackID(u)+" -> ")}for(let e of a.recoverByInsert(s))this.advanceFully(e,n);this.stream.end>a.pos?(l==a.pos&&(l++,s=0),a.recoverByDelete(s,l),qje(a,n)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),HUe.build({buffer:kje.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(zje||(zje=new WeakMap)).get(e);return t||zje.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function qje(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class Fje{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const Wje=e=>e;class Zje{constructor(e){this.start=e.start,this.shift=e.shift||Wje,this.reduce=e.reduce||Wje,this.reuse=e.reuse||Wje,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class Yje extends mDe{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let a=0;a<e.repeatNodeCount;a++)t.push("");let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let a=0;a<t.length;a++)r.push([]);function i(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let a of e.nodeProps){let e=a[0];"string"==typeof e&&(e=LUe[e]);for(let t=1;t<a.length;){let n=a[t++];if(n>=0)i(n,e,a[t++]);else{let r=a[t+-n];for(let o=-n;o>0;o--)i(a[t++],e,r);t++}}}this.nodeSet=new WUe(t.map((t,i)=>FUe.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:r[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=zUe;let o=Pje(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;a<this.specializerSpecs.length;a++)this.specialized[a]=this.specializerSpecs[a].term;this.specializers=this.specializerSpecs.map(Gje),this.states=Pje(e.states,Uint32Array),this.data=Pje(e.stateData),this.goto=Pje(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new Eje(o,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new Vje(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],o=1&t,a=r[i++];if(o&&n)return a;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return a;if(o)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i,o=this.stateSlot(e,r?2:1);;o+=3){if(65535==(i=n[o])){if(1!=n[o+1]){if(2==n[o+1])return jje(n,o+2);break}i=n[o=jje(n,o+2)]}if(i==t||0==i)return jje(n,o+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let i=this.stateSlot(e,1);null==r;i+=3){if(65535==this.data[i]){if(1!=this.data[i+1])break;i=jje(this.data,i+2)}r=t(jje(this.data,i+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=jje(this.data,n+2)}if(!(1&this.data[n+2])){let e=this.data[n+1];t.some((t,n)=>1&n&&t==e)||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(Yje.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,r)=>{let i=e.specializers.find(e=>e.from==n.external);if(!i)return n;let o=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[r]=Gje(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let e=t.indexOf(i);e>=0&&(n[e]=!0)}let r=null;for(let i=0;i<t.length;i++)if(!n[i])for(let e,n=this.dialects[t[i]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1;return new Fje(e,n,r)}static deserialize(e){return new Yje(e)}}function jje(e,t){return e[t]|e[t+1]<<16}function Gje(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}function Hje(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function Kje(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function Jje(e,t,n){for(let r=!1;;){if(e.next<0)return;if(e.next==t&&!r)return void e.advance();r=n&&!r&&92==e.next,e.advance()}}function eGe(e,t){for(;95==e.next||Hje(e.next);)null!=t&&(t+=String.fromCharCode(e.next)),e.advance();return t}function tGe(e,t){for(;48==e.next||49==e.next;)e.advance();t&&e.next==t&&e.advance()}function nGe(e,t){for(;;){if(46==e.next){if(t)break;t=!0}else if(e.next<48||e.next>57)break;e.advance()}if(69==e.next||101==e.next)for(e.advance(),43!=e.next&&45!=e.next||e.advance();e.next>=48&&e.next<=57;)e.advance()}function rGe(e){for(;!(e.next<0||10==e.next);)e.advance()}function iGe(e,t){for(let n=0;n<t.length;n++)if(t.charCodeAt(n)==e)return!0;return!1}const oGe=" \t\r\n";function aGe(e,t,n){let r=Object.create(null);r.true=r.false=5,r.null=r.unknown=6;for(let i of e.split(" "))i&&(r[i]=20);for(let i of t.split(" "))i&&(r[i]=21);for(let i of(n||"").split(" "))i&&(r[i]=24);return r}const sGe="array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ",lGe="absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ",cGe={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:aGe(lGe,sGe)};function uGe(e){return new Xje(t=>{var n;let{next:r}=t;if(t.advance(),iGe(r,oGe)){for(;iGe(t.next,oGe);)t.advance();t.acceptToken(36)}else if(36==r&&e.doubleDollarQuotedStrings){let e=eGe(t,"");36==t.next&&(t.advance(),function(e,t){e:for(;;){if(e.next<0)return;if(36==e.next){e.advance();for(let n=0;n<t.length;n++){if(e.next!=t.charCodeAt(n))continue e;e.advance()}if(36==e.next)return void e.advance()}else e.advance()}}(t,e),t.acceptToken(3))}else if(39==r||34==r&&e.doubleQuotedStrings)Jje(t,r,e.backslashEscapes),t.acceptToken(3);else if(35==r&&e.hashComments||47==r&&47==t.next&&e.slashComments)rGe(t),t.acceptToken(1);else if(45!=r||45!=t.next||e.spaceAfterDashes&&32!=t.peek(1))if(47==r&&42==t.next){t.advance();for(let e=1;;){let n=t.next;if(t.next<0)break;if(t.advance(),42==n&&47==t.next){if(e--,t.advance(),!e)break}else 47==n&&42==t.next&&(e++,t.advance())}t.acceptToken(2)}else if(101!=r&&69!=r||39!=t.next)if(110!=r&&78!=r||39!=t.next||!e.charSetCasts)if(95==r&&e.charSetCasts)for(let i=0;;i++){if(39==t.next&&i>1){t.advance(),Jje(t,39,e.backslashEscapes),t.acceptToken(3);break}if(!Hje(t.next))break;t.advance()}else if(e.plsqlQuotingMechanism&&(113==r||81==r)&&39==t.next&&t.peek(1)>0&&!iGe(t.peek(1),oGe)){let e=t.peek(1);t.advance(2),function(e,t){let n="[{<(".indexOf(String.fromCharCode(t)),r=n<0?t:"]}>)".charCodeAt(n);for(;;){if(e.next<0)return;if(e.next==r&&39==e.peek(1))return void e.advance(2);e.advance()}}(t,e),t.acceptToken(3)}else if(iGe(r,e.identifierQuotes)){Jje(t,91==r?93:r,!1),t.acceptToken(19)}else if(40==r)t.acceptToken(7);else if(41==r)t.acceptToken(8);else if(123==r)t.acceptToken(9);else if(125==r)t.acceptToken(10);else if(91==r)t.acceptToken(11);else if(93==r)t.acceptToken(12);else if(59==r)t.acceptToken(13);else if(e.unquotedBitLiterals&&48==r&&98==t.next)t.advance(),tGe(t),t.acceptToken(22);else if(98!=r&&66!=r||39!=t.next&&34!=t.next){if(48==r&&(120==t.next||88==t.next)||(120==r||88==r)&&39==t.next){let e=39==t.next;for(t.advance();Kje(t.next);)t.advance();e&&39==t.next&&t.advance(),t.acceptToken(4)}else if(46==r&&t.next>=48&&t.next<=57)nGe(t,!0),t.acceptToken(4);else if(46==r)t.acceptToken(14);else if(r>=48&&r<=57)nGe(t,!1),t.acceptToken(4);else if(iGe(r,e.operatorChars)){for(;iGe(t.next,e.operatorChars);)t.advance();t.acceptToken(15)}else if(iGe(r,e.specialVar))t.next==r&&t.advance(),function(e){if(39==e.next||34==e.next||96==e.next){let t=e.next;e.advance(),Jje(e,t,!1)}else eGe(e)}(t),t.acceptToken(17);else if(58==r||44==r)t.acceptToken(16);else if(Hje(r)){let i=eGe(t,String.fromCharCode(r));t.acceptToken(46==t.next||46==t.peek(-i.length-1)?18:null!==(n=e.words[i.toLowerCase()])&&void 0!==n?n:18)}}else{const n=t.next;t.advance(),e.treatBitsAsBytes?(Jje(t,n,e.backslashEscapes),t.acceptToken(23)):(tGe(t,n),t.acceptToken(22))}else t.advance(),Jje(t,39,e.backslashEscapes),t.acceptToken(3);else t.advance(),Jje(t,39,!0),t.acceptToken(3);else rGe(t),t.acceptToken(1)})}const OGe=uGe(cGe),dGe=Yje.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,OGe],topRules:{Script:[0,25]},tokenPrec:0});function hGe(e){let t=e.cursor().moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function fGe(e,t){let n=e.sliceString(t.from,t.to),r=/^([`'"\[])(.*)([`'"\]])$/.exec(n);return r?r[2]:n}function pGe(e){return e&&("Identifier"==e.name||"QuotedIdentifier"==e.name)}function AGe(e,t){if("CompositeIdentifier"==t.name){let n=[];for(let r=t.firstChild;r;r=r.nextSibling)pGe(r)&&n.push(fGe(e,r));return n}return[fGe(e,t)]}function mGe(e,t){for(let n=[];;){if(!t||"."!=t.name)return n;let r=hGe(t);if(!pGe(r))return n;n.unshift(fGe(e,r)),t=hGe(r)}}function gGe(e,t){let n=dIe(e).resolveInner(t,-1),r=function(e,t){let n;for(let i=t;!n;i=i.parent){if(!i)return null;"Statement"==i.name&&(n=i)}let r=null;for(let i=n.firstChild,o=!1,a=null;i;i=i.nextSibling){let t="Keyword"==i.name?e.sliceString(i.from,i.to).toLowerCase():null,n=null;if(o)if("as"==t&&a&&pGe(i.nextSibling))n=fGe(e,i.nextSibling);else{if(t&&vGe.has(t))break;a&&pGe(i)&&(n=fGe(e,i))}else o="from"==t;n&&(r||(r=Object.create(null)),r[n]=AGe(e,a)),a=/Identifier$/.test(i.name)?i:null}return r}(e.doc,n);return"Identifier"==n.name||"QuotedIdentifier"==n.name||"Keyword"==n.name?{from:n.from,quoted:"QuotedIdentifier"==n.name?e.doc.sliceString(n.from,n.from+1):null,parents:mGe(e.doc,hGe(n)),aliases:r}:"."==n.name?{from:t,quoted:null,parents:mGe(e.doc,n),aliases:r}:{from:t,quoted:null,parents:[],empty:!0,aliases:r}}const vGe=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function yGe(e,t,n){return n.map(n=>({...n,label:n.label[0]==e?n.label:e+n.label+t,apply:void 0}))}const bGe=/^\w*$/,wGe=/^[`'"\[]?\w*[`'"\]]?$/;function QGe(e){return e.self&&"string"==typeof e.self.label}class $Ge{constructor(e,t){this.idQuote=e,this.idCaseInsensitive=t,this.list=[],this.children=void 0}child(e){let t=this.children||(this.children=Object.create(null)),n=t[e];return n||(e&&!this.list.some(t=>t.label==e)&&this.list.push(SGe(e,"type",this.idQuote,this.idCaseInsensitive)),t[e]=new $Ge(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let t=this.list.findIndex(t=>t.label==e.label);t>-1?this.list[t]=e:this.list.push(e)}addCompletions(e){for(let t of e)this.addCompletion("string"==typeof t?SGe(t,"property",this.idQuote,this.idCaseInsensitive):t)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):QGe(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let t of Object.keys(e)){let n=e[t],r=null,i=t.replace(/\\?\./g,e=>"."==e?"\0":e).split("\0"),o=this;QGe(n)&&(r=n.self,n=n.children);for(let e=0;e<i.length;e++)r&&e==i.length-1&&o.addCompletion(r),o=o.child(i[e].replace(/\\\./g,"."));o.addNamespace(n)}}}function SGe(e,t,n,r){return new RegExp("^[a-z_][a-z_\\d]*$",r?"i":"").test(e)?{label:e,type:t}:{label:e,type:t,apply:n+e+xGe(n)}}function xGe(e){return"["===e?"]":e}let kGe=dGe.configure({props:[_Ie.add({Statement:zIe()}),MIe.add({Statement:(e,t)=>({from:Math.min(e.from+100,t.doc.lineAt(e.from).to),to:e.to}),BlockComment:e=>({from:e.from+2,to:e.to-2})}),DDe({Keyword:iIe.keyword,Type:iIe.typeName,Builtin:iIe.standard(iIe.name),Bits:iIe.number,Bytes:iIe.string,Bool:iIe.bool,Null:iIe.null,Number:iIe.number,String:iIe.string,Identifier:iIe.name,QuotedIdentifier:iIe.special(iIe.string),SpecialVar:iIe.special(iIe.name),LineComment:iIe.lineComment,BlockComment:iIe.blockComment,Operator:iIe.operator,"Semi Punctuation":iIe.punctuation,"( )":iIe.paren,"{ }":iIe.brace,"[ ]":iIe.squareBracket})]});class PGe{constructor(e,t,n){this.dialect=e,this.language=t,this.spec=n}get extension(){return this.language.extension}configureLanguage(e,t){return new PGe(this.dialect,this.language.configure(e,t),this.spec)}static define(e){let t=function(e,t,n,r){let i={};for(let o in cGe)i[o]=(e.hasOwnProperty(o)?e:cGe)[o];return t&&(i.words=aGe(t,n||"",r)),i}(e,e.keywords,e.types,e.builtin),n=OIe.define({name:"sql",parser:kGe.configure({tokenizers:[{from:OGe,to:uGe(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new PGe(t,n,e)}}function TGe(e,t){return{label:e,type:t,boost:-1}}function _Ge(e,t=!1,n){return function(e,t,n){return TLe(["QuotedIdentifier","String","LineComment","BlockComment","."],PLe(Object.keys(e).map(r=>{return n(t?r.toUpperCase():r,21==(i=e[r])?"type":20==i?"keyword":"variable");var i})))}(e.dialect.words,t,n||TGe)}function CGe(e){return e.schema?function(e,t,n,r,i,o){var a;let s=(null===(a=null==o?void 0:o.spec.identifierQuotes)||void 0===a?void 0:a[0])||'"',l=new $Ge(s,!!(null==o?void 0:o.spec.caseInsensitiveIdentifiers)),c=i?l.child(i):null;return l.addNamespace(e),t&&(c||l).addCompletions(t),n&&l.addCompletions(n),c&&l.addCompletions(c.list),r&&l.addCompletions((c||l).child(r).list),e=>{let{parents:t,from:n,quoted:i,empty:o,aliases:a}=gGe(e.state,e.pos);if(o&&!e.explicit)return null;a&&1==t.length&&(t=a[t[0]]||t);let s=l;for(let O of t){for(;!s.children||!s.children[O];)if(s==l&&c)s=c;else{if(s!=c||!r)return null;s=s.child(r)}let e=s.maybeChild(O);if(!e)return null;s=e}let u=s.list;if(s==l&&a&&(u=u.concat(Object.keys(a).map(e=>({label:e,type:"constant"})))),i){let t=i[0],r=xGe(t);return{from:n,to:e.state.sliceDoc(e.pos,e.pos+1)==r?e.pos+1:void 0,options:yGe(t,r,u),validFor:wGe}}return{from:n,options:u,validFor:bGe}}}(e.schema,e.tables,e.schemas,e.defaultTable,e.defaultSchema,e.dialect||RGe):()=>null}function EGe(e){return e.schema?(e.dialect||RGe).language.data.of({autocomplete:CGe(e)}):[]}const RGe=PGe.define({}),XGe=PGe.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:lGe+"abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:sGe+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),BGe="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",UGe=sGe+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",DGe="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",IGe=PGe.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:lGe+"group_concat "+BGe,types:UGe,builtin:DGe}),zGe=PGe.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:lGe+"always generated groupby_concat hard persistent shutdown soft virtual "+BGe,types:UGe,builtin:DGe});const NGe=PGe.define({keywords:lGe+"add external procedure all fetch public alter file raiserror and fillfactor read any for readtext as foreign reconfigure asc freetext references authorization freetexttable replication backup from restore begin full restrict between function return break goto revert browse grant revoke bulk group right by having rollback cascade holdlock rowcount case identity rowguidcol check identity_insert rule checkpoint identitycol save close if schema clustered in securityaudit coalesce index select collate inner semantickeyphrasetable column insert semanticsimilaritydetailstable commit intersect semanticsimilaritytable compute into session_user constraint is set contains join setuser containstable key shutdown continue kill some convert left statistics create like system_user cross lineno table current load tablesample current_date merge textsize current_time national then current_timestamp nocheck to current_user nonclustered top cursor not tran database null transaction dbcc nullif trigger deallocate of truncate declare off try_convert default offsets tsequal delete on union deny open unique desc opendatasource unpivot disk openquery update distinct openrowset updatetext distributed openxml use double option user drop or values dump order varying else outer view end over waitfor errlvl percent when escape pivot where except plan while exec precision with execute primary within group exists print writetext exit proc noexpand index forceseek forcescan holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot spatial_window_max_cells tablock tablockx updlock xlock keepidentity keepdefaults ignore_constraints ignore_triggers",types:sGe+"smalldatetime datetimeoffset datetime2 datetime bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"approx_count_distinct approx_percentile_cont approx_percentile_disc avg checksum_agg count count_big grouping grouping_id max min product stdev stdevp sum var varp ai_generate_embeddings ai_generate_chunks cume_dist first_value lag last_value lead percentile_cont percentile_disc percent_rank left_shift right_shift bit_count get_bit set_bit collationproperty tertiary_weights @@datefirst @@dbts @@langid @@language @@lock_timeout @@max_connections @@max_precision @@nestlevel @@options @@remserver @@servername @@servicename @@spid @@textsize @@version cast convert parse try_cast try_convert try_parse asymkey_id asymkeyproperty certproperty cert_id crypt_gen_random decryptbyasymkey decryptbycert decryptbykey decryptbykeyautoasymkey decryptbykeyautocert decryptbypassphrase encryptbyasymkey encryptbycert encryptbykey encryptbypassphrase hashbytes is_objectsigned key_guid key_id key_name signbyasymkey signbycert symkeyproperty verifysignedbycert verifysignedbyasymkey @@cursor_rows @@fetch_status cursor_status datalength ident_current ident_incr ident_seed identity sql_variant_property @@datefirst current_timestamp current_timezone current_timezone_id date_bucket dateadd datediff datediff_big datefromparts datename datepart datetime2fromparts datetimefromparts datetimeoffsetfromparts datetrunc day eomonth getdate getutcdate isdate month smalldatetimefromparts switchoffset sysdatetime sysdatetimeoffset sysutcdatetime timefromparts todatetimeoffset year edit_distance edit_distance_similarity jaro_winkler_distance jaro_winkler_similarity edge_id_from_parts graph_id_from_edge_id graph_id_from_node_id node_id_from_parts object_id_from_edge_id object_id_from_node_id json isjson json_array json_contains json_modify json_object json_path_exists json_query json_value regexp_like regexp_replace regexp_substr regexp_instr regexp_count regexp_matches regexp_split_to_table abs acos asin atan atn2 ceiling cos cot degrees exp floor log log10 pi power radians rand round sign sin sqrt square tan choose greatest iif least @@procid app_name applock_mode applock_test assemblyproperty col_length col_name columnproperty databasepropertyex db_id db_name file_id file_idex file_name filegroup_id filegroup_name filegroupproperty fileproperty filepropertyex fulltextcatalogproperty fulltextserviceproperty index_col indexkey_property indexproperty next value for object_definition object_id object_name object_schema_name objectproperty objectpropertyex original_db_name parsename schema_id schema_name scope_identity serverproperty stats_date type_id type_name typeproperty dense_rank ntile rank row_number publishingservername certenclosed certprivatekey current_user database_principal_id has_dbaccess has_perms_by_name is_member is_rolemember is_srvrolemember loginproperty original_login permissions pwdencrypt pwdcompare session_user sessionproperty suser_id suser_name suser_sid suser_sname system_user user user_id user_name ascii char charindex concat concat_ws difference format left len lower ltrim nchar patindex quotename replace replicate reverse right rtrim soundex space str string_agg string_escape stuff substring translate trim unicode upper $partition @@error @@identity @@pack_received @@rowcount @@trancount binary_checksum checksum compress connectionproperty context_info current_request_id current_transaction_id decompress error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big session_context xact_state @@connections @@cpu_busy @@idle @@io_busy @@pack_sent @@packet_errors @@timeticks @@total_errors @@total_read @@total_write textptr textvalid columns_updated eventdata trigger_nestlevel vector_distance vectorproperty vector_search generate_series opendatasource openjson openquery openrowset openxml predict string_split coalesce nullif apply catch filter force include keep keepfixed modify optimize parameterization parameters partition recompile sequence set",operatorChars:"*+-%<>!=^&|/",specialVar:"@",identifierQuotes:'"['}),MGe=PGe.define({keywords:lGe+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:sGe+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),LGe=PGe.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:sGe+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),VGe=PGe.define({keywords:lGe+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:sGe+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0}),qGe=Object.freeze(Object.defineProperty({__proto__:null,Cassandra:LGe,MSSQL:NGe,MariaSQL:zGe,MySQL:IGe,PLSQL:VGe,PostgreSQL:XGe,SQLDialect:PGe,SQLite:MGe,StandardSQL:RGe,keywordCompletionSource:_Ge,schemaCompletionSource:CGe,sql:function(e={}){let t=e.dialect||RGe;return new wIe(t.language,[EGe(e),t.language.data.of({autocomplete:_Ge(t,e.upperCaseKeywords,e.keywordCompletion)})])}},Symbol.toStringTag,{value:"Module"})),FGe=new Xje(e=>{if(76==e.next||85==e.next?e.advance():117==e.next&&(e.advance(),56==e.next&&e.advance()),82!=e.next)return;if(e.advance(),34!=e.next)return;e.advance();let t="";for(;40!=e.next;){if(32==e.next||e.next<=13||41==e.next)return;t+=String.fromCharCode(e.next),e.advance()}for(e.advance();;){if(e.next<0)return e.acceptToken(1);if(41==e.next){let n=!0;for(let r=0;n&&r<t.length;r++)e.peek(r+1)!=t.charCodeAt(r)&&(n=!1);if(n&&34==e.peek(t.length+1))return e.acceptToken(1,2+t.length)}e.advance()}}),WGe=new Xje(e=>{if(62==e.next)62==e.peek(1)&&e.acceptToken(2,1);else{let t=!1,n=0;for(;;n++){if(e.next>=65&&e.next<=90)t=!0;else{if(e.next>=97&&e.next<=122)return;if(95!=e.next&&!(e.next>=48&&e.next<=57))break}e.advance()}t&&n>1&&e.acceptToken(3)}},{extend:!0}),ZGe=DDe({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":iIe.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":iIe.modifier,"if else switch for while do case default return break continue goto throw try catch":iIe.controlKeyword,"co_return co_yield co_await":iIe.controlKeyword,"new sizeof delete static_assert":iIe.operatorKeyword,"NULL nullptr":iIe.null,this:iIe.self,"True False":iIe.bool,"TypeSize PrimitiveType":iIe.standard(iIe.typeName),TypeIdentifier:iIe.typeName,FieldIdentifier:iIe.propertyName,"CallExpression/FieldExpression/FieldIdentifier":iIe.function(iIe.propertyName),"ModuleName/Identifier":iIe.namespace,PartitionName:iIe.labelName,StatementIdentifier:iIe.labelName,"Identifier DestructorName":iIe.variableName,"CallExpression/Identifier":iIe.function(iIe.variableName),"CallExpression/ScopedIdentifier/Identifier":iIe.function(iIe.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":iIe.function(iIe.definition(iIe.variableName)),NamespaceIdentifier:iIe.namespace,OperatorName:iIe.operator,ArithOp:iIe.arithmeticOperator,LogicOp:iIe.logicOperator,BitOp:iIe.bitwiseOperator,CompareOp:iIe.compareOperator,AssignOp:iIe.definitionOperator,UpdateOp:iIe.updateOperator,LineComment:iIe.lineComment,BlockComment:iIe.blockComment,Number:iIe.number,String:iIe.string,"RawString SystemLibString":iIe.special(iIe.string),CharLiteral:iIe.character,EscapeSequence:iIe.escape,"UserDefinedLiteral/Identifier":iIe.literal,PreprocArg:iIe.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":iIe.processingInstruction,MacroName:iIe.special(iIe.name),"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace,"< >":iIe.angleBracket,". ->":iIe.derefOperator,", ;":iIe.separator}),YGe={__proto__:null,bool:36,char:36,int:36,float:36,double:36,void:36,size_t:36,ssize_t:36,intptr_t:36,uintptr_t:36,charptr_t:36,int8_t:36,int16_t:36,int32_t:36,int64_t:36,uint8_t:36,uint16_t:36,uint32_t:36,uint64_t:36,char8_t:36,char16_t:36,char32_t:36,char64_t:36,const:70,volatile:72,restrict:74,_Atomic:76,mutable:78,constexpr:80,constinit:82,consteval:84,struct:88,__declspec:92,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:798,true:798,FALSE:800,false:800,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},jGe={__proto__:null,"<":767},GGe={__proto__:null,">":135},HGe={__proto__:null,operator:388,new:576,delete:582},KGe=Yje.deserialize({version:14,states:"$<[Q!QQVOOP'gOUOOO([OWO'#CdO,UQUO'#CgO,`QUO'#FjO-vQbO'#CxO.XQUO'#CxO0WQUO'#KaO0_QUO'#CwO0jOpO'#DvO0rQ!dO'#D]OOQR'#JP'#JPO5[QVO'#GUO5iQUO'#JWOOQQ'#JW'#JWO8}QUO'#KtO<hQUO'#KtO?OQVO'#E^O?`QUO'#E^OOQQ'#Ed'#EdOOQQ'#Ee'#EeO?eQVO'#EfO@[QVO'#EiOBXQUO'#FPOByQUO'#FhOOQR'#Fj'#FjOCOQUO'#FjOOQR'#LX'#LXOOQR'#LW'#LWOEWQVO'#KWOF{QUO'#L_OGYQUO'#KxOGnQUO'#L_OH`QUO'#LaOOQR'#HU'#HUOOQR'#HV'#HVOOQR'#HW'#HWOOQR'#LT'#LTOOQR'#J`'#J`Q!QQVOOOHnQVO'#FOOIZQUO'#EhOIbQUOOOK^QVO'#HgOKnQUO'#HgONYQUO'#KxONdQUO'#KxOOQQ'#Kx'#KxO!!bQUO'#KxOOQQ'#Js'#JsO!!oQUO'#HxOOQQ'#Ka'#KaO!&aQUO'#KaO!&}QUO'#KWO!(}QVO'#I]O!(}QVO'#I`OCTQUO'#KWOOQQ'#Ip'#IpOOQQ'#KW'#KWO!-QQUO'#KaOOQR'#K`'#K`O!-XQUO'#DZO!/pQUO'#KuOOQQ'#Ku'#KuO!/wQUO'#KuO!0OQUO'#ETO!0TQUO'#EWO!0YQUO'#FRO8}QUO'#FPO!QQVO'#F^O!0_Q#vO'#F`O!0jQUO'#FkO!0rQUO'#FpO!0wQVO'#FrO!0rQUO'#FuO!3vQUO'#FvO!3{QVO'#Fx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;{;|Q0s*yQ1U+bQ2h,qQ2o,{S3V-f2gU5a0e<Q<RQ5l1RQ6v2rR8s6qQ,S&cR9e7sS1y,O.`Q8h6XR8i6Z[%`f$h(l)q)w0pR0l*qR+e&WQ+d&WR5r1]S&Zy+}Q*l%ZU+k&X1S<SS+r&[1[W+u&]1W5k<TQ-q'nQ/p)mS0g*i*kQ1Z+bQ1f+jQ5O/uQ5b0fQ5j1RQ6P1rR8c6QR6U1uYvOwx&U*vR&v!gW%ig,q,{-fT*^$i2gT)|$Y*v[uOwx!g&U*vQ'P!kQ+O%oQ,u&{Q,y'QQ2l,vQ6l2kQ8n6mQ8v6tQ9x8qQ:c9vQ:f9zQ:o:bQ:q:gR:u:pxlOwx!g!k%o&U&{'Q*v,v2k6m6t8q9v9z:b:g:pU$j['O-eX-g'e-d-h3UQ-c'cR2y-[S-`'c-[Q2|-^Q3S-aU6z2z2{2}Q7R3QS8y6{6|R9}8zQ'`!tR-Z'a[rOwx!g&U*vS-x'w.OT.o(T.tR+X%{[sOwx!g&U*vS-z'w.OT.p(T.t[tOwx!g&U*vT.q(T.tT.['|.]X%cf%m0p1YQ/O(_R4i/PR.{(^R(g#XQ(w#bU/[(p(q(rS4o/]/_R8X4rR/_(rR4q/^",nodeNames:"⚠ RawString > MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ) ( ArgumentList ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:433,nodeProps:[["group",-35,1,8,11,15,16,17,19,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,18,25,26,27,43,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""],["openedBy",12,"(",52,"{",54,"["],["closedBy",13,")",51,"}",53,"]"]],propSources:[ZGe],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,308,349,350],repeatNodeCount:43,tokenData:"&AbMfR!UOX$eXY/]YZ5gZ]$e]^1g^p$epq/]qr5}rs8Zst:Ttu$euv!AWvw!Cbwx!Eqxy!Flyz!Gmz{!Hn{|!Iw|}!LX}!O!MY!O!P# m!P!Q#8a!Q!R#@T!R![$'k![!]$@f!]!^$Bn!^!_$Co!_!`%C`!`!a%Dg!a!b%HP!b!c$e!c!n%IQ!n!o%Jl!o!w%IQ!w!x%Jl!x!}%IQ!}#O%Mx#O#P& }#P#Q&3[#Q#R&5a#R#S%IQ#S#T$e#T#i%IQ#i#j&6j#j#o%IQ#o#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r$ers%dsw$ewx*mx!P$e!P!Q-V!Q!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e,t&>ie)d`(wS'f,UOX$eXY&>`Zp$epq&>`qr$ers%dsw$ewx*mx!P$e!P!Q-V!Q!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e,t&@Vc)d`(wSeY'f,UOY$eZr$ers%dsw$ewx*mx!P$e!P!Q-V!Q![&?z![!c$e!c!}&?z!}#O$e#O#P'b#P#R$e#R#S&?z#S#T$e#T#o&?z#o;'S$e;'S;=`/V<%lO$e",tokenizers:[FGe,WGe,1,2,3,4,5,6,7,8,9,10,new Rje("j~RQYZXz{^~^O(s~~aP!P!Qd~iO(t~~",25,356)],topRules:{Program:[0,307]},dynamicPrecedences:{17:1,65:1,87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,371:3,425:1,426:3,427:1,428:1},specialized:[{term:362,get:e=>YGe[e]||-1},{term:33,get:e=>jGe[e]||-1},{term:66,get:e=>GGe[e]||-1},{term:369,get:e=>HGe[e]||-1}],tokenPrec:24852}),JGe=OIe.define({name:"cpp",parser:KGe.configure({props:[_Ie.add({IfStatement:zIe({except:/^\s*({|else\b)/}),TryStatement:zIe({except:/^\s*({|catch)\b/}),LabeledStatement:IIe,CaseStatement:e=>e.baseIndent+e.unit,BlockComment:()=>null,CompoundStatement:UIe({closing:"}"}),Statement:zIe({except:/^{/})}),MIe.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":LIe,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});const eHe=Object.freeze(Object.defineProperty({__proto__:null,cpp:function(){return new wIe(JGe)},cppLanguage:JGe},Symbol.toStringTag,{value:"Module"})),tHe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function nHe(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function rHe(e){return e>=48&&e<=57}function iHe(e){return rHe(e)||e>=97&&e<=102||e>=65&&e<=70}const oHe=(e,t,n)=>(r,i)=>{for(let o=!1,a=0,s=0;;s++){let{next:l}=r;if(nHe(l)||45==l||95==l||o&&rHe(l))!o&&(45!=l||s>0)&&(o=!0),a===s&&45==l&&a++,r.advance();else{if(92!=l||10==r.peek(1)){o&&r.acceptToken(2==a&&i.canShift(2)?t:40==l?n:e);break}if(r.advance(),iHe(r.next)){do{r.advance()}while(iHe(r.next));32==r.next&&r.advance()}else r.next>-1&&r.advance();o=!0}}},aHe=new Xje(oHe(136,2,137),{contextual:!0}),sHe=new Xje(oHe(138,3,4),{contextual:!0}),lHe=new Xje(e=>{if(tHe.includes(e.peek(-1))){let{next:t}=e;(nHe(t)||95==t||35==t||46==t||42==t||91==t||58==t&&nHe(e.peek(1))||45==t||38==t)&&e.acceptToken(135)}}),cHe=new Xje(e=>{if(!tHe.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),nHe(t)){do{e.advance()}while(nHe(e.next)||rHe(e.next));e.acceptToken(1)}}}),uHe=DDe({"AtKeyword import charset namespace keyframes media supports font-feature-values":iIe.definitionKeyword,"from to selector scope MatchFlag":iIe.keyword,NamespaceName:iIe.namespace,KeyframeName:iIe.labelName,KeyframeRangeName:iIe.operatorKeyword,TagName:iIe.tagName,ClassName:iIe.className,PseudoClassName:iIe.constant(iIe.className),IdName:iIe.labelName,"FeatureName PropertyName":iIe.propertyName,AttributeName:iIe.attributeName,NumberLiteral:iIe.number,KeywordQuery:iIe.keyword,UnaryQueryOp:iIe.operatorKeyword,"CallTag ValueName FontName":iIe.atom,VariableName:iIe.variableName,Callee:iIe.operatorKeyword,Unit:iIe.unit,"UniversalSelector NestingSelector":iIe.definitionOperator,"MatchOp CompareOp":iIe.compareOperator,"ChildOp SiblingOp, LogicOp":iIe.logicOperator,BinOp:iIe.arithmeticOperator,Important:iIe.modifier,Comment:iIe.blockComment,ColorLiteral:iIe.color,"ParenthesizedContent StringLiteral":iIe.string,":":iIe.punctuation,"PseudoOp #":iIe.derefOperator,"; , |":iIe.separator,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace}),OHe={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:132,"url-prefix":132,domain:132,regexp:132},dHe={__proto__:null,or:104,and:104,not:112,only:112,layer:186},hHe={__proto__:null,selector:118,layer:182},fHe={__proto__:null,"@import":178,"@media":190,"@charset":194,"@namespace":198,"@keyframes":204,"@supports":216,"@scope":220,"@font-feature-values":226},pHe={__proto__:null,to:223},AHe=Yje.deserialize({version:14,states:"IpQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FdO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#DtO'dQdO'#DvO'oQdO'#D}O'oQdO'#EQOOQP'#Fd'#FdO)OQhO'#EsOOQS'#Fc'#FcOOQS'#Ev'#EvQYQdOOO)VQdO'#EWO*cQhO'#E^O)VQdO'#E`O*jQdO'#EbO*uQdO'#EeO)zQhO'#EkO*}QdO'#EmO+YQdO'#EpO+_QaO'#CfO+fQ`O'#ETO+kQ`O'#FnO+vQdO'#FnQOQ`OOP,QO&jO'#CaPOOO)CAR)CAROOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO'_QdO,5:`O'dQdO,5:bO'oQdO,5:iO'oQdO,5:kO'oQdO,5:lO'oQdO'#E}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&aQ'^&kR's'kQ$Y!mQ$[!nQ$^!oV%j$Y$[$^Q%t$gR&t%tQ&j%gS']&j'lR'l'^Q&b%ZR'V&bQ&^%WR'T&^Q!QXR#l!QQ&W$yR'O&WQ#[nS%O#[%PR%P#]Q'`&nR'n'`Q$k!xR%x$kQ&P$pR&z&PQ&x&OR'g&xQ#WkR$w#WQ$O!dR%d$O_bOPco!R#Z$}^XOPco!R#Z$}Q!`]Q!a^Q#h|Q#i}Q#j!OQ#k!PQ$s#RQ%W#oR'S&]R%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k'U'^'k'sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR'b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR'Z&iQ#z!cQ&h%`R'j'YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:159,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[uHe],skippedNodes:[0,5,117],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`KY<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!e`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$Q~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$Q~!e`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%jj)jS$dYO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e=>dHe[e]||-1},{term:4,get:e=>hHe[e]||-1},{term:28,get:e=>fHe[e]||-1},{term:136,get:e=>pHe[e]||-1}],tokenPrec:2256});let mHe=null;function gHe(){if(!mHe&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));mHe=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return mHe||[]}const vHe=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),yHe=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),bHe=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),wHe=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),QHe=/^(\w[\w-]*|-\w[\w-]*|)$/,$He=/^-(-[\w-]*)?$/;const SHe=new pDe,xHe=["Declaration"];function kHe(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function PHe(e,t,n){if(t.to-t.from>4096){let r=SHe.get(t);if(r)return r;let i=[],o=new Set,a=t.cursor(jUe.IncludeAnonymous);if(a.firstChild())do{for(let t of PHe(e,a.node,n))o.has(t.label)||(o.add(t.label),i.push(t))}while(a.nextSibling());return SHe.set(t,i),i}{let r=[],i=new Set;return t.cursor().iterate(t=>{var o;if(n(t)&&t.matchContext(xHe)&&":"==(null===(o=t.node.nextSibling)||void 0===o?void 0:o.name)){let n=e.sliceString(t.from,t.to);i.has(n)||(i.add(n),r.push({label:n,type:"variable"}))}}),r}}const THe=e=>t=>{let{state:n,pos:r}=t,i=dIe(n).resolveInner(r,-1),o=i.type.isError&&i.from==i.to-1&&"-"==n.doc.sliceString(i.from,i.to);if("PropertyName"==i.name||(o||"TagName"==i.name)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:gHe(),validFor:QHe};if("ValueName"==i.name)return{from:i.from,options:yHe,validFor:QHe};if("PseudoClassName"==i.name)return{from:i.from,options:vHe,validFor:QHe};if(e(i)||(t.explicit||o)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let r=null===(n=e.parent)||void 0===n?void 0:n.firstChild;return"Callee"==(null==r?void 0:r.name)&&"var"==t.sliceString(r.from,r.to)}(i,n.doc))return{from:e(i)||o?i.from:r,options:PHe(n.doc,kHe(i),e),validFor:$He};if("TagName"==i.name){for(let{parent:e}=i;e;e=e.parent)if("Block"==e.name)return{from:i.from,options:gHe(),validFor:QHe};return{from:i.from,options:bHe,validFor:QHe}}if("AtKeyword"==i.name)return{from:i.from,options:wHe,validFor:QHe};if(!t.explicit)return null;let a=i.resolve(r),s=a.childBefore(r);return s&&":"==s.name&&"PseudoClassSelector"==a.name?{from:r,options:vHe,validFor:QHe}:s&&":"==s.name&&"Declaration"==a.name||"ArgList"==a.name?{from:r,options:yHe,validFor:QHe}:"Block"==a.name||"Styles"==a.name?{from:r,options:gHe(),validFor:QHe}:null},_He=THe(e=>"VariableName"==e.name),CHe=OIe.define({name:"css",parser:AHe.configure({props:[_Ie.add({Declaration:zIe()}),MIe.add({"Block KeyframeList":LIe})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function EHe(){return new wIe(CHe,CHe.data.of({autocomplete:_He}))}const RHe=Object.freeze(Object.defineProperty({__proto__:null,css:EHe,cssCompletionSource:_He,cssLanguage:CHe,defineCSSCompletionSource:THe},Symbol.toStringTag,{value:"Module"})),XHe=new Xje((e,t)=>{for(let n=0,r=e.next;(t.context&&(r<0||10==r||13==r||47==r&&47==e.peek(n+1))||41==r||125==r)&&e.acceptToken(177),32==r||9==r;)r=e.peek(++n)},{contextual:!0});let BHe=new Set([95,184,20,12,17,144,145,142,148,13,53,25]);const UHe=new Zje({start:!1,shift:(e,t)=>179==t?e:BHe.has(t)}),DHe=DDe({"func interface struct chan map const type var":iIe.definitionKeyword,"import package":iIe.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":iIe.controlKeyword,range:iIe.keyword,Bool:iIe.bool,String:iIe.string,Rune:iIe.character,Number:iIe.number,Nil:iIe.null,VariableName:iIe.variableName,DefName:iIe.definition(iIe.variableName),TypeName:iIe.typeName,LabelName:iIe.labelName,FieldName:iIe.propertyName,"FunctionDecl/DefName":iIe.function(iIe.definition(iIe.variableName)),"TypeSpec/DefName":iIe.definition(iIe.typeName),"CallExpr/VariableName":iIe.function(iIe.variableName),LineComment:iIe.lineComment,BlockComment:iIe.blockComment,LogicOp:iIe.logicOperator,ArithOp:iIe.arithmeticOperator,BitOp:iIe.bitwiseOperator,"DerefOp .":iIe.derefOperator,"UpdateOp IncDecOp":iIe.updateOperator,CompareOp:iIe.compareOperator,"= :=":iIe.definitionOperator,"<-":iIe.operator,'~ "*"':iIe.modifier,"; ,":iIe.separator,"... :":iIe.punctuation,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace}),IHe={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},zHe=Yje.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQ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q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:UHe,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[DHe],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`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jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[XHe,1,2,new Rje("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:e=>IHe[e]||-1}],tokenPrec:5451}),NHe=[_Ve("func ${name}(${params}) ${type} {\n\t${}\n}",{label:"func",detail:"declaration",type:"keyword"}),_Ve("func (${receiver}) ${name}(${params}) ${type} {\n\t${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),_Ve("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),_Ve("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),_Ve("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),_Ve("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),_Ve("for ${init}; ${test}; ${update} {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),_Ve("for ${i} := range ${value} {\n\t${}\n}",{label:"for",detail:"range",type:"keyword"}),_Ve("select {\n\t${}\n}",{label:"select",detail:"statement",type:"keyword"}),_Ve("case ${}:\n${}",{label:"case",type:"keyword"}),_Ve("switch ${} {\n\t${}\n}",{label:"switch",detail:"statement",type:"keyword"}),_Ve("switch ${}.(${type}) {\n\t${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),_Ve("if ${} {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),_Ve("if ${} {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),_Ve('import ${name} "${module}"\n${}',{label:"import",detail:"declaration",type:"keyword"})],MHe=new pDe,LHe=new Set(["SourceFile","Block","FunctionDecl","MethodDecl","FunctionLiteral","ForStatement","SwitchStatement","TypeSwitchStatement","IfStatement"]);function VHe(e,t){return(n,r)=>{e:for(let i=n.node.firstChild,o=0,a=null;;){for(;!i;){if(!o)break e;o--,i=a.nextSibling,a=a.parent}t&&i.name==t||"SpecList"==i.name?(o++,a=i,i=i.firstChild):("DefName"==i.name&&r(i,e),i=i.nextSibling)}return!0}}const qHe={FunctionDecl:VHe("function"),VarDecl:VHe("var","VarSpec"),ConstDecl:VHe("constant","ConstSpec"),TypeDecl:VHe("type","TypeSpec"),ImportDecl:VHe("constant","ImportSpec"),Parameter:VHe("var"),__proto__:null};function FHe(e,t){let n=MHe.get(t);if(n)return n;let r=[],i=!0;function o(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(jUe.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let e=qHe[t.name];if(e&&e(t,o)||LHe.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of FHe(e,t.node))r.push(n);return!1}}),MHe.set(t,r),r}const WHe=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,ZHe=["String","LineComment","BlockComment","DefName","LabelName","FieldName",".","?."],YHe=e=>{let t=dIe(e.state).resolveInner(e.pos,-1);if(ZHe.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&WHe.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let i=t;i;i=i.parent)LHe.has(i.name)&&(r=r.concat(FHe(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:WHe}},jHe=OIe.define({name:"go",parser:zHe.configure({props:[_Ie.add({IfStatement:zIe({except:/^\s*({|else\b)/}),LabeledStatement:IIe,"SwitchBlock SelectBlock":e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n||r?0:e.unit)},Block:UIe({closing:"}"}),BlockComment:()=>null,Statement:zIe({except:/^{/})}),MIe.add({"Block SwitchBlock SelectBlock LiteralValue InterfaceType StructType SpecList":LIe,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case\b|default\b|\})$/}});let GHe=e=>({label:e,type:"keyword"});const HHe="interface struct chan map package go return break continue goto fallthrough else defer range true false nil".split(" ").map(GHe);const KHe=Object.freeze(Object.defineProperty({__proto__:null,go:function(){let e=NHe.concat(HHe);return new wIe(jHe,[jHe.data.of({autocomplete:TLe(ZHe,PLe(e))}),jHe.data.of({autocomplete:YHe})])},goLanguage:jHe,localCompletionSource:YHe,snippets:NHe},Symbol.toStringTag,{value:"Module"})),JHe={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},eKe={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},tKe={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function nKe(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}let rKe=null,iKe=null,oKe=0;function aKe(e,t){let n=e.pos+t;if(oKe==n&&iKe==e)return rKe;let r=e.peek(t),i="";for(;nKe(r);)i+=String.fromCharCode(r),r=e.peek(++t);return iKe=e,oKe=n,rKe=i?i.toLowerCase():r==sKe||r==lKe?void 0:null}const sKe=63,lKe=33;function cKe(e,t){this.name=e,this.parent=t}const uKe=[6,10,7,8,9],OKe=new Zje({start:null,shift:(e,t,n,r)=>uKe.indexOf(t)>-1?new cKe(aKe(r,1)||"",e):e,reduce:(e,t)=>21==t&&e?e.parent:e,reuse(e,t,n,r){let i=t.type.id;return 6==i||37==i?new cKe(aKe(r,1)||"",e):e},strict:!1}),dKe=new Xje((e,t)=>{if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(58));e.advance();let n=47==e.next;n&&e.advance();let r=aKe(e,0);if(void 0===r)return;if(!r)return e.acceptToken(n?15:14);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(11);if(i&&eKe[i])return e.acceptToken(58,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);if(JHe.hasOwnProperty(r))return e.acceptToken(10);i&&tKe[i]&&tKe[i][r]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),hKe=new Xje(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(59);break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>=3&&e.acceptToken(59,-2);break}t=0}e.advance()}});const fKe=new Xje((e,t)=>{if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function pKe(e,t,n){let r=2+e.length;return new Xje(i=>{for(let o=0,a=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(0==o&&60==i.next||1==o&&47==i.next||o>=2&&o<r&&i.next==e.charCodeAt(o-2))o++,a++;else{if(o==r&&62==i.next){s>a?i.acceptToken(t,-a):i.acceptToken(n,-(a-2));break}if((10==i.next||13==i.next)&&s){i.acceptToken(t,1);break}o=a=0}i.advance()}})}const AKe=pKe("script",55,1),mKe=pKe("style",56,2),gKe=pKe("textarea",57,3),vKe=DDe({"Text RawText IncompleteTag IncompleteCloseTag":iIe.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":iIe.angleBracket,TagName:iIe.tagName,"MismatchedCloseTag/TagName":[iIe.tagName,iIe.invalid],AttributeName:iIe.attributeName,"AttributeValue UnquotedAttributeValue":iIe.attributeValue,Is:iIe.definitionOperator,"EntityReference CharacterReference":iIe.character,Comment:iIe.blockComment,ProcessingInst:iIe.processingInstruction,DoctypeDecl:iIe.documentMeta}),yKe=Yje.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#D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~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:OKe,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[vKe],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs'ksv(tw!^(t!^!_)e!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vx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[AKe,mKe,gKe,fKe,dKe,hKe,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function bKe(e,t){let n=Object.create(null);for(let r of e.getChildren(24)){let e=r.getChild(25),i=r.getChild(27)||r.getChild(28);e&&(n[t.read(e.from,e.to)]=i?27==i.type.id?t.read(i.from+1,i.to-1):t.read(i.from,i.to):"")}return n}function wKe(e,t){let n=e.getChild(23);return n?t.read(n.from,n.to):" "}function QKe(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||(r=bKe(e.node.parent.firstChild,t))))return{parser:i.parser,bracketed:!0};return null}function $Ke(e=[],t=[]){let n=[],r=[],i=[],o=[];for(let s of e){("script"==s.tag?n:"style"==s.tag?r:"textarea"==s.tag?i:o).push(s)}let a=t.length?Object.create(null):null;for(let s of t)(a[s.name]||(a[s.name]=[])).push(s);return vDe((e,t)=>{let s=e.type.id;if(29==s)return QKe(e,t,n);if(32==s)return QKe(e,t,r);if(35==s)return QKe(e,t,i);if(21==s&&o.length){let n,r=e.node,i=r.firstChild,a=i&&wKe(i,t);if(a)for(let e of o)if(e.tag==a&&(!e.attrs||e.attrs(n||(n=bKe(i,t))))){let t=r.lastChild,n=38==t.type.id?t.from:r.to;if(n>i.to)return{parser:e.parser,overlay:[{from:i.to,to:n}]}}}if(a&&24==s){let n,r=e.node;if(n=r.firstChild){let e=a[t.read(n.from,n.to)];if(e)for(let n of e){if(n.tagName&&n.tagName!=wKe(r.parent,t))continue;let e=r.lastChild;if(27==e.type.id){let t=e.from+1,r=e.lastChild,i=e.to-(r&&r.isError?0:1);if(i>t)return{parser:n.parser,overlay:[{from:t,to:i}],bracketed:!0}}else if(28==e.type.id)return{parser:n.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}const SKe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],xKe=new Zje({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),kKe=new Xje((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),PKe=new Xje((e,t)=>{let n,{next:r}=e;SKe.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&(125==r||59==r||-1==r||t.context||e.acceptToken(316))},{contextual:!0}),TKe=new Xje((e,t)=>{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),_Ke=new Xje((e,t)=>{let{next:n}=e;if(43==n||45==n){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1);e.acceptToken(n?1:2)}}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function CKe(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}const EKe=new Xje((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return;if(e.advance(),47==e.next)return;let n=0;for(;SKe.indexOf(e.next)>-1;)e.advance(),n++;if(CKe(e.next,!0)){for(e.advance(),n++;CKe(e.next,!1);)e.advance(),n++;for(;SKe.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!CKe(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),RKe=DDe({"get set async static":iIe.modifier,"for while do if else switch try catch finally return throw break continue default case defer":iIe.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":iIe.operatorKeyword,"let var const using function class extends":iIe.definitionKeyword,"import export from":iIe.moduleKeyword,"with debugger new":iIe.keyword,TemplateString:iIe.special(iIe.string),super:iIe.atom,BooleanLiteral:iIe.bool,this:iIe.self,null:iIe.null,Star:iIe.modifier,VariableName:iIe.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":iIe.function(iIe.variableName),VariableDefinition:iIe.definition(iIe.variableName),Label:iIe.labelName,PropertyName:iIe.propertyName,PrivatePropertyName:iIe.special(iIe.propertyName),"CallExpression/MemberExpression/PropertyName":iIe.function(iIe.propertyName),"FunctionDeclaration/VariableDefinition":iIe.function(iIe.definition(iIe.variableName)),"ClassDeclaration/VariableDefinition":iIe.definition(iIe.className),"NewExpression/VariableName":iIe.className,PropertyDefinition:iIe.definition(iIe.propertyName),PrivatePropertyDefinition:iIe.definition(iIe.special(iIe.propertyName)),UpdateOp:iIe.updateOperator,"LineComment Hashbang":iIe.lineComment,BlockComment:iIe.blockComment,Number:iIe.number,String:iIe.string,Escape:iIe.escape,ArithOp:iIe.arithmeticOperator,LogicOp:iIe.logicOperator,BitOp:iIe.bitwiseOperator,CompareOp:iIe.compareOperator,RegExp:iIe.regexp,Equals:iIe.definitionOperator,Arrow:iIe.function(iIe.punctuation),": Spread":iIe.punctuation,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace,"InterpolationStart InterpolationEnd":iIe.special(iIe.brace),".":iIe.derefOperator,", ;":iIe.separator,"@":iIe.meta,TypeName:iIe.typeName,TypeDefinition:iIe.definition(iIe.typeName),"type enum interface implements namespace module declare":iIe.definitionKeyword,"abstract global Privacy readonly override":iIe.modifier,"is keyof unique infer asserts":iIe.operatorKeyword,JSXAttributeValue:iIe.attributeValue,JSXText:iIe.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":iIe.angleBracket,"JSXIdentifier JSXNameSpacedName":iIe.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":iIe.attributeName,"JSXBuiltin/JSXIdentifier":iIe.standard(iIe.tagName)}),XKe={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},BKe={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},UKe={__proto__:null,"<":193},DKe=Yje.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#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0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:xKe,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[RKe],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q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:343,get:e=>BKe[e]||-1},{term:95,get:e=>UKe[e]||-1}],tokenPrec:15201}),IKe=[_Ve("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),_Ve("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),_Ve("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),_Ve("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),_Ve("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),_Ve("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),_Ve("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),_Ve("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),_Ve("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),_Ve('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),_Ve('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],zKe=IKe.concat([_Ve("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),_Ve("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),_Ve("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),NKe=new pDe,MKe=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function LKe(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const VKe=["FunctionDeclaration"],qKe={FunctionDeclaration:LKe("function"),ClassDeclaration:LKe("class"),ClassExpression:()=>!0,EnumDeclaration:LKe("constant"),TypeAliasDeclaration:LKe("type"),NamespaceDeclaration:LKe("namespace"),VariableDefinition(e,t){e.matchContext(VKe)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function FKe(e,t){let n=NKe.get(t);if(n)return n;let r=[],i=!0;function o(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(jUe.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let e=qKe[t.name];if(e&&e(t,o)||MKe.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of FKe(e,t.node))r.push(n);return!1}}),NKe.set(t,r),r}const WKe=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,ZKe=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function YKe(e){let t=dIe(e.state).resolveInner(e.pos,-1);if(ZKe.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&WKe.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let i=t;i;i=i.parent)MKe.has(i.name)&&(r=r.concat(FKe(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:WKe}}function jKe(e,t,n){var r;let i=[];for(;;){let o,a=t.firstChild;if("VariableName"==(null==a?void 0:a.name))return i.push(e(a)),{path:i.reverse(),name:n};if("MemberExpression"!=(null==a?void 0:a.name)||"PropertyName"!=(null===(r=o=a.lastChild)||void 0===r?void 0:r.name))return null;i.push(e(o)),t=a}}function GKe(e){let t=t=>e.state.doc.sliceString(t.from,t.to),n=dIe(e.state).resolveInner(e.pos,-1);return"PropertyName"==n.name?jKe(t,n.parent,t(n)):"."!=n.name&&"?."!=n.name||"MemberExpression"!=n.parent.name?ZKe.indexOf(n.name)>-1?null:"VariableName"==n.name||n.to-n.from<20&&WKe.test(t(n))?{path:[],name:t(n)}:"MemberExpression"==n.name?jKe(t,n,""):e.explicit?{path:[],name:""}:null:jKe(t,n.parent,"")}const HKe=OIe.define({name:"javascript",parser:DKe.configure({props:[_Ie.add({IfStatement:zIe({except:/^\s*({|else\b)/}),TryStatement:zIe({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:IIe,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:UIe({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":zIe({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),MIe.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":LIe,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=null===(t=e.firstChild)||void 0===t?void 0:t.nextSibling,r=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),KKe={test:e=>/^JSX/.test(e.name),facet:sIe({commentTokens:{block:{open:"{/*",close:"*/}"}}})},JKe=HKe.configure({dialect:"ts"},"typescript"),eJe=HKe.configure({dialect:"jsx",props:[lIe.add(e=>e.isTop?[KKe]:void 0)]}),tJe=HKe.configure({dialect:"jsx ts",props:[lIe.add(e=>e.isTop?[KKe]:void 0)]},"typescript");let nJe=e=>({label:e,type:"keyword"});const rJe="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(nJe),iJe=rJe.concat(["declare","implements","private","protected","public"].map(nJe));function oJe(e={}){let t=e.jsx?e.typescript?tJe:eJe:e.typescript?JKe:HKe,n=e.typescript?zKe.concat(iJe):IKe.concat(rJe);return new wIe(t,[HKe.data.of({autocomplete:TLe(ZKe,PLe(n))}),HKe.data.of({autocomplete:YKe}),e.jsx?lJe:[]])}function aJe(e,t,n=e.length){for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n));return""}const sJe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),lJe=PXe.inputHandler.of((e,t,n,r,i)=>{if((sJe?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!HKe.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(e=>{var t;let n,{head:i}=e,o=dIe(a).resolveInner(i-1,-1);if("JSXStartTag"==o.name&&(o=o.parent),a.doc.sliceString(i-1,i)!=r||"JSXAttributeValue"==o.name&&o.to>i);else{if(">"==r&&"JSXFragmentTag"==o.name)return{range:e,changes:{from:i,insert:"</>"}};if("/"==r&&"JSXStartCloseTag"==o.name){let e=o.parent,r=e.parent;if(r&&e.from==i-2&&((n=aJe(a.doc,r.firstChild,i))||"JSXFragmentTag"==(null===(t=r.firstChild)||void 0===t?void 0:t.name))){let e=`${n}>`;return{range:oTe.cursor(i+e.length,-1),changes:{from:i,insert:e}}}}else if(">"==r){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(o);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(a.doc.sliceString(i,i+2))&&(n=aJe(a.doc,t,i)))return{range:e,changes:{from:i,insert:`</${n}>`}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function cJe(e,t,n,r){return n.line(e+r.line).from+t+(1==e?r.col-1:-1)}function uJe(e,t,n){let r=cJe(e.line,e.column,t,n),i={from:r,to:null!=e.endLine&&1!=e.endColumn?cJe(e.endLine,e.endColumn,t,n):r,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:t,text:o}=e.fix,a=t[0]+n.pos-r,s=t[1]+n.pos-r;i.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+a,to:t+s,insert:o},scrollIntoView:!0})}}]}return i}const OJe=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:lJe,completionPath:GKe,esLint:function(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,n)=>{var r;(null===(r=e.meta.docs)||void 0===r?void 0:r.recommended)&&(t.rules[n]=2)})),n=>{let{state:r}=n,i=[];for(let{from:o,to:a}of HKe.findRegions(r)){let n=r.doc.lineAt(o),s={line:n.number-1,col:o-n.from,pos:o};for(let l of e.verify(r.sliceDoc(o,a),t))i.push(uJe(l,r.doc,s))}return i}},javascript:oJe,javascriptLanguage:HKe,jsxLanguage:eJe,localCompletionSource:YKe,scopeCompletionSource:function(e){let t=new Map;return n=>{let r=GKe(n);if(!r)return null;let i=e;for(let e of r.path)if(i=i[e],!i)return null;let o=t.get(i);return o||t.set(i,o=function(e,t){let n=e,r=[],i=new Set;for(let o=0;;o++){for(let s of(Object.getOwnPropertyNames||Object.keys)(e)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(s)||i.has(s))continue;let e;i.add(s);try{e=n[s]}catch($vt){continue}r.push({label:s,type:"function"==typeof e?/^[A-Z]/.test(s)?"class":t?"function":"method":t?"variable":"property",boost:-o})}let a=Object.getPrototypeOf(e);if(!a)return r;e=a}}(i,!r.path.length)),{from:n.pos-r.name.length,options:o,validFor:WKe}}},snippets:IKe,tsxLanguage:tJe,typescriptLanguage:JKe,typescriptSnippets:zKe},Symbol.toStringTag,{value:"Module"})),dJe=["_blank","_self","_top","_parent"],hJe=["ascii","utf-8","utf-16","latin1","latin1"],fJe=["get","post","put","delete"],pJe=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],AJe=["true","false"],mJe={},gJe={a:{attrs:{href:null,ping:null,type:null,media:null,target:dJe,hreflang:null}},abbr:mJe,address:mJe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:mJe,aside:mJe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:mJe,base:{attrs:{href:null,target:dJe}},bdi:mJe,bdo:mJe,blockquote:{attrs:{cite:null}},body:mJe,br:mJe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:pJe,formmethod:fJe,formnovalidate:["novalidate"],formtarget:dJe,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:mJe,center:mJe,cite:mJe,code:mJe,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:mJe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:mJe,div:mJe,dl:mJe,dt:mJe,em:mJe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:mJe,figure:mJe,footer:mJe,form:{attrs:{action:null,name:null,"accept-charset":hJe,autocomplete:["on","off"],enctype:pJe,method:fJe,novalidate:["novalidate"],target:dJe}},h1:mJe,h2:mJe,h3:mJe,h4:mJe,h5:mJe,h6:mJe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:mJe,hgroup:mJe,hr:mJe,html:{attrs:{manifest:null}},i:mJe,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:pJe,formmethod:fJe,formnovalidate:["novalidate"],formtarget:dJe,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:mJe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:mJe,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:mJe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:hJe,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:mJe,noscript:mJe,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:mJe,param:{attrs:{name:null,value:null}},pre:mJe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:mJe,rt:mJe,ruby:mJe,samp:mJe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:hJe}},section:mJe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:mJe,source:{attrs:{src:null,type:null,media:null}},span:mJe,strong:mJe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:mJe,summary:mJe,sup:mJe,table:mJe,tbody:mJe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:mJe,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:mJe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:mJe,time:{attrs:{datetime:null}},title:mJe,tr:mJe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:mJe,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:mJe},vJe={accesskey:null,class:null,contenteditable:AJe,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:AJe,autocorrect:AJe,autocapitalize:AJe,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":AJe,"aria-autocomplete":["inline","list","both","none"],"aria-busy":AJe,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":AJe,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":AJe,"aria-hidden":AJe,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":AJe,"aria-multiselectable":AJe,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":AJe,"aria-relevant":null,"aria-required":AJe,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},yJe="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let os of yJe)vJe[os]=null;class bJe{constructor(e,t){this.tags={...gJe,...e},this.globalAttrs={...vJe,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function wJe(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function QJe(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function $Je(e,t,n){let r=n.tags[wJe(e,QJe(t))];return(null==r?void 0:r.children)||n.allTags}function SJe(e,t){let n=[];for(let r=QJe(t);r&&!r.type.isTop;r=QJe(r.parent)){let i=wJe(e,r);if(i&&"CloseTag"==r.lastChild.name)break;i&&n.indexOf(i)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(i)}return n}bJe.default=new bJe;const xJe=/^[:\-\.\w\u00b7-\uffff]*$/;function kJe(e,t,n,r,i){let o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",a=QJe(n,"StartTag"==n.name||"TagName"==n.name);return{from:r,to:i,options:$Je(e.doc,a,t).map(e=>({label:e,type:"type"})).concat(SJe(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function PJe(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:SJe(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:"type",boost:99-t})),validFor:xJe}}function TJe(e,t){let{state:n,pos:r}=t,i=dIe(n).resolveInner(r,-1),o=i.resolve(r);for(let a,s=r;o==i&&(a=i.childBefore(s));){let e=a.lastChild;if(!e||!e.type.isError||e.from<e.to)break;o=i=a,s=e.from}return"TagName"==i.name?i.parent&&/CloseTag$/.test(i.parent.name)?PJe(n,i,i.from,r):kJe(n,e,i,i.from,r):"StartTag"==i.name||"IncompleteTag"==i.name?kJe(n,e,i,r,r):"StartCloseTag"==i.name||"IncompleteCloseTag"==i.name?PJe(n,i,r,r):"OpenTag"==i.name||"SelfClosingTag"==i.name||"AttributeName"==i.name?function(e,t,n,r,i){let o=QJe(n),a=o?t.tags[wJe(e.doc,o)]:null,s=a&&a.attrs?Object.keys(a.attrs):[];return{from:r,to:i,options:(a&&!1===a.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:xJe}}(n,e,i,"AttributeName"==i.name?i.from:r,r):"Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name?function(e,t,n,r,i){var o;let a,s=null===(o=n.parent)||void 0===o?void 0:o.getChild("AttributeName"),l=[];if(s){let o=e.sliceDoc(s.from,s.to),c=t.globalAttrs[o];if(!c){let r=QJe(n),i=r?t.tags[wJe(e.doc,r)]:null;c=(null==i?void 0:i.attrs)&&i.attrs[o]}if(c){let t=e.sliceDoc(r,i).toLowerCase(),n='"',o='"';/^['"]/.test(t)?(a='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",o=e.sliceDoc(i,i+1)==t[0]?"":t[0],t=t.slice(1),r++):a=/^[^\s<>='"]*$/;for(let e of c)l.push({label:e,apply:n+e+o,type:"constant"})}}return{from:r,to:i,options:l,validFor:a}}(n,e,i,"Is"==i.name?r:i.from,r):!t.explicit||"Element"!=o.name&&"Text"!=o.name&&"Document"!=o.name?null:function(e,t,n,r){let i=[],o=0;for(let a of $Je(e.doc,n,t))i.push({label:"<"+a,type:"type"});for(let a of SJe(e.doc,n))i.push({label:"</"+a+">",type:"type",boost:99-o++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,i,r)}function _Je(e){return TJe(bJe.default,e)}function CJe(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new bJe(t,n):bJe.default;return e=>TJe(r,e)}const EJe=HKe.parser.configure({top:"SingleExpression"}),RJe=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:JKe.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:eJe.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:tJe.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:EJe},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:HKe.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:CHe.parser}],XJe=[{name:"style",parser:CHe.parser.configure({top:"Styles"})}].concat(yJe.map(e=>({name:e,parser:HKe.parser}))),BJe=OIe.define({name:"html",parser:yKe.configure({props:[_Ie.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t,n=null;for(let r=e.node;;){let e=r.lastChild;if(!e||"Element"!=e.name||e.to!=r.to)break;n=r=e}return n&&(!(t=n.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(n.from)+e.unit:null}}),MIe.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),Tze.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),UJe=BJe.configure({wrap:$Ke(RJe,XJe)});function DJe(e={}){let t,n="";!1===e.matchClosingTags&&(n="noMatch"),!0===e.selfClosingTags&&(n=(n?n+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=$Ke((e.nestedLanguages||[]).concat(RJe),(e.nestedAttributes||[]).concat(XJe)));let r=t?BJe.configure({wrap:t,dialect:n}):n?UJe.configure({dialect:n}):UJe;return new wIe(r,[UJe.data.of({autocomplete:CJe(e)}),!1!==e.autoCloseTags?zJe:[],oJe().support,EHe().support])}const IJe=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),zJe=PXe.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!UJe.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(e=>{var t,n,i;let o,s=a.doc.sliceString(e.from-1,e.to)==r,{head:l}=e,c=dIe(a).resolveInner(l,-1);if(s&&">"==r&&"EndTag"==c.name){let r=c.parent;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(o=wJe(a.doc,r.parent,l))&&!IJe.has(o)){return{range:e,changes:{from:l,to:l+(">"===a.doc.sliceString(l,l+1)?1:0),insert:`</${o}>`}}}}else if(s&&"/"==r&&"IncompleteCloseTag"==c.name){let e=c.parent;if(c.from==l-2&&"CloseTag"!=(null===(i=e.lastChild)||void 0===i?void 0:i.name)&&(o=wJe(a.doc,e,l))&&!IJe.has(o)){let e=l+(">"===a.doc.sliceString(l,l+1)?1:0),t=`${o}>`;return{range:oTe.cursor(l+t.length,-1),changes:{from:l,to:e,insert:t}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),NJe=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:zJe,html:DJe,htmlCompletionSource:_Je,htmlCompletionSourceWith:CJe,htmlLanguage:UJe},Symbol.toStringTag,{value:"Module"})),MJe=DDe({null:iIe.null,instanceof:iIe.operatorKeyword,this:iIe.self,"new super assert open to with void":iIe.keyword,"class interface extends implements enum var":iIe.definitionKeyword,"module package import":iIe.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":iIe.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":iIe.modifier,IntegerLiteral:iIe.integer,FloatingPointLiteral:iIe.float,"StringLiteral TextBlock":iIe.string,CharacterLiteral:iIe.character,LineComment:iIe.lineComment,BlockComment:iIe.blockComment,BooleanLiteral:iIe.bool,PrimitiveType:iIe.standard(iIe.typeName),TypeName:iIe.typeName,Identifier:iIe.variableName,"MethodName/Identifier":iIe.function(iIe.variableName),Definition:iIe.definition(iIe.variableName),ArithOp:iIe.arithmeticOperator,LogicOp:iIe.logicOperator,BitOp:iIe.bitwiseOperator,CompareOp:iIe.compareOperator,AssignOp:iIe.definitionOperator,UpdateOp:iIe.updateOperator,Asterisk:iIe.punctuation,Label:iIe.labelName,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace,".":iIe.derefOperator,", ;":iIe.separator}),LJe={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:238,open:267,module:269,requires:274,transitive:276,exports:278,to:280,opens:282,uses:284,provides:286,with:288,package:292,import:296,if:308,else:310,while:314,for:318,var:325,assert:332,switch:336,case:342,do:346,break:350,continue:354,return:358,throw:364,try:368,catch:372,finally:380},VJe=Yje.deserialize({version:14,states:"##jQ]QPOOQ$wQPOOO(bQQO'#H^O*iQQO'#CbOOQO'#Cb'#CbO*pQPO'#CaO*xOSO'#CpOOQO'#Hc'#HcOOQO'#Cu'#CuO,eQPO'#D_O-OQQO'#HmOOQO'#Hm'#HmO/gQQO'#HhO/nQQO'#HhOOQO'#Hh'#HhOOQO'#Hg'#HgO1rQPO'#DUO2PQPO'#GnO4wQPO'#D_O5OQPO'#DzO*pQPO'#E[O5qQPO'#E[OOQO'#DV'#DVO7SQQO'#HaO9^QQO'#EeO9eQPO'#EdO9jQPO'#EfOOQO'#Hb'#HbO7jQQO'#HbO:pQQO'#FhO:wQPO'#ExO:|QPO'#E}O:|QPO'#FPOOQO'#Ha'#HaOOQO'#HY'#HYOOQO'#Gh'#GhOOQO'#HX'#HXO<^QPO'#FiOOQO'#HW'#HWOOQO'#Gg'#GgQ]QPOOOOQO'#Hs'#HsO<cQPO'#HsO<hQPO'#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l+s+x,Y-[-^.R/O/dU#WY!W'|Q%T!eU&k#n#s+fQ(o%VS,s*T*zT.s,u-aj#UY!W!e#n#s%V%w&W)y*T*z,u-aU&V#`&`(}Q)x&[Q+e'|Q+q(`Q-s+fQ.O+rQ/g.WR0U/hQ)i%vQ,g)fR/o.mR,h)f`!jP!o'^'h*q+O-^/OT%W!g*|R%]!hW%U!e%V*z-aQ(z%^R,V({S#d`%bR&a#eQ)X%gT*t'`'iR*y'e[!lP!o'^*q-^/OR%X!gR#h`R,b)]R)a%kT-j+]-kQ/V-mR/z/WR/z/X",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:276,nodeProps:[["isolate",-4,1,2,18,19,""],["group",-26,4,47,76,77,82,87,92,145,147,150,151,153,156,158,161,163,165,167,172,174,176,178,180,181,183,191,"Statement",-25,6,13,14,15,16,17,18,19,20,21,22,39,40,41,99,100,102,103,106,118,120,122,125,127,130,"Expression",-7,23,24,25,26,27,29,34,"Type"],["openedBy",10,"(",44,"{"],["closedBy",11,")",45,"}"]],propSources:[MJe],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"#'f_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu4euv5zvw7[wx8rxyAZyzAwz{Be{|CZ|}Dq}!OE_!O!PFx!P!Q! r!Q!R!,h!R![!0`![!]!>p!]!^!@Q!^!_!@n!_!`!BX!`!a!B{!a!b!Di!b!c!EX!c!}!LT!}#O!Mj#O#P%Q#P#Q!NW#Q#R!Nt#R#S4e#S#T%Q#T#o4e#o#p# h#p#q#!U#q#r##n#r#s#$[#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4eS%VV&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&YSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%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JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4e",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,194]},dynamicPrecedences:{27:1,232:-1,243:-1},specialized:[{term:231,get:e=>LJe[e]||-1}],tokenPrec:7144}),qJe=OIe.define({name:"java",parser:VJe.configure({props:[_Ie.add({IfStatement:zIe({except:/^\s*({|else\b)/}),TryStatement:zIe({except:/^\s*({|catch|finally)\b/}),LabeledStatement:IIe,SwitchBlock:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:UIe({closing:"}"}),BlockComment:()=>null,Statement:zIe({except:/^{/})}),MIe.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":LIe,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});const FJe=Object.freeze(Object.defineProperty({__proto__:null,java:function(){return new wIe(qJe)},javaLanguage:qJe},Symbol.toStringTag,{value:"Module"}));function WJe(e){return e>=65&&e<=90||e>=97&&e<=122}const ZJe=new Xje(e=>{let t=e.pos;for(;;){let{next:n}=e;if(n<0)break;if(123==n){let n=e.peek(1);if(123==n){if(e.pos>t)break;return void e.acceptToken(1,2)}if(35==n){if(e.pos>t)break;return void e.acceptToken(2,2)}if(37==n){if(e.pos>t)break;let n=2,r=2;for(;;){let t=e.peek(n);if(32==t||10==t)++n;else if(35==t)for(++n;;){let t=e.peek(n);if(t<0||10==t)break;n++}else{if(45!=t||2!=r)return void e.acceptToken(3,r);r=++n}}}}if(e.advance(),10==n)break}e.pos>t&&e.acceptToken(155)});function YJe(e,t,n){return new Xje(r=>{let i=r.pos;for(;;){let{next:t}=r;if(123==t&&37==r.peek(1)){let t=2;for(;;t++){let e=r.peek(t);if(32!=e&&10!=e)break}let o="";for(;;t++){let e=r.peek(t);if(!WJe(e))break;o+=String.fromCharCode(e)}if(o==e){if(r.pos>i)break;r.acceptToken(n,2);break}}else if(t<0)break;if(r.advance(),10==t)break}r.pos>i&&r.acceptToken(t)})}const jJe=YJe("endraw",156,4),GJe={__proto__:null,in:38,is:40,and:46,or:48,not:52,if:78,else:80,true:98,false:98,self:100,super:102,loop:104,recursive:136,scoped:160,required:162,as:256,import:260,ignore:268,missing:270,with:272,without:274,context:276},HJe={__proto__:null,if:112,elif:118,else:122,endif:126,for:132,endfor:140,raw:146,endraw:152,block:158,endblock:166,macro:172,endmacro:182,call:188,endcall:192,filter:198,endfilter:202,set:208,endset:212,trans:218,pluralize:222,endtrans:226,with:232,endwith:236,autoescape:242,endautoescape:246,import:254,from:258,include:266},KJe=Yje.deserialize({version:14,states:"!*dQVOPOOOOOP'#F`'#F`OeOTO'#CbOvQSO'#CdO!kOPO'#DcO!yOPO'#DnO#XOQO'#DuO#^OPO'#D{O#lOPO'#ESO#zOPO'#E[O$YOPO'#EaO$hOPO'#EfO$vOPO'#EkO%UOPO'#ErO%dOPO'#EwOOOP'#F|'#F|O%rQWO'#E|O&sO#tO'#F]OOOP'#Fq'#FqOOOP'#F_'#F_QVOPOOOOOP-E9^-E9^OOQO'#Ce'#CeO'sQSO,59OO'zQSO'#DWO(RQSO'#DXO(YQ`O'#DZOOQO'#Fr'#FrOvQSO'#CuO(aOPO'#CbOOOP'#Fd'#FdO!kOPO,59}OOOP,59},59}O(oOPO,59}O(}QWO'#E|OOOP,5:Y,5:YO)[OPO,5:YO!yOPO,5:YO)jQWO'#E|OOOQ'#Ff'#FfO)tOQO'#DxO)|OQO,5:aOOOP,5:g,5:gO#^OPO,5:gO*RQWO'#E|OOOP,5:n,5:nO#lOPO,5:nO*YQWO'#E|OOOP,5:v,5:vO#zOPO,5:vO*aQWO'#E|OOOP,5:{,5:{O$YOPO,5:{O*hQW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 {{ {# {% {% Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression ConcatOp ArithOp ArithOp CompareOp in is StringLiteral NumberLiteral and or NotExpression not FilterExpression FilterOp FilterName FilterCall ) ( ArgumentList NamedArgument AssignOp , NamedArgument ConditionalExpression if else CallExpression ArrayExpression TupleExpression ParenthesizedExpression DictExpression Entry : Entry BooleanLiteral self super loop IfStatement Tag TagName if %} Tag elif Tag else EndTag endif ForStatement Tag for Definition recursive EndTag endfor RawStatement Tag raw RawText EndTag endraw BlockStatement Tag block scoped required EndTag endblock MacroStatement Tag macro ParamList OptionalParameter OptionalParameter EndTag endmacro CallStatement Tag call EndTag endcall FilterStatement Tag filter EndTag endfilter SetStatement Tag set EndTag endset TransStatement Tag trans Tag pluralize EndTag endtrans WithStatement Tag with EndTag endwith AutoescapeStatement Tag autoescape EndTag endautoescape Tag Tag Tag import as from import ImportItem Tag include ignore missing with without context Comment #}",maxTerm:173,nodeProps:[["closedBy",1,"}}",2,"#}",-2,3,4,"%}",32,")"],["openedBy",7,"{{",31,"(",57,"{%",140,"{#"],["group",-18,9,10,13,14,21,22,25,27,38,41,42,43,44,45,49,50,51,52,"Expression",-11,53,64,71,77,84,92,97,102,107,114,119,"Statement"]],skippedNodes:[0],repeatNodeCount:13,tokenData:".|~RqXY#YYZ#Y]^#Ypq#Yqr#krs#vuv&nwx&{xy)nyz)sz{)x{|*V|}+|}!O,R!O!P,g!P!Q,o!Q![+h![!],w!^!_,|!_!`-U!`!a,|!c!}-^!}#O.U#P#Q.Z#R#S-^#T#o-^#o#p.`#p#q.e#q#r.j#r#s.w%W;'S-^;'S;:j.O<%lO-^~#_S$d~XY#YYZ#Y]^#Ypq#Y~#nP!_!`#q~#vOb~~#yWOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~$hOe~~$kYOY#vYZ#vZr#vrs%Zs#O#v#O#P$h#P;'S#v;'S;=`&O;=`<%l#v<%lO#v~%`We~OY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~%{P;=`<%l#v~&RXOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x;=`<%l#v<%lO#v~&sP`~#q#r&v~&{O!Z~~'OWOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~'kYOY&{YZ&{Zw&{wx(Zx#O&{#O#P'h#P;'S&{;'S;=`)O;=`<%l&{<%lO&{~(`We~OY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~({P;=`<%l&{~)RXOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x;=`<%l&{<%lO&{~)sOp~~)xOo~~)}P`~z{*Q~*VO`~~*[Qa~!O!P*b!Q![+h~*eP!Q![*h~*mSf~!Q![*h!g!h*y#R#S*h#X#Y*y~*|R{|+V}!O+V!Q![+]~+YP!Q![+]~+bQf~!Q![+]#R#S+]~+mTf~!O!P*b!Q![+h!g!h*y#R#S+h#X#Y*y~,ROt~~,WRa~uv,a!O!P*b!Q![+h~,dP#q#r&v~,lPZ~!Q![*h~,tP`~!P!Q*Q~,|O!P~~-RPb~!_!`#q~-ZPs~!_!`#q!`-iVm`[p!XS$gY!Q![-^!c!}-^#R#S-^#T#o-^%W;'S-^;'S;:j.O<%lO-^!`.RP;=`<%l-^~.ZO$i~~.`O$h~~.eO$n~~.jOl~^.oP$m[#q#r.rQ.wOVQ~.|O_~",tokenizers:[ZJe,jJe,1,2,3,4,5,new Rje("b~RPstU~XP#q#r[~aO$Q~~",17,173)],topRules:{Template:[0,5]},specialized:[{term:161,get:e=>GJe[e]||-1},{term:55,get:e=>HJe[e]||-1}],tokenPrec:3602});function JJe(e,t){return e.split(" ").map(e=>({label:e,type:t}))}const e1e=JJe("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr","function"),t1e=JJe("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace","function"),n1e=JJe("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller","keyword"),r1e=t1e.concat(n1e),i1e=JJe("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends","keyword");function o1e(e={}){let t=e.tags?e.tags.concat(i1e):i1e,n=e.variables?e.variables.concat(r1e):r1e,{properties:r}=e;return e=>{var i;let o=function(e){var t;let{state:n,pos:r}=e,i=dIe(n).resolveInner(r,-1).enterUnfinishedNodesBefore(r),o=(null===(t=i.childBefore(r))||void 0===t?void 0:t.name)||i.name;if("FilterName"==i.name)return{type:"filter",node:i};if(e.explicit&&("FilterOp"==o||"filter"==o))return{type:"filter"};if("TagName"==i.name)return{type:"tag",node:i};if(e.explicit&&"{%"==o)return{type:"tag"};if("PropertyName"==i.name&&"MemberExpression"==i.parent.name)return{type:"prop",node:i,target:i.parent};if("."==i.name&&"MemberExpression"==i.parent.name)return{type:"prop",target:i.parent};if("MemberExpression"==i.name&&"."==o)return{type:"prop",target:i};if("VariableName"==i.name)return{type:"expr",from:i.from};if("Comment"==i.name||"StringLiteral"==i.name||"NumberLiteral"==i.name)return null;let a=e.matchBefore(/[\w\u00c0-\uffff]+$/);return a?{type:"expr",from:a.from}:e.explicit?{type:"expr"}:null}(e);if(!o)return null;let a,s=null!==(i=o.from)&&void 0!==i?i:o.node?o.node.from:e.pos;return a="filter"==o.type?e1e:"tag"==o.type?t:"expr"==o.type?n:r?function(e,t,n,r){let i=[];for(;;){let n=t.getChild("Expression");if(!n)return[];if("VariableName"==n.name){i.unshift(e.sliceDoc(n.from,n.to));break}if("MemberExpression"!=n.name)return[];{let r=n.getChild("PropertyName");r&&i.unshift(e.sliceDoc(r.from,r.to)),t=n}}return r(i,e,n)}(e.state,o.target,e,r):[],a.length?{options:a,from:s,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const a1e=PXe.inputHandler.of((e,t,n,r)=>"%"==r&&t==n&&"{}"==e.state.doc.sliceString(t-1,n+1)&&(e.dispatch(e.state.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:"%%"},range:oTe.cursor(e.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function s1e(e){return t=>{let n=e.test(t.textAfter);return t.lineIndent(t.node.from)+(n?0:t.unit)}}const l1e=OIe.define({name:"jinja",parser:KJe.configure({props:[DDe({"TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape":iIe.keyword,"required scoped recursive with without context ignore missing":iIe.modifier,self:iIe.self,"loop super":iIe.standard(iIe.variableName),"if elif else endif for endfor call endcall":iIe.controlKeyword,"block endblock set endset macro endmacro import from include":iIe.definitionKeyword,"Comment/...":iIe.blockComment,VariableName:iIe.variableName,Definition:iIe.definition(iIe.variableName),PropertyName:iIe.propertyName,FilterName:iIe.special(iIe.variableName),ArithOp:iIe.arithmeticOperator,AssignOp:iIe.definitionOperator,"not and or":iIe.logicOperator,CompareOp:iIe.compareOperator,"in is":iIe.operatorKeyword,"FilterOp ConcatOp":iIe.operator,StringLiteral:iIe.string,NumberLiteral:iIe.number,BooleanLiteral:iIe.bool,"{% %} {# #} {{ }} { }":iIe.brace,"( )":iIe.paren,".":iIe.derefOperator,": , .":iIe.punctuation}),_Ie.add({Tag:UIe({closing:"%}"}),"IfStatement ForStatement":s1e(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),Statement:s1e(/^\s*(\{%-?\s*)?end\w/)}),MIe.add({"Statement Comment"(e){let t=e.firstChild,n=e.lastChild;return!t||"Tag"!=t.name&&"{#"!=t.name?null:{from:t.to,to:"EndTag"==n.name||"#}"==n.name?n.from:e.to}}})]}),languageData:{indentOnInput:/^\s*{%-?\s*(?:end|elif|else)$/}}),c1e=DJe();function u1e(e){return l1e.configure({wrap:vDe(t=>t.type.isTop?{parser:e.parser,overlay:e=>"Text"==e.name||"RawText"==e.name}:null)},"jinja")}const O1e=u1e(c1e.language);const d1e=Object.freeze(Object.defineProperty({__proto__:null,closePercentBrace:a1e,jinja:function(e={}){let t=e.base||c1e,n=t.language==c1e.language?O1e:u1e(t.language);return new wIe(n,[t.support,n.data.of({autocomplete:o1e(e)}),t.language.data.of({closeBrackets:{brackets:["{"]}}),a1e])},jinjaCompletionSource:o1e,jinjaLanguage:O1e},Symbol.toStringTag,{value:"Module"})),h1e=DDe({String:iIe.string,Number:iIe.number,"True False":iIe.bool,PropertyName:iIe.propertyName,Null:iIe.null,", :":iIe.separator,"[ ]":iIe.squareBracket,"{ }":iIe.brace}),f1e=Yje.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[h1e],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});const p1e=OIe.define({name:"json",parser:f1e.configure({props:[_Ie.add({Object:zIe({except:/^\s*\}/}),Array:zIe({except:/^\s*\]/})}),MIe.add({"Object Array":LIe})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});const A1e=Object.freeze(Object.defineProperty({__proto__:null,json:function(){return new wIe(p1e)},jsonLanguage:p1e,jsonParseLinter:()=>e=>{try{JSON.parse(e.state.doc.toString())}catch(sy){if(!(sy instanceof SyntaxError))throw sy;const n=function(e,t){let n;return(n=e.message.match(/at position (\d+)/))?Math.min(+n[1],t.length):(n=e.message.match(/at line (\d+) column (\d+)/))?Math.min(t.line(+n[1]).from+ +n[2]-1,t.length):0}(sy,e.state.doc);return[{from:n,message:sy.message,severity:"error",to:n}]}return[]}},Symbol.toStringTag,{value:"Module"})),m1e=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function g1e(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}const v1e=new Xje((e,t)=>{if(40==e.next){let t=e.peek(-1);(g1e(t)||(n=t)>=48&&n<=57||95==t||45==t)&&e.acceptToken(2,1)}var n}),y1e=new Xje(e=>{if(m1e.indexOf(e.peek(-1))>-1){let{next:t}=e;(g1e(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(110)}}),b1e=new Xje(e=>{if(m1e.indexOf(e.peek(-1))<0){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),g1e(t)){do{e.advance()}while(g1e(e.next));e.acceptToken(1)}}}),w1e=DDe({"import charset namespace keyframes media supports when":iIe.definitionKeyword,"from to selector":iIe.keyword,NamespaceName:iIe.namespace,KeyframeName:iIe.labelName,TagName:iIe.tagName,ClassName:iIe.className,PseudoClassName:iIe.constant(iIe.className),IdName:iIe.labelName,"FeatureName PropertyName PropertyVariable":iIe.propertyName,AttributeName:iIe.attributeName,NumberLiteral:iIe.number,KeywordQuery:iIe.keyword,UnaryQueryOp:iIe.operatorKeyword,"CallTag ValueName":iIe.atom,VariableName:iIe.variableName,"AtKeyword Interpolation":iIe.special(iIe.variableName),Callee:iIe.operatorKeyword,Unit:iIe.unit,"UniversalSelector NestingSelector":iIe.definitionOperator,MatchOp:iIe.compareOperator,"ChildOp SiblingOp, LogicOp":iIe.logicOperator,BinOp:iIe.arithmeticOperator,Important:iIe.modifier,"Comment LineComment":iIe.blockComment,ColorLiteral:iIe.color,"ParenthesizedContent StringLiteral":iIe.string,Escape:iIe.special(iIe.string),": ...":iIe.punctuation,"PseudoOp #":iIe.derefOperator,"; ,":iIe.separator,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace}),Q1e={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},$1e={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},S1e=Yje.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:t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assSelector : :: PseudoClassName ) ArgList , PseudoClassName ArgList VariableName AtKeyword PropertyVariable ValueName ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral Escape Interpolation BinaryExpression BinOp LogicOp UnaryExpression UnaryQueryOp CallExpression ] SubscriptExpression [ CallLiteral CallTag ParenthesizedContent IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp InterpolatedSelector ; when } { Block ImportStatement import KeywordQuery FeatureQuery FeatureName BinaryQuery UnaryQuery ParenthesizedQuery SelectorQuery selector CallQuery ArgList SubscriptQuery MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports DetachedRuleSet PropertyName Declaration Important Inclusion IdSelector ClassSelector Inclusion CallExpression",maxTerm:133,nodeProps:[["isolate",-3,3,4,30,""],["openedBy",17,"(",59,"{"],["closedBy",26,")",60,"}"]],propSources:[w1e],skippedNodes:[0,3,4],repeatNodeCount:10,tokenData:"!2q~R!ZOX$tX^%l^p$tpq%lqr)Ors-xst/ltu6Zuv$tvw8^wx:Uxy;syz<Uz{<Z{|<t|}BQ}!OBc!O!PDo!P!QFY!Q![Jw![!]Kr!]!^Ln!^!_MP!_!`M{!`!aNl!a!b$t!b!c! m!c!}!&R!}#O!'y#O#P$t#P#Q!([#Q#R!(m#R#T$t#T#o!&R#o#p!)S#p#q!(m#q#r!)e#r#s!)v#s#y$t#y#z%l#z$f$t$f$g%l$g#BY$t#BY#BZ%l#BZ$IS$t$IS$I_%l$I_$I|$t$I|$JO%l$JO$JT$t$JT$JU%l$JU$KV$t$KV$KW%l$KW&FU$t&FU&FV%l&FV;'S$t;'S;=`!2k<%lO$t`$wSOy%Tz;'S%T;'S;=`%f<%lO%T`%YS|`Oy%Tz;'S%T;'S;=`%f<%lO%T`%iP;=`<%l%T~%qh#d~OX%TX^']^p%Tpq']qy%Tz#y%T#y#z']#z$f%T$f$g']$g#BY%T#BY#B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`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[y1e,b1e,v1e,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:e=>Q1e[e]||-1},{term:23,get:e=>$1e[e]||-1}],tokenPrec:2180}),x1e=OIe.define({name:"less",parser:S1e.configure({props:[_Ie.add({Declaration:zIe()}),MIe.add({Block:LIe})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),k1e=THe(e=>"VariableName"==e.name||"AtKeyword"==e.name);const P1e=Object.freeze(Object.defineProperty({__proto__:null,less:function(){return new wIe(x1e,x1e.data.of({autocomplete:k1e}))},lessCompletionSource:k1e,lessLanguage:x1e},Symbol.toStringTag,{value:"Module"}));function T1e(e){return e>=65&&e<=90||e>=97&&e<=122}const _1e=new Xje(e=>{let t=e.pos;for(;;){let{next:n}=e;if(n<0)break;if(123==n){let n=e.peek(1);if(123==n){if(e.pos>t)break;return void e.acceptToken(1,2)}if(37==n){if(e.pos>t)break;let n=2,r=2;for(;;){let t=e.peek(n);if(32==t||10==t)++n;else if(35==t)for(++n;;){let t=e.peek(n);if(t<0||10==t)break;n++}else{if(45!=t||2!=r){let i=101==t&&110==e.peek(n+1)&&100==e.peek(n+2);return void e.acceptToken(i?3:2,r)}r=++n}}}}if(e.advance(),10==n)break}e.pos>t&&e.acceptToken(180)});function C1e(e,t,n){return new Xje(r=>{let i=r.pos;for(;;){let{next:t}=r;if(123==t&&37==r.peek(1)){let t=2;for(;;t++){let e=r.peek(t);if(32!=e&&10!=e)break}let o="";for(;;t++){let e=r.peek(t);if(!T1e(e))break;o+=String.fromCharCode(e)}if(o==e){if(r.pos>i)break;r.acceptToken(n,2);break}}else if(t<0)break;if(r.advance(),10==t)break}r.pos>i&&r.acceptToken(t)})}const E1e=C1e("endcomment",182,5),R1e=C1e("endraw",181,4),X1e=new Xje(e=>{if(35==e.next){for(e.advance();!(10==e.next||e.next<0)&&(37!=e.next&&125!=e.next||125!=e.peek(1));)e.advance();e.acceptToken(6)}}),B1e={__proto__:null,contains:34,or:38,and:38,true:52,false:52,empty:54,forloop:57,tablerowloop:59,continue:61,in:131,with:197,for:199,as:201,if:237,endif:241,unless:247,endunless:251,elsif:255,else:259,case:265,endcase:269,when:273,endfor:281,tablerow:287,endtablerow:291,break:295,cycle:301,echo:305,render:309,include:313,assign:317,capture:323,endcapture:327,increment:331,decrement:335},U1e={__proto__:null,if:86,endif:90,elsif:94,else:98,unless:104,endunless:108,case:114,endcase:118,when:122,for:128,endfor:138,tablerow:144,endtablerow:148,break:152,continue:156,cycle:160,comment:166,endcomment:172,raw:178,endraw:184,echo:188,render:192,include:204,assign:208,capture:214,endcapture:218,increment:222,decrement:226,liquid:230},D1e=Yje.deserialize({version:14,states:"KtQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DSO#{OPO'#DVO$ZOPO'#D`O$iOPO'#DeO$wOPO'#DlO%VOPO'#DtO%eOSO'#EPO%jOQO'#EVO%oOPO'#EiOOOP'#Ge'#GeOOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&cQ!jO,59QO&jQ!jO'#G^OsQhO'#CtOOQW'#Gb'#GbOOQW'#Gc'#GcOOQW'#Gd'#GdOOQW'#G^'#G^OOOP,59n,59nO)YQhO,59nOsQhO,59rOsQhO,59vO)dQhO,59xOsQhO,59{OsQhO,5:QOsQhO,5:UO!]QhO,5:XO!]QhO,5:aO)iQhO,5:eO)nQhO,5:gO)sQhO,5:iO)xQhO,5:lO)}QhO,5:rOsQhO,5:wOsQhO,5:yOsQhO,5;POsQhO,5;ROsQhO,5;UOsQhO,5;YOsQhO,5;[O+^QhO,5;^O+eOPO'#CdO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n#r#u$V$^%q%v%|&S&X&cm#|!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$O!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Q!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$S!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$U!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&a$V&cm$X!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Z!Q#d#g#n#r#u$V$^%q%v%|&S&X&c",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:220,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",23,")"],["openedBy",9,"{{",22,"(",40,"{%"],["group",-13,11,12,15,16,20,24,26,27,28,29,30,31,32,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")e~RmXY!|YZ!|]^!|pq!|qr#_rs#juv$[wx$gxy%Syz%X{|%^|}&x}!O&}!O!P'Z!Q![&g![!]'k!^!_'p!_!`'x!`!a'p!c!}(Q!}#O(y#P#Q)O#R#S(Q#T#o(Q#p#q)T#q#r)Y%W;'S(Q;'S;:j(s<%lO(Q~#RS%O~XY!|YZ!|]^!|pq!|~#bP!_!`#e~#jOb~~#mUOY#jZr#jrs$Ps;'S#j;'S;=`$U<%lO#j~$UOo~~$XP;=`<%l#j~$_P#q#r$b~$gOx~~$jUOY$gZw$gwx$Px;'S$g;'S;=`$|<%lO$g~%PP;=`<%l$g~%XOg~~%^Of~P%aQ!O!P%g!Q![&gP%jP!Q![%mP%rRpP!Q![%m!g!h%{#X#Y%{P&OR{|&X}!O&X!Q![&_P&[P!Q![&_P&dPpP!Q![&_P&lSpP!O!P%g!Q![&g!g!h%{#X#Y%{~&}Ou~~'QRuv$[!O!P%g!Q![&g~'`Q]S!O!P'f!Q![%m~'kOi~~'pOt~~'uPb~!_!`#e~'}Pe~!_!`#e_(ZW^WwQ%RT}!O(Q!Q![(Q!c!}(Q#R#S(Q#T#o(Q%W;'S(Q;'S;:j(s<%lO(Q_(vP;=`<%l(Q~)OO%T~~)TO%S~~)YOr~~)]P#q#r)`~)eOX~",tokenizers:[_1e,R1e,E1e,X1e,0,1,2,3],topRules:{Template:[0,7]},dynamicPrecedences:{190:1,191:1,192:1,194:1,195:1,196:1,197:1,199:1,200:1,201:1,202:1,203:1,204:1,205:1,206:1,207:1,208:1,209:1,210:1,211:1,212:1,213:1,214:1,215:1,216:1,217:1,218:1,219:1,220:1},specialized:[{term:187,get:e=>B1e[e]||-1},{term:39,get:e=>U1e[e]||-1}],tokenPrec:0});function I1e(e,t){return e.split(" ").map(e=>({label:e,type:t}))}const z1e=I1e("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),N1e=I1e("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),M1e=I1e("empty forloop tablerowloop in with as","keyword"),L1e=I1e("first index index0 last length rindex","property"),V1e=I1e("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function q1e(e={}){let t=e.filters?e.filters.concat(z1e):z1e,n=e.tags?e.tags.concat(N1e):N1e,r=e.variables?e.variables.concat(M1e):M1e,{properties:i}=e;return e=>{var o;let a=function(e){var t;let{state:n,pos:r}=e,i=dIe(n).resolveInner(r,-1).enterUnfinishedNodesBefore(r),o=(null===(t=i.childBefore(r))||void 0===t?void 0:t.name)||i.name;if("FilterName"==i.name)return{type:"filter",node:i};if(e.explicit&&"|"==o)return{type:"filter"};if("TagName"==i.name)return{type:"tag",node:i};if(e.explicit&&"{%"==o)return{type:"tag"};if("PropertyName"==i.name&&"MemberExpression"==i.parent.name)return{type:"property",node:i,target:i.parent};if("."==i.name&&"MemberExpression"==i.parent.name)return{type:"property",target:i.parent};if("MemberExpression"==i.name&&"."==o)return{type:"property",target:i};if("VariableName"==i.name)return{type:"expression",from:i.from};let a=e.matchBefore(/[\w\u00c0-\uffff]+$/);return a?{type:"expression",from:a.from}:e.explicit&&"CommentText"!=i.name&&"StringLiteral"!=i.name&&"NumberLiteral"!=i.name&&"InlineComment"!=i.name?{type:"expression"}:null}(e);if(!a)return null;let s,l=null!==(o=a.from)&&void 0!==o?o:a.node?a.node.from:e.pos;return s="filter"==a.type?t:"tag"==a.type?n:"expression"==a.type?r:function(e,t,n,r){let i=[];for(;;){let n=t.getChild("Expression");if(!n)return[];if("VariableName"==n.name||"forloop"==n.name||"tablerowloop"==n.name){let t=e.sliceDoc(n.from,n.to);if("forloop"==t)return i.length?[]:L1e;if("tablerowloop"==t)return i.length?[]:V1e;i.unshift(t);break}if("MemberExpression"==n.name){let r=n.getChild("PropertyName");r&&i.unshift(e.sliceDoc(r.from,r.to)),t=n}else{if("SubscriptExpression"!=n.name)return[];{let r=n.getChildren("Expression")[1];i.unshift("StringLiteral"==(null==r?void 0:r.name)?e.sliceDoc(r.from+1,r.to-1):"[]"),t=n}}}return r?r(i,e,n):[]}(e.state,a.target,e,i),s.length?{options:s,from:l,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const F1e=PXe.inputHandler.of((e,t,n,r)=>"%"==r&&t==n&&"{}"==e.state.doc.sliceString(t-1,n+1)&&(e.dispatch(e.state.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:"%%"},range:oTe.cursor(e.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function W1e(e){return t=>{let n=e.test(t.textAfter);return t.lineIndent(t.node.from)+(n?0:t.unit)}}const Z1e=OIe.define({name:"liquid",parser:D1e.configure({props:[DDe({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":iIe.keyword,"empty forloop tablerowloop":iIe.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":iIe.controlKeyword,"assign capture endcapture":iIe.definitionKeyword,contains:iIe.operatorKeyword,"render include":iIe.moduleKeyword,VariableName:iIe.variableName,TagName:iIe.tagName,FilterName:iIe.function(iIe.variableName),PropertyName:iIe.propertyName,CompareOp:iIe.compareOperator,AssignOp:iIe.definitionOperator,LogicOp:iIe.logicOperator,NumberLiteral:iIe.number,StringLiteral:iIe.string,BooleanLiteral:iIe.bool,InlineComment:iIe.lineComment,CommentText:iIe.blockComment,"{% %} {{ }}":iIe.brace,"[ ]":iIe.bracket,"( )":iIe.paren,".":iIe.derefOperator,", .. : |":iIe.punctuation}),_Ie.add({Tag:UIe({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":W1e(/^\s*(\{%-?\s*)?end\w/),IfDirective:W1e(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:W1e(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),MIe.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(e){let t=e.firstChild,n=e.lastChild;return t&&"Tag"==t.name?{from:t.to,to:"EndTag"==n.name?n.from:e.to}:null}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),Y1e=DJe();function j1e(e){return Z1e.configure({wrap:vDe(t=>t.type.isTop?{parser:e.parser,overlay:e=>"Text"==e.name||"RawText"==e.name}:null)},"liquid")}const G1e=j1e(Y1e.language);const H1e=Object.freeze(Object.defineProperty({__proto__:null,closePercentBrace:F1e,liquid:function(e={}){let t=e.base||Y1e,n=t.language==Y1e.language?G1e:j1e(t.language);return new wIe(n,[t.support,n.data.of({autocomplete:q1e(e)}),t.language.data.of({closeBrackets:{brackets:["{"]}}),F1e])},liquidCompletionSource:q1e,liquidLanguage:G1e},Symbol.toStringTag,{value:"Module"}));class K1e{static create(e,t,n,r,i){return new K1e(e,t,n,r+(r<<8)+e+(t<<4)|0,i,[],[])}constructor(e,t,n,r,i,o,a){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=i,this.children=o,this.positions=a,this.hashProp=[[LUe.contextHash,r]]}addChild(e,t){e.prop(LUe.contextHash)!=this.hash&&(e=new HUe(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new HUe(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new HUe(FUe.none,e,t,n,this.hashProp)})}}var J1e,e0e;(e0e=J1e||(J1e={}))[e0e.Document=1]="Document",e0e[e0e.CodeBlock=2]="CodeBlock",e0e[e0e.FencedCode=3]="FencedCode",e0e[e0e.Blockquote=4]="Blockquote",e0e[e0e.HorizontalRule=5]="HorizontalRule",e0e[e0e.BulletList=6]="BulletList",e0e[e0e.OrderedList=7]="OrderedList",e0e[e0e.ListItem=8]="ListItem",e0e[e0e.ATXHeading1=9]="ATXHeading1",e0e[e0e.ATXHeading2=10]="ATXHeading2",e0e[e0e.ATXHeading3=11]="ATXHeading3",e0e[e0e.ATXHeading4=12]="ATXHeading4",e0e[e0e.ATXHeading5=13]="ATXHeading5",e0e[e0e.ATXHeading6=14]="ATXHeading6",e0e[e0e.SetextHeading1=15]="SetextHeading1",e0e[e0e.SetextHeading2=16]="SetextHeading2",e0e[e0e.HTMLBlock=17]="HTMLBlock",e0e[e0e.LinkReference=18]="LinkReference",e0e[e0e.Paragraph=19]="Paragraph",e0e[e0e.CommentBlock=20]="CommentBlock",e0e[e0e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e0e[e0e.Escape=22]="Escape",e0e[e0e.Entity=23]="Entity",e0e[e0e.HardBreak=24]="HardBreak",e0e[e0e.Emphasis=25]="Emphasis",e0e[e0e.StrongEmphasis=26]="StrongEmphasis",e0e[e0e.Link=27]="Link",e0e[e0e.Image=28]="Image",e0e[e0e.InlineCode=29]="InlineCode",e0e[e0e.HTMLTag=30]="HTMLTag",e0e[e0e.Comment=31]="Comment",e0e[e0e.ProcessingInstruction=32]="ProcessingInstruction",e0e[e0e.Autolink=33]="Autolink",e0e[e0e.HeaderMark=34]="HeaderMark",e0e[e0e.QuoteMark=35]="QuoteMark",e0e[e0e.ListMark=36]="ListMark",e0e[e0e.LinkMark=37]="LinkMark",e0e[e0e.EmphasisMark=38]="EmphasisMark",e0e[e0e.CodeMark=39]="CodeMark",e0e[e0e.CodeText=40]="CodeText",e0e[e0e.CodeInfo=41]="CodeInfo",e0e[e0e.LinkTitle=42]="LinkTitle",e0e[e0e.LinkLabel=43]="LinkLabel",e0e[e0e.URL=44]="URL";class t0e{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class n0e{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return a0e(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let r=t;r<e;r++)n+=9==this.text.charCodeAt(r)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e="";for(let t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}function r0e(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let r=(e.type==J1e.OrderedList?h0e:d0e)(n,t,!1);return r>0&&(e.type!=J1e.BulletList||u0e(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}const i0e={[J1e.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(M0e(J1e.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(o0e(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[J1e.ListItem]:(e,t,n)=>!(n.indent<n.baseIndent+e.value&&n.next>-1)&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[J1e.OrderedList]:r0e,[J1e.BulletList]:r0e,[J1e.Document]:()=>!0};function o0e(e){return 32==e||9==e||10==e||13==e}function a0e(e,t=0){for(;t<e.length&&o0e(e.charCodeAt(t));)t++;return t}function s0e(e,t,n){for(;t>n&&o0e(e.charCodeAt(t-1));)t--;return t}function l0e(e){if(96!=e.next&&126!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return-1;if(96==e.next)for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return-1;return t}function c0e(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function u0e(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return-1;let r=1;for(let i=e.pos+1;i<e.text.length;i++){let t=e.text.charCodeAt(i);if(t==e.next)r++;else if(!o0e(t))return-1}return n&&45==e.next&&p0e(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(k0e.SetextHeading)>-1||r<3?-1:1}function O0e(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function d0e(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!o0e(e.text.charCodeAt(e.pos+1))||!(!n||O0e(t,J1e.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function h0e(e,t,n){let r=e.pos,i=e.next;for(;i>=48&&i<=57;){if(r++,r==e.text.length)return-1;i=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=i&&41!=i||r<e.text.length-1&&!o0e(e.text.charCodeAt(r+1))||n&&!O0e(t,J1e.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function f0e(e){if(35!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return-1;let n=t-e.pos;return n>6?-1:n}function p0e(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&o0e(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}const A0e=/^[ \t]*$/,m0e=/-->/,g0e=/\?>/,v0e=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,m0e],[/^\s*<\?/,g0e],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,A0e],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,A0e]];function y0e(e,t,n){if(60!=e.next)return-1;let r=e.text.slice(e.pos);for(let i=0,o=v0e.length-(n?1:0);i<o;i++)if(v0e[i][0].test(r))return i;return-1}function b0e(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function w0e(e,t,n){let r=e.length-1;r>=0&&e[r].to==t&&e[r].type==J1e.CodeText?e[r].to=n:e.push(M0e(J1e.CodeText,t,n))}const Q0e={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let r=t.findColumn(n),i=e.lineStart+r,o=e.lineStart+t.text.length,a=[],s=[];for(w0e(a,i,o);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){w0e(s,e.lineStart-1,e.lineStart);for(let e of t.markers)s.push(e)}else{if(t.indent<n)break;{if(s.length){for(let e of s)e.type==J1e.CodeText?w0e(a,e.from,e.to):a.push(e);s=[]}w0e(a,e.lineStart-1,e.lineStart);for(let e of t.markers)a.push(e);o=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<o&&w0e(a,n,o)}}return s.length&&(s=s.filter(e=>e.type!=J1e.CodeText),s.length&&(t.markers=s.concat(t.markers))),e.addNode(e.buffer.writeElements(a,-i).finish(J1e.CodeBlock,o-i),i),!0},FencedCode(e,t){let n=l0e(t);if(n<0)return!1;let r=e.lineStart+t.pos,i=t.next,o=n-t.pos,a=t.skipSpace(n),s=s0e(t.text,t.text.length,a),l=[M0e(J1e.CodeMark,r,r+o)];a<s&&l.push(M0e(J1e.CodeInfo,e.lineStart+a,e.lineStart+s));for(let c=!0,u=!0,O=!1;e.nextLine()&&t.depth>=e.stack.length;c=!1){let n=t.pos;if(t.indent-t.baseIndent<4)for(;n<t.text.length&&t.text.charCodeAt(n)==i;)n++;if(n-t.pos>=o&&t.skipSpace(n)==t.text.length){for(let e of t.markers)l.push(e);u&&O&&w0e(l,e.lineStart-1,e.lineStart),l.push(M0e(J1e.CodeMark,e.lineStart+t.pos,e.lineStart+n)),e.nextLine();break}{O=!0,c||(w0e(l,e.lineStart-1,e.lineStart),u=!1);for(let e of t.markers)l.push(e);let n=e.lineStart+t.basePos,r=e.lineStart+t.text.length;n<r&&(w0e(l,n,r),u=!1)}}return e.addNode(e.buffer.writeElements(l,-r).finish(J1e.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote(e,t){let n=c0e(t);return!(n<0)&&(e.startContext(J1e.Blockquote,t.pos),e.addNode(J1e.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(u0e(t,e,!1)<0)return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(J1e.HorizontalRule,n),!0},BulletList(e,t){let n=d0e(t,e,!1);if(n<0)return!1;e.block.type!=J1e.BulletList&&e.startContext(J1e.BulletList,t.basePos,t.next);let r=b0e(t,t.pos+1);return e.startContext(J1e.ListItem,t.basePos,r-t.baseIndent),e.addNode(J1e.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},OrderedList(e,t){let n=h0e(t,e,!1);if(n<0)return!1;e.block.type!=J1e.OrderedList&&e.startContext(J1e.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let r=b0e(t,t.pos+n);return e.startContext(J1e.ListItem,t.basePos,r-t.baseIndent),e.addNode(J1e.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},ATXHeading(e,t){let n=f0e(t);if(n<0)return!1;let r=t.pos,i=e.lineStart+r,o=s0e(t.text,t.text.length,r),a=o;for(;a>r&&t.text.charCodeAt(a-1)==t.next;)a--;a!=o&&a!=r&&o0e(t.text.charCodeAt(a-1))||(a=t.text.length);let s=e.buffer.write(J1e.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,a),i+n+1),-i);a<t.text.length&&s.write(J1e.HeaderMark,a-r,o-r);let l=s.finish(J1e.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(l,i),!0},HTMLBlock(e,t){let n=y0e(t,0,!1);if(n<0)return!1;let r=e.lineStart+t.pos,i=v0e[n][1],o=[],a=i!=A0e;for(;!i.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){a=!1;break}for(let e of t.markers)o.push(e)}a&&e.nextLine();let s=i==m0e?J1e.CommentBlock:i==g0e?J1e.ProcessingInstructionBlock:J1e.HTMLBlock,l=e.prevLineEnd();return e.addNode(e.buffer.writeElements(o,-r).finish(s,l-r),r),!0},SetextHeading:void 0};class $0e{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let r=n.content+"\n"+t.scrub(),i=this.advance(r);return i>-1&&i<r.length&&this.complete(e,n,i)}finish(e,t){return(2==this.stage||3==this.stage)&&a0e(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,M0e(J1e.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;){if(-1==this.stage)return-1;if(0==this.stage){if(!this.nextStage(J0e(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(M0e(J1e.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){let t=a0e(e,this.pos),n=0;if(t>this.pos){let r=K0e(e,t,this.start);if(r){let t=S0e(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||(n=S0e(e,this.pos)),n>0&&n<e.length?n:-1}return S0e(e,this.pos)}if(!this.nextStage(H0e(e,a0e(e,this.pos),this.start)))return-1}}}}function S0e(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!o0e(n))return-1}return t}class x0e{nextLine(e,t,n){let r=t.depth<e.stack.length?-1:p0e(t),i=t.next;if(r<0)return!1;let o=M0e(J1e.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,M0e(61==i?J1e.SetextHeading1:J1e.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),o])),!0}finish(){return!1}}const k0e={LinkReference:(e,t)=>91==t.content.charCodeAt(0)?new $0e(t):null,SetextHeading:()=>new x0e},P0e=[(e,t)=>f0e(t)>=0,(e,t)=>l0e(t)>=0,(e,t)=>c0e(t)>=0,(e,t)=>d0e(t,e,!0)>=0,(e,t)=>h0e(t,e,!0)>=0,(e,t)=>u0e(t,e,!0)>=0,(e,t)=>y0e(t,0,!0)>=0],T0e={text:"",end:0};class _0e{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.line=new n0e,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=r[r.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=r[0].from,this.block=K1e.create(J1e.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new r2e(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(0!=n){if(1==n)return null;e.forward();continue e}}break}let t=new t0e(this.lineStart+e.pos,e.text.slice(e.pos));for(let n of this.parser.leafBlockParsers)if(n){let e=n(this,t);e&&t.parsers.push(e)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4)for(let n of this.parser.endLeafBlock)if(n(this,e,t))break e;for(let n of t.parsers)if(n.nextLine(this,e,t))return null;t.content+="\n"+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return!!t&&(this.absoluteLineStart+=t,this.lineStart=i2e(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0)}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=T0e;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let e=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<t.end;){n++;let r=this.ranges[n].from,i=this.lineChunkAt(r);t.end=r+i.length,t.text=t.text.slice(0,this.ranges[n-1].to-e)+i,e=t.end-t.text.length}}return t}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw new Error("Unhandled block context "+J1e[t.type]);let r=this.line.markers.length;if(!n(t,this,e)){this.line.markers.length>r&&(t.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let t,n=this.input.chunk(e);if(this.input.lineChunks)t="\n"==n?"":n;else{let e=n.indexOf("\n");t=e<0?n:n.slice(0,e)}return e+t.length>this.to?t.slice(0,this.to-e):t}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=K1e.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){"number"==typeof e&&(e=new HUe(this.parser.nodeSet.types[e],D0e,D0e,(null!=n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(t2e(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?C0e(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let n of e.parsers)if(n.finish(this,e))return;let t=t2e(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(J1e.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return"string"==typeof e?M0e(this.parser.getNodeType(e),t,n,r):new N0e(e,t)}get buffer(){return new I0e(this.parser.nodeSet)}}function C0e(e,t,n,r,i){let o=e[t].to,a=[],s=[],l=n.from+r;function c(n,i){for(;i?n>=o:n>o;){let i=e[t+1].from-o;r+=i,n+=i,t++,o=e[t].to}}for(let u=n.firstChild;u;u=u.nextSibling){c(u.from+r,!0);let n,O=u.from+r,d=i.get(u.tree);d?n=d:u.to+r>o?(n=C0e(e,t,u,r,i),c(u.to+r,!1)):n=u.toTree(),a.push(n),s.push(O-l)}return c(n.to+r,!1),new HUe(n.type,a,s,n.to+r-l,n.tree?n.tree.propValues:void 0)}class E0e extends mDe{constructor(e,t,n,r,i,o,a,s,l){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=i,this.skipContextMarkup=o,this.inlineParsers=a,this.inlineNames=s,this.wrappers=l,this.nodeTypes=Object.create(null);for(let c of e.types)this.nodeTypes[c.name]=c.id}createParse(e,t,n){let r=new _0e(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}configure(e){let t=X0e(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:r}=this,i=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),a=this.blockNames.slice(),s=this.inlineParsers.slice(),l=this.inlineNames.slice(),c=this.endLeafBlock.slice(),u=this.wrappers;if(R0e(t.defineNodes)){r=Object.assign({},r);let e,i=n.types.slice();for(let n of t.defineNodes){let{name:t,block:o,composite:a,style:s}="string"==typeof n?{name:n}:n;if(i.some(e=>e.name==t))continue;a&&(r[i.length]=(e,t,n)=>a(t,n,e.value));let l=i.length,c=a?["Block","BlockContext"]:o?l>=J1e.ATXHeading1&&l<=J1e.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;i.push(FUe.define({id:l,name:t,props:c&&[[LUe.group,c]]})),s&&(e||(e={}),Array.isArray(s)||s instanceof XDe?e[t]=s:Object.assign(e,s))}n=new WUe(i),e&&(n=n.extend(DDe(e)))}if(R0e(t.props)&&(n=n.extend(...t.props)),R0e(t.remove))for(let O of t.remove){let e=this.blockNames.indexOf(O),t=this.inlineNames.indexOf(O);e>-1&&(i[e]=o[e]=void 0),t>-1&&(s[t]=void 0)}if(R0e(t.parseBlock))for(let O of t.parseBlock){let e=a.indexOf(O.name);if(e>-1)i[e]=O.parse,o[e]=O.leaf;else{let e=O.before?B0e(a,O.before):O.after?B0e(a,O.after)+1:a.length-1;i.splice(e,0,O.parse),o.splice(e,0,O.leaf),a.splice(e,0,O.name)}O.endLeaf&&c.push(O.endLeaf)}if(R0e(t.parseInline))for(let O of t.parseInline){let e=l.indexOf(O.name);if(e>-1)s[e]=O.parse;else{let e=O.before?B0e(l,O.before):O.after?B0e(l,O.after)+1:l.length-1;s.splice(e,0,O.parse),l.splice(e,0,O.name)}}return t.wrap&&(u=u.concat(t.wrap)),new E0e(n,i,o,a,c,r,s,l,u)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new e2e(this,e,t);e:for(let r=t;r<n.end;){let e=n.char(r);for(let t of this.inlineParsers)if(t){let i=t(n,e,r);if(i>=0){r=i;continue e}}r++}return n.resolveMarkers(0)}}function R0e(e){return null!=e&&e.length>0}function X0e(e){if(!Array.isArray(e))return e;if(0==e.length)return null;let t=X0e(e[0]);if(1==e.length)return t;let n=X0e(e.slice(1));if(!n||!t)return t||n;let r=(e,t)=>(e||D0e).concat(t||D0e),i=t.wrap,o=n.wrap;return{props:r(t.props,n.props),defineNodes:r(t.defineNodes,n.defineNodes),parseBlock:r(t.parseBlock,n.parseBlock),parseInline:r(t.parseInline,n.parseInline),remove:r(t.remove,n.remove),wrap:i?o?(e,t,n,r)=>i(o(e,t,n,r),t,n,r):i:o}}function B0e(e,t){let n=e.indexOf(t);if(n<0)throw new RangeError(`Position specified relative to unknown parser ${t}`);return n}let U0e=[FUe.none];for(let os,Set=1;os=J1e[Set];Set++)U0e[Set]=FUe.define({id:Set,name:os,props:Set>=J1e.Escape?[]:[[LUe.group,Set in i0e?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==os});const D0e=[];let I0e=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+4*r),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return HUe.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}},z0e=class{constructor(e,t,n,r=D0e){this.type=e,this.from=t,this.to=n,this.children=r}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new I0e(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}};class N0e{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return D0e}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function M0e(e,t,n,r){return new z0e(e,t,n,r)}const L0e={resolve:"Emphasis",mark:"EmphasisMark"},V0e={resolve:"Emphasis",mark:"EmphasisMark"},q0e={},F0e={};class W0e{constructor(e,t,n,r){this.type=e,this.from=t,this.to=n,this.side=r}}const Z0e="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let Y0e=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Y0e=new RegExp("[\\p{S}|\\p{P}]","u")}catch($vt){}const j0e={Escape(e,t,n){if(92!=t||n==e.end-1)return-1;let r=e.char(n+1);for(let i=0;i<32;i++)if(Z0e.charCodeAt(i)==r)return e.append(M0e(J1e.Escape,n,n+2));return-1},Entity(e,t,n){if(38!=t)return-1;let r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(M0e(J1e.Entity,n,n+1+r[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return-1;let r=n+1;for(;r<e.end&&96==e.char(r);)r++;let i=r-n,o=0;for(;r<e.end;r++)if(96==e.char(r)){if(o++,o==i&&96!=e.char(r+1))return e.append(M0e(J1e.InlineCode,n,r+1,[M0e(J1e.CodeMark,n,n+i),M0e(J1e.CodeMark,r+1-i,r+1)]))}else o=0;return-1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return-1;let r=e.slice(n+1,e.end),i=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(i)return e.append(M0e(J1e.Autolink,n,n+1+i[0].length,[M0e(J1e.LinkMark,n,n+1),M0e(J1e.URL,n+1,n+i[0].length),M0e(J1e.LinkMark,n+i[0].length,n+1+i[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(o)return e.append(M0e(J1e.Comment,n,n+1+o[0].length));let a=/^\?[^]*?\?>/.exec(r);if(a)return e.append(M0e(J1e.ProcessingInstruction,n,n+1+a[0].length));let s=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return s?e.append(M0e(J1e.HTMLTag,n,n+1+s[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return-1;let r=n+1;for(;e.char(r)==t;)r++;let i=e.slice(n-1,n),o=e.slice(r,r+1),a=Y0e.test(i),s=Y0e.test(o),l=/\s|^$/.test(i),c=/\s|^$/.test(o),u=!c&&(!s||l||a),O=!l&&(!a||c||s),d=u&&(42==t||!O||a),h=O&&(42==t||!u||s);return e.append(new W0e(95==t?L0e:V0e,n,r,(d?1:0)|(h?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(M0e(J1e.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(M0e(J1e.HardBreak,n,t+1))}return-1},Link:(e,t,n)=>91==t?e.append(new W0e(q0e,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new W0e(F0e,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return-1;for(let r=e.parts.length-1;r>=0;r--){let t=e.parts[r];if(t instanceof W0e&&(t.type==q0e||t.type==F0e)){if(!t.side||e.skipSpace(t.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[r]=null,-1;let i=e.takeContent(r),o=e.parts[r]=G0e(e,i,t.type==q0e?J1e.Link:J1e.Image,t.from,n+1);if(t.type==q0e)for(let t=0;t<r;t++){let n=e.parts[t];n instanceof W0e&&n.type==q0e&&(n.side=0)}return o.to}}return-1}};function G0e(e,t,n,r,i){let{text:o}=e,a=e.char(i),s=i;if(t.unshift(M0e(J1e.LinkMark,r,r+(n==J1e.Image?2:1))),t.push(M0e(J1e.LinkMark,i-1,i)),40==a){let n,r=e.skipSpace(i+1),a=H0e(o,r-e.offset,e.offset);a&&(r=e.skipSpace(a.to),r!=a.to&&(n=K0e(o,r-e.offset,e.offset),n&&(r=e.skipSpace(n.to)))),41==e.char(r)&&(t.push(M0e(J1e.LinkMark,i,i+1)),s=r+1,a&&t.push(a),n&&t.push(n),t.push(M0e(J1e.LinkMark,r,s)))}else if(91==a){let n=J0e(o,i-e.offset,e.offset,!1);n&&(t.push(n),s=n.to)}return M0e(n,r,s,t)}function H0e(e,t,n){if(60==e.charCodeAt(t)){for(let r=t+1;r<e.length;r++){let i=e.charCodeAt(r);if(62==i)return M0e(J1e.URL,t+n,r+1+n);if(60==i||10==i)return!1}return null}{let r=0,i=t;for(let t=!1;i<e.length;i++){let n=e.charCodeAt(i);if(o0e(n))break;if(t)t=!1;else if(40==n)r++;else if(41==n){if(!r)break;r--}else 92==n&&(t=!0)}return i>t?M0e(J1e.URL,t+n,i+n):i==e.length&&null}}function K0e(e,t,n){let r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;let i=40==r?41:r;for(let o=t+1,a=!1;o<e.length;o++){let r=e.charCodeAt(o);if(a)a=!1;else{if(r==i)return M0e(J1e.LinkTitle,t+n,o+1+n);92==r&&(a=!0)}}return null}function J0e(e,t,n,r){for(let i=!1,o=t+1,a=Math.min(e.length,o+999);o<a;o++){let a=e.charCodeAt(o);if(i)i=!1;else{if(93==a)return!r&&M0e(J1e.LinkLabel,t+n,o+1+n);if(r&&!o0e(a)&&(r=!1),91==a)return!1;92==a&&(i=!0)}}return null}class e2e{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,r,i){return this.append(new W0e(e,t,n,(r?1:0)|(i?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof W0e&&(t.type==q0e||t.type==F0e))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n<this.parts.length;n++){let t=this.parts[n];if(!(t instanceof W0e&&t.type.resolve&&2&t.side))continue;let r,i=t.type==L0e||t.type==V0e,o=t.to-t.from,a=n-1;for(;a>=e;a--){let e=this.parts[a];if(e instanceof W0e&&1&e.side&&e.type==t.type&&!(i&&(1&t.side||2&e.side)&&(e.to-e.from+o)%3==0&&((e.to-e.from)%3||o%3))){r=e;break}}if(!r)continue;let s=t.type.resolve,l=[],c=r.from,u=t.to;if(i){let e=Math.min(2,r.to-r.from,o);c=r.to-e,u=t.from+e,s=1==e?"Emphasis":"StrongEmphasis"}r.type.mark&&l.push(this.elt(r.type.mark,c,r.to));for(let e=a+1;e<n;e++)this.parts[e]instanceof z0e&&l.push(this.parts[e]),this.parts[e]=null;t.type.mark&&l.push(this.elt(t.type.mark,t.from,u));let O=this.elt(s,c,u,l);this.parts[a]=i&&r.from!=c?new W0e(r.type,r.from,c,r.side):null,(this.parts[n]=i&&t.to!=u?new W0e(t.type,u,t.to,t.side):null)?this.parts.splice(n,0,O):this.parts[n]=O}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof z0e&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof W0e&&n.type==e&&1&n.side)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}getDelimiterAt(e){let t=this.parts[e];return t instanceof W0e?t:null}skipSpace(e){return a0e(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?M0e(this.parser.getNodeType(e),t,n,r):new N0e(e,t)}}function t2e(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let i of t){for(;r<n.length&&n[r].to<i.to;)r++;if(r<n.length&&n[r].from<i.from){let e=n[r];e instanceof z0e&&(n[r]=new z0e(e.type,e.from,e.to,t2e(e.children,[i])))}else n.splice(r++,0,i)}return n}e2e.linkStart=q0e,e2e.imageStart=F0e;const n2e=[J1e.CodeBlock,J1e.ListItem,J1e.OrderedList,J1e.BulletList];class r2e{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=t;if(!n.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(LUe.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),i=e.absoluteLineStart,o=i,a=e.block.children.length,s=o,l=a;for(;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}let i=i2e(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,i);else{let n=new HUe(e.parser.nodeSet.types[J1e.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,i)}if(t.type.is("Block")&&(n2e.indexOf(t.type.id)<0?(o=t.to-n,a=e.block.children.length):(o=s,a=l),s=t.to-n,l=e.block.children.length),!t.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return o-i}}function i2e(e,t){let n=e;for(let r=1;r<t.length;r++){let i=t[r-1].to,o=t[r].from;i<e&&(n-=o-i)}return n}const o2e=DDe({"Blockquote/...":iIe.quote,HorizontalRule:iIe.contentSeparator,"ATXHeading1/... SetextHeading1/...":iIe.heading1,"ATXHeading2/... SetextHeading2/...":iIe.heading2,"ATXHeading3/...":iIe.heading3,"ATXHeading4/...":iIe.heading4,"ATXHeading5/...":iIe.heading5,"ATXHeading6/...":iIe.heading6,"Comment CommentBlock":iIe.comment,Escape:iIe.escape,Entity:iIe.character,"Emphasis/...":iIe.emphasis,"StrongEmphasis/...":iIe.strong,"Link/... Image/...":iIe.link,"OrderedList/... BulletList/...":iIe.list,"BlockQuote/...":iIe.quote,"InlineCode CodeText":iIe.monospace,"URL Autolink":iIe.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":iIe.processingInstruction,"CodeInfo LinkLabel":iIe.labelName,LinkTitle:iIe.string,Paragraph:iIe.content}),a2e=new E0e(new WUe(U0e).extend(o2e),Object.keys(Q0e).map(e=>Q0e[e]),Object.keys(Q0e).map(e=>k0e[e]),Object.keys(Q0e),P0e,i0e,Object.keys(j0e).map(e=>j0e[e]),Object.keys(j0e),[]);function s2e(e,t,n){let r=[];for(let i=e.firstChild,o=t;;i=i.nextSibling){let e=i?i.from:n;if(e>o&&r.push({from:o,to:e}),!i)break;o=i.to}return r}const l2e={resolve:"Strikethrough",mark:"StrikethroughMark"},c2e={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":iIe.strikethrough}},{name:"StrikethroughMark",style:iIe.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return-1;let r=e.slice(n-1,n),i=e.slice(n+2,n+3),o=/\s|^$/.test(r),a=/\s|^$/.test(i),s=Y0e.test(r),l=Y0e.test(i);return e.addDelimiter(l2e,n,n+2,!a&&(!l||o||s),!o&&(!s||a||l))},after:"Emphasis"}]};function u2e(e,t,n=0,r,i=0){let o=0,a=!0,s=-1,l=-1,c=!1,u=()=>{r.push(e.elt("TableCell",i+s,i+l,e.parser.parseInline(t.slice(s,l),i+s)))};for(let O=n;O<t.length;O++){let n=t.charCodeAt(O);124!=n||c?(c||32!=n&&9!=n)&&(s<0&&(s=O),l=O+1):((!a||s>-1)&&o++,a=!1,r&&(s>-1&&u(),r.push(e.elt("TableDelimiter",O+i,O+i+1))),s=l=-1),c=!c&&92==n}return s>-1&&(o++,r&&u()),o}function O2e(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&n++}return!1}const d2e=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class h2e{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let r;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&d2e.test(r=t.text.slice(t.pos))){let i=[];u2e(e,n.content,0,i,n.start)==u2e(e,r,0)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,i),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];u2e(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}const f2e={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":iIe.heading}},"TableRow",{name:"TableCell",style:iIe.content},{name:"TableDelimiter",style:iIe.processingInstruction}],parseBlock:[{name:"Table",leaf:(e,t)=>O2e(t.content,0)?new h2e:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof h2e)||!O2e(t.text,t.basePos))return!1;let r=e.peekLine();return d2e.test(r)&&u2e(e,t.text,t.basePos)==u2e(e,r,t.basePos)},before:"SetextHeading"}]};class p2e{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const A2e={defineNodes:[{name:"Task",block:!0,style:iIe.list},{name:"TaskMarker",style:iIe.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new p2e:null,after:"SetextHeading"}]},m2e=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,g2e=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,v2e=/[\w-]+\.[\w-]+($|[/:])/,y2e=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,b2e=/\/[a-zA-Z\d@.]+/gy;function w2e(e,t,n,r){let i=0;for(let o=t;o<n;o++)e[o]==r&&i++;return i}function Q2e(e,t){y2e.lastIndex=t;let n=y2e.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return"_"==r||"-"==r?-1:t+n[0].length-("."==r?1:0)}const $2e=[f2e,A2e,c2e,{parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return-1;m2e.lastIndex=r;let i=m2e.exec(e.text),o=-1;if(!i)return-1;if(i[1]||i[2]){if(o=function(e,t){g2e.lastIndex=t;let n=g2e.exec(e);if(!n||v2e.exec(n[0])[0].indexOf("_")>-1)return-1;let r=t+n[0].length;for(;;){let n,i=e[r-1];if(/[?!.,:*_~]/.test(i)||")"==i&&w2e(e,t,r,")")>w2e(e,t,r,"("))r--;else{if(";"!=i||!(n=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))break;r=t+n.index}}return r}(e.text,r+i[0].length),o>-1&&e.hasOpenLink){o=r+/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,o))[0].length}}else i[3]?o=Q2e(e.text,r):(o=Q2e(e.text,r+i[0].length),o>-1&&"xmpp:"==i[0]&&(b2e.lastIndex=o,i=b2e.exec(e.text),i&&(o=i.index+i[0].length)));return o<0?-1:(e.addElement(e.elt("URL",n,o+e.offset)),o+e.offset)}}]}];function S2e(e,t,n){return(r,i,o)=>{if(i!=e||r.char(o+1)==e)return-1;let a=[r.elt(n,o,o+1)];for(let s=o+1;s<r.end;s++){let i=r.char(s);if(i==e)return r.addElement(r.elt(t,o,s+1,a.concat(r.elt(n,s,s+1))));if(92==i&&a.push(r.elt("Escape",s,2+s++)),o0e(i))break}return-1}}const x2e={defineNodes:[{name:"Superscript",style:iIe.special(iIe.content)},{name:"SuperscriptMark",style:iIe.processingInstruction}],parseInline:[{name:"Superscript",parse:S2e(94,"Superscript","SuperscriptMark")}]},k2e={defineNodes:[{name:"Subscript",style:iIe.special(iIe.content)},{name:"SubscriptMark",style:iIe.processingInstruction}],parseInline:[{name:"Subscript",parse:S2e(126,"Subscript","SubscriptMark")}]},P2e={defineNodes:[{name:"Emoji",style:iIe.character}],parseInline:[{name:"Emoji",parse(e,t,n){let r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]},T2e=sIe({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),_2e=new LUe,C2e=a2e.configure({props:[MIe.add(e=>!e.is("Block")||e.is("Document")||null!=E2e(e)||function(e){return"OrderedList"==e.name||"BulletList"==e.name}(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),_2e.add(E2e),_Ie.add({Document:()=>null}),aIe.add({Document:T2e})]});function E2e(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function R2e(e,t){let n=e;for(;;){let e,r=n.nextSibling;if(!r||null!=(e=E2e(r.type))&&e<=t)break;n=r}return n.to}const X2e=NIe.of((e,t,n)=>{for(let r=dIe(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){let e=r.type.prop(_2e);if(null==e)continue;let t=R2e(r,e);if(t>n)return{from:n,to:t}}return null});function B2e(e){return new cIe(T2e,e,[],"markdown")}const U2e=B2e(C2e),D2e=B2e(C2e.configure([$2e,k2e,x2e,P2e,{props:[MIe.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));let I2e=class{constructor(e,t,n,r,i,o,a){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=i,this.type=o,this.item=a}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length<e;)n+=" ";return n}for(let r=this.to-this.from-n.length-this.spaceAfter.length;r>0;r--)n+=" ";return n+(t?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+N2e(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}};function z2e(e,t){let n=[],r=[];for(let i=e;i;i=i.parent){if("FencedCode"==i.name)return r;"ListItem"!=i.name&&"Blockquote"!=i.name||n.push(i)}for(let i=n.length-1;i>=0;i--){let e,o=n[i],a=t.lineAt(o.from),s=o.from-a.from;if("Blockquote"==o.name&&(e=/^ *>( ?)/.exec(a.text.slice(s))))r.push(new I2e(o,s,s+e[0].length,"",e[1],">",null));else if("ListItem"==o.name&&"OrderedList"==o.parent.name&&(e=/^( *)\d+([.)])( *)/.exec(a.text.slice(s)))){let t=e[3],n=e[0].length;t.length>=4&&(t=t.slice(0,t.length-4),n-=4),r.push(new I2e(o.parent,s,s+n,e[1],t,e[2],o))}else if("ListItem"==o.name&&"BulletList"==o.parent.name&&(e=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(a.text.slice(s)))){let t=e[4],n=e[0].length;t.length>4&&(t=t.slice(0,t.length-4),n-=4);let i=e[2];e[3]&&(i+=e[3].replace(/[xX]/," ")),r.push(new I2e(o.parent,s,s+n,e[1],t,i,o))}}return r}function N2e(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function M2e(e,t,n,r=0){for(let i=-1,o=e;;){if("ListItem"==o.name){let e=N2e(o,t),a=+e[2];if(i>=0){if(a!=i+1)return;n.push({from:o.from+e[1].length,to:o.from+e[0].length,insert:String(i+2+r)})}i=a}let e=o.nextSibling;if(!e)break;o=e}}function L2e(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||"\t"!=t.facet(SIe))return e;let r="";for(let i=p_e(e,4,n);i>0;)i>=4?(r+="\t",i-=4):(r+=" ",i--);return r+e.slice(n)}const V2e=(e={})=>({state:t,dispatch:n})=>{let r=dIe(t),{doc:i}=t,o=null,a=t.changeByRange(n=>{if(!n.empty||!D2e.isActiveAt(t,n.from,-1)&&!D2e.isActiveAt(t,n.from,1))return o={range:n};let a=n.from,s=i.lineAt(a),l=z2e(r.resolveInner(a,-1),i);for(;l.length&&l[l.length-1].from>a-s.from;)l.pop();if(!l.length)return o={range:n};let c=l[l.length-1];if(c.to-c.spaceAfter.length>a-s.from)return o={range:n};let u=a>=c.to-c.spaceAfter.length&&!/\S/.test(s.text.slice(c.to));if(c.item&&u){let n=c.node.firstChild,r=c.node.getChild("ListItem","ListItem");if(n.to>=a||r&&r.to<a||s.from>0&&!/[^\s>]/.test(i.lineAt(s.from-1).text)||!1===e.nonTightLists){let e,t=l.length>1?l[l.length-2]:null,n="";t&&t.item?(e=s.from+t.from,n=t.marker(i,1)):e=s.from+(t?t.to:0);let r=[{from:e,to:a,insert:n}];return"OrderedList"==c.node.name&&M2e(c.item,i,r,-2),t&&"OrderedList"==t.node.name&&M2e(t.item,i,r),{range:oTe.cursor(e+n.length),changes:r}}{let e=W2e(l,t,s);return{range:oTe.cursor(a+e.length+1),changes:{from:s.from,insert:e+t.lineBreak}}}}if("Blockquote"==c.node.name&&u&&s.from){let e=i.lineAt(s.from-1),r=/>\s*$/.exec(e.text);if(r&&r.index==c.from){let i=t.changes([{from:e.from+r.index,to:e.to},{from:s.from+c.from,to:s.to}]);return{range:n.map(i),changes:i}}}let O=[];"OrderedList"==c.node.name&&M2e(c.item,i,O);let d=c.item&&c.item.from<s.from,h="";if(!d||/^[\s\d.)\-+*>]*/.exec(s.text)[0].length>=c.to)for(let e=0,t=l.length-1;e<=t;e++)h+=e!=t||d?l[e].blank(e<t?p_e(s.text,4,l[e+1].from)-h.length:null):l[e].marker(i,1);let f=a;for(;f>s.from&&/\s/.test(s.text.charAt(f-s.from-1));)f--;return h=L2e(h,t),function(e,t){if("OrderedList"!=e.name&&"BulletList"!=e.name)return!1;let n=e.firstChild,r=e.getChild("ListItem","ListItem");if(!r)return!1;let i=t.lineAt(n.to),o=t.lineAt(r.from),a=/^[\s>]*$/.test(i.text);return i.number+(a?0:1)<o.number}(c.node,t.doc)&&(h=W2e(l,t,s)+t.lineBreak+h),O.push({from:f,to:a,insert:t.lineBreak+h}),{range:oTe.cursor(f+h.length+1),changes:O}});return!o&&(n(t.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)},q2e=V2e();function F2e(e){return"QuoteMark"==e.name||"ListMark"==e.name}function W2e(e,t,n){let r="";for(let i=0,o=e.length-2;i<=o;i++)r+=e[i].blank(i<o?p_e(n.text,4,e[i+1].from)-r.length:null,i<o);return L2e(r,t)}const Z2e=({state:e,dispatch:t})=>{let n=dIe(e),r=null,i=e.changeByRange(t=>{let i=t.from,{doc:o}=e;if(t.empty&&D2e.isActiveAt(e,t.from)){let t=o.lineAt(i),r=z2e(function(e,t){let n=e.resolveInner(t,-1),r=t;F2e(n)&&(r=n.from,n=n.parent);for(let i;i=n.childBefore(r);)if(F2e(i))r=i.from;else{if("OrderedList"!=i.name&&"BulletList"!=i.name)break;n=i.lastChild,r=n.to}return n}(n,i),o);if(r.length){let n=r[r.length-1],o=n.to-n.spaceAfter.length+(n.spaceAfter?1:0);if(i-t.from>o&&!/\S/.test(t.text.slice(o,i-t.from)))return{range:oTe.cursor(t.from+o),changes:{from:t.from+o,to:i}};if(i-t.from==o&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let r=t.from+n.from;if(n.item&&n.node.from<n.item.from&&/\S/.test(t.text.slice(n.from,n.to))){let i=n.blank(p_e(t.text,4,n.to)-p_e(t.text,4,n.from));return r==t.from&&(i=L2e(i,e)),{range:oTe.cursor(r+i.length),changes:{from:r,to:t.from+n.to,insert:i}}}if(r<i)return{range:oTe.cursor(r),changes:{from:r,to:i}}}}}return r={range:t}});return!r&&(t(e.update(i,{scrollIntoView:!0,userEvent:"delete"})),!0)},Y2e=[{key:"Enter",run:q2e},{key:"Backspace",run:Z2e}],j2e=DJe({matchClosingTags:!1});function G2e(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let i=dIe(t).resolveInner(n,-1);for(;i&&!i.type.isTop;){if("CodeBlock"==i.name||"FencedCode"==i.name||"ProcessingInstructionBlock"==i.name||"CommentBlock"==i.name||"Link"==i.name||"Image"==i.name)return null;i=i.parent}return{from:n-r[0].length,to:n,options:K2e(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let H2e=null;function K2e(){if(H2e)return H2e;let e=_Je(new xLe(GTe.create({extensions:j2e}),0,!0));return H2e=e?e.options:[]}const J2e=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,e5e=PXe.domEventHandlers({paste:(e,t)=>{var n;let{main:r}=t.state.selection;if(r.empty)return!1;let i=null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/plain");if(!i||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(i))return!1;if(/^www\./.test(i)&&(i="https://"+i),!D2e.isActiveAt(t.state,r.from,1))return!1;let o=dIe(t.state),a=!1;return o.iterate({from:r.from,to:r.to,enter:e=>{(e.from>r.from||J2e.test(e.name))&&(a=!0)},leave:e=>{e.to<r.to&&(a=!0)}}),!a&&(t.dispatch({changes:[{from:r.from,insert:"["},{from:r.to,insert:`](${i})`}],userEvent:"input.paste",scrollIntoView:!0}),!0)}}),t5e=Object.freeze(Object.defineProperty({__proto__:null,commonmarkLanguage:U2e,deleteMarkupBackward:Z2e,insertNewlineContinueMarkup:q2e,insertNewlineContinueMarkupCommand:V2e,markdown:function(e={}){let{codeLanguages:t,defaultCodeLanguage:n,addKeymap:r=!0,base:{parser:i}=U2e,completeHTMLTags:o=!0,pasteURLAsLink:a=!0,htmlTagLanguage:s=j2e}=e;if(!(i instanceof E0e))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let l,c=e.extensions?[e.extensions]:[],u=[s.support,X2e];a&&u.push(e5e),n instanceof wIe?(u.push(n.support),l=n.language):n&&(l=n);let O=t||l?(d=t,h=l,e=>{if(e&&d){let t=null;if(e=/\S*/.exec(e)[0],t="function"==typeof d?d(e):QIe.matchLanguageName(d,e,!0),t instanceof QIe)return t.support?t.support.language.parser:pIe.getSkippingParser(t.load());if(t)return t.parser}return h?h.parser:null}):void 0;var d,h;c.push(function(e){let{codeParser:t,htmlParser:n}=e;return{wrap:vDe((e,r)=>{let i=e.type.id;if(!t||i!=J1e.CodeBlock&&i!=J1e.FencedCode){if(n&&(i==J1e.HTMLBlock||i==J1e.HTMLTag||i==J1e.CommentBlock))return{parser:n,overlay:s2e(e.node,e.from,e.to)}}else{let n="";if(i==J1e.FencedCode){let t=e.node.getChild(J1e.CodeInfo);t&&(n=r.read(t.from,t.to))}let o=t(n);if(o)return{parser:o,overlay:e=>e.type.id==J1e.CodeText,bracketed:i==J1e.FencedCode}}return null})}}({codeParser:O,htmlParser:s.language.parser})),r&&u.push(bTe.high(UXe.of(Y2e)));let f=B2e(i.configure(c));return o&&u.push(f.data.of({autocomplete:G2e})),new wIe(f,u)},markdownKeymap:Y2e,markdownLanguage:D2e,pasteURLAsLink:e5e},Symbol.toStringTag,{value:"Module"})),n5e={abstract:4,and:5,array:6,as:7,true:8,false:8,break:9,case:10,catch:11,clone:12,const:13,continue:14,declare:16,default:15,do:17,echo:18,else:19,elseif:20,enddeclare:21,endfor:22,endforeach:23,endif:24,endswitch:25,endwhile:26,enum:27,extends:28,final:29,finally:30,fn:31,for:32,foreach:33,from:34,function:35,global:36,goto:37,if:38,implements:39,include:40,include_once:41,instanceof:42,insteadof:43,interface:44,list:45,match:46,namespace:47,new:48,null:49,or:50,print:51,readonly:52,require:53,require_once:54,return:55,switch:56,throw:57,trait:58,try:59,unset:60,use:61,var:62,public:63,private:63,protected:63,while:64,xor:65,yield:66,__proto__:null};function r5e(e){let t=n5e[e.toLowerCase()];return null==t?-1:t}function i5e(e){return 9==e||10==e||13==e||32==e}function o5e(e){return e>=97&&e<=122||e>=65&&e<=90}function a5e(e){return 95==e||e>=128||o5e(e)}function s5e(e){return e>=48&&e<=55||e>=97&&e<=102||e>=65&&e<=70}const l5e={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},c5e=new Xje(e=>{if(40==e.next){e.advance();let t=0;for(;i5e(e.peek(t));)t++;let n,r="";for(;o5e(n=e.peek(t));)r+=String.fromCharCode(n),t++;for(;i5e(e.peek(t));)t++;41==e.peek(t)&&l5e[r.toLowerCase()]&&e.acceptToken(1)}else if(60==e.next&&60==e.peek(1)&&60==e.peek(2)){for(let r=0;r<3;r++)e.advance();for(;32==e.next||9==e.next;)e.advance();let t=39==e.next;if(t&&e.advance(),!a5e(e.next))return;let n=String.fromCharCode(e.next);for(;e.advance(),a5e(e.next)||e.next>=48&&e.next<=55;)n+=String.fromCharCode(e.next);if(t){if(39!=e.next)return;e.advance()}if(10!=e.next&&13!=e.next)return;for(;;){let t=10==e.next||13==e.next;if(e.advance(),e.next<0)return;if(t){for(;32==e.next||9==e.next;)e.advance();let t=!0;for(let r=0;r<n.length;r++){if(e.next!=n.charCodeAt(r)){t=!1;break}e.advance()}if(t)return e.acceptToken(2)}}}}),u5e=new Xje(e=>{e.next<0&&e.acceptToken(278)}),O5e=new Xje((e,t)=>{63==e.next&&t.canShift(277)&&62==e.peek(1)&&e.acceptToken(277)});function d5e(e){let t=e.peek(1);if(110==t||114==t||116==t||118==t||101==t||102==t||92==t||36==t||34==t||123==t)return 2;if(t>=48&&t<=55){let t,n=2;for(;n<5&&(t=e.peek(n))>=48&&t<=55;)n++;return n}if(120==t&&s5e(e.peek(2)))return s5e(e.peek(3))?4:3;if(117==t&&123==e.peek(2))for(let n=3;;n++){let t=e.peek(n);if(125==t)return 2==n?0:n+1;if(!s5e(t))break}return 0}const h5e=new Xje((e,t)=>{let n=!1;for(;!(34==e.next||e.next<0||36==e.next&&(a5e(e.peek(1))||123==e.peek(1))||123==e.next&&36==e.peek(1));n=!0){if(92==e.next){let t=d5e(e);if(t){if(n)break;return e.acceptToken(3,t)}}else if(!n&&(91==e.next||45==e.next&&62==e.peek(1)&&a5e(e.peek(2))||63==e.next&&45==e.peek(1)&&62==e.peek(2)&&a5e(e.peek(3)))&&t.canShift(276))break;e.advance()}n&&e.acceptToken(275)}),f5e=DDe({"Visibility abstract final static":iIe.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":iIe.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":iIe.controlKeyword,"and or xor yield unset clone instanceof insteadof":iIe.operatorKeyword,"function fn class trait implements extends const enum global interface use var":iIe.definitionKeyword,"include include_once require require_once namespace":iIe.moduleKeyword,"new from echo print array list as":iIe.keyword,null:iIe.null,Boolean:iIe.bool,VariableName:iIe.variableName,"NamespaceName/...":iIe.namespace,"NamedType/...":iIe.typeName,Name:iIe.name,"CallExpression/Name":iIe.function(iIe.variableName),"LabelStatement/Name":iIe.labelName,"MemberExpression/Name":iIe.propertyName,"MemberExpression/VariableName":iIe.special(iIe.propertyName),"ScopedExpression/ClassMemberName/Name":iIe.propertyName,"ScopedExpression/ClassMemberName/VariableName":iIe.special(iIe.propertyName),"CallExpression/MemberExpression/Name":iIe.function(iIe.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":iIe.function(iIe.propertyName),"MethodDeclaration/Name":iIe.function(iIe.definition(iIe.variableName)),"FunctionDefinition/Name":iIe.function(iIe.definition(iIe.variableName)),"ClassDeclaration/Name":iIe.definition(iIe.className),UpdateOp:iIe.updateOperator,ArithOp:iIe.arithmeticOperator,"LogicOp IntersectionType/&":iIe.logicOperator,BitOp:iIe.bitwiseOperator,CompareOp:iIe.compareOperator,ControlOp:iIe.controlOperator,AssignOp:iIe.definitionOperator,"$ ConcatOp":iIe.operator,LineComment:iIe.lineComment,BlockComment:iIe.blockComment,Integer:iIe.integer,Float:iIe.float,String:iIe.string,ShellExpression:iIe.special(iIe.string),"=> ->":iIe.punctuation,"( )":iIe.paren,"#[ [ ]":iIe.squareBracket,"${ { }":iIe.brace,"-> ?->":iIe.derefOperator,", ; :: : \\":iIe.separator,"PhpOpen PhpClose":iIe.processingInstruction}),p5e={__proto__:null,static:325,STATIC:325,class:351,CLASS:351},A5e=Yje.deserialize({version:14,states:"%#[Q`OWOOQhQaOOP%oO`OOOOO#t'#Hh'#HhO%tO#|O'#DuOOO#u'#Dx'#DxQ&SOWO'#DxO&XO$VOOOOQ#u'#Dy'#DyO&lQaO'#D}O'[QdO'#EQO+QQdO'#IqO+_QdO'#ERO-RQaO'#EXO/bQ`O'#EUO/gQ`O'#E_O2UQaO'#E_O2]Q`O'#EgO2bQ`O'#EqO-RQaO'#EqO2mQpO'#FOO2rQ`O'#FOOOQS'#Iq'#IqO2wQ`O'#ExOOQS'#Ih'#IhO5SQdO'#IeO9UQeO'#F]O-RQaO'#FlO-RQaO'#FmO-RQaO'#FnO-RQaO'#FoO-RQaO'#FoO-RQaO'#FrOOQO'#Ir'#IrO9cQ`O'#FxOOQO'#Ht'#HtO9kQ`O'#HXO:VQ`O'#FsO:bQ`O'#HfO:mQ`O'#GPO:uQaO'#GQO-RQaO'#G`O-RQaO'#GcO;bOrO'#GfOOQS'#JP'#JPOOQS'#JO'#JOOOQS'#Ie'#IeO/bQ`O'#GmO/bQ`O'#GoO/bQ`O'#GtOhQaO'#GvO;iQ`O'#GwO;nQ`O'#GzO:]Q`O'#G}O;sQeO'#HOO;sQeO'#HPO;sQeO'#HQO;}Q`O'#HRO<SQ`O'#HTO<XQaO'#HUO>hQ`O'#HVO:]Q`O'#HWO>mQ`O'#HWO;}Q`O'#HXO:]Q`O'#HZO:]Q`O'#H[O:]Q`O'#H]O>rQ`O'#H`O>}Q`O'#HaO<XQaO'#HeOOQ#u'#Ic'#IcOOQ#u'#Hj'#HjQhQaOOO:]Q`O'#HYO:QQ`O'#HYO?]O#|O'#DsPOOO)CDT)CD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>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_T$x{$|Q(q%QQ(v%TQ(y%VR2b1WQ%c!]Q(u%SQ,d(tQ/W,cQ/Y,eQ1Q/XR2_1RQ%q!fR)m%rR/p-O",nodeNames:"⚠ ( HeredocString EscapeSequence abstract LogicOp array as Boolean break case catch clone const continue default declare do echo else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print readonly require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> Name VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp IntersectionType OptionalType NamedType QualifiedName \\ NamespaceName Name NamespaceName Name ScopedExpression :: ClassMemberName DynamicMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter PropertyHooks PropertyHook UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:318,nodeProps:[["group",-36,2,8,49,82,84,86,89,94,95,103,107,108,112,113,116,120,126,132,137,139,140,154,155,156,157,160,161,173,174,188,190,191,192,193,194,200,"Expression",-28,75,79,81,83,201,203,208,210,211,214,217,218,219,220,221,223,224,225,226,227,228,229,230,231,234,235,239,240,"Statement",-4,121,123,124,125,"Type"],["isolate",-4,67,68,71,200,""],["openedBy",70,"phpOpen",77,"{",87,"(",102,"#["],["closedBy",72,"phpClose",78,"}",88,")",165,"]"]],propSources:[f5e],skippedNodes:[0],repeatNodeCount:32,tokenData:"!GQ_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9Y!e!}!7z!}#O!;b#O#P!<O#P#Q!<l#Q#R!=Y#R#S!7z#S#T!=y#T#U!7z#U#V!9Y#V#o!7z#o#p!Cs#p#q!Da#q#r!Ev#r#s!Fd#s$f$z$f$g&^$g&j!7z&j$I_$z$I_$I`&^$I`$KW$z$KW$KX&^$KX;'S$z;'S;=`&W<%l?HT$z?HT?HU&^?HUO$zP%PV'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zP%kO'TPP%nWOY$zYZ%fZ!a$z!b;'S$z;'S;=`&W<%l~$z~O$z~~%fP&ZP;=`<%l$z_&ed'TP'S^OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^q!^$z!^!_%k!_$f$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S;=`!Cm<%lO!=yR!>vV'TPO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s<%lO!?]Q!?`VO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s<%lO!?]Q!?xRO;'S!?];'S;=`!@R;=`O!?]Q!@UWO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s;=`<%l!?]<%lO!?]Q!@sO%UQQ!@vP;=`<%l!?]R!@|]OY!=yYZ!>qZ!a!=y!a!b!?]!b#O!=y#O#P!Au#P#S!=y#S#T!CP#T;'S!=y;'S;=`!Cm<%l~!=y~O!=y~~%fR!AzW'TPOY!=yYZ!>qZ!^!=y!^!_!@y!_;'S!=y;'S;=`!Bd;=`<%l!?]<%lO!=yR!BgWO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s;=`<%l!=y<%lO!?]R!CWV%UQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!CpP;=`<%l!=y_!CzV!p^'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!DjY$UQ#n['TPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EY#q;'S$z;'S;=`&W<%lO$zR!EaV$SQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!E}V!oQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FkV$eQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[c5e,h5e,O5e,0,1,2,3,u5e],topRules:{Template:[0,73],Program:[1,241]},dynamicPrecedences:{298:1},specialized:[{term:284,get:(e,t)=>r5e(e)<<1,external:r5e},{term:284,get:e=>p5e[e]||-1}],tokenPrec:29889}),m5e=OIe.define({name:"php",parser:A5e.configure({props:[_Ie.add({IfStatement:zIe({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:zIe({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},ColonBlock:e=>e.baseIndent+e.unit,"Block EnumBody DeclarationList":UIe({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"String BlockComment":()=>null,Statement:zIe({except:/^({|end(for|foreach|switch|while)\b)/})}),MIe.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":LIe,ColonBlock:e=>({from:e.from+1,to:e.to}),BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});const g5e=Object.freeze(Object.defineProperty({__proto__:null,php:function(e={}){let t,n=[];if(null===e.baseLanguage);else if(e.baseLanguage)t=e.baseLanguage;else{let e=DJe({matchClosingTags:!1});n.push(e.support),t=e.language}return new wIe(m5e.configure({wrap:t&&vDe(e=>e.type.isTop?{parser:t.parser,overlay:e=>"Text"==e.name}:null),top:e.plain?"Program":"Template"}),n)},phpLanguage:m5e},Symbol.toStringTag,{value:"Module"})),v5e=10,y5e=new Set([25,49,50,263,65,130,56,57,238,62,63,72,73,77,60,61,151,152,155,112]);function b5e(e){return e==v5e||13==e}function w5e(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}const Q5e=new Xje((e,t)=>{let n;if(e.next<0)e.acceptToken(199);else if(t.context.flags&S5e)b5e(e.next)&&e.acceptToken(198,1);else if(((n=e.peek(-1))<0||b5e(n))&&t.canShift(197)){let t=0;for(;32==e.next||9==e.next;)e.advance(),t++;e.next!=v5e&&13!=e.next&&35!=e.next||e.acceptToken(197,-t)}else b5e(e.next)&&e.acceptToken(196,1)},{contextual:!0}),$5e=new Xje((e,t)=>{let n=t.context;if(n.flags)return;let r=e.peek(-1);if(r==v5e||13==r){let t=0,r=0;for(;;){if(32==e.next)t++;else{if(9!=e.next)break;t+=8-t%8}e.advance(),r++}t!=n.indent&&e.next!=v5e&&13!=e.next&&35!=e.next&&(t<n.indent?e.acceptToken(195,-r):e.acceptToken(194))}}),S5e=1,x5e=4,k5e=8,P5e=16,T5e=32;function _5e(e,t,n){this.parent=e,this.indent=t,this.flags=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n+(n<<6)}const C5e=new _5e(null,0,0);const E5e=new Map([[241,0],[242,x5e],[243,k5e],[244,k5e|x5e],[245,P5e],[246,P5e|x5e],[247,P5e|k5e],[248,P5e|k5e|x5e],[249,T5e],[250,T5e|x5e],[251,T5e|k5e],[252,T5e|k5e|x5e],[253,T5e|P5e],[254,T5e|P5e|x5e],[255,T5e|P5e|k5e],[256,T5e|P5e|k5e|x5e]].map(([e,t])=>[e,2|t])),R5e=new Zje({start:C5e,reduce:(e,t,n,r)=>e.flags&S5e&&y5e.has(t)||(71==t||72==t)&&2&e.flags?e.parent:e,shift:(e,t,n,r)=>194==t?new _5e(e,function(e){let t=0;for(let n=0;n<e.length;n++)t+=9==e.charCodeAt(n)?8-t%8:1;return t}(r.read(r.pos,n.pos)),0):195==t?e.parent:24==t||55==t||59==t||3==t?new _5e(e,0,S5e):E5e.has(t)?new _5e(e,0,E5e.get(t)|e.flags&S5e):e,hash:e=>e.hash}),X5e=new Xje(e=>{for(let t=0;t<5;t++){if(e.next!="print".charCodeAt(t))return;e.advance()}if(!/\w/.test(String.fromCharCode(e.next)))for(let t=0;;t++){let n=e.peek(t);if(32!=n&&9!=n)return void(40!=n&&46!=n&&n!=v5e&&13!=n&&35!=n&&e.acceptToken(1))}}),B5e=new Xje((e,t)=>{let{flags:n}=t.context,r=n&x5e?34:39,i=(n&k5e)>0,o=!(n&P5e),a=(n&T5e)>0,s=e.pos;for(;!(e.next<0);)if(a&&123==e.next){if(123!=e.peek(1)){if(e.pos==s)return void e.acceptToken(3,1);break}e.advance(2)}else{if(o&&92==e.next){if(e.pos==s){e.advance();let t=e.next;return t>=0&&(e.advance(),U5e(e,t)),void e.acceptToken(2)}break}if(92==e.next&&!o&&e.peek(1)>-1)e.advance(2);else{if(e.next==r&&(!i||e.peek(1)==r&&e.peek(2)==r)){if(e.pos==s)return void e.acceptToken(201,i?3:1);break}if(e.next==v5e){if(i)e.advance();else if(e.pos==s)return void e.acceptToken(201);break}e.advance()}}e.pos>s&&e.acceptToken(200)});function U5e(e,t){if(111==t)for(let n=0;n<2&&e.next>=48&&e.next<=55;n++)e.advance();else if(120==t)for(let n=0;n<2&&w5e(e.next);n++)e.advance();else if(117==t)for(let n=0;n<4&&w5e(e.next);n++)e.advance();else if(85==t)for(let n=0;n<8&&w5e(e.next);n++)e.advance();else if(78==t&&123==e.next){for(e.advance();e.next>=0&&125!=e.next&&39!=e.next&&34!=e.next&&e.next!=v5e;)e.advance();125==e.next&&e.advance()}}const D5e=DDe({'async "*" "**" FormatConversion FormatSpec':iIe.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":iIe.controlKeyword,"in not and or is del":iIe.operatorKeyword,"from def class global nonlocal lambda":iIe.definitionKeyword,import:iIe.moduleKeyword,"with as print":iIe.keyword,Boolean:iIe.bool,None:iIe.null,VariableName:iIe.variableName,"CallExpression/VariableName":iIe.function(iIe.variableName),"FunctionDefinition/VariableName":iIe.function(iIe.definition(iIe.variableName)),"ClassDefinition/VariableName":iIe.definition(iIe.className),PropertyName:iIe.propertyName,"CallExpression/MemberExpression/PropertyName":iIe.function(iIe.propertyName),Comment:iIe.lineComment,Number:iIe.number,String:iIe.string,FormatString:iIe.special(iIe.string),Escape:iIe.escape,UpdateOp:iIe.updateOperator,"ArithOp!":iIe.arithmeticOperator,BitOp:iIe.bitwiseOperator,CompareOp:iIe.compareOperator,AssignOp:iIe.definitionOperator,Ellipsis:iIe.punctuation,At:iIe.meta,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace,".":iIe.derefOperator,", ;":iIe.separator}),I5e={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},z5e=Yje.deserialize({version:14,states:"##jQ`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQdO'#EfO3zQtO'#EfO1XQdO'#EiO0rQdO'#ElO1XQdO'#EnO0rQdO'#EtO0rQdO'#EwO4VQdO'#EyO4^QdO'#FOO4iQdO'#EzO0rQdO'#FOO1XQdO'#FQO1XQdO'#FVO4nQdO'#F[P4uOdO'#GpPOOO)CBd)CBdOOQS'#Ce'#CeOOQS'#Cf'#CfOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Cl'#ClO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO5TQdO'#DoOOQS,5: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QQ)o'PR+{)pQ$XzQ)W&qR+i)XQ$XzQ&o$WQ)W&qR+i)XQ#khW$Vz$W&q)XQ$[{Q&r$ZZ)R&l)S+f+g-RR$^|R)c&wXlOn)t,PQ$f!RR'Q$gQ$m!UR'R$hR*X'_Q*V'_V-g,`-h.TQ.d-lQ/P.^R/Q._U.]-l.^._Q/U.aQ/b.tQ/g.zU/i.|/j/yQ/n/RQ/|/oQ0O/tU0Q/u0S0[Q0]0UQ0a0ZR0b0^R/T.`R/d.t",nodeNames:"⚠ print Escape { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:277,context:R5e,nodeProps:[["isolate",-5,4,71,72,73,77,""],["group",-15,6,85,87,88,90,92,94,96,98,99,100,102,105,108,110,"Statement Statement",-22,8,18,21,25,40,49,50,56,57,60,61,62,63,64,67,70,71,72,79,80,81,82,"Expression",-10,114,116,119,121,122,126,128,133,135,138,"Statement",-9,143,144,147,148,150,151,152,153,154,"Pattern"],["openedBy",23,"(",54,"[",58,"{"],["closedBy",24,")",55,"]",59,"}"]],propSources:[D5e],skippedNodes:[0,4],repeatNodeCount:34,tokenData:"!2|~R!`OX%TXY%oY[%T[]%o]p%Tpq%oqr'ars)Yst*xtu%Tuv,dvw-hwx.Uxy/tyz0[z{0r{|2S|}2p}!O3W!O!P4_!P!Q:Z!Q!R;k!R![>_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i#j!.t#j#oJU#o#p!1n#p#q!1s#q#r!2a#r#s!2f#s$g%T$g;'SJU;'S;=`KW<%lOJU`%YT&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T`%lP;=`<%l%To%v]&n`%c_OX%TXY%oY[%T[]%o]p%Tpq%oq#O%T#O#P&o#P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To&tX&n`OY%TYZ%oZ]%T]^%o^#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc'f[&n`O!_%T!_!`([!`#T%T#T#U(r#U#f%T#f#g(r#g#h(r#h#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(cTmR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(yT!mR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk)aV&n`&[ZOr%Trs)vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk){V&n`Or%Trs*bs#o%T#p#q%T#r;'S%T;'S;=`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%T#r;'S%T;'S;=`%i<%lO%Tk!*aV&n`Or%Trs!*vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*}T&n`&jZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!+eV&n`&gZOw%Twx!+zx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,PV&n`Ow%Twx!,fx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,mT&n`&iZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!-Vi&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!dJU!d!eLx!e!hJU!h!i!(`!i!}JU!}#R%T#R#SJU#S#T%T#T#UJU#U#VLx#V#YJU#Y#Z!(`#Z#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUo!.}a&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[X5e,$5e,Q5e,B5e,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:e=>I5e[e]||-1}],tokenPrec:7668}),N5e=new pDe,M5e=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function L5e(e){return(t,n,r)=>{if(r)return!1;let i=t.node.getChild("VariableName");return i&&n(i,e),!0}}const V5e={FunctionDefinition:L5e("function"),ClassDefinition:L5e("class"),ForStatement(e,t,n){if(n)for(let r=e.node.firstChild;r;r=r.nextSibling)if("VariableName"==r.name)t(r,"variable");else if("in"==r.name)break},ImportStatement(e,t){var n,r;let{node:i}=e,o="from"==(null===(n=i.firstChild)||void 0===n?void 0:n.name);for(let a=i.getChild("import");a;a=a.nextSibling)"VariableName"==a.name&&"as"!=(null===(r=a.nextSibling)||void 0===r?void 0:r.name)&&t(a,o?"variable":"namespace")},AssignStatement(e,t){for(let n=e.node.firstChild;n;n=n.nextSibling)if("VariableName"==n.name)t(n,"variable");else if(":"==n.name||"AssignOp"==n.name)break},ParamList(e,t){for(let n=null,r=e.node.firstChild;r;r=r.nextSibling)"VariableName"!=r.name||n&&/\*|AssignOp/.test(n.name)||t(r,"variable"),n=r},CapturePattern:L5e("variable"),AsPattern:L5e("variable"),__proto__:null};function q5e(e,t){let n=N5e.get(t);if(n)return n;let r=[],i=!0;function o(t,n){let i=e.sliceString(t.from,t.to);r.push({label:i,type:n})}return t.cursor(jUe.IncludeAnonymous).iterate(t=>{if(t.name){let e=V5e[t.name];if(e&&e(t,o,i)||!i&&M5e.has(t.name))return!1;i=!1}else if(t.to-t.from>8192){for(let n of q5e(e,t.node))r.push(n);return!1}}),N5e.set(t,r),r}const F5e=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,W5e=["String","FormatString","Comment","PropertyName"];function Z5e(e){let t=dIe(e.state).resolveInner(e.pos,-1);if(W5e.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&F5e.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let i=t;i;i=i.parent)M5e.has(i.name)&&(r=r.concat(q5e(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:F5e}}const Y5e=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(e=>({label:e,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(e=>({label:e,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(e=>({label:e,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(e=>({label:e,type:"function"}))),j5e=[_Ve("def ${name}(${params}):\n\t${}",{label:"def",detail:"function",type:"keyword"}),_Ve("for ${name} in ${collection}:\n\t${}",{label:"for",detail:"loop",type:"keyword"}),_Ve("while ${}:\n\t${}",{label:"while",detail:"loop",type:"keyword"}),_Ve("try:\n\t${}\nexcept ${error}:\n\t${}",{label:"try",detail:"/ except block",type:"keyword"}),_Ve("if ${}:\n\t\n",{label:"if",detail:"block",type:"keyword"}),_Ve("if ${}:\n\t${}\nelse:\n\t${}",{label:"if",detail:"/ else block",type:"keyword"}),_Ve("class ${name}:\n\tdef __init__(self, ${params}):\n\t\t\t${}",{label:"class",detail:"definition",type:"keyword"}),_Ve("import ${module}",{label:"import",detail:"statement",type:"keyword"}),_Ve("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],G5e=TLe(W5e,PLe(Y5e.concat(j5e)));function H5e(e){let{node:t,pos:n}=e,r=e.lineIndent(n,-1),i=null;for(;;){let o=t.childBefore(n);if(!o)break;if("Comment"==o.name)n=o.from;else if("Body"==o.name||"MatchBody"==o.name)e.baseIndentFor(o)+e.unit<=r&&(i=o),t=o;else if("MatchClause"==o.name)t=o;else{if(!o.type.is("Statement"))break;t=o}}return i}function K5e(e,t){let n=e.baseIndentFor(t),r=e.lineAt(e.pos,-1),i=r.from+r.text.length;return/^\s*($|#)/.test(r.text)&&e.node.to<i+100&&!/\S/.test(e.state.sliceDoc(i,e.node.to))&&e.lineIndent(e.pos,-1)<=n||/^\s*(else:|elif |except |finally:|case\s+[^=:]+:)/.test(e.textAfter)&&e.lineIndent(e.pos,-1)>n?null:n+e.unit}const J5e=OIe.define({name:"python",parser:z5e.configure({props:[_Ie.add({Body:e=>{var t;return null!==(t=K5e(e,/^\s*(#|$)/.test(e.textAfter)&&H5e(e)||e.node))&&void 0!==t?t:e.continue()},MatchBody:e=>{var t;return null!==(t=K5e(e,H5e(e)||e.node))&&void 0!==t?t:e.continue()},IfStatement:e=>/^\s*(else:|elif )/.test(e.textAfter)?e.baseIndent:e.continue(),"ForStatement WhileStatement":e=>/^\s*else:/.test(e.textAfter)?e.baseIndent:e.continue(),TryStatement:e=>/^\s*(except[ :]|finally:|else:)/.test(e.textAfter)?e.baseIndent:e.continue(),MatchStatement:e=>/^\s*case /.test(e.textAfter)?e.baseIndent+e.unit:e.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":UIe({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":UIe({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":UIe({closing:"]"}),MemberExpression:e=>e.baseIndent+e.unit,"String FormatString":()=>null,Script:e=>{var t;let n=H5e(e);return null!==(t=n&&K5e(e,n))&&void 0!==t?t:e.continue()}}),MIe.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":LIe,Body:(e,t)=>({from:e.from+1,to:e.to-(e.to==t.doc.length?0:1)}),"String FormatString":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:|case\s+[^:]*:?)$/}});const e4e=Object.freeze(Object.defineProperty({__proto__:null,globalCompletion:G5e,localCompletionSource:Z5e,python:function(){return new wIe(J5e,[J5e.data.of({autocomplete:Z5e}),J5e.data.of({autocomplete:G5e})])},pythonLanguage:J5e},Symbol.toStringTag,{value:"Module"}));function t4e(e){return e>=48&&e<=57}function n4e(e){return t4e(e)||95==e}const r4e=new Xje((e,t)=>{if(t4e(e.next)){let t=!1;do{e.advance()}while(n4e(e.next));if(46==e.next)if(t=!0,e.advance(),t4e(e.next))do{e.advance()}while(n4e(e.next));else if(46==e.next||e.next>127||/\w/.test(String.fromCharCode(e.next)))return;if(101==e.next||69==e.next){if(t=!0,e.advance(),43!=e.next&&45!=e.next||e.advance(),!n4e(e.next))return;do{e.advance()}while(n4e(e.next))}if(102==e.next){let n=e.peek(1);if(!(51==n&&50==e.peek(2)||54==n&&52==e.peek(2)))return;e.advance(3),t=!0}t&&e.acceptToken(5)}else if(98==e.next||114==e.next){if(98==e.next&&e.advance(),114!=e.next)return;e.advance();let t=0;for(;35==e.next;)t++,e.advance();if(34!=e.next)return;e.advance();e:for(;;){if(e.next<0)return;let n=34==e.next;if(e.advance(),n){for(let n=0;n<t;n++){if(35!=e.next)continue e;e.advance()}return void e.acceptToken(4)}}}}),i4e=new Xje(e=>{124==e.next&&e.acceptToken(1,1)}),o4e=new Xje(e=>{60==e.next?e.acceptToken(2,1):62==e.next&&e.acceptToken(3,1)}),a4e=DDe({"const macro_rules struct union enum type fn impl trait let static":iIe.definitionKeyword,"mod use crate":iIe.moduleKeyword,"pub unsafe async mut extern default move":iIe.modifier,"for if else loop while match continue break return await":iIe.controlKeyword,"as in ref":iIe.operatorKeyword,"where _ crate super dyn":iIe.keyword,self:iIe.self,String:iIe.string,Char:iIe.character,RawString:iIe.special(iIe.string),Boolean:iIe.bool,Identifier:iIe.variableName,"CallExpression/Identifier":iIe.function(iIe.variableName),BoundIdentifier:iIe.definition(iIe.variableName),"FunctionItem/BoundIdentifier":iIe.function(iIe.definition(iIe.variableName)),LoopLabel:iIe.labelName,FieldIdentifier:iIe.propertyName,"CallExpression/FieldExpression/FieldIdentifier":iIe.function(iIe.propertyName),Lifetime:iIe.special(iIe.variableName),ScopeIdentifier:iIe.namespace,TypeIdentifier:iIe.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":iIe.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":iIe.macroName,'"!"':iIe.macroName,UpdateOp:iIe.updateOperator,LineComment:iIe.lineComment,BlockComment:iIe.blockComment,Integer:iIe.integer,Float:iIe.float,ArithOp:iIe.arithmeticOperator,LogicOp:iIe.logicOperator,BitOp:iIe.bitwiseOperator,CompareOp:iIe.compareOperator,"=":iIe.definitionOperator,".. ... => ->":iIe.punctuation,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace,". DerefOp":iIe.derefOperator,"&":iIe.operator,", ; ::":iIe.separator,"Attribute/...":iIe.meta}),s4e={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320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i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[a4e],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`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R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[i4e,o4e,r4e,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:e=>s4e[e]||-1}],tokenPrec:15596}),c4e=OIe.define({name:"rust",parser:l4e.configure({props:[_Ie.add({IfExpression:zIe({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:e=>e.continue(),"Statement MatchArm":zIe()}),MIe.add(e=>/(Block|edTokens|List)$/.test(e.name)?LIe:"BlockComment"==e.name?e=>({from:e.from+2,to:e.to-2}):void 0)]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});const u4e=Object.freeze(Object.defineProperty({__proto__:null,rust:function(){return new wIe(c4e)},rustLanguage:c4e},Symbol.toStringTag,{value:"Module"})),O4e=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],d4e=10;function h4e(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function f4e(e){return e>=48&&e<=57}function p4e(e){let t;return 47==e.next&&(47==(t=e.peek(1))||42==t)}const A4e=new Xje((e,t)=>{if(t.dialectEnabled(0)){let n;if(e.next<0&&t.canShift(176))e.acceptToken(176);else if(((n=e.peek(-1))==d4e||n<0)&&t.canShift(175)){let t=0;for(;e.next!=d4e&&O4e.includes(e.next);)e.advance(),t++;e.next==d4e||p4e(e)?e.acceptToken(175,-t):t&&e.acceptToken(177)}else if(e.next==d4e)e.acceptToken(174,1);else if(O4e.includes(e.next)){for(e.advance();e.next!=d4e&&O4e.includes(e.next);)e.advance();e.acceptToken(177)}}else{let t=0;for(;O4e.includes(e.next);)e.advance(),t++;t&&e.acceptToken(177)}},{contextual:!0}),m4e=new Xje((e,t)=>{if(p4e(e)){if(e.advance(),t.dialectEnabled(0)){let t=-1;for(let n=1;;n++){let r=e.peek(-n-1);if(r==d4e||r<0){t=n+1;break}if(!O4e.includes(r))break}if(t>-1){let n=42==e.next,r=0;for(e.advance();e.next>=0;)if(e.next==d4e){e.advance();let n=0;for(;e.next!=d4e&&O4e.includes(e.next);)n++,e.advance();if(n<t){r=-n-1;break}}else{if(n&&42==e.next&&47==e.peek(1)){r=2;break}e.advance()}return void e.acceptToken(n?7:6,r)}}if(47==e.next){for(;e.next!=d4e&&e.next>=0;)e.advance();e.acceptToken(6)}else{for(e.advance();e.next>=0;){let{next:t}=e;if(e.advance(),42==t&&47==e.next){e.advance();break}}e.acceptToken(7)}}}),g4e=new Xje((e,t)=>{43!=e.next&&61!=e.next||!t.dialectEnabled(0)||e.acceptToken(61==e.next?8:9,1)}),v4e=new Xje((e,t)=>{if(!t.dialectEnabled(0))return;let n=t.context.depth;if(e.next<0&&n)e.acceptToken(169);else if(e.peek(-1)==d4e){let t=0;for(;e.next!=d4e&&O4e.includes(e.next);)e.advance(),t++;t==n||e.next==d4e||p4e(e)||(t<n?e.acceptToken(169,-t):e.acceptToken(168))}}),y4e=new Xje((e,t)=>{for(let n=!1,r=0,i=0;;i++){let{next:o}=e;if(!(h4e(o)||45==o||95==o||n&&f4e(o))){if(35==o&&123==e.peek(1)){e.acceptToken(5,2);break}n&&e.acceptToken(2==r&&t.canShift(4)?4:t.canShift(173)?173:40==o?171:172);break}!n&&(45!=o||i>0)&&(n=!0),r===i&&45==o&&r++,e.advance()}}),b4e=new Xje(e=>{if(125==e.next){for(e.advance();h4e(e.next)||45==e.next||95==e.next||f4e(e.next);)e.advance();35==e.next&&123==e.peek(1)?e.acceptToken(2,2):e.acceptToken(1)}}),w4e=new Xje(e=>{if(O4e.includes(e.peek(-1))){let{next:t}=e;(h4e(t)||95==t||35==t||46==t||91==t||58==t&&h4e(e.peek(1))||45==t||38==t||42==t)&&e.acceptToken(170)}}),Q4e=new Xje(e=>{if(!O4e.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(3)),h4e(t)){do{e.advance()}while(h4e(e.next)||f4e(e.next));e.acceptToken(3)}}});function $4e(e,t){this.parent=e,this.depth=t,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)}const S4e=new Zje({start:new $4e(null,0),shift:(e,t,n,r)=>168==t?new $4e(e,n.pos-r.pos):169==t?e.parent:e,hash:e=>e.hash}),x4e=DDe({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":iIe.definitionKeyword,"Keyword selector":iIe.keyword,ControlKeyword:iIe.controlKeyword,NamespaceName:iIe.namespace,KeyframeName:iIe.labelName,KeyframeRangeName:iIe.operatorKeyword,TagName:iIe.tagName,"ClassName Suffix":iIe.className,PseudoClassName:iIe.constant(iIe.className),IdName:iIe.labelName,"FeatureName PropertyName":iIe.propertyName,AttributeName:iIe.attributeName,NumberLiteral:iIe.number,KeywordQuery:iIe.keyword,UnaryQueryOp:iIe.operatorKeyword,"CallTag ValueName":iIe.atom,VariableName:iIe.variableName,SassVariableName:iIe.special(iIe.variableName),Callee:iIe.operatorKeyword,Unit:iIe.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":iIe.definitionOperator,MatchOp:iIe.compareOperator,"ChildOp SiblingOp, LogicOp":iIe.logicOperator,BinOp:iIe.arithmeticOperator,"Important Global Default":iIe.modifier,Comment:iIe.blockComment,LineComment:iIe.lineComment,ColorLiteral:iIe.color,"ParenthesizedContent StringLiteral":iIe.string,"InterpolationStart InterpolationContinue InterpolationEnd":iIe.meta,': "..."':iIe.punctuation,"PseudoOp #":iIe.derefOperator,"; ,":iIe.separator,"( )":iIe.paren,"[ ]":iIe.squareBracket,"{ }":iIe.brace}),k4e={__proto__:null,not:62,using:197,as:207,with:211,without:211,hide:225,show:225,if:263,from:269,to:271,through:273,in:279},P4e={__proto__:null,url:82,"url-prefix":82,domain:82,regexp:82,lang:104,"nth-child":104,"nth-last-child":104,"nth-of-type":104,"nth-last-of-type":104,dir:104,"host-context":104},T4e={__proto__:null,"@import":162,"@include":194,"@mixin":200,"@function":200,"@use":204,"@extend":214,"@at-root":218,"@forward":222,"@media":228,"@charset":232,"@namespace":236,"@keyframes":242,"@supports":254,"@if":258,"@else":260,"@for":266,"@each":276,"@while":282,"@debug":286,"@warn":286,"@error":286,"@return":286},_4e={__proto__:null,layer:166,not:184,only:184,selector:190},C4e=Yje.deserialize({version:14,states:"!$WQ`Q+tOOO#fQ+tOOP#mOpOOOOQ#U'#Ch'#ChO#rQ(pO'#CjOOQ#U'#Ci'#CiO%_Q)QO'#GXO%rQ.jO'#CnO&mQ#dO'#D]O'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#x!TQ$e!tQ%l#sQ%m#tQ%n#ul%u$O$a%v&Q&j'S'V'^'t(U(Y(^(w)UQ&S$cS&W$e&YQ&g$wQ&{%_Q'O%bQ'X%{Q'f&XQ(`'bQ(h'qQ(t(QR(u(SR%x$OR&R$aR&P$`QzPQ$^!fR%}$_X#ly#j#m%eQ#VhQ#_mQ$h!uR&^$iW#Rhm!u$iQ#^lQ$|#QQ%S#SQ&m%PQ&n%QQ'p&dR(f'oQ%O#QQ'v&kR)R(nQ#apQ$k!vQ$n!xQ$q!zQ$v#OQ%V#WQ%W#YQ%]#_Q%d#hQ&]$hQ&f$uQ&q%XQ'k&^Q'l&_S'm&`&bQ(k'sQ(}(eR)Q(jR&h$wR#ft",nodeNames:"⚠ InterpolationEnd InterpolationContinue Unit VariableName InterpolationStart LineComment Comment IndentedMixin IndentedInclude StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector SuffixedSelector Suffix Interpolation SassVariableName ValueName ) ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp LogicOp UnaryExpression LogicOp NamespacedValue . CallExpression Callee ArgList : ... , CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName ClassSelector ClassName PseudoClassSelector :: PseudoClassName PseudoClassName ArgList PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp PlaceholderSelector ClassName Block { Declaration PropertyName Map Important Global Default ; } ImportStatement AtKeyword import Layer layer LayerName KeywordQuery FeatureQuery FeatureName BinaryQuery ComparisonQuery CompareOp UnaryQuery LogicOp ParenthesizedQuery SelectorQuery selector IncludeStatement include Keyword MixinStatement mixin UseStatement use Keyword Star Keyword ExtendStatement extend RootStatement at-root ForwardStatement forward Keyword MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports IfStatement ControlKeyword ControlKeyword Keyword ForStatement ControlKeyword Keyword Keyword Keyword EachStatement ControlKeyword Keyword WhileStatement ControlKeyword OutputStatement ControlKeyword AtRule Styles",maxTerm:196,context:S4e,nodeProps:[["openedBy",1,"InterpolationStart",5,"InterpolationEnd",21,"(",43,"[",78,"{"],["isolate",-3,6,7,26,""],["closedBy",22,")",44,"]",70,"}"]],propSources:[x4e],skippedNodes:[0,6,7,146],repeatNodeCount:21,tokenData:"!$Q~RyOq#rqr$jrs0jst2^tu8{uv;hvw;{wx<^xy={yz>^z{>c{|>||}Co}!ODQ!O!PDo!P!QFY!Q![Fk![!]Gf!]!^Hb!^!_Hs!_!`Is!`!aJ^!a!b#r!b!cKa!c!}#r!}#OMn#O#P#r#P#QNP#Q#RNb#R#T#r#T#UNw#U#c#r#c#d!!Y#d#o#r#o#p!!o#p#qNb#q#r!#Q#r#s!#c#s;'S#r;'S;=`!#z<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSzWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSzWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UzWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUzWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UzWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUzWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UzWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUzWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!nQzWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UzWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUzWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*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RZMsS|ROy$Rz;'S$R;'S;=`$d<%lO$R_NUS{VOy$Rz;'S$R;'S;=`$d<%lO$R[NeUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RkNzUOy$Rz#b$R#b#c! ^#c;'S$R;'S;=`$d<%lO$Rk! cUzWOy$Rz#W$R#W#X! u#X;'S$R;'S;=`$d<%lO$Rk! |SmczWOy$Rz;'S$R;'S;=`$d<%lO$Rk!!]UOy$Rz#f$R#f#g! u#g;'S$R;'S;=`$d<%lO$RZ!!tS!hROy$Rz;'S$R;'S;=`$d<%lO$RZ!#VS!pROy$Rz;'S$R;'S;=`$d<%lO$R]!#hU!dPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!#}P;=`<%l#r",tokenizers:[v4e,w4e,b4e,Q4e,y4e,A4e,m4e,g4e,0,1,2,3,4],topRules:{StyleSheet:[0,10],Styles:[1,145]},dialects:{indented:0},specialized:[{term:172,get:e=>k4e[e]||-1},{term:171,get:e=>P4e[e]||-1},{term:80,get:e=>T4e[e]||-1},{term:173,get:e=>_4e[e]||-1}],tokenPrec:3217}),E4e=OIe.define({name:"sass",parser:C4e.configure({props:[MIe.add({Block:LIe,Comment:(e,t)=>({from:e.from+2,to:"*/"==t.sliceDoc(e.to-2,e.to)?e.to-2:e.to})}),_Ie.add({Declaration:zIe()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),R4e=E4e.configure({dialect:"indented",props:[_Ie.add({"Block RuleSet":e=>e.baseIndent+e.unit}),MIe.add({Block:e=>({from:e.from,to:e.to})})]}),X4e=THe(e=>"VariableName"==e.name||"SassVariableName"==e.name);const B4e=Object.freeze(Object.defineProperty({__proto__:null,sass:function(e){return new wIe((null==e?void 0:e.indented)?R4e:E4e,E4e.data.of({autocomplete:X4e}))},sassCompletionSource:X4e,sassLanguage:E4e},Symbol.toStringTag,{value:"Module"})),U4e={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},D4e=Yje.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:e=>U4e[e]||-1}],tokenPrec:0}),I4e=OIe.define({name:"wast",parser:D4e.configure({props:[_Ie.add({App:UIe({closing:")",align:!1})}),MIe.add({App:LIe,BlockComment:e=>({from:e.from+2,to:e.to-2})}),DDe({Keyword:iIe.keyword,Type:iIe.typeName,Number:iIe.number,String:iIe.string,Identifier:iIe.variableName,LineComment:iIe.lineComment,BlockComment:iIe.blockComment,"( )":iIe.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});const z4e=Object.freeze(Object.defineProperty({__proto__:null,wast:function(){return new wIe(I4e)},wastLanguage:I4e},Symbol.toStringTag,{value:"Module"}));function N4e(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}function M4e(e){return 9==e||10==e||13==e||32==e}let L4e=null,V4e=null,q4e=0;function F4e(e,t){let n=e.pos+t;if(V4e==e&&q4e==n)return L4e;for(;M4e(e.peek(t));)t++;let r="";for(;;){let n=e.peek(t);if(!N4e(n))break;r+=String.fromCharCode(n),t++}return V4e=e,q4e=n,L4e=r||null}function W4e(e,t){this.name=e,this.parent=t}const Z4e=new Zje({start:null,shift:(e,t,n,r)=>1==t?new W4e(F4e(r,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,n,r){let i=t.type.id;return 1==i||13==i?new W4e(F4e(r,1)||"",e):e},strict:!1}),Y4e=new Xje((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let n=F4e(e,0);if(!n)return e.acceptToken(5);if(t.context&&n==t.context.name)return e.acceptToken(2);for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)},{contextual:!0});function j4e(e,t){return new Xje(n=>{let r=0,i=t.charCodeAt(0);e:for(;!(n.next<0);n.advance(),r++)if(n.next==i){for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue e;break}r&&n.acceptToken(e)})}const G4e=j4e(36,"--\x3e"),H4e=j4e(37,"?>"),K4e=j4e(38,"]]>"),J4e=DDe({Text:iIe.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":iIe.angleBracket,TagName:iIe.tagName,"MismatchedCloseTag/TagName":[iIe.tagName,iIe.invalid],AttributeName:iIe.attributeName,AttributeValue:iIe.attributeValue,Is:iIe.definitionOperator,"EntityReference CharacterReference":iIe.character,Comment:iIe.blockComment,ProcessingInst:iIe.processingInstruction,DoctypeDecl:iIe.documentMeta,Cdata:iIe.special(iIe.string)}),e3e=Yje.deserialize({version:14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~OvZOx]O~O^`Oz^O~OPQOQcOSVOTWOVWOWWOXWOyPO!QTO!SUO~ORdO~P!SOteO!PgO~OuhO!RjO~O^lOz^O~OvZOxoO~O^qOz^O~O[vO`sOdwOz^O~ORyO~P!SO^{Oz^O~OteO!P}O~OuhO!R!PO~O^!QOz^O~O[!SOz^O~O[!VO`sOd!WOz^O~Oa!YOz^O~Oz^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oz^O~O[!_Oz^O~O[!aOz^O~O[!cO`sOd!dOz^O~O[!cO`sOd!dO~Oa!eOz^O~Oz^O{!gO}!hO~Oz^O[ma`madma~O[!kOz^O~O[!lOz^O~O[!mO`sOd!nO~OW!qOX!qO{!sO|!qO~OW!tOX!tO}!sO!O!tO~O[!vOz^O~OW!qOX!qO{!yO|!qO~OW!tOX!tO}!yO!O!tO~O",goto:"%cxPPPPPPPPPPyyP!PP!VPP!`!jP!pyyyP!v!|#S$[$k$q$w$}%TPPPP%ZXWORYbXRORYb_t`qru!T!U!bQ!i!YS!p!e!fR!w!oQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!j!oQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!j!]R!o!eQu`S!UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:50,context:Z4e,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[J4e],skippedNodes:[0],repeatNodeCount:9,tokenData:"!)v~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!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[Y4e,G4e,H4e,K4e,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function t3e(e,t){let n=t&&t.getChild("TagName");return n?e.sliceString(n.from,n.to):""}function n3e(e,t){let n=t&&t.firstChild;return n&&"OpenTag"==n.name?t3e(e,n):""}function r3e(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}let i3e=class{constructor(e,t,n){this.attrs=t,this.attrValues=n,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:"text"})):[]}};const o3e=/^[:\-\.\w\u00b7-\uffff]*$/;function a3e(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function s3e(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function l3e(e,t){let n=[],r=[],i=Object.create(null);for(let l of t){let e=a3e(l);n.push(e),l.global&&r.push(e),l.values&&(i[l.name]=l.values.map(s3e))}let o=[],a=[],s=Object.create(null);for(let l of e){let e=r,t=i;l.attributes&&(e=e.concat(l.attributes.map(e=>"string"==typeof e?n.find(t=>t.label==e)||{label:e,type:"property"}:(e.values&&(t==i&&(t=Object.create(t)),t[e.name]=e.values.map(s3e)),a3e(e)))));let c=new i3e(l,e,t);s[c.name]=c,o.push(c),l.top&&a.push(c)}a.length||(a=o);for(let l=0;l<o.length;l++){let t=e[l],n=o[l];if(t.children)for(let e of t.children)s[e]&&n.children.push(s[e]);else n.children=o}return e=>{var t;let{doc:n}=e.state,l=function(e,t){var n;let r=dIe(e).resolveInner(t,-1),i=null;for(let o=r;!i&&o.parent;o=o.parent)"OpenTag"!=o.name&&"CloseTag"!=o.name&&"SelfClosingTag"!=o.name&&"MismatchedCloseTag"!=o.name||(i=o);if(i&&(i.to>t||i.lastChild.type.isError)){let e=i.parent;if("TagName"==r.name)return"CloseTag"==i.name||"MismatchedCloseTag"==i.name?{type:"closeTag",from:r.from,context:e}:{type:"openTag",from:r.from,context:r3e(e)};if("AttributeName"==r.name)return{type:"attrName",from:r.from,context:i};if("AttributeValue"==r.name)return{type:"attrValue",from:r.from,context:i};let n=r==i||"Attribute"==r.name?r.childBefore(t):r;return"StartTag"==(null==n?void 0:n.name)?{type:"openTag",from:t,context:r3e(e)}:"StartCloseTag"==(null==n?void 0:n.name)&&n.to<=t?{type:"closeTag",from:t,context:e}:"Is"==(null==n?void 0:n.name)?{type:"attrValue",from:t,context:i}:n?{type:"attrName",from:t,context:i}:null}if("StartCloseTag"==r.name)return{type:"closeTag",from:t,context:r.parent};for(;r.parent&&r.to==t&&!(null===(n=r.lastChild)||void 0===n?void 0:n.type.isError);)r=r.parent;return"Element"==r.name||"Text"==r.name||"Document"==r.name?{type:"tag",from:t,context:"Element"==r.name?r:r3e(r)}:null}(e.state,e.pos);if(!l||"tag"==l.type&&!e.explicit)return null;let{type:c,from:u,context:O}=l;if("openTag"==c){let e=a,t=n3e(n,O);if(t){let n=s[t];e=(null==n?void 0:n.children)||o}return{from:u,options:e.map(e=>e.completion),validFor:o3e}}if("closeTag"==c){let r=n3e(n,O);return r?{from:u,to:e.pos+(">"==n.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(t=s[r])||void 0===t?void 0:t.closeNameCompletion)||{label:r+">",type:"type"}],validFor:o3e}:null}if("attrName"==c){let e=s[t3e(n,O)];return{from:u,options:(null==e?void 0:e.attrs)||r,validFor:o3e}}if("attrValue"==c){let t=function(e,t,n){let r=t&&t.getChildren("Attribute").find(e=>e.from<=n&&e.to>=n),i=r&&r.getChild("AttributeName");return i?e.sliceString(i.from,i.to):""}(n,O,u);if(!t)return null;let r=s[t3e(n,O)],o=((null==r?void 0:r.attrValues)||i)[t];return o&&o.length?{from:u,to:e.pos+('"'==n.sliceString(e.pos,e.pos+1)?1:0),options:o,validFor:/^"[^"]*"?$/}:null}if("tag"==c){let t=n3e(n,O),r=s[t],i=[],l=O&&O.lastChild;!t||l&&"CloseTag"==l.name&&t3e(n,l)==t||i.push(r?r.closeCompletion:{label:"</"+t+">",type:"type",boost:2});let c=i.concat(((null==r?void 0:r.children)||(O?o:a)).map(e=>e.openCompletion));if(O&&(null==r?void 0:r.text.length)){let t=O.firstChild;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(c=c.concat(r.text))}return{from:u,options:c,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}const c3e=OIe.define({name:"xml",parser:e3e.configure({props:[_Ie.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),MIe.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),Tze.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function u3e(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}const O3e=PXe.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!c3e.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:a}=o,s=a.changeByRange(e=>{var t,n,i;let o,{head:s}=e,l=a.doc.sliceString(s-1,s)==r,c=dIe(a).resolveInner(s,-1);if(l&&">"==r&&"EndTag"==c.name){let r=c.parent;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(o=u3e(a.doc,r.parent,s))){return{range:e,changes:{from:s,to:s+(">"===a.doc.sliceString(s,s+1)?1:0),insert:`</${o}>`}}}}else if(l&&"/"==r&&"StartCloseTag"==c.name){let e=c.parent;if(c.from==s-2&&"CloseTag"!=(null===(i=e.lastChild)||void 0===i?void 0:i.name)&&(o=u3e(a.doc,e,s))){let e=s+(">"===a.doc.sliceString(s,s+1)?1:0),t=`${o}>`;return{range:oTe.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,a.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),d3e=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:O3e,completeFromSchema:l3e,xml:function(e={}){let t=[c3e.data.of({autocomplete:l3e(e.elements||[],e.attributes||[])})];return!1!==e.autoCloseTags&&t.push(O3e),new wIe(c3e,t)},xmlLanguage:c3e},Symbol.toStringTag,{value:"Module"})),h3e=63;let f3e=class{constructor(e,t,n){this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n}};function p3e(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r);if(m3e(t)||-1==t)return n}}function A3e(e){return 32==e||9==e}function m3e(e){return 10==e||13==e}function g3e(e){return A3e(e)||m3e(e)}function v3e(e){return e<0||g3e(e)}f3e.top=new f3e(null,-1,0);const y3e=new Zje({start:f3e.top,reduce:(e,t)=>3!=e.type||20!=t&&34!=t?e:e.parent,shift(e,t,n,r){if(3==t)return new f3e(e,p3e(r,r.pos),1);if(65==t||5==t)return new f3e(e,p3e(r,r.pos),2);if(t==h3e)return e.parent;if(19==t||33==t)return new f3e(e,0,3);if(13==t&&4==e.type)return e.parent;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,n.pos));if(t)return new f3e(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash});function b3e(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&v3e(e.peek(n+3))}const w3e=new Xje((e,t)=>{if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let n=e.peek(-1);if((m3e(n)||n<0)&&3!=t.context.type){if(b3e(e,45)){if(!t.canShift(h3e))return e.acceptToken(1,3);e.acceptToken(h3e)}if(b3e(e,46)){if(!t.canShift(h3e))return e.acceptToken(2,3);e.acceptToken(h3e)}let n=0;for(;32==e.next;)n++,e.advance();!(n<t.context.depth)&&(n!=t.context.depth||1!=t.context.type||45==e.next&&v3e(e.peek(1)))||-1==e.next||m3e(e.next)||35==e.next||e.acceptToken(h3e,-n)}},{contextual:!0}),Q3e=new Xje((e,t)=>{if(3!=t.context.type)if(45==e.next)e.advance(),v3e(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==p3e(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),v3e(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==p3e(e,e.pos-1)?6:5);else{let n=e.pos;for(;;)if(A3e(e.next)){if(e.pos==n)return;e.advance()}else if(33==e.next)x3e(e);else{if(38!=e.next){if(42==e.next){k3e(e);break}if(39==e.next||34==e.next){if(P3e(e,!0))break;return}if(91==e.next||123==e.next){if(!T3e(e))return;break}R3e(e,!0,!1,0);break}k3e(e)}for(;A3e(e.next);)e.advance();if(58==e.next){if(e.pos==n&&t.canShift(29))return;v3e(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==p3e(e,n)?66:65,n)}}else 63==e.next&&(e.advance(),v3e(e.next)&&e.acceptToken(7))},{contextual:!0});function $3e(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function S3e(e,t){return 37==e.next?(e.advance(),$3e(e.next)&&e.advance(),$3e(e.next)&&e.advance(),!0):!!((n=e.next)>32&&n<127&&34!=n&&37!=n&&44!=n&&60!=n&&62!=n&&92!=n&&94!=n&&96!=n&&123!=n&&124!=n&&125!=n||t&&44==e.next)&&(e.advance(),!0);var n}function x3e(e){if(e.advance(),60==e.next){for(e.advance();;)if(!S3e(e,!0)){62==e.next&&e.advance();break}}else for(;S3e(e,!1););}function k3e(e){for(e.advance();!v3e(e.next)&&"f"!=C3e(e.next);)e.advance()}function P3e(e,t){let n=e.next,r=!1,i=e.pos;for(e.advance();;){let o=e.next;if(o<0)break;if(e.advance(),o==n){if(39!=o)break;if(39!=e.next)break;e.advance()}else if(92==o&&34==n)e.next>=0&&e.advance();else if(m3e(o)){if(t)return!1;r=!0}else if(t&&e.pos>=i+1024)return!1}return!r}function T3e(e){for(let t=[],n=e.pos+1024;;)if(91==e.next||123==e.next)t.push(e.next),e.advance();else if(39==e.next||34==e.next){if(!P3e(e,!0))return!1}else if(93==e.next||125==e.next){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else{if(e.next<0||e.pos>n||m3e(e.next))return!1;e.advance()}}const _3e="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function C3e(e){return e<33?"u":e>125?"s":_3e[e-33]}function E3e(e,t){let n=C3e(e);return"u"!=n&&!(t&&"f"==n)}function R3e(e,t,n,r){if("s"!=C3e(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!E3e(e.peek(1),n)))return!1;e.advance();let i=e.pos;for(;;){let o=e.next,a=0,s=r+1;for(;g3e(o);){if(m3e(o)){if(t)return!1;s=0}else s++;o=e.peek(++a)}if(!(o>=0&&(58==o?E3e(e.peek(a+1),n):35==o?32!=e.peek(a-1):E3e(o,n)))||!n&&s<=r||0==s&&!n&&(b3e(e,45,a)||b3e(e,46,a)))break;if(t&&"f"==C3e(o))return!1;for(let t=a;t>=0;t--)e.advance();if(t&&e.pos>i+1024)return!1}return!0}const X3e=new Xje((e,t)=>{if(33==e.next)x3e(e),e.acceptToken(12);else if(38==e.next||42==e.next){let t=38==e.next?10:11;k3e(e),e.acceptToken(t)}else 39==e.next||34==e.next?(P3e(e,!1),e.acceptToken(9)):R3e(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)}),B3e=new Xje((e,t)=>{let n=4==t.context.type?t.context.depth:-1,r=e.pos;e:for(;;){let i=0,o=e.next;for(;32==o;)o=e.peek(++i);if(!i&&(b3e(e,45,i)||b3e(e,46,i)))break;if(!m3e(o)&&(n<0&&(n=Math.max(t.context.depth+1,i)),i<n))break;for(;;){if(e.next<0)break e;let t=m3e(e.next);if(e.advance(),t)continue e;r=e.pos}}e.acceptTokenTo(13,r)}),U3e=DDe({DirectiveName:iIe.keyword,DirectiveContent:iIe.attributeValue,"DirectiveEnd DocEnd":iIe.meta,QuotedLiteral:iIe.string,BlockLiteralHeader:iIe.special(iIe.string),BlockLiteralContent:iIe.content,Literal:iIe.content,"Key/Literal Key/QuotedLiteral":iIe.definition(iIe.propertyName),"Anchor Alias":iIe.labelName,Tag:iIe.typeName,Comment:iIe.lineComment,": , -":iIe.separator,"?":iIe.punctuation,"[ ]":iIe.squareBracket,"{ }":iIe.brace}),D3e=Yje.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#C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ehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:y3e,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[U3e],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#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cOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),z3e=OIe.define({name:"yaml",parser:D3e.configure({props:[_Ie.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if("BlockLiteralContent"==t.name&&t.from<t.to)return e.baseIndentFor(t);if("BlockLiteral"==t.name)return e.baseIndentFor(t)+e.unit;if("BlockSequence"==t.name||"BlockMapping"==t.name)return e.column(t.firstChild.from,1);if("QuotedLiteral"==t.name)return null;if("Literal"==t.name){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:UIe({closing:"}"}),FlowSequence:UIe({closing:"]"})}),MIe.add({"FlowMapping FlowSequence":LIe,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});const N3e=OIe.define({name:"yaml-frontmatter",parser:I3e.configure({props:[DDe({DashLine:iIe.meta})]})});const M3e=Object.freeze(Object.defineProperty({__proto__:null,yaml:function(){return new wIe(z3e)},yamlFrontmatter:function(e){let{language:t,support:n}=e.content instanceof wIe?e.content:{language:e.content,support:[]};return new wIe(N3e.configure({wrap:vDe(e=>"FrontmatterContent"==e.name?{parser:z3e.parser}:"Body"==e.name?{parser:t.parser}:null)}),n)},yamlLanguage:z3e},Symbol.toStringTag,{value:"Module"}));var L3e={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},V3e=/[\.\/⌿⍀¨⍣]/,q3e=/⍬/,F3e=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,W3e=/←/,Z3e=/[⍝#].*$/;const Y3e={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(e,t){var n,r,i;return e.eatSpace()?null:'"'===(n=e.next())||"'"===n?(e.eatWhile((r=n,i=!1,function(e){return i=e,e!==r||"\\"===i})),e.next(),t.prev=!0,"string"):/[\[{\(]/.test(n)?(t.prev=!1,null):/[\]}\)]/.test(n)?(t.prev=!0,null):q3e.test(n)?(t.prev=!1,"atom"):/[¯\d]/.test(n)?(t.func?(t.func=!1,t.prev=!1):t.prev=!0,e.eatWhile(/[\w\.]/),"number"):V3e.test(n)||W3e.test(n)?"operator":F3e.test(n)?(t.func=!0,t.prev=!1,L3e[n]?"variableName.function.standard":"variableName.function"):Z3e.test(n)?(e.skipToEnd(),"comment"):"∘"===n&&"."===e.peek()?(e.next(),"variableName.function"):(e.eatWhile(/[\w\$_]/),t.prev=!0,"keyword")}},j3e=Object.freeze(Object.defineProperty({__proto__:null,apl:Y3e},Symbol.toStringTag,{value:"Module"}));function G3e(e){var t=e.match(/^\s*\S/);return e.skipToEnd(),t?"error":null}const H3e={name:"asciiarmor",token:function(e,t){var n;if("top"==t.state)return e.sol()&&(n=e.match(/^-----BEGIN (.*)?-----\s*$/))?(t.state="headers",t.type=n[1],"tag"):G3e(e);if("headers"==t.state){if(e.sol()&&e.match(/^\w+:/))return t.state="header","atom";var r=G3e(e);return r&&(t.state="body"),r}return"header"==t.state?(e.skipToEnd(),t.state="headers","string"):"body"==t.state?e.sol()&&(n=e.match(/^-----END (.*)?-----\s*$/))?n[1]!=t.type?"error":(t.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error"):"end"==t.state?G3e(e):void 0},blankLine:function(e){"headers"==e.state&&(e.state="body")},startState:function(){return{state:"top",type:null}}},K3e=Object.freeze(Object.defineProperty({__proto__:null,asciiArmor:H3e},Symbol.toStringTag,{value:"Module"}));function J3e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}const e6e={keywords:J3e("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),cmipVerbs:J3e("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),compareTypes:J3e("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),status:J3e("current deprecated mandatory obsolete"),tags:J3e("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),storage:J3e("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminString TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),modifier:J3e("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),accessTypes:J3e("not-accessible accessible-for-notify read-only read-create read-write"),multiLineStrings:!0};const t6e=Object.freeze(Object.defineProperty({__proto__:null,asn1:function(e){var t=e.keywords||e6e.keywords,n=e.cmipVerbs||e6e.cmipVerbs,r=e.compareTypes||e6e.compareTypes,i=e.status||e6e.status,o=e.tags||e6e.tags,a=e.storage||e6e.storage,s=e.modifier||e6e.modifier,l=e.accessTypes||e6e.accessTypes;e.multiLineStrings;var c,u=!1!==e.indentStatements,O=/[\|\^]/;function d(e,u){var d,h=e.next();if('"'==h||"'"==h)return u.tokenize=(d=h,function(e,t){for(var n,r=!1,i=!1;null!=(n=e.next());){if(n==d&&!r){var o=e.peek();o&&("b"!=(o=o.toLowerCase())&&"h"!=o&&"o"!=o||e.next()),i=!0;break}r=!r&&"\\"==n}return i&&(t.tokenize=null),"string"}),u.tokenize(e,u);if(/[\[\]\(\){}:=,;]/.test(h))return c=h,"punctuation";if("-"==h&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(h))return e.eatWhile(/[\w\.]/),"number";if(O.test(h))return e.eatWhile(O),"operator";e.eatWhile(/[\w\-]/);var f=e.current();return t.propertyIsEnumerable(f)?"keyword":n.propertyIsEnumerable(f)?"variableName":r.propertyIsEnumerable(f)?"atom":i.propertyIsEnumerable(f)?"comment":o.propertyIsEnumerable(f)?"typeName":a.propertyIsEnumerable(f)||s.propertyIsEnumerable(f)||l.propertyIsEnumerable(f)?"modifier":"variableName"}function h(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function f(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new h(r,t,n,null,e.context)}function p(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}return{name:"asn1",startState:function(){return{tokenize:null,context:new h(-2,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;c=null;var r=(t.tokenize||d)(e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=c&&":"!=c&&","!=c||"statement"!=n.type)if("{"==c)f(t,e.column(),"}");else if("["==c)f(t,e.column(),"]");else if("("==c)f(t,e.column(),")");else if("}"==c){for(;"statement"==n.type;)n=p(t);for("}"==n.type&&(n=p(t));"statement"==n.type;)n=p(t)}else c==n.type?p(t):u&&(("}"==n.type||"top"==n.type)&&";"!=c||"statement"==n.type&&"newstatement"==c)&&f(t,e.column(),"statement");else p(t);return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"--"}}}}},Symbol.toStringTag,{value:"Module"}));var n6e=["exten","same","include","ignorepat","switch"],r6e=["#include","#exec"],i6e=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];const o6e={name:"asterisk",startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,t){var n="";return e.eatSpace()?null:t.extenStart?(e.eatWhile(/[^\s]/),n=e.current(),/^=>?$/.test(n)?(t.extenExten=!0,t.extenStart=!1,"strong"):(t.extenStart=!1,e.skipToEnd(),"error")):t.extenExten?(t.extenExten=!1,t.extenPriority=!0,e.eatWhile(/[^,]/),t.extenInclude&&(e.skipToEnd(),t.extenPriority=!1,t.extenInclude=!1),t.extenSame&&(t.extenPriority=!1,t.extenSame=!1,t.extenApplication=!0),"tag"):t.extenPriority?(t.extenPriority=!1,t.extenApplication=!0,e.next(),t.extenSame?null:(e.eatWhile(/[^,]/),"number")):t.extenApplication?(e.eatWhile(/,/),","===(n=e.current())?null:(e.eatWhile(/\w/),n=e.current().toLowerCase(),t.extenApplication=!1,-1!==i6e.indexOf(n)?"def":null)):function(e,t){var n="",r=e.next();if(t.blockComment)return"-"==r&&e.match("-;",!0)?t.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),t.blockComment=!1):e.skipToEnd(),"comment";if(";"==r)return e.match("--",!0)&&!e.match("-",!1)?(t.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if("["==r)return e.skipTo("]"),e.eat("]"),"header";if('"'==r)return e.skipTo('"'),"string";if("'"==r)return e.skipTo("'"),"string.special";if("#"==r&&(e.eatWhile(/\w/),n=e.current(),-1!==r6e.indexOf(n)))return e.skipToEnd(),"strong";if("$"==r&&"{"==e.peek())return e.skipTo("}"),e.eat("}"),"variableName.special";if(e.eatWhile(/\w/),n=e.current(),-1!==n6e.indexOf(n)){switch(t.extenStart=!0,n){case"same":t.extenSame=!0;break;case"include":case"switch":case"ignorepat":t.extenInclude=!0}return"atom"}}(e,t)},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}},a6e=Object.freeze(Object.defineProperty({__proto__:null,asterisk:o6e},Symbol.toStringTag,{value:"Module"}));var s6e="><+-.,[]".split("");const l6e={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,t){if(e.eatSpace())return null;e.sol()&&(t.commentLine=!1);var n=e.next().toString();return-1===s6e.indexOf(n)?(t.commentLine=!0,e.eol()&&(t.commentLine=!1),"comment"):!0===t.commentLine?(e.eol()&&(t.commentLine=!1),"comment"):"]"===n||"["===n?("["===n?t.left++:t.right++,"bracket"):"+"===n||"-"===n?"keyword":"<"===n||">"===n?"atom":"."===n||","===n?"def":void(e.eol()&&(t.commentLine=!1))}},c6e=Object.freeze(Object.defineProperty({__proto__:null,brainfuck:l6e},Symbol.toStringTag,{value:"Module"}));var u6e="string",O6e="atom";function d6e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var h6e=d6e("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES "),f6e=d6e("ACCEPT ACCESS ACQUIRE ADD ADDRESS ADVANCING AFTER ALIAS ALL ALPHABET ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED ALSO ALTER ALTERNATE AND ANY ARE AREA AREAS ARITHMETIC ASCENDING ASSIGN AT ATTRIBUTE AUTHOR AUTO AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP BEFORE BELL BINARY BIT BITS BLANK BLINK BLOCK BOOLEAN BOTTOM BY CALL CANCEL CD CF CH CHARACTER CHARACTERS CLASS CLOCK-UNITS CLOSE COBOL CODE CODE-SET COL COLLATING COLUMN COMMA COMMIT COMMITMENT COMMON COMMUNICATION COMP COMP-0 COMP-1 COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS CONVERTING COPY CORR CORRESPONDING COUNT CRT CRT-UNDER CURRENCY CURRENT CURSOR DATA DATE DATE-COMPILED DATE-WRITTEN DAY DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION DOWN DROP DUPLICATE DUPLICATES DYNAMIC EBCDIC EGI EJECT ELSE EMI EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT END-UNSTRING END-WRITE END-XML ENTER ENTRY ENVIRONMENT EOP EQUAL EQUALS ERASE ERROR ESI EVALUATE EVERY EXCEEDS EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL FILE-STREAM FILES FILLER FINAL FIND FINISH FIRST FOOTING FOR FOREGROUND-COLOR FOREGROUND-COLOUR FORMAT FREE FROM FULL FUNCTION GENERATE GET GIVING GLOBAL GO GOBACK GREATER GROUP HEADING HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL ID IDENTIFICATION IF IN INDEX INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED INDIC INDICATE INDICATOR INDICATORS INITIAL INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT INSTALLATION INTO INVALID INVOKE IS JUST JUSTIFIED KANJI KEEP KEY LABEL LAST LD LEADING LEFT LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE LOCALE LOCALLY LOCK MEMBER MEMORY MERGE MESSAGE METACLASS MODE MODIFIED MODIFY MODULES MOVE MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE NEXT NO NO-ECHO NONE NOT NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS OF OFF OMITTED ON ONLY OPEN OPTIONAL OR ORDER ORGANIZATION OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL PADDING PAGE PAGE-COUNTER PARSE PERFORM PF PH PIC PICTURE PLUS POINTER POSITION POSITIVE PREFIX PRESENT PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID PROMPT PROTECTED PURGE QUEUE QUOTE QUOTES RANDOM RD READ READY REALM RECEIVE RECONNECT RECORD RECORD-NAME RECORDS RECURSIVE REDEFINES REEL REFERENCE REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE REMAINDER REMOVAL RENAMES REPEATED REPLACE REPLACING REPORT REPORTING REPORTS REPOSITORY REQUIRED RERUN RESERVE RESET RETAINING RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO REVERSED REWIND REWRITE RF RH RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED RUN SAME SCREEN SD SEARCH SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT SELECT SEND SENTENCE SEPARATE SEQUENCE SEQUENTIAL SET SHARED SIGN SIZE SKIP1 SKIP2 SKIP3 SORT SORT-MERGE SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 START STARTING STATUS STOP STORE STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT TABLE TALLYING TAPE TENANT TERMINAL TERMINATE TEST TEXT THAN THEN THROUGH THRU TIME TIMES TITLE TO TOP TRAILING TRAILING-SIGN TRANSACTION TYPE TYPEDEF UNDERLINE UNEQUAL UNIT UNSTRING UNTIL UP UPDATE UPON USAGE USAGE-MODE USE USING VALID VALIDATE VALUE VALUES VARYING VLR WAIT WHEN WHEN-COMPILED WITH WITHIN WORDS WORKING-STORAGE WRITE XML XML-CODE XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL "),p6e=d6e("- * ** / + < <= = > >= "),A6e={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,symbol:/[\w*+\-]/};const m6e={name:"cobol",startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=6),e.eatSpace())return null;var n=null;if("string"===t.mode){for(var r=!1;null!=(r=e.next());)if(('"'==r||"'"==r)&&!e.match(/['"]/,!1)){t.mode=!1;break}n=u6e}else{var i=e.next(),o=e.column();if(o>=0&&o<=5)n="def";else if(o>=72&&o<=79)e.skipToEnd(),n="header";else if("*"==i&&6==o)e.skipToEnd(),n="comment";else if('"'==i||"'"==i)t.mode="string",n=u6e;else if("'"!=i||A6e.digit_or_colon.test(e.peek()))if("."==i)n="link";else if(function(e,t){return"0"===e&&t.eat(/x/i)?(t.eatWhile(A6e.hex),!0):("+"!=e&&"-"!=e||!A6e.digit.test(t.peek())||(t.eat(A6e.sign),e=t.next()),!!A6e.digit.test(e)&&(t.eat(e),t.eatWhile(A6e.digit),"."==t.peek()&&(t.eat("."),t.eatWhile(A6e.digit)),t.eat(A6e.exponent)&&(t.eat(A6e.sign),t.eatWhile(A6e.digit)),!0))}(i,e))n="number";else{if(e.current().match(A6e.symbol))for(;o<71&&void 0!==e.eat(A6e.symbol);)o++;n=f6e&&f6e.propertyIsEnumerable(e.current().toUpperCase())?"keyword":p6e&&p6e.propertyIsEnumerable(e.current().toUpperCase())?"builtin":h6e&&h6e.propertyIsEnumerable(e.current().toUpperCase())?O6e:null}else n=O6e}return n},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent}},g6e=Object.freeze(Object.defineProperty({__proto__:null,cobol:m6e},Symbol.toStringTag,{value:"Module"}));function v6e(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=i,this.prev=o}function y6e(e,t,n,r){var i=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(i=e.context.indented),e.context=new v6e(i,t,n,r,null,e.context)}function b6e(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function w6e(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function Q6e(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function $6e(e){var t,n,r=e.statementIndentUnit,i=e.dontAlignCalls,o=e.keywords||{},a=e.types||{},s=e.builtin||{},l=e.blockKeywords||{},c=e.defKeywords||{},u=e.atoms||{},O=e.hooks||{},d=e.multiLineStrings,h=!1!==e.indentStatements,f=!1!==e.indentSwitch,p=e.namespaceSeparator,A=e.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,m=e.numberStart||/[\d\.]/,g=e.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,v=e.isOperatorChar||/[+\-*&%=<>!?|\/]/,y=e.isIdentifierChar||/[\w\$_\xa1-\uffff]/,b=e.isReservedIdentifier||!1;function w(e,r){var i,h=e.next();if(O[h]){var f=O[h](e,r);if(!1!==f)return f}if('"'==h||"'"==h)return r.tokenize=(i=h,function(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if(n==i&&!r){o=!0;break}r=!r&&"\\"==n}return(o||!r&&!d)&&(t.tokenize=null),"string"}),r.tokenize(e,r);if(m.test(h)){if(e.backUp(1),e.match(g))return"number";e.next()}if(A.test(h))return t=h,null;if("/"==h){if(e.eat("*"))return r.tokenize=Q,Q(e,r);if(e.eat("/"))return e.skipToEnd(),"comment"}if(v.test(h)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(v););return"operator"}if(e.eatWhile(y),p)for(;e.match(p);)e.eatWhile(y);var w=e.current();return x6e(o,w)?(x6e(l,w)&&(t="newstatement"),x6e(c,w)&&(n=!0),"keyword"):x6e(a,w)?"type":x6e(s,w)||b&&b(w)?(x6e(l,w)&&(t="newstatement"),"builtin"):x6e(u,w)?"atom":"variable"}function Q(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function $(t,n){e.typeFirstDefinitions&&t.eol()&&Q6e(n.context)&&(n.typeAtEndOfLine=w6e(t,n,t.pos))}return{name:e.name,startState:function(e){return{tokenize:null,context:new v6e(-e,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(r,i){var o=i.context;if(r.sol()&&(null==o.align&&(o.align=!1),i.indented=r.indentation(),i.startOfLine=!0),r.eatSpace())return $(r,i),null;t=n=null;var a=(i.tokenize||w)(r,i);if("comment"==a||"meta"==a)return a;if(null==o.align&&(o.align=!0),";"==t||":"==t||","==t&&r.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==i.context.type;)b6e(i);else if("{"==t)y6e(i,r.column(),"}");else if("["==t)y6e(i,r.column(),"]");else if("("==t)y6e(i,r.column(),")");else if("}"==t){for(;"statement"==o.type;)o=b6e(i);for("}"==o.type&&(o=b6e(i));"statement"==o.type;)o=b6e(i)}else t==o.type?b6e(i):h&&(("}"==o.type||"top"==o.type)&&";"!=t||"statement"==o.type&&"newstatement"==t)&&y6e(i,r.column(),"statement",r.current());if("variable"==a&&("def"==i.prevToken||e.typeFirstDefinitions&&w6e(r,i,r.start)&&Q6e(i.context)&&r.match(/^\s*\(/,!1))&&(a="def"),O.token){var s=O.token(r,i,a);void 0!==s&&(a=s)}return"def"==a&&!1===e.styleDefs&&(a="variable"),i.startOfLine=!1,i.prevToken=n?"def":a||t,$(r,i),a},indent:function(t,n,o){if(t.tokenize!=w&&null!=t.tokenize||t.typeAtEndOfLine&&Q6e(t.context))return null;var a=t.context,s=n&&n.charAt(0),l=s==a.type;if("statement"==a.type&&"}"==s&&(a=a.prev),e.dontIndentStatements)for(;"statement"==a.type&&e.dontIndentStatements.test(a.info);)a=a.prev;if(O.indent){var c=O.indent(t,a,n,o.unit);if("number"==typeof c)return c}var u=a.prev&&"switch"==a.prev.info;if(e.allmanIndentation&&/[{(]/.test(s)){for(;"top"!=a.type&&"}"!=a.type;)a=a.prev;return a.indented}return"statement"==a.type?a.indented+("{"==s?0:r||o.unit):!a.align||i&&")"==a.type?")"!=a.type||l?a.indented+(l?0:o.unit)+(l||!u||/^(?:case|default)\b/.test(n)?0:o.unit):a.indented+(r||o.unit):a.column+(l?0:1)},languageData:{indentOnInput:f?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Object.keys(o).concat(Object.keys(a)).concat(Object.keys(s)).concat(Object.keys(u)),...e.languageData}}}function S6e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function x6e(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}var k6e="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",P6e="alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq",T6e="bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available",_6e="FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT",C6e=S6e("int long char short double float unsigned signed void bool"),E6e=S6e("SEL instancetype id Class Protocol BOOL");function R6e(e){return x6e(C6e,e)||/.+_t$/.test(e)}function X6e(e){return R6e(e)||x6e(E6e,e)}var B6e="case do else for if switch while struct enum union",U6e="struct enum union";function D6e(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=D6e;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function I6e(e,t){return"type"==t.prevToken&&"type"}function z6e(e){return!(!e||e.length<2)&&("_"==e[0]&&("_"==e[1]||e[1]!==e[1].toLowerCase()))}function N6e(e){return e.eatWhile(/[\w\.']/),"number"}function M6e(e,t){if(e.backUp(1),e.match(/^(?:R|u8R|uR|UR|LR)/)){var n=e.match(/^"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=q6e,q6e(e,t))}return e.match(/^(?:u8|u|U|L)/)?!!e.match(/^["']/,!1)&&"string":(e.next(),!1)}function L6e(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}function V6e(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function q6e(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}const F6e=$6e({name:"c",keywords:S6e(k6e),types:R6e,blockKeywords:S6e(B6e),defKeywords:S6e(U6e),typeFirstDefinitions:!0,atoms:S6e("NULL true false"),isReservedIdentifier:z6e,hooks:{"#":D6e,"*":I6e}}),W6e=$6e({name:"cpp",keywords:S6e(k6e+" "+P6e),types:R6e,blockKeywords:S6e(B6e+" class try catch"),defKeywords:S6e(U6e+" class namespace"),typeFirstDefinitions:!0,atoms:S6e("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:z6e,hooks:{"#":D6e,"*":I6e,u:M6e,U:M6e,L:M6e,R:M6e,0:N6e,1:N6e,2:N6e,3:N6e,4:N6e,5:N6e,6:N6e,7:N6e,8:N6e,9:N6e,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&L6e(e.current()))return"def"}},namespaceSeparator:"::"}),Z6e=$6e({name:"java",keywords:S6e("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:S6e("var byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:S6e("catch class do else finally for if switch try while"),defKeywords:S6e("class interface enum @interface"),typeFirstDefinitions:!0,atoms:S6e("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")},'"':function(e,t){return!!e.match(/""$/)&&(t.tokenize=j6e,t.tokenize(e,t))}}}),Y6e=$6e({name:"csharp",keywords:S6e("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in init interface internal is lock namespace new operator out override params private protected public readonly record ref required return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:S6e("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:S6e("catch class do else finally for foreach if struct switch try while"),defKeywords:S6e("class interface namespace record struct var"),typeFirstDefinitions:!0,atoms:S6e("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=V6e,V6e(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}});function j6e(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function G6e(e){return function(t,n){for(var r;r=t.next();){if("*"==r&&t.eat("/")){if(1==e){n.tokenize=null;break}return n.tokenize=G6e(e-1),n.tokenize(t,n)}if("/"==r&&t.eat("*"))return n.tokenize=G6e(e+1),n.tokenize(t,n)}return"comment"}}const H6e=$6e({name:"scala",keywords:S6e("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:S6e("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:S6e("catch class enum do else finally for forSome if match switch try while"),defKeywords:S6e("class enum def object package trait type val var"),atoms:S6e("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=j6e,t.tokenize(e,t))},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"character":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new v6e(n.indented,n.column,n.type,n.info,null,n.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=G6e(1),t.tokenize(e,t))}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});const K6e=$6e({name:"kotlin",keywords:S6e("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:S6e("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(ul?|l|f)?/i,blockKeywords:S6e("catch class do else finally for if where try while enum"),defKeywords:S6e("class val var object interface fun"),atoms:S6e("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){var n;return t.tokenize=(n=e.match('""'),function(e,t){for(var r,i=!1,o=!1;!e.eol();){if(!n&&!i&&e.match('"')){o=!0;break}if(n&&e.match('"""')){o=!0;break}r=e.next(),!i&&"$"==r&&e.match("{")&&e.skipTo("}"),i=!i&&"\\"==r&&!n}return!o&&n||(t.tokenize=null),"string"}),t.tokenize(e,t)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=G6e(1),t.tokenize(e,t))},indent:function(e,t,n,r){var i=n&&n.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=n?"operator"==e.prevToken&&"}"!=n&&"}"!=e.context.type||"variable"==e.prevToken&&"."==i||("}"==e.prevToken||")"==e.prevToken)&&"."==i?2*r+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(n||"").charAt(0)?0:r):void 0:e.indented}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),J6e=$6e({name:"shader",keywords:S6e("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:S6e("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:S6e("for while do if else struct"),builtin:S6e("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:S6e("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":D6e}}),e8e=$6e({name:"nesc",keywords:S6e(k6e+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:R6e,blockKeywords:S6e(B6e),atoms:S6e("null true false"),hooks:{"#":D6e}}),t8e=$6e({name:"objectivec",keywords:S6e(k6e+" "+T6e),types:X6e,builtin:S6e(_6e),blockKeywords:S6e(B6e+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:S6e(U6e+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:S6e("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:z6e,hooks:{"#":D6e,"*":I6e}}),n8e=$6e({name:"objectivecpp",keywords:S6e(k6e+" "+T6e+" "+P6e),types:X6e,builtin:S6e(_6e),blockKeywords:S6e(B6e+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:S6e(U6e+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:S6e("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:z6e,hooks:{"#":D6e,"*":I6e,u:M6e,U:M6e,L:M6e,R:M6e,0:N6e,1:N6e,2:N6e,3:N6e,4:N6e,5:N6e,6:N6e,7:N6e,8:N6e,9:N6e,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&L6e(e.current()))return"def"}},namespaceSeparator:"::"}),r8e=$6e({name:"squirrel",keywords:S6e("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:R6e,blockKeywords:S6e("case catch class else for foreach if switch try while"),defKeywords:S6e("function local class"),typeFirstDefinitions:!0,atoms:S6e("true false null"),hooks:{"#":D6e}});var i8e=null;function o8e(e){return function(t,n){for(var r,i=!1,o=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){o=!0;break}if(!i&&t.match("``")){i8e=o8e(e),o=!0;break}r=t.next(),i="single"==e&&!i&&"\\"==r}return o&&(n.tokenize=null),"string"}}const a8e=$6e({name:"ceylon",keywords:S6e("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:S6e("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:S6e("class dynamic function interface module object package value"),builtin:S6e("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:S6e("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=o8e(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!i8e||!e.match("`"))&&(t.tokenize=i8e,i8e=null,t.tokenize(e,t))},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"string.special":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variableName.special"}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function s8e(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function l8e(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function c8e(e,t,n,r){var i=!1;if(t.eat(e)){if(!t.eat(e))return"string";i=!0}function o(t,n){for(var o=!1;!t.eol();){if(!r&&!o&&"$"==t.peek())return s8e(n),n.tokenize=u8e,"string";var a=t.next();if(a==e&&!o&&(!i||t.match(e+e))){n.tokenize=null;break}o=!r&&!o&&"\\"==a}return"string"}return n.tokenize=o,o(t,n)}function u8e(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=O8e,null}function O8e(e,t){return e.eatWhile(/[\w_]/),t.tokenize=l8e(t),"variable"}const d8e=$6e({name:"dart",keywords:S6e("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when inline"),blockKeywords:S6e("try catch finally do else for if switch while"),builtin:S6e("void bool num int double dynamic var String Null Never"),atoms:S6e("true false null"),number:/^(?:0x[a-f\d_]+|(?:[\d_]+\.?[\d_]*|\.[\d_]+)(?:e[-+]?[\d_]+)?)/i,hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,t){return c8e("'",e,t,!1)},'"':function(e,t){return c8e('"',e,t,!1)},r:function(e,t){var n=e.peek();return("'"==n||'"'==n)&&c8e(e.next(),e,t,!0)},"}":function(e,t){return function(e){return e.interpolationStack?e.interpolationStack.length:0}(t)>0&&(t.tokenize=l8e(t),null)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=G6e(1),t.tokenize(e,t))},token:function(e,t,n){if("variable"==n&&RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g").test(e.current()))return"type"}}}),h8e=Object.freeze(Object.defineProperty({__proto__:null,c:F6e,ceylon:a8e,clike:$6e,cpp:W6e,csharp:Y6e,dart:d8e,java:Z6e,kotlin:K6e,nesC:e8e,objectiveC:t8e,objectiveCpp:n8e,scala:H6e,shader:J6e,squirrel:r8e},Symbol.toStringTag,{value:"Module"}));var f8e=["false","nil","true"],p8e=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],A8e=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],m8e=P8e(f8e),g8e=P8e(p8e),v8e=P8e(A8e),y8e=P8e(["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"]),b8e=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,w8e=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,Q8e=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,$8e=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function S8e(e,t){if(e.eatSpace()||e.eat(","))return["space",null];if(e.match(w8e))return[null,"number"];if(e.match(Q8e))return[null,"string.special"];if(e.eat(/^"/))return(t.tokenize=x8e)(e,t);if(e.eat(/^[(\[{]/))return["open","bracket"];if(e.eat(/^[)\]}]/))return["close","bracket"];if(e.eat(/^;/))return e.skipToEnd(),["space","comment"];if(e.eat(/^[#'@^`~]/))return[null,"meta"];var n=e.match($8e),r=n&&n[0];return r?"comment"===r&&"("===t.lastToken?(t.tokenize=k8e)(e,t):T8e(r,m8e)||":"===r.charAt(0)?["symbol","atom"]:T8e(r,g8e)||T8e(r,v8e)?["symbol","keyword"]:"("===t.lastToken?["symbol","builtin"]:["symbol","variable"]:(e.next(),e.eatWhile(function(e){return!T8e(e,b8e)}),[null,"error"])}function x8e(e,t){for(var n,r=!1;n=e.next();){if('"'===n&&!r){t.tokenize=S8e;break}r=!r&&"\\"===n}return[null,"string"]}function k8e(e,t){for(var n,r=1;n=e.next();)if(")"===n&&r--,"("===n&&r++,0===r){e.backUp(1),t.tokenize=S8e;break}return["space","comment"]}function P8e(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}function T8e(e,t){return t instanceof RegExp?t.test(e):t instanceof Object?t.propertyIsEnumerable(e):void 0}const _8e={name:"clojure",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastToken:null,tokenize:S8e}},token:function(e,t){e.sol()&&"number"!=typeof t.ctx.indentTo&&(t.ctx.indentTo=t.ctx.start+1);var n=t.tokenize(e,t),r=n[0],i=n[1],o=e.current();return"space"!==r&&("("===t.lastToken&&null===t.ctx.indentTo?"symbol"===r&&T8e(o,y8e)?t.ctx.indentTo=t.ctx.start+e.indentUnit:t.ctx.indentTo="next":"next"===t.ctx.indentTo&&(t.ctx.indentTo=e.column()),t.lastToken=o),"open"===r?t.ctx={prev:t.ctx,start:e.column(),indentTo:null}:"close"===r&&(t.ctx=t.ctx.prev||t.ctx),i},indent:function(e){var t=e.ctx.indentTo;return"number"==typeof t?t:e.ctx.start+1},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:";;"},autocomplete:[].concat(f8e,p8e,A8e)}},C8e=Object.freeze(Object.defineProperty({__proto__:null,clojure:_8e},Symbol.toStringTag,{value:"Module"}));function E8e(e){var t,n,r=(e={...t7e,...e}).inline,i=e.tokenHooks,o=e.documentTypes||{},a=e.mediaTypes||{},s=e.mediaFeatures||{},l=e.mediaValueKeywords||{},c=e.propertyKeywords||{},u=e.nonStandardPropertyKeywords||{},O=e.fontProperties||{},d=e.counterDescriptors||{},h=e.colorKeywords||{},f=e.valueKeywords||{},p=e.allowNested,A=e.lineComment,m=!0===e.supportsAtComponent,g=!1!==e.highlightNonStandardPropertyKeywords;function v(e,n){return t=n,e}function y(e,t){var n=e.next();if(i[n]){var r=i[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),v("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?v(null,"compare"):'"'==n||"'"==n?(t.tokenize=b(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),v("atom","hash")):"!"==n?(e.match(/^\s*\w*/),v("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),v("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?v(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?v("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?v(null,n):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=w),v("variableName.function","variable")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),v("property","word")):v(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),v("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?v("def","variable-definition"):v("variableName","variable")):e.match(/^\w+-/)?v("meta","meta"):void 0}function b(e){return function(t,n){for(var r,i=!1;null!=(r=t.next());){if(r==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==r}return(r==e||!i&&")"!=e)&&(n.tokenize=null),v("string","string")}}function w(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=b(")"),v(null,"(")}function Q(e,t,n){this.type=e,this.indent=t,this.prev=n}function $(e,t,n,r){return e.context=new Q(n,t.indentation()+(!1===r?0:t.indentUnit),e.context),n}function S(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function x(e,t,n){return T[n.context.type](e,t,n)}function k(e,t,n,r){for(var i=r||1;i>0;i--)n.context=n.context.prev;return x(e,t,n)}function P(e){var t=e.current().toLowerCase();n=f.hasOwnProperty(t)?"atom":h.hasOwnProperty(t)?"keyword":"variable"}var T={top:function(e,t,r){if("{"==e)return $(r,t,"block");if("}"==e&&r.context.prev)return S(r);if(m&&/@component/i.test(e))return $(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return $(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return $(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return $(r,t,"at");if("hash"==e)n="builtin";else if("word"==e)n="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return $(r,t,"interpolation");if(":"==e)return"pseudo";if(p&&"("==e)return $(r,t,"parens")}return r.context.type},block:function(e,t,r){if("word"==e){var i=t.current().toLowerCase();return c.hasOwnProperty(i)?(n="property","maybeprop"):u.hasOwnProperty(i)?(n=g?"string.special":"property","maybeprop"):p?(n=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n="error","maybeprop")}return"meta"==e?"block":p||"hash"!=e&&"qualifier"!=e?T.top(e,t,r):(n="error","block")},maybeprop:function(e,t,n){return":"==e?$(n,t,"prop"):x(e,t,n)},prop:function(e,t,r){if(";"==e)return S(r);if("{"==e&&p)return $(r,t,"propBlock");if("}"==e||"{"==e)return k(e,t,r);if("("==e)return $(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())){if("word"==e)P(t);else if("interpolation"==e)return $(r,t,"interpolation")}else n="error";return"prop"},propBlock:function(e,t,r){return"}"==e?S(r):"word"==e?(n="property","maybeprop"):r.context.type},parens:function(e,t,n){return"{"==e||"}"==e?k(e,t,n):")"==e?S(n):"("==e?$(n,t,"parens"):"interpolation"==e?$(n,t,"interpolation"):("word"==e&&P(t),"parens")},pseudo:function(e,t,r){return"meta"==e?"pseudo":"word"==e?(n="variableName.constant",r.context.type):x(e,t,r)},documentTypes:function(e,t,r){return"word"==e&&o.hasOwnProperty(t.current())?(n="tag",r.context.type):T.atBlock(e,t,r)},atBlock:function(e,t,r){if("("==e)return $(r,t,"atBlock_parens");if("}"==e||";"==e)return k(e,t,r);if("{"==e)return S(r)&&$(r,t,p?"block":"top");if("interpolation"==e)return $(r,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();n="only"==i||"not"==i||"and"==i||"or"==i?"keyword":a.hasOwnProperty(i)?"attribute":s.hasOwnProperty(i)?"property":l.hasOwnProperty(i)?"keyword":c.hasOwnProperty(i)?"property":u.hasOwnProperty(i)?g?"string.special":"property":f.hasOwnProperty(i)?"atom":h.hasOwnProperty(i)?"keyword":"error"}return r.context.type},atComponentBlock:function(e,t,r){return"}"==e?k(e,t,r):"{"==e?S(r)&&$(r,t,p?"block":"top",!1):("word"==e&&(n="error"),r.context.type)},atBlock_parens:function(e,t,n){return")"==e?S(n):"{"==e||"}"==e?k(e,t,n,2):T.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,r){return"{"==e?$(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(n="variable","restricted_atBlock_before"):x(e,t,r)},restricted_atBlock:function(e,t,r){return"}"==e?(r.stateArg=null,S(r)):"word"==e?(n="@font-face"==r.stateArg&&!O.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!d.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,r){return"word"==e?(n="variable","keyframes"):"{"==e?$(r,t,"top"):x(e,t,r)},at:function(e,t,r){return";"==e?S(r):"{"==e||"}"==e?k(e,t,r):("word"==e?n="tag":"hash"==e&&(n="builtin"),"at")},interpolation:function(e,t,r){return"}"==e?S(r):"{"==e||";"==e?k(e,t,r):("word"==e?n="variable":"variable"!=e&&"("!=e&&")"!=e&&(n="error"),"interpolation")}};return{name:e.name,startState:function(){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new Q(r?"block":"top",0,null)}},token:function(e,r){if(!r.tokenize&&e.eatSpace())return null;var i=(r.tokenize||y)(e,r);return i&&"object"==typeof i&&(t=i[1],i=i[0]),n=i,"comment"!=t&&(r.state=T[r.state](t,e,r)),n},indent:function(e,t,n){var r=e.context,i=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=i&&")"!=i||(r=r.prev),r.prev&&("}"!=i||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=i||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=i||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-n.unit)):o=(r=r.prev).indent),o},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:A,block:{open:"/*",close:"*/"}},autocomplete:J8e}}}function R8e(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}var X8e=["domain","regexp","url","url-prefix"],B8e=R8e(X8e),U8e=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],D8e=R8e(U8e),I8e=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],z8e=R8e(I8e),N8e=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],M8e=R8e(N8e),L8e=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],V8e=R8e(L8e),q8e=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],F8e=R8e(q8e),W8e=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],Z8e=R8e(W8e),Y8e=R8e(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),j8e=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],G8e=R8e(j8e),H8e=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],K8e=R8e(H8e),J8e=X8e.concat(U8e).concat(I8e).concat(N8e).concat(L8e).concat(q8e).concat(j8e).concat(H8e);const e7e={properties:L8e,colors:j8e,fonts:W8e,values:H8e,all:J8e},t7e={documentTypes:B8e,mediaTypes:D8e,mediaFeatures:z8e,mediaValueKeywords:M8e,propertyKeywords:V8e,nonStandardPropertyKeywords:F8e,fontProperties:Z8e,counterDescriptors:Y8e,colorKeywords:G8e,valueKeywords:K8e,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=r7e,r7e(e,t))}}},n7e=E8e({name:"css"});function r7e(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}const i7e=E8e({name:"scss",mediaTypes:D8e,mediaFeatures:z8e,mediaValueKeywords:M8e,propertyKeywords:V8e,nonStandardPropertyKeywords:F8e,colorKeywords:G8e,valueKeywords:K8e,fontProperties:Z8e,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=r7e,r7e(e,t)):["operator","operator"]},":":function(e){return!!e.match(/^\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["def","variable-definition"]:["variableName.special","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}}}),o7e=E8e({name:"less",mediaTypes:D8e,mediaFeatures:z8e,mediaValueKeywords:M8e,propertyKeywords:V8e,nonStandardPropertyKeywords:F8e,colorKeywords:G8e,valueKeywords:K8e,fontProperties:Z8e,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=r7e,r7e(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["def","variable-definition"]:["variableName","variable"])},"&":function(){return["atom","atom"]}}}),a7e=E8e({name:"gss",documentTypes:B8e,mediaTypes:D8e,mediaFeatures:z8e,propertyKeywords:V8e,nonStandardPropertyKeywords:F8e,fontProperties:Z8e,counterDescriptors:Y8e,colorKeywords:G8e,valueKeywords:K8e,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=r7e,r7e(e,t))}}}),s7e=Object.freeze(Object.defineProperty({__proto__:null,css:n7e,gss:a7e,keywords:e7e,less:o7e,mkCSS:E8e,sCSS:i7e},Symbol.toStringTag,{value:"Module"}));var l7e=/({)?[a-zA-Z0-9_]+(})?/;function c7e(e,t){for(var n,r,i=!1;!e.eol()&&(n=e.next())!=t.pending;){if("$"===n&&"\\"!=r&&'"'==t.pending){i=!0;break}r=n}return i&&e.backUp(1),n==t.pending?t.continueString=!1:t.continueString=!0,"string"}const u7e={name:"cmake",startState:function(){var e={inDefinition:!1,inInclude:!1,continueString:!1,pending:!1};return e},token:function(e,t){return e.eatSpace()?null:function(e,t){var n=e.next();return"$"===n?e.match(l7e)?"variableName.special":"variable":t.continueString?(e.backUp(1),c7e(e,t)):e.match(/(\s+)?\w+\(/)||e.match(/(\s+)?\w+\ \(/)?(e.backUp(1),"def"):"#"==n?(e.skipToEnd(),"comment"):"'"==n||'"'==n?(t.pending=n,c7e(e,t)):"("==n||")"==n?"bracket":n.match(/[0-9]/)?"number":(e.eatWhile(/[\w-]/),null)}(e,t)}},O7e=Object.freeze(Object.defineProperty({__proto__:null,cmake:u7e},Symbol.toStringTag,{value:"Module"}));var d7e="error";function h7e(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var f7e=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,p7e=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,A7e=/^[_A-Za-z$][_A-Za-z$0-9]*/,m7e=/^@[_A-Za-z$][_A-Za-z$0-9]*/,g7e=h7e(["and","or","not","is","isnt","in","instanceof","typeof"]),v7e=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],y7e=h7e(v7e.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));v7e=h7e(v7e);var b7e=/^('{3}|\"{3}|['\"])/,w7e=/^(\/{3}|\/)/,Q7e=h7e(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);function $7e(e,t){if(e.sol()){null===t.scope.align&&(t.scope.align=!1);var n=t.scope.offset;if(e.eatSpace()){var r=e.indentation();return r>n&&"coffee"==t.scope.type?"indent":r<n?"dedent":null}n>0&&P7e(e,t)}if(e.eatSpace())return null;var i=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return t.tokenize=x7e,t.tokenize(e,t);if("#"===i)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var o=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(o=!0),e.match(/^-?\d+\.\d*/)&&(o=!0),e.match(/^-?\.\d+/)&&(o=!0),o)return"."==e.peek()&&e.backUp(1),"number";var a=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(a=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(a=!0),e.match(/^-?0(?![\dx])/i)&&(a=!0),a)return"number"}if(e.match(b7e))return t.tokenize=S7e(e.current(),!1,"string"),t.tokenize(e,t);if(e.match(w7e)){if("/"!=e.current()||e.match(/^.*\//,!1))return t.tokenize=S7e(e.current(),!0,"string.special"),t.tokenize(e,t);e.backUp(1)}return e.match(f7e)||e.match(g7e)?"operator":e.match(p7e)?"punctuation":e.match(Q7e)?"atom":e.match(m7e)||t.prop&&e.match(A7e)?"property":e.match(y7e)?"keyword":e.match(A7e)?"variable":(e.next(),d7e)}function S7e(e,t,n){return function(r,i){for(;!r.eol();)if(r.eatWhile(/[^'"\/\\]/),r.eat("\\")){if(r.next(),t&&r.eol())return n}else{if(r.match(e))return i.tokenize=$7e,n;r.eat(/['"\/]/)}return t&&(i.tokenize=$7e),n}}function x7e(e,t){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){t.tokenize=$7e;break}e.eatWhile("#")}return"comment"}function k7e(e,t,n="coffee"){for(var r=0,i=!1,o=null,a=t.scope;a;a=a.prev)if("coffee"===a.type||"}"==a.type){r=a.offset+e.indentUnit;break}"coffee"!==n?(i=null,o=e.column()+e.current().length):t.scope.align&&(t.scope.align=!1),t.scope={offset:r,type:n,prev:t.scope,align:i,alignOffset:o}}function P7e(e,t){if(t.scope.prev){if("coffee"===t.scope.type){for(var n=e.indentation(),r=!1,i=t.scope;i;i=i.prev)if(n===i.offset){r=!0;break}if(!r)return!0;for(;t.scope.prev&&t.scope.offset!==n;)t.scope=t.scope.prev;return!1}return t.scope=t.scope.prev,!1}}const T7e={name:"coffeescript",startState:function(){return{tokenize:$7e,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,t){var n=null===t.scope.align&&t.scope;n&&e.sol()&&(n.align=!1);var r=function(e,t){var n=t.tokenize(e,t),r=e.current();"return"===r&&(t.dedent=!0),(("->"===r||"=>"===r)&&e.eol()||"indent"===n)&&k7e(e,t);var i="[({".indexOf(r);if(-1!==i&&k7e(e,t,"])}".slice(i,i+1)),v7e.exec(r)&&k7e(e,t),"then"==r&&P7e(e,t),"dedent"===n&&P7e(e,t))return d7e;if(-1!==(i="])}".indexOf(r))){for(;"coffee"==t.scope.type&&t.scope.prev;)t.scope=t.scope.prev;t.scope.type==r&&(t.scope=t.scope.prev)}return t.dedent&&e.eol()&&("coffee"==t.scope.type&&t.scope.prev&&(t.scope=t.scope.prev),t.dedent=!1),"indent"==n||"dedent"==n?null:n}(e,t);return r&&"comment"!=r&&(n&&(n.align=!0),t.prop="punctuation"==r&&"."==e.current()),r},indent:function(e,t){if(e.tokenize!=$7e)return 0;var n=e.scope,r=t&&"])}".indexOf(t.charAt(0))>-1;if(r)for(;"coffee"==n.type&&n.prev;)n=n.prev;var i=r&&n.type===t.charAt(0);return n.align?n.alignOffset-(i?1:0):(i?n.prev:n).offset},languageData:{commentTokens:{line:"#"}}},_7e=Object.freeze(Object.defineProperty({__proto__:null,coffeeScript:T7e},Symbol.toStringTag,{value:"Module"}));var C7e,E7e=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,R7e=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,X7e=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,B7e=/[^\s'`,@()\[\]";]/;function U7e(e){for(var t;t=e.next();)if("\\"==t)e.next();else if(!B7e.test(t)){e.backUp(1);break}return e.current()}function D7e(e,t){if(e.eatSpace())return C7e="ws",null;if(e.match(X7e))return"number";var n;if("\\"==(n=e.next())&&(n=e.next()),'"'==n)return(t.tokenize=I7e)(e,t);if("("==n)return C7e="open","bracket";if(")"==n)return C7e="close","bracket";if(";"==n)return e.skipToEnd(),C7e="ws","comment";if(/['`,@]/.test(n))return null;if("|"==n)return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if("#"==n)return"("==(n=e.next())?(C7e="open","bracket"):/[+\-=\.']/.test(n)||/\d/.test(n)&&e.match(/^\d*#/)?null:"|"==n?(t.tokenize=z7e)(e,t):":"==n?(U7e(e),"meta"):"\\"==n?(e.next(),U7e(e),"string.special"):"error";var r=U7e(e);return"."==r?null:(C7e="symbol","nil"==r||"t"==r||":"==r.charAt(0)?"atom":"open"==t.lastType&&(E7e.test(r)||R7e.test(r))?"keyword":"&"==r.charAt(0)?"variableName.special":"variableName")}function I7e(e,t){for(var n,r=!1;n=e.next();){if('"'==n&&!r){t.tokenize=D7e;break}r=!r&&"\\"==n}return"string"}function z7e(e,t){for(var n,r;n=e.next();){if("#"==n&&"|"==r){t.tokenize=D7e;break}r=n}return C7e="ws","comment"}const N7e={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:D7e}},token:function(e,t){e.sol()&&"number"!=typeof t.ctx.indentTo&&(t.ctx.indentTo=t.ctx.start+1),C7e=null;var n=t.tokenize(e,t);return"ws"!=C7e&&(null==t.ctx.indentTo?"symbol"==C7e&&R7e.test(e.current())?t.ctx.indentTo=t.ctx.start+e.indentUnit:t.ctx.indentTo="next":"next"==t.ctx.indentTo&&(t.ctx.indentTo=e.column()),t.lastType=C7e),"open"==C7e?t.ctx={prev:t.ctx,start:e.column(),indentTo:null}:"close"==C7e&&(t.ctx=t.ctx.prev||t.ctx),n},indent:function(e){var t=e.ctx.indentTo;return"number"==typeof t?t:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}},M7e=Object.freeze(Object.defineProperty({__proto__:null,commonLisp:N7e},Symbol.toStringTag,{value:"Module"}));var L7e,V7e=function(e){return new RegExp("^(?:"+e.join("|")+")$","i")},q7e=function(e){L7e=null;var t=e.next();if('"'===t)return e.match(/^.*?"/),"string";if("'"===t)return e.match(/^.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(t))return L7e=t,"punctuation";if("/"===t&&e.eat("/"))return e.skipToEnd(),"comment";if(H7e.test(t))return e.eatWhile(H7e),null;if(e.eatWhile(/[_\w\d]/),e.eat(":"))return e.eatWhile(/[\w\d_\-]/),"atom";var n=e.current();return Z7e.test(n)?"builtin":Y7e.test(n)?"def":j7e.test(n)||G7e.test(n)?"keyword":"variable"},F7e=function(e,t,n){return e.context={prev:e.context,indent:e.indent,col:n,type:t}},W7e=function(e){return e.indent=e.context.indent,e.context=e.context.prev},Z7e=V7e(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),Y7e=V7e(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),j7e=V7e(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),G7e=V7e(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),H7e=/[*+\-<>=&|~%^]/;const K7e={name:"cypher",startState:function(){return{tokenize:q7e,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!==n&&t.context&&null==t.context.align&&"pattern"!==t.context.type&&(t.context.align=!0),"("===L7e)F7e(t,")",e.column());else if("["===L7e)F7e(t,"]",e.column());else if("{"===L7e)F7e(t,"}",e.column());else if(/[\]\}\)]/.test(L7e)){for(;t.context&&"pattern"===t.context.type;)W7e(t);t.context&&L7e===t.context.type&&W7e(t)}else"."===L7e&&t.context&&"pattern"===t.context.type?W7e(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?F7e(t,"pattern",e.column()):"pattern"!==t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t,n){var r=t&&t.charAt(0),i=e.context;if(/[\]\}]/.test(r))for(;i&&"pattern"===i.type;)i=i.prev;var o=i&&r===i.type;return i?"keywords"===i.type?null:i.align?i.col+(o?0:1):i.indent+(o?0:n.unit):0}},J7e=Object.freeze(Object.defineProperty({__proto__:null,cypher:K7e},Symbol.toStringTag,{value:"Module"}));function e9e(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var t9e=e9e(["and","or","not","is"]),n9e=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],r9e=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function i9e(e){return e.scopes[e.scopes.length-1]}function o9e(e){for(var t="error",n=e.delimiters||e.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,r=[e.singleOperators,e.doubleOperators,e.doubleDelimiters,e.tripleDelimiters,e.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],i=0;i<r.length;i++)r[i]||r.splice(i--,1);var o=e.hangingIndent,a=n9e,s=r9e;null!=e.extra_keywords&&(a=a.concat(e.extra_keywords)),null!=e.extra_builtins&&(s=s.concat(e.extra_builtins));var l=!(e.version&&Number(e.version)<3);if(l){var c=e.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;a=a.concat(["nonlocal","None","aiter","anext","async","await","breakpoint","match","case"]),s=s.concat(["ascii","bytes","exec","print"]);var u=new RegExp("^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|\"{3}|['\"]))","i")}else{c=e.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;a=a.concat(["exec","print"]),s=s.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","None"]);u=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var O=e9e(a),d=e9e(s);function h(e,n){var r=e.sol()&&"\\"!=n.lastToken;if(r&&(n.indent=e.indentation()),r&&"py"==i9e(n).type){var i=i9e(n).offset;if(e.eatSpace()){var o=e.indentation();return o>i?p(e,n):o<i&&A(e,n)&&"#"!=e.peek()&&(n.errorToken=!0),null}var a=f(e,n);return i>0&&A(e,n)&&(a+=" "+t),a}return f(e,n)}function f(i,o,a){if(i.eatSpace())return null;if(!a&&i.match(/^#.*/))return"comment";if(i.match(/^[0-9\.]/,!1)){var s=!1;if(i.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(s=!0),i.match(/^[\d_]+\.\d*/)&&(s=!0),i.match(/^\.\d+/)&&(s=!0),s)return i.eat(/J/i),"number";var l=!1;if(i.match(/^0x[0-9a-f_]+/i)&&(l=!0),i.match(/^0b[01_]+/i)&&(l=!0),i.match(/^0o[0-7_]+/i)&&(l=!0),i.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(i.eat(/J/i),l=!0),i.match(/^0(?![\dx])/i)&&(l=!0),l)return i.eat(/L/i),"number"}if(i.match(u))return-1!==i.current().toLowerCase().indexOf("f")?(o.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,o="string";function a(e){return function(t,n){var r=f(t,n,!0);return"punctuation"==r&&("{"==t.current()?n.tokenize=a(e+1):"}"==t.current()&&(n.tokenize=e>1?a(e-1):s)),r}}function s(s,l){for(;!s.eol();)if(s.eatWhile(/[^'"\{\}\\]/),s.eat("\\")){if(s.next(),i&&s.eol())return o}else{if(s.match(n))return l.tokenize=r,o;if(s.match("{{"))return o;if(s.match("{",!1))return l.tokenize=a(0),s.current()?o:l.tokenize(s,l);if(s.match("}}"))return o;if(s.match("}"))return t;s.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;l.tokenize=r}return o}return s.isString=!0,s}(i.current(),o.tokenize),o.tokenize(i,o)):(o.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,o="string";function a(a,s){for(;!a.eol();)if(a.eatWhile(/[^'"\\]/),a.eat("\\")){if(a.next(),i&&a.eol())return o}else{if(a.match(n))return s.tokenize=r,o;a.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;s.tokenize=r}return o}return a.isString=!0,a}(i.current(),o.tokenize),o.tokenize(i,o));for(var h=0;h<r.length;h++)if(i.match(r[h]))return"operator";return i.match(n)?"punctuation":"."==o.lastToken&&i.match(c)?"property":i.match(O)||i.match(t9e)?"keyword":i.match(d)?"builtin":i.match(/^(self|cls)\b/)?"self":i.match(c)?"def"==o.lastToken||"class"==o.lastToken?"def":"variable":(i.next(),a?null:t)}function p(e,t){for(;"py"!=i9e(t).type;)t.scopes.pop();t.scopes.push({offset:i9e(t).offset+e.indentUnit,type:"py",align:null})}function A(e,t){for(var n=e.indentation();t.scopes.length>1&&i9e(t).offset>n;){if("py"!=i9e(t).type)return!0;t.scopes.pop()}return i9e(t).offset!=n}function m(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&"@"==i)return e.match(c,!1)?"meta":l?"operator":t;if(/\S/.test(i)&&(n.beginningOfLine=!1),"variable"!=r&&"builtin"!=r||"meta"!=n.lastToken||(r="meta"),"pass"!=i&&"return"!=i||(n.dedent=!0),"lambda"==i&&(n.lambda=!0),":"==i&&!n.lambda&&"py"==i9e(n).type&&e.match(/^\s*(?:#|$)/,!1)&&p(e,n),1==i.length&&!/string|comment/.test(r)){var a="[({".indexOf(i);if(-1!=a&&function(e,t,n){var r=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+(o||e.indentUnit),type:n,align:r})}(e,n,"])}".slice(a,a+1)),-1!=(a="])}".indexOf(i))){if(i9e(n).type!=i)return t;n.indent=n.scopes.pop().offset-(o||e.indentUnit)}}return n.dedent&&e.eol()&&"py"==i9e(n).type&&n.scopes.length>1&&n.scopes.pop(),r}return{name:"python",startState:function(){return{tokenize:h,scopes:[{offset:0,type:"py",align:null}],indent:0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=m(e,n);return i&&"comment"!=i&&(n.lastToken="keyword"==i||"punctuation"==i?e.current():i),"punctuation"==i&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?t:i},indent:function(e,t,n){if(e.tokenize!=h)return e.tokenize.isString?null:0;var r=i9e(e),i=r.type==t.charAt(0)||"py"==r.type&&!e.dedent&&/^(else:|elif |except |finally:)/.test(t);return null!=r.align?r.align-(i?1:0):r.offset-(i?o||n.unit:0)},languageData:{autocomplete:n9e.concat(r9e).concat(["exec","print"]),indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}const a9e=o9e({}),s9e=o9e({extra_keywords:(l9e="by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE",l9e.split(" "))});var l9e;const c9e=Object.freeze(Object.defineProperty({__proto__:null,cython:s9e,mkPython:o9e,python:a9e},Symbol.toStringTag,{value:"Module"}));function u9e(e,t){return new RegExp((t?"":"^")+"(?:"+e.join("|")+")"+(t?"$":"\\b"))}function O9e(e,t,n){return n.tokenize.push(e),e(t,n)}var d9e=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,h9e=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,f9e=/^(?:\[\][?=]?)/,p9e=/^(?:\.(?:\.{2})?|->|[?:])/,A9e=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,m9e=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,g9e=u9e(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),v9e=u9e(["true","false","nil","self"]),y9e=u9e(["def","fun","macro","class","module","struct","lib","enum","union","do","for"]),b9e=u9e(["if","unless","case","while","until","begin","then"]),w9e=["end","else","elsif","rescue","ensure"],Q9e=u9e(w9e),$9e=["\\)","\\}","\\]"],S9e=new RegExp("^(?:"+$9e.join("|")+")$"),x9e={def:C9e,fun:C9e,macro:function(e,t){if(e.eatSpace())return null;var n;if(n=e.match(A9e)){if("def"==n)return"keyword";e.eat(/[?!]/)}return t.tokenize.pop(),"def"},class:E9e,module:E9e,struct:E9e,lib:E9e,enum:E9e,union:E9e},k9e={"[":"]","{":"}","(":")","<":">"};function P9e(e,t){if(e.eatSpace())return null;if("\\"!=t.lastToken&&e.match("{%",!1))return O9e(_9e("%","%"),e,t);if("\\"!=t.lastToken&&e.match("{{",!1))return O9e(_9e("{","}"),e,t);if("#"==e.peek())return e.skipToEnd(),"comment";var n;if(e.match(A9e))return e.eat(/[?!]/),n=e.current(),e.eat(":")?"atom":"."==t.lastToken?"property":g9e.test(n)?(y9e.test(n)?"fun"==n&&t.blocks.indexOf("lib")>=0||"def"==n&&"abstract"==t.lastToken||(t.blocks.push(n),t.currentIndent+=1):"operator"!=t.lastStyle&&t.lastStyle||!b9e.test(n)?"end"==n&&(t.blocks.pop(),t.currentIndent-=1):(t.blocks.push(n),t.currentIndent+=1),x9e.hasOwnProperty(n)&&t.tokenize.push(x9e[n]),"keyword"):v9e.test(n)?"atom":"variable";if(e.eat("@"))return"["==e.peek()?O9e(T9e("[","]","meta"),e,t):(e.eat("@"),e.match(A9e)||e.match(m9e),"propertyName");if(e.match(m9e))return"tag";if(e.eat(":"))return e.eat('"')?O9e(R9e('"',"atom",!1),e,t):e.match(A9e)||e.match(m9e)||e.match(d9e)||e.match(h9e)||e.match(f9e)?"atom":(e.eat(":"),"operator");if(e.eat('"'))return O9e(R9e('"',"string",!0),e,t);if("%"==e.peek()){var r,i="string",o=!0;if(e.match("%r"))i="string.special",r=e.next();else if(e.match("%w"))o=!1,r=e.next();else if(e.match("%q"))o=!1,r=e.next();else if(r=e.match(/^%([^\w\s=])/))r=r[1];else{if(e.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(e.eat("%"))return"operator"}return k9e.hasOwnProperty(r)&&(r=k9e[r]),O9e(R9e(r,i,o),e,t)}return(n=e.match(/^<<-('?)([A-Z]\w*)\1/))?O9e(function(e,t){return function(n,r){if(n.sol()&&(n.eatSpace(),n.match(e)))return r.tokenize.pop(),"string";for(var i=!1;n.peek();)if(i)n.next(),i=!1;else{if(n.match("{%",!1))return r.tokenize.push(_9e("%","%")),"string";if(n.match("{{",!1))return r.tokenize.push(_9e("{","}")),"string";if(t&&n.match("#{",!1))return r.tokenize.push(T9e("#{","}","meta")),"string";i="\\"==n.next()&&t}return"string"}}(n[2],!n[1]),e,t):e.eat("'")?(e.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),e.eat("'"),"atom"):e.eat("0")?(e.eat("x")?e.match(/^[0-9a-fA-F_]+/):e.eat("o")?e.match(/^[0-7_]+/):e.eat("b")&&e.match(/^[01_]+/),"number"):e.eat(/^\d/)?(e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):e.match(d9e)?(e.eat("="),"operator"):e.match(h9e)||e.match(p9e)?"operator":(n=e.match(/[({[]/,!1))?O9e(T9e(n=n[0],k9e[n],null),e,t):e.eat("\\")?(e.next(),"meta"):(e.next(),null)}function T9e(e,t,n,r){return function(i,o){if(!r&&i.match(e))return o.tokenize[o.tokenize.length-1]=T9e(e,t,n,!0),o.currentIndent+=1,n;var a=P9e(i,o);return i.current()===t&&(o.tokenize.pop(),o.currentIndent-=1,a=n),a}}function _9e(e,t,n){return function(r,i){return!n&&r.match("{"+e)?(i.currentIndent+=1,i.tokenize[i.tokenize.length-1]=_9e(e,t,!0),"meta"):r.match(t+"}")?(i.currentIndent-=1,i.tokenize.pop(),"meta"):P9e(r,i)}}function C9e(e,t){return e.eatSpace()?null:(e.match(A9e)?e.eat(/[!?]/):e.match(d9e)||e.match(h9e)||e.match(f9e),t.tokenize.pop(),"def")}function E9e(e,t){return e.eatSpace()?null:(e.match(m9e),t.tokenize.pop(),"def")}function R9e(e,t,n){return function(r,i){for(var o=!1;r.peek();)if(o)r.next(),o=!1;else{if(r.match("{%",!1))return i.tokenize.push(_9e("%","%")),t;if(r.match("{{",!1))return i.tokenize.push(_9e("{","}")),t;if(n&&r.match("#{",!1))return i.tokenize.push(T9e("#{","}","meta")),t;var a=r.next();if(a==e)return i.tokenize.pop(),t;o=n&&"\\"==a}return t}}const X9e={name:"crystal",startState:function(){return{tokenize:[P9e],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t),r=e.current();return n&&"comment"!=n&&(t.lastToken=r,t.lastStyle=n),n},indent:function(e,t,n){return t=t.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),Q9e.test(t)||S9e.test(t)?n.unit*(e.currentIndent-1):n.unit*e.currentIndent},languageData:{indentOnInput:u9e($9e.concat(w9e),!0),commentTokens:{line:"#"}}},B9e=Object.freeze(Object.defineProperty({__proto__:null,crystal:X9e},Symbol.toStringTag,{value:"Module"}));function U9e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var D9e="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";const I9e={keywords:U9e("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+D9e),blockKeywords:U9e(D9e),builtin:U9e("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:U9e("exit failure success true false null"),hooks:{"@":function(e,t){return e.eatWhile(/[\w\$_]/),"meta"}}};var z9e,N9e=I9e.statementIndentUnit,M9e=I9e.keywords,L9e=I9e.builtin,V9e=I9e.blockKeywords,q9e=I9e.atoms,F9e=I9e.hooks,W9e=I9e.multiLineStrings,Z9e=/[+\-*&%=<>!?|\/]/;function Y9e(e,t){var n,r=e.next();if(F9e[r]){var i=F9e[r](e,t);if(!1!==i)return i}if('"'==r||"'"==r||"`"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return(o||!i&&!W9e)&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return z9e=r,null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r){if(e.eat("+"))return t.tokenize=G9e,G9e(e,t);if(e.eat("*"))return t.tokenize=j9e,j9e(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(Z9e.test(r))return e.eatWhile(Z9e),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return M9e.propertyIsEnumerable(o)?(V9e.propertyIsEnumerable(o)&&(z9e="newstatement"),"keyword"):L9e.propertyIsEnumerable(o)?(V9e.propertyIsEnumerable(o)&&(z9e="newstatement"),"builtin"):q9e.propertyIsEnumerable(o)?"atom":"variable"}function j9e(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function G9e(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="+"==n}return"comment"}function H9e(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function K9e(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new H9e(r,t,n,null,e.context)}function J9e(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const eet={name:"d",startState:function(e){return{tokenize:null,context:new H9e(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;z9e=null;var r=(t.tokenize||Y9e)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=z9e&&":"!=z9e&&","!=z9e||"statement"!=n.type)if("{"==z9e)K9e(t,e.column(),"}");else if("["==z9e)K9e(t,e.column(),"]");else if("("==z9e)K9e(t,e.column(),")");else if("}"==z9e){for(;"statement"==n.type;)n=J9e(t);for("}"==n.type&&(n=J9e(t));"statement"==n.type;)n=J9e(t)}else z9e==n.type?J9e(t):(("}"==n.type||"top"==n.type)&&";"!=z9e||"statement"==n.type&&"newstatement"==z9e)&&K9e(t,e.column(),"statement");else J9e(t);return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=Y9e&&null!=e.tokenize)return null;var r=e.context,i=t&&t.charAt(0);"statement"==r.type&&"}"==i&&(r=r.prev);var o=i==r.type;return"statement"==r.type?r.indented+("{"==i?0:N9e||n.unit):r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},tet=Object.freeze(Object.defineProperty({__proto__:null,d:eet},Symbol.toStringTag,{value:"Module"}));var net={"+":"inserted","-":"deleted","@":"meta"};const ret={name:"diff",token:function(e){var t=e.string.search(/[\t ]+?$/);if(!e.sol()||0===t)return e.skipToEnd(),("error "+(net[e.string.charAt(0)]||"")).replace(/ $/,"");var n=net[e.peek()]||e.skipToEnd();return-1===t?e.skipToEnd():e.pos=t,n}},iet=Object.freeze(Object.defineProperty({__proto__:null,diff:ret},Symbol.toStringTag,{value:"Module"}));function oet(e){aet(e,"start");var t={},n=e.languageData||{},r=!1;for(var i in e)if(i!=n&&e.hasOwnProperty(i))for(var o=t[i]=[],a=e[i],s=0;s<a.length;s++){var l=a[s];o.push(new set(l,e)),(l.indent||l.dedent)&&(r=!0)}return{name:n.name,startState:function(){return{state:"start",pending:null,indent:r?[]:null}},copyState:function(e){var t={state:e.state,pending:e.pending,indent:e.indent&&e.indent.slice(0)};return e.stack&&(t.stack=e.stack.slice(0)),t},token:cet(t),indent:uet(t,n),mergeTokens:n.mergeTokens,languageData:n}}function aet(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function set(e,t){(e.next||e.push)&&aet(t,e.next||e.push),this.regex=function(e){if(!e)return/(?:)/;var t="";return e instanceof RegExp?(e.ignoreCase&&(t="i"),e.unicode&&(t+="u"),e=e.source):e=String(e),new RegExp("^(?:"+e+")",t)}(e.regex),this.token=function(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}function cet(e){return function(t,n){if(n.pending){var r=n.pending.shift();return 0==n.pending.length&&(n.pending=null),t.pos+=r.text.length,r.token}for(var i=e[n.state],o=0;o<i.length;o++){var a=i[o],s=(!a.data.sol||t.sol())&&t.match(a.regex);if(s){a.data.next?n.state=a.data.next:a.data.push?((n.stack||(n.stack=[])).push(n.state),n.state=a.data.push):a.data.pop&&n.stack&&n.stack.length&&(n.state=n.stack.pop()),a.data.indent&&n.indent.push(t.indentation()+t.indentUnit),a.data.dedent&&n.indent.pop();var l=a.token;if(l&&l.apply&&(l=l(s)),s.length>2&&a.token&&"string"!=typeof a.token){n.pending=[];for(var c=2;c<s.length;c++)s[c]&&n.pending.push({text:s[c],token:a.token[c-1]});return t.backUp(s[0].length-(s[1]?s[1].length:0)),l[0]}return l&&l.join?l[0]:l}}return t.next(),null}}function uet(e,t){return function(n,r){if(null==n.indent||t.dontIndentStates&&t.dontIndentStates.indexOf(n.state)>-1)return null;var i=n.indent.length-1,o=e[n.state];e:for(;;){for(var a=0;a<o.length;a++){var s=o[a];if(s.data.dedent&&!1!==s.data.dedentIfLineStart){var l=s.regex.exec(r);if(l&&l[0]){i--,(s.next||s.push)&&(o=e[s.next||s.push]),r=r.slice(l[0].length);continue e}}}break}return i<0?0:n.indent[i]}}var Oet="from",det=new RegExp("^(\\s*)\\b("+Oet+")\\b","i"),het=["run","cmd","entrypoint","shell"],fet=new RegExp("^(\\s*)("+het.join("|")+")(\\s+\\[)","i"),pet="expose",Aet=new RegExp("^(\\s*)("+pet+")(\\s+)","i"),met="("+[Oet,pet].concat(het).concat(["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"]).join("|")+")";const get=oet({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:det,token:[null,"keyword"],sol:!0,next:"from"},{regex:new RegExp("^(\\s*)"+met+"(\\s*)(#.*)?$","i"),token:[null,"keyword",null,"error"],sol:!0},{regex:fet,token:[null,"keyword",null],sol:!0,next:"array"},{regex:Aet,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:new RegExp("^(\\s*)"+met+"(\\s+)","i"),token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}}),vet=Object.freeze(Object.defineProperty({__proto__:null,dockerFile:get},Symbol.toStringTag,{value:"Module"}));var yet;function bet(e,t){return yet=t,e}function wet(e,t){var n,r,i,o=e.next();if("<"!=o||!e.eat("!")){if("<"==o&&e.eat("?"))return t.tokenize=(r="meta",i="?>",function(e,t){for(;!e.eol();){if(e.match(i)){t.tokenize=wet;break}e.next()}return r}),bet("meta",o);if("#"==o&&e.eatWhile(/[\w]/))return bet("atom","tag");if("|"==o)return bet("keyword","separator");if(o.match(/[\(\)\[\]\-\.,\+\?>]/))return bet(null,o);if(o.match(/[\[\]]/))return bet("rule",o);if('"'==o||"'"==o)return t.tokenize=(n=o,function(e,t){for(var r,i=!1;null!=(r=e.next());){if(r==n&&!i){t.tokenize=wet;break}i=!i&&"\\"==r}return bet("string","tag")}),t.tokenize(e,t);if(e.eatWhile(/[a-zA-Z\?\+\d]/)){var a=e.current();return null!==a.substr(a.length-1,a.length).match(/\?|\+/)&&e.backUp(1),bet("tag","tag")}return"%"==o||"*"==o?bet("number","number"):(e.eatWhile(/[\w\\\-_%.{,]/),bet(null,null))}return e.eatWhile(/[\-]/)?(t.tokenize=Qet,Qet(e,t)):e.eatWhile(/[\w]/)?bet("keyword","doindent"):void 0}function Qet(e,t){for(var n,r=0;null!=(n=e.next());){if(r>=2&&">"==n){t.tokenize=wet;break}r="-"==n?r+1:0}return bet("comment","comment")}const $et={name:"dtd",startState:function(){return{tokenize:wet,baseIndent:0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;var n=t.tokenize(e,t),r=t.stack[t.stack.length-1];return"["==e.current()||"doindent"===yet||"["==yet?t.stack.push("rule"):"endtag"===yet?t.stack[t.stack.length-1]="endtag":"]"==e.current()||"]"==yet||">"==yet&&"rule"==r?t.stack.pop():"["==yet&&t.stack.push("["),n},indent:function(e,t,n){var r=e.stack.length;return"]"===t.charAt(0)?r--:">"===t.substr(t.length-1,t.length)&&("<"===t.substr(0,1)||"doindent"==yet&&t.length>1||("doindent"==yet?r--:">"==yet&&t.length>1||"tag"==yet&&">"!==t||("tag"==yet&&"rule"==e.stack[e.stack.length-1]?r--:"tag"==yet?r++:">"===t&&"rule"==e.stack[e.stack.length-1]&&">"===yet?r--:">"===t&&"rule"==e.stack[e.stack.length-1]||("<"!==t.substr(0,1)&&">"===t.substr(0,1)?r-=1:">"===t||(r-=1)))),null!=yet&&"]"!=yet||r--),e.baseIndent+r*n.unit},languageData:{indentOnInput:/^\s*[\]>]$/}},xet=Object.freeze(Object.defineProperty({__proto__:null,dtd:$et},Symbol.toStringTag,{value:"Module"}));function ket(e,t){for(var n=0;n<e.length;n++)t(e[n],n)}function Pet(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n))return!0;return!1}var Tet={unnamedDefinition:["interface"],namedDefinition:["module","library","macro","C-struct","C-union","C-function","C-callable-wrapper"],typeParameterizedDefinition:["class","C-subtype","C-mapped-subtype"],otherParameterizedDefinition:["method","function","C-variable","C-address"],constantSimpleDefinition:["constant"],variableSimpleDefinition:["variable"],otherSimpleDefinition:["generic","domain","C-pointer-type","table"],statement:["if","block","begin","method","case","for","select","when","unless","until","while","iterate","profiling","dynamic-bind"],separator:["finally","exception","cleanup","else","elseif","afterwards"],other:["above","below","by","from","handler","in","instance","let","local","otherwise","slot","subclass","then","to","keyed-by","virtual"],signalingCalls:["signal","error","cerror","break","check-type","abort"]};Tet.otherDefinition=Tet.unnamedDefinition.concat(Tet.namedDefinition).concat(Tet.otherParameterizedDefinition),Tet.definition=Tet.typeParameterizedDefinition.concat(Tet.otherDefinition),Tet.parameterizedDefinition=Tet.typeParameterizedDefinition.concat(Tet.otherParameterizedDefinition),Tet.simpleDefinition=Tet.constantSimpleDefinition.concat(Tet.variableSimpleDefinition).concat(Tet.otherSimpleDefinition),Tet.keyword=Tet.statement.concat(Tet.separator).concat(Tet.other);var _et="[-_a-zA-Z?!*@<>$%]+",Cet=new RegExp("^"+_et),Eet={symbolKeyword:_et+":",symbolClass:"<"+_et+">",symbolGlobal:"\\*"+_et+"\\*",symbolConstant:"\\$"+_et},Ret={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(var Xet in Eet)Eet.hasOwnProperty(Xet)&&(Eet[Xet]=new RegExp("^"+Eet[Xet]));Eet.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var Bet={keyword:"keyword",definition:"def",simpleDefinition:"def",signalingCalls:"builtin"},Uet={},Det={};function Iet(e,t,n){return t.tokenize=n,n(e,t)}function zet(e,t){var n=e.peek();if("'"==n||'"'==n)return e.next(),Iet(e,t,Met(n,"string"));if("/"==n){if(e.next(),e.eat("*"))return Iet(e,t,Net);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if("#"==n)return e.next(),'"'==(n=e.peek())?(e.next(),Iet(e,t,Met('"',"string"))):"b"==n?(e.next(),e.eatWhile(/[01]/),"number"):"x"==n?(e.next(),e.eatWhile(/[\da-f]/i),"number"):"o"==n?(e.next(),e.eatWhile(/[0-7]/),"number"):"#"==n?(e.next(),"punctuation"):"["==n||"("==n?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if("~"==n)return e.next(),"="==(n=e.peek())?(e.next(),"="==(n=e.peek())?(e.next(),"operator"):"operator"):"operator";if(":"==n){if(e.next(),"="==(n=e.peek()))return e.next(),"operator";if(":"==n)return e.next(),"punctuation"}else{if(-1!="[](){}".indexOf(n))return e.next(),"bracket";if(-1!=".,".indexOf(n))return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var r in Eet)if(Eet.hasOwnProperty(r)){var i=Eet[r];if(i instanceof Array&&Pet(i,function(t){return e.match(t)})||e.match(i))return Ret[r]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),Uet.hasOwnProperty(e.current())?Det[e.current()]:e.current().match(Cet)?"variable":(e.next(),"variableName.standard"))}function Net(e,t){for(var n,r=!1,i=!1,o=0;n=e.next();){if("/"==n&&r){if(!(o>0)){t.tokenize=zet;break}o--}else"*"==n&&i&&o++;r="*"==n,i="/"==n}return"comment"}function Met(e,t){return function(n,r){for(var i,o=!1,a=!1;null!=(i=n.next());){if(i==e&&!o){a=!0;break}o=!o&&"\\"==i}return!a&&o||(r.tokenize=zet),t}}ket(["keyword","definition","simpleDefinition","signalingCalls"],function(e){ket(Tet[e],function(t){Uet[t]=e,Det[t]=Bet[e]})});const Let={name:"dylan",startState:function(){return{tokenize:zet,currentIndent:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}},Vet=Object.freeze(Object.defineProperty({__proto__:null,dylan:Let},Symbol.toStringTag,{value:"Module"}));var qet=0,Fet=1,Wet=0,Zet=1,Yet=2;const jet={name:"ebnf",startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'==e.peek()||"'"==e.peek()?(t.stringType=e.peek(),e.next(),t.stack.unshift(Zet)):e.match("/*")?(t.stack.unshift(Wet),t.commentType=qet):e.match("(*")&&(t.stack.unshift(Wet),t.commentType=Fet)),t.stack[0]){case Zet:for(;t.stack[0]===Zet&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property":"string";case Wet:for(;t.stack[0]===Wet&&!e.eol();)t.commentType===qet&&e.match("*/")||t.commentType===Fet&&e.match("*)")?(t.stack.shift(),t.commentType=null):e.match(/^.[^\*]*/);return"comment";case Yet:for(;t.stack[0]===Yet&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||t.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),t.stack.unshift(Yet),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"bracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string.special";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(n))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variableName.special";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":-1!=["[","]","(",")"].indexOf(e.peek())?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}},Get=Object.freeze(Object.defineProperty({__proto__:null,ebnf:jet},Symbol.toStringTag,{value:"Module"}));function Het(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var Ket,Jet=Het("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode"),ett=Het("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait"),ttt=Het("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath"),ntt=Het("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode"),rtt=Het("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when"),itt=Het("catch class do else finally for if switch try while"),ott=Het("true false null"),att={"#":function(e,t){return!!t.startOfLine&&(e.skipToEnd(),"meta")}},stt=/[+\-*&%=<>!?|\/]/;function ltt(e,t){var n,r=e.next();if(att[r]){var i=att[r](e,t);if(!1!==i)return i}if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return!o&&i||(t.tokenize=ltt),"string"}),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return Ket=r,null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r){if(e.eat("*"))return t.tokenize=ctt,ctt(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(stt.test(r))return e.eatWhile(stt),"operator";e.eatWhile(/[\w\$_]/);var o=e.current().toLowerCase();if(Jet.propertyIsEnumerable(o))return itt.propertyIsEnumerable(o)&&(Ket="newstatement"),"keyword";if(ett.propertyIsEnumerable(o))return itt.propertyIsEnumerable(o)&&(Ket="newstatement"),"variable";if(ttt.propertyIsEnumerable(o))return itt.propertyIsEnumerable(o)&&(Ket="newstatement"),"modifier";if(ntt.propertyIsEnumerable(o))return itt.propertyIsEnumerable(o)&&(Ket="newstatement"),"type";if(rtt.propertyIsEnumerable(o))return itt.propertyIsEnumerable(o)&&(Ket="newstatement"),"builtin";for(var a=o.length-1;a>=0&&(!isNaN(o[a])||"_"==o[a]);)--a;if(a>0){var s=o.substr(0,a+1);if(ntt.propertyIsEnumerable(s))return itt.propertyIsEnumerable(s)&&(Ket="newstatement"),"type"}return ott.propertyIsEnumerable(o)?"atom":null}function ctt(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=ltt;break}r="*"==n}return"comment"}function utt(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function Ott(e,t,n){return e.context=new utt(e.indented,t,n,null,e.context)}function dtt(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const htt={name:"ecl",startState:function(e){return{tokenize:null,context:new utt(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;Ket=null;var r=(t.tokenize||ltt)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=Ket&&":"!=Ket||"statement"!=n.type)if("{"==Ket)Ott(t,e.column(),"}");else if("["==Ket)Ott(t,e.column(),"]");else if("("==Ket)Ott(t,e.column(),")");else if("}"==Ket){for(;"statement"==n.type;)n=dtt(t);for("}"==n.type&&(n=dtt(t));"statement"==n.type;)n=dtt(t)}else Ket==n.type?dtt(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==Ket)&&Ott(t,e.column(),"statement");else dtt(t);return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=ltt&&null!=e.tokenize)return 0;var r=e.context,i=t&&t.charAt(0);"statement"==r.type&&"}"==i&&(r=r.prev);var o=i==r.type;return"statement"==r.type?r.indented+("{"==i?0:n.unit):r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/}},ftt=Object.freeze(Object.defineProperty({__proto__:null,ecl:htt},Symbol.toStringTag,{value:"Module"}));function ptt(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}var Att=ptt(["note","across","when","variant","until","unique","undefine","then","strip","select","retry","rescue","require","rename","reference","redefine","prefix","once","old","obsolete","loop","local","like","is","inspect","infix","include","if","frozen","from","external","export","ensure","end","elseif","else","do","creation","create","check","alias","agent","separate","invariant","inherit","indexing","feature","expanded","deferred","class","Void","True","Result","Precursor","False","Current","create","attached","detachable","as","and","implies","not","or"]),mtt=ptt([":=","and then","and","or","<<",">>"]);function gtt(e,t){if(e.eatSpace())return null;var n,r,i=e.next();return'"'==i||"'"==i?function(e,t,n){return n.tokenize.push(e),e(t,n)}((n=i,r="string",function(e,t){for(var i,o=!1;null!=(i=e.next());){if(i==n&&!o){t.tokenize.pop();break}o=!o&&"%"==i}return r}),e,t):"-"==i&&e.eat("-")?(e.skipToEnd(),"comment"):":"==i&&e.eat("=")?"operator":/[0-9]/.test(i)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(i)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(i)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}const vtt={name:"eiffel",startState:function(){return{tokenize:[gtt]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t);if("variable"==n){var r=e.current();n=Att.propertyIsEnumerable(e.current())?"keyword":mtt.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(r)?"tag":/^0[bB][0-1]+$/g.test(r)||/^0[cC][0-7]+$/g.test(r)||/^0[xX][a-fA-F0-9]+$/g.test(r)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(r)||/^[0-9]+$/g.test(r)?"number":"variable"}return n},languageData:{commentTokens:{line:"--"}}},ytt=Object.freeze(Object.defineProperty({__proto__:null,eiffel:vtt},Symbol.toStringTag,{value:"Module"}));function btt(e,t,n){return t(n),n(e,t)}var wtt=/[a-z]/,Qtt=/[A-Z]/,$tt=/[a-zA-Z0-9_]/,Stt=/[0-9]/,xtt=/[0-9A-Fa-f]/,ktt=/[-&*+.\\/<>=?^|:]/,Ptt=/[(),[\]{}]/,Ttt=/[ \v\f]/;function _tt(){return function(e,t){if(e.eatWhile(Ttt))return null;var n=e.next();if(Ptt.test(n))return"{"===n&&e.eat("-")?btt(e,t,Ctt(1)):"["===n&&e.match("glsl|")?btt(e,t,Btt):"builtin";if("'"===n)return btt(e,t,Xtt);if('"'===n)return e.eat('"')?e.eat('"')?btt(e,t,Ett):"string":btt(e,t,Rtt);if(Qtt.test(n))return e.eatWhile($tt),"type";if(wtt.test(n)){var r=1===e.pos;return e.eatWhile($tt),r?"def":"variable"}if(Stt.test(n)){if("0"===n){if(e.eat(/[xX]/))return e.eatWhile(xtt),"number"}else e.eatWhile(Stt);return e.eat(".")&&e.eatWhile(Stt),e.eat(/[eE]/)&&(e.eat(/[-+]/),e.eatWhile(Stt)),"number"}return ktt.test(n)?"-"===n&&e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(ktt),"keyword"):"_"===n?"keyword":"error"}}function Ctt(e){return 0==e?_tt():function(t,n){for(;!t.eol();){var r=t.next();if("{"==r&&t.eat("-"))++e;else if("-"==r&&t.eat("}")&&0===--e)return n(_tt()),"comment"}return n(Ctt(e)),"comment"}}function Ett(e,t){for(;!e.eol();){if('"'===e.next()&&e.eat('"')&&e.eat('"'))return t(_tt()),"string"}return"string"}function Rtt(e,t){for(;e.skipTo('\\"');)e.next(),e.next();return e.skipTo('"')?(e.next(),t(_tt()),"string"):(e.skipToEnd(),t(_tt()),"error")}function Xtt(e,t){for(;e.skipTo("\\'");)e.next(),e.next();return e.skipTo("'")?(e.next(),t(_tt()),"string"):(e.skipToEnd(),t(_tt()),"error")}function Btt(e,t){for(;!e.eol();){if("|"===e.next()&&e.eat("]"))return t(_tt()),"string"}return"string"}var Utt={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};const Dtt={name:"elm",startState:function(){return{f:_tt()}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,function(e){t.f=e}),r=e.current();return Utt.hasOwnProperty(r)?"keyword":n},languageData:{commentTokens:{line:"--"}}},Itt=Object.freeze(Object.defineProperty({__proto__:null,elm:Dtt},Symbol.toStringTag,{value:"Module"}));var ztt=["-type","-spec","-export_type","-opaque"],Ntt=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],Mtt=/[\->,;]/,Ltt=["->",";",","],Vtt=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],qtt=/[\+\-\*\/<>=\|:!]/,Ftt=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],Wtt=/[<\(\[\{]/,Ztt=["<<","(","[","{"],Ytt=/[>\)\]\}]/,jtt=["}","]",")",">>"],Gtt=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],Htt=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],Ktt=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,Jtt=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function ent(e,t,n){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());)if(e.next(),ont(e.current(),n))return!0;e.backUp(e.current().length-1)}return!1}function tnt(e,t,n){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());)e.next();for(;0<e.current().length;){if(ont(e.current(),n))return!0;e.backUp(1)}e.next()}return!1}function nnt(e){return int(e,'"',"\\")}function rnt(e){return int(e,"'","\\")}function int(e,t,n){for(;!e.eol();){var r=e.next();if(r==t)return!0;r==n&&e.next()}return!1}function ont(e,t){return-1<t.indexOf(e)}function ant(e,t,n){switch(function(e,t){"comment"!=t.type&&"whitespace"!=t.type&&(e.tokenStack=function(e,t){var n=e.length-1;0<n&&"record"===e[n].type&&"dot"===t.type?e.pop():0<n&&"group"===e[n].type?(e.pop(),e.push(t)):e.push(t);return e}(e.tokenStack,t),e.tokenStack=function(e){if(!e.length)return e;var t=e.length-1;if("dot"===e[t].type)return[];if(t>1&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return unt(e,{g:["{"]});case"]":return unt(e,{i:["["]});case")":return unt(e,{i:["("]});case">>":return unt(e,{i:["<<"]});case"end":return unt(e,{i:["begin","case","fun","if","receive","try"]});case",":return unt(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return unt(e,{r:["when"],m:["try","if","case","receive"]});case";":return unt(e,{E:["case","fun","if","receive","try","when"]});case"catch":return unt(e,{e:["try"]});case"of":return unt(e,{e:["case"]});case"after":return unt(e,{e:["receive","try"]});default:return e}}(e.tokenStack))}(e,function(e,t){return snt(t.current(),t.column(),t.indentation(),e)}(n,t)),n){case"atom":case"boolean":return"atom";case"attribute":return"attribute";case"builtin":return"builtin";case"close_paren":case"colon":case"dot":case"open_paren":case"separator":default:return null;case"comment":return"comment";case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"macroName";case"number":return"number";case"operator":return"operator";case"record":return"bracket";case"string":return"string";case"type":return"def";case"variable":return"variable"}}function snt(e,t,n,r){return{token:e,column:t,indent:n,type:r}}function lnt(e){return snt(e,0,0,e)}function cnt(e,t){var n=e.tokenStack.length,r=t||1;return!(n<r)&&e.tokenStack[n-r]}function unt(e,t){for(var n in t)for(var r=e.length-1,i=t[n],o=r-1;-1<o;o--)if(ont(e[o].token,i)){var a=e.slice(0,o);switch(n){case"m":return a.concat(e[o]).concat(e[r]);case"r":return a.concat(e[r]);case"i":return a;case"g":return a.concat(lnt("group"));case"E":case"e":return a.concat(e[o])}}return"E"==n?[]:e}function Ont(e,t){var n=e.tokenStack,r=dnt(n,"token",t);return!!hnt(n[r])&&n[r]}function dnt(e,t,n){for(var r=e.length-1;-1<r;r--)if(ont(e[r][t],n))return r;return!1}function hnt(e){return!1!==e&&null!=e}const fnt={name:"erlang",startState:()=>({tokenStack:[],in_string:!1,in_atom:!1}),token:function(e,t){if(t.in_string)return t.in_string=!nnt(e),ant(t,e,"string");if(t.in_atom)return t.in_atom=!rnt(e),ant(t,e,"atom");if(e.eatSpace())return ant(t,e,"whitespace");if(!cnt(t)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return ont(e.current(),ztt)?ant(t,e,"type"):ant(t,e,"attribute");var n=e.next();if("%"==n)return e.skipToEnd(),ant(t,e,"comment");if(":"==n)return ant(t,e,"colon");if("?"==n)return e.eatSpace(),e.eatWhile(Ktt),ant(t,e,"macro");if("#"==n)return e.eatSpace(),e.eatWhile(Ktt),ant(t,e,"record");if("$"==n)return"\\"!=e.next()||e.match(Jtt)?ant(t,e,"number"):ant(t,e,"error");if("."==n)return ant(t,e,"dot");if("'"==n){if(!(t.in_atom=!rnt(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),ant(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return ant(t,e,"function")}return ant(t,e,"atom")}if('"'==n)return t.in_string=!nnt(e),ant(t,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(n))return e.eatWhile(Ktt),ant(t,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(n)){if(e.eatWhile(Ktt),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),ant(t,e,"fun");var r=e.current();return ont(r,Ntt)?ant(t,e,"keyword"):ont(r,Vtt)?ant(t,e,"operator"):e.match(/\s*\(/,!1)?!ont(r,Htt)||":"==cnt(t).token&&"erlang"!=cnt(t,2).token?ont(r,Gtt)?ant(t,e,"guard"):ant(t,e,"function"):ant(t,e,"builtin"):":"==function(e){var t=e.match(/^\s*([^\s%])/,!1);return t?t[1]:""}(e)?ant(t,e,"erlang"==r?"builtin":"function"):ont(r,["true","false"])?ant(t,e,"boolean"):ant(t,e,"atom")}var i=/[0-9]/;return i.test(n)?(e.eatWhile(i),e.eat("#")?e.eatWhile(/[0-9a-zA-Z]/)||e.backUp(1):e.eat(".")&&(e.eatWhile(i)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(i)||e.backUp(2):e.eatWhile(i)||e.backUp(1)):e.backUp(1)),ant(t,e,"number")):ent(e,Wtt,Ztt)?ant(t,e,"open_paren"):ent(e,Ytt,jtt)?ant(t,e,"close_paren"):tnt(e,Mtt,Ltt)?ant(t,e,"separator"):tnt(e,qtt,Ftt)?ant(t,e,"operator"):ant(t,e,null)},indent:function(e,t,n){var r,i=function(e){var t=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return hnt(t)&&0===t.index?t[0]:""}(t),o=cnt(e,1),a=cnt(e,2);return e.in_string||e.in_atom?null:a?"when"==o.token?o.column+n.unit:"when"===i&&"function"===a.type?a.indent+n.unit:"("===i&&"fun"===o.token?o.column+3:"catch"===i&&(r=Ont(e,["try"]))?r.column:ont(i,["end","after","of"])?(r=Ont(e,["begin","case","fun","if","receive","try"]))?r.column:null:ont(i,jtt)?(r=Ont(e,Ztt))?r.column:null:ont(o.token,[",","|","||"])||ont(i,[",","|","||"])?(r=function(e){var t=e.tokenStack.slice(0,-1),n=dnt(t,"type",["open_paren"]);return!!hnt(t[n])&&t[n]}(e),r?r.column+r.token.length:n.unit):"->"==o.token?ont(a.token,["receive","case","if","try"])?a.column+n.unit+n.unit:a.column+n.unit:ont(o.token,Ztt)?o.column+o.token.length:(r=function(e){var t=e.tokenStack,n=dnt(t,"type",["open_paren","separator","keyword"]),r=dnt(t,"type",["operator"]);return hnt(n)&&hnt(r)&&n<r?t[n+1]:!!hnt(n)&&t[n]}(e),hnt(r)?r.column+n.unit:0):0},languageData:{commentTokens:{line:"%"}}},pnt=Object.freeze(Object.defineProperty({__proto__:null,erlang:fnt},Symbol.toStringTag,{value:"Module"}));function Ant(e){var t=e.client||{},n=e.atoms||{false:!0,true:!0,null:!0},r=e.builtin||bnt(wnt),i=e.keywords||bnt(ynt),o=e.operatorChars||/^[*+\-%<>!=&|~^\/]/,a=e.support||{},s=e.hooks||{},l=e.dateSQL||{date:!0,time:!0,timestamp:!0},c=!1!==e.backslashStringEscapes,u=e.brackets||/^[\{}\(\)\[\]]/,O=e.punctuation||/^[;.,:]/;function d(e,c){var d=e.next();if(s[d]){var p=s[d](e,c);if(!1!==p)return p}if(a.hexNumber&&("0"==d&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==d||"X"==d)&&e.match(/^'[0-9a-fA-F]*'/)))return"number";if(a.binaryNumber&&(("b"==d||"B"==d)&&e.match(/^'[01]+'/)||"0"==d&&e.match(/^b[01]*/)))return"number";if(d.charCodeAt(0)>47&&d.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),a.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==d&&(e.eatSpace()||e.eol()||e.eat(";")))return"macroName";if("'"==d||'"'==d&&a.doubleQuote)return c.tokenize=h(d),c.tokenize(e,c);if((a.nCharCast&&("n"==d||"N"==d)||a.charsetCast&&"_"==d&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(a.escapeConstant&&("e"==d||"E"==d)&&("'"==e.peek()||'"'==e.peek()&&a.doubleQuote))return c.tokenize=function(e,t){return(t.tokenize=h(e.next(),!0))(e,t)},"keyword";if(a.commentSlashSlash&&"/"==d&&e.eat("/"))return e.skipToEnd(),"comment";if(a.commentHash&&"#"==d||"-"==d&&e.eat("-")&&(!a.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==d&&e.eat("*"))return c.tokenize=f(1),c.tokenize(e,c);if("."!=d){if(o.test(d))return e.eatWhile(o),"operator";if(u.test(d))return"bracket";if(O.test(d))return e.eatWhile(O),"punctuation";if("{"==d&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var A=e.current().toLowerCase();return l.hasOwnProperty(A)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":n.hasOwnProperty(A)?"atom":r.hasOwnProperty(A)?"type":i.hasOwnProperty(A)?"keyword":t.hasOwnProperty(A)?"builtin":null}return a.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:a.ODBCdotTable&&e.match(/^[\w\d_$#]+/)?"type":void 0}function h(e,t){return function(n,r){for(var i,o=!1;null!=(i=n.next());){if(i==e&&!o){r.tokenize=d;break}o=(c||t)&&!o&&"\\"==i}return"string"}}function f(e){return function(t,n){var r=t.match(/^.*?(\/\*|\*\/)/);return r?"/*"==r[1]?n.tokenize=f(e+1):n.tokenize=e>1?f(e-1):d:t.skipToEnd(),"comment"}}function p(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}return{name:"sql",startState:function(){return{tokenize:d,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==d&&e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var r=e.current();return"("==r?p(e,t,")"):"["==r?p(e,t,"]"):t.context&&t.context.type==r&&function(e){e.indent=e.context.indent,e.context=e.context.prev}(t),n},indent:function(e,t,n){var r=e.context;if(!r)return null;var i=t.charAt(0)==r.type;return r.align?r.col+(i?0:1):r.indent+(i?0:n.unit)},languageData:{commentTokens:{line:a.commentSlashSlash?"//":a.commentHash?"#":"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}function mnt(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"string.special";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"string.special":null}function gnt(e){return e.eat("@")&&(e.match("session."),e.match("local."),e.match("global.")),e.eat("'")?(e.match(/^.*'/),"string.special"):e.eat('"')?(e.match(/^.*"/),"string.special"):e.eat("`")?(e.match(/^.*`/),"string.special"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"string.special":null}function vnt(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"string.special":null}var ynt="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function bnt(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var wnt="bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric";const Qnt=Ant({keywords:bnt(ynt+"begin"),builtin:bnt(wnt),atoms:bnt("false true null unknown"),dateSQL:bnt("date time timestamp"),support:bnt("ODBCdotTable doubleQuote binaryNumber hexNumber")}),$nt=Ant({client:bnt("$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id"),keywords:bnt(ynt+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with"),builtin:bnt("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:bnt("is not null like and or in left right between inner outer join all any some cross unpivot pivot exists"),operatorChars:/^[*+\-%<>!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:bnt("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":gnt}}),Snt=Ant({client:bnt("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:bnt(ynt+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:bnt("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:bnt("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:bnt("date time timestamp"),support:bnt("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":gnt,"`":mnt,"\\":vnt}}),xnt=Ant({client:bnt("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:bnt(ynt+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:bnt("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:bnt("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:bnt("date time timestamp"),support:bnt("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":gnt,"`":mnt,"\\":vnt}}),knt=Ant({client:bnt("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:bnt(ynt+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:bnt("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:bnt("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:bnt("date time timestamp datetime"),support:bnt("decimallessFloat zerolessFloat"),hooks:{"@":gnt,":":gnt,"?":gnt,$:gnt,'"':function(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"string.special";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"string.special":null},"`":mnt}}),Pnt=Ant({client:{},keywords:bnt("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:bnt("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:bnt("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:bnt("commentSlashSlash decimallessFloat"),hooks:{}}),Tnt=Ant({client:bnt("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:bnt("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:bnt("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:bnt("date time timestamp"),support:bnt("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),_nt=Ant({keywords:bnt("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:bnt("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:bnt("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:bnt("date timestamp"),support:bnt("ODBCdotTable doubleQuote binaryNumber hexNumber")}),Cnt=Ant({client:bnt("source"),keywords:bnt(ynt+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:bnt("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:bnt("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:bnt("date time timestamp"),support:bnt("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),Ent=Ant({keywords:bnt("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:bnt("false true"),builtin:bnt("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),Rnt=Ant({client:bnt("source"),keywords:bnt("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:bnt("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:bnt("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:bnt("date time timestamp"),support:bnt("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),Xnt=Ant({keywords:bnt("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:bnt("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:bnt("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:bnt("date time timestamp"),support:bnt("ODBCdotTable doubleQuote zerolessFloat")}),Bnt=Ant({client:bnt("source"),keywords:bnt("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:bnt("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:bnt("time"),support:bnt("decimallessFloat zerolessFloat binaryNumber hexNumber")}),Unt=Object.freeze(Object.defineProperty({__proto__:null,cassandra:Pnt,esper:Bnt,gpSQL:Rnt,gql:Ent,hive:_nt,mariaDB:xnt,msSQL:$nt,mySQL:Snt,pgSQL:Cnt,plSQL:Tnt,sparkSQL:Xnt,sql:Ant,sqlite:knt,standardSQL:Qnt},Symbol.toStringTag,{value:"Module"})),Dnt=oet({start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|<PRIVATE|\.|\S*\[|\]|\S*\{|\})(?=\s|$)/,token:"keyword"},{regex:/\S+[\)>\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}}),Int=Object.freeze(Object.defineProperty({__proto__:null,factor:Dnt},Symbol.toStringTag,{value:"Module"}));var znt={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},Nnt={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},Mnt={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},Lnt={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},Vnt=/[+\-*&^%:=<>!|\/]/;function qnt(e,t){var n=e.next();if(/[\d\.]/.test(n))return"."==n?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==n?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==n||"("==n){if(e.eat("*"))return t.tokenize=Fnt,Fnt(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(Vnt.test(n))return e.eatWhile(Vnt),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return znt.propertyIsEnumerable(r)||Nnt.propertyIsEnumerable(r)||Mnt.propertyIsEnumerable(r)?"keyword":Lnt.propertyIsEnumerable(r)?"atom":"variable"}function Fnt(e,t){for(var n,r=!1;n=e.next();){if(("/"==n||")"==n)&&r){t.tokenize=qnt;break}r="*"==n}return"comment"}function Wnt(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}const Znt={name:"fcl",startState:function(e){return{tokenize:null,context:new Wnt(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;var r=(t.tokenize||qnt)(e,t);if("comment"==r)return r;null==n.align&&(n.align=!0);var i=e.current().toLowerCase();return Nnt.propertyIsEnumerable(i)?function(e,t,n){e.context=new Wnt(e.indented,t,n,null,e.context)}(t,e.column(),"end_block"):Mnt.propertyIsEnumerable(i)&&function(e){if(e.context.prev)"end_block"==e.context.type&&(e.indented=e.context.indented),e.context=e.context.prev}(t),t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=qnt&&null!=e.tokenize)return 0;var r=e.context,i=Mnt.propertyIsEnumerable(t);return r.align?r.column+(i?0:1):r.indented+(i?0:n.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}},Ynt=Object.freeze(Object.defineProperty({__proto__:null,fcl:Znt},Symbol.toStringTag,{value:"Module"}));function jnt(e){var t=[];return e.split(" ").forEach(function(e){t.push({name:e})}),t}var Gnt=jnt("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),Hnt=jnt("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function Knt(e,t){var n;for(n=e.length-1;n>=0;n--)if(e[n].name===t.toUpperCase())return e[n]}const Jnt={name:"forth",startState:function(){return{state:"",base:10,coreWordList:Gnt,immediateWordList:Hnt,wordList:[]}},token:function(e,t){var n;if(e.eatSpace())return null;if(""===t.state){if(e.match(/^(\]|:NONAME)(\s|$)/i))return t.state=" compilation","builtin";if(n=e.match(/^(\:)\s+(\S+)(\s|$)+/))return t.wordList.push({name:n[2].toUpperCase()}),t.state=" compilation","def";if(n=e.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return t.wordList.push({name:n[2].toUpperCase()}),"def";if(n=e.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/))return"builtin"}else{if(e.match(/^(\;|\[)(\s)/))return t.state="",e.backUp(1),"builtin";if(e.match(/^(\;|\[)($)/))return t.state="","builtin";if(e.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}return(n=e.match(/^(\S+)(\s+|$)/))?void 0!==Knt(t.wordList,n[1])?"variable":"\\"===n[1]?(e.skipToEnd(),"comment"):void 0!==Knt(t.coreWordList,n[1])?"builtin":void 0!==Knt(t.immediateWordList,n[1])?"keyword":"("===n[1]?(e.eatWhile(function(e){return")"!==e}),e.eat(")"),"comment"):".("===n[1]?(e.eatWhile(function(e){return")"!==e}),e.eat(")"),"string"):'S"'===n[1]||'."'===n[1]||'C"'===n[1]?(e.eatWhile(function(e){return'"'!==e}),e.eat('"'),"string"):n[1]-68719476735?"number":"atom":void 0}},ert=Object.freeze(Object.defineProperty({__proto__:null,forth:Jnt},Symbol.toStringTag,{value:"Module"}));function trt(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}var nrt=trt(["abstract","accept","allocatable","allocate","array","assign","asynchronous","backspace","bind","block","byte","call","case","class","close","common","contains","continue","cycle","data","deallocate","decode","deferred","dimension","do","elemental","else","encode","end","endif","entry","enumerator","equivalence","exit","external","extrinsic","final","forall","format","function","generic","go","goto","if","implicit","import","include","inquire","intent","interface","intrinsic","module","namelist","non_intrinsic","non_overridable","none","nopass","nullify","open","optional","options","parameter","pass","pause","pointer","print","private","program","protected","public","pure","read","recursive","result","return","rewind","save","select","sequence","stop","subroutine","target","then","to","type","use","value","volatile","where","while","write"]),rrt=trt(["abort","abs","access","achar","acos","adjustl","adjustr","aimag","aint","alarm","all","allocated","alog","amax","amin","amod","and","anint","any","asin","associated","atan","besj","besjn","besy","besyn","bit_size","btest","cabs","ccos","ceiling","cexp","char","chdir","chmod","clog","cmplx","command_argument_count","complex","conjg","cos","cosh","count","cpu_time","cshift","csin","csqrt","ctime","c_funloc","c_loc","c_associated","c_null_ptr","c_null_funptr","c_f_pointer","c_null_char","c_alert","c_backspace","c_form_feed","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","dabs","dacos","dasin","datan","date_and_time","dbesj","dbesj","dbesjn","dbesy","dbesy","dbesyn","dble","dcos","dcosh","ddim","derf","derfc","dexp","digits","dim","dint","dlog","dlog","dmax","dmin","dmod","dnint","dot_product","dprod","dsign","dsinh","dsin","dsqrt","dtanh","dtan","dtime","eoshift","epsilon","erf","erfc","etime","exit","exp","exponent","extends_type_of","fdate","fget","fgetc","float","floor","flush","fnum","fputc","fput","fraction","fseek","fstat","ftell","gerror","getarg","get_command","get_command_argument","get_environment_variable","getcwd","getenv","getgid","getlog","getpid","getuid","gmtime","hostnm","huge","iabs","iachar","iand","iargc","ibclr","ibits","ibset","ichar","idate","idim","idint","idnint","ieor","ierrno","ifix","imag","imagpart","index","int","ior","irand","isatty","ishft","ishftc","isign","iso_c_binding","is_iostat_end","is_iostat_eor","itime","kill","kind","lbound","len","len_trim","lge","lgt","link","lle","llt","lnblnk","loc","log","logical","long","lshift","lstat","ltime","matmul","max","maxexponent","maxloc","maxval","mclock","merge","move_alloc","min","minexponent","minloc","minval","mod","modulo","mvbits","nearest","new_line","nint","not","or","pack","perror","precision","present","product","radix","rand","random_number","random_seed","range","real","realpart","rename","repeat","reshape","rrspacing","rshift","same_type_as","scale","scan","second","selected_int_kind","selected_real_kind","set_exponent","shape","short","sign","signal","sinh","sin","sleep","sngl","spacing","spread","sqrt","srand","stat","sum","symlnk","system","system_clock","tan","tanh","time","tiny","transfer","transpose","trim","ttynam","ubound","umask","unlink","unpack","verify","xor","zabs","zcos","zexp","zlog","zsin","zsqrt"]),irt=trt(["c_bool","c_char","c_double","c_double_complex","c_float","c_float_complex","c_funptr","c_int","c_int16_t","c_int32_t","c_int64_t","c_int8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_int_fast8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_least8_t","c_intmax_t","c_intptr_t","c_long","c_long_double","c_long_double_complex","c_long_long","c_ptr","c_short","c_signed_char","c_size_t","character","complex","double","integer","logical","real"]),ort=/[+\-*&=<>\/\:]/,art=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function srt(e,t){if(e.match(art))return"operator";var n,r=e.next();if("!"==r)return e.skipToEnd(),"comment";if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return!o&&i||(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]\(\),]/.test(r))return null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if(ort.test(r))return e.eatWhile(ort),"operator";e.eatWhile(/[\w\$_]/);var i=e.current().toLowerCase();return nrt.hasOwnProperty(i)?"keyword":rrt.hasOwnProperty(i)||irt.hasOwnProperty(i)?"builtin":"variable"}const lrt={name:"fortran",startState:function(){return{tokenize:null}},token:function(e,t){if(e.eatSpace())return null;var n=(t.tokenize||srt)(e,t);return n}},crt=Object.freeze(Object.defineProperty({__proto__:null,fortran:lrt},Symbol.toStringTag,{value:"Module"}));function urt(e){var t={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},n=e.extraWords||{};for(var r in n)n.hasOwnProperty(r)&&(t[r]=e.extraWords[r]);var i=[];for(var o in t)i.push(o);function a(n,r){var i=n.next();if('"'===i)return r.tokenize=s,r.tokenize(n,r);if("{"===i&&n.eat("|"))return r.longString=!0,r.tokenize=c,r.tokenize(n,r);if("("===i&&n.match(/^\*(?!\))/))return r.commentLevel++,r.tokenize=l,r.tokenize(n,r);if("~"===i||"?"===i)return n.eatWhile(/\w/),"variableName.special";if("`"===i)return n.eatWhile(/\w/),"quote";if("/"===i&&e.slashComments&&n.eat("/"))return n.skipToEnd(),"comment";if(/\d/.test(i))return"0"===i&&n.eat(/[bB]/)&&n.eatWhile(/[01]/),"0"===i&&n.eat(/[xX]/)&&n.eatWhile(/[0-9a-fA-F]/),"0"===i&&n.eat(/[oO]/)?n.eatWhile(/[0-7]/):(n.eatWhile(/[\d_]/),n.eat(".")&&n.eatWhile(/[\d]/),n.eat(/[eE]/)&&n.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(i))return"operator";if(/[\w\xa1-\uffff]/.test(i)){n.eatWhile(/[\w\xa1-\uffff]/);var o=n.current();return t.hasOwnProperty(o)?t[o]:"variable"}return null}function s(e,t){for(var n,r=!1,i=!1;null!=(n=e.next());){if('"'===n&&!i){r=!0;break}i=!i&&"\\"===n}return r&&!i&&(t.tokenize=a),"string"}function l(e,t){for(var n,r;t.commentLevel>0&&null!=(r=e.next());)"("===n&&"*"===r&&t.commentLevel++,"*"===n&&")"===r&&t.commentLevel--,n=r;return t.commentLevel<=0&&(t.tokenize=a),"comment"}function c(e,t){for(var n,r;t.longString&&null!=(r=e.next());)"|"===n&&"}"===r&&(t.longString=!1),n=r;return t.longString||(t.tokenize=a),"string"}return{startState:function(){return{tokenize:a,commentLevel:0,longString:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{autocomplete:i,commentTokens:{line:e.slashComments?"//":void 0,block:{open:"(*",close:"*)"}}}}}const Ort=urt({extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),drt=urt({extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),hrt=urt({extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0}),frt=Object.freeze(Object.defineProperty({__proto__:null,fSharp:drt,oCaml:Ort,sml:hrt},Symbol.toStringTag,{value:"Module"}));function prt(e){var t=[],n="",r={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function o(e,t){for(var n,r=!1;null!=(n=e.next());){if("/"===n&&r){t.tokenize=null;break}r="*"===n}return"comment"}return"x86"===e?(n="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variableName.special",i.rax="variableName.special",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variableName.special",i.rbx="variableName.special",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variableName.special",i.rcx="variableName.special",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variableName.special",i.rdx="variableName.special",i.si="variable",i.esi="variableName.special",i.rsi="variableName.special",i.di="variable",i.edi="variableName.special",i.rdi="variableName.special",i.sp="variable",i.esp="variableName.special",i.rsp="variableName.special",i.bp="variable",i.ebp="variableName.special",i.rbp="variableName.special",i.ip="variable",i.eip="variableName.special",i.rip="variableName.special",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"):"arm"!==e&&"armv6"!==e||(n="@",r.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variableName.special",i.lr="variableName.special",i.pc="variableName.special",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,t.push(function(e,t){if("#"===e)return t.eatWhile(/\w/),"number"})),{name:"gas",startState:function(){return{tokenize:null}},token:function(e,a){if(a.tokenize)return a.tokenize(e,a);if(e.eatSpace())return null;var s,l,c=e.next();if("/"===c&&e.eat("*"))return a.tokenize=o,o(e,a);if(c===n)return e.skipToEnd(),"comment";if('"'===c)return function(e,t){for(var n,r=!1;null!=(n=e.next());){if(n===t&&!r)return!1;r=!r&&"\\"===n}}(e,'"'),"string";if("."===c)return e.eatWhile(/\w/),l=e.current().toLowerCase(),(s=r[l])||null;if("="===c)return e.eatWhile(/\w/),"tag";if("{"===c)return"bracket";if("}"===c)return"bracket";if(/\d/.test(c))return"0"===c&&e.eat("x")?(e.eatWhile(/[0-9a-fA-F]/),"number"):(e.eatWhile(/\d/),"number");if(/\w/.test(c))return e.eatWhile(/\w/),e.eat(":")?"tag":(l=e.current().toLowerCase(),(s=i[l])||null);for(var u=0;u<t.length;u++)if(s=t[u](c,e,a))return s},languageData:{commentTokens:{line:n,block:{open:"/*",close:"*/"}}}}}const Art=prt("x86"),mrt=prt("arm"),grt=Object.freeze(Object.defineProperty({__proto__:null,gas:Art,gasArm:mrt},Symbol.toStringTag,{value:"Module"})),vrt=Object.freeze(Object.defineProperty({__proto__:null,gherkin:{name:"gherkin",startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(e,t){if(e.sol()&&(t.lineNumber++,t.inKeywordLine=!1,t.inMultilineTable&&(t.tableHeaderLine=!1,e.match(/\s*\|/,!1)||(t.allowMultilineArgument=!1,t.inMultilineTable=!1))),e.eatSpace(),t.allowMultilineArgument){if(t.inMultilineString)return e.match('"""')?(t.inMultilineString=!1,t.allowMultilineArgument=!1):e.match(/.*/),"string";if(t.inMultilineTable)return e.match(/\|\s*/)?"bracket":(e.match(/[^\|]*/),t.tableHeaderLine?"header":"string");if(e.match('"""'))return t.inMultilineString=!0,"string";if(e.match("|"))return t.inMultilineTable=!0,t.tableHeaderLine=!0,"bracket"}return e.match(/#.*/)?"comment":!t.inKeywordLine&&e.match(/@\S+/)?"tag":!t.inKeywordLine&&t.allowFeature&&e.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(t.allowScenario=!0,t.allowBackground=!0,t.allowPlaceholders=!1,t.allowSteps=!1,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):!t.inKeywordLine&&t.allowBackground&&e.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(t.allowPlaceholders=!1,t.allowSteps=!0,t.allowBackground=!1,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):!t.inKeywordLine&&t.allowScenario&&e.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(t.allowPlaceholders=!0,t.allowSteps=!0,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):t.allowScenario&&e.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(t.allowPlaceholders=!1,t.allowSteps=!0,t.allowBackground=!1,t.allowMultilineArgument=!0,"keyword"):!t.inKeywordLine&&t.allowScenario&&e.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(t.allowPlaceholders=!1,t.allowSteps=!0,t.allowBackground=!1,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):!t.inKeywordLine&&t.allowSteps&&e.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(t.inStep=!0,t.allowPlaceholders=!0,t.allowMultilineArgument=!0,t.inKeywordLine=!0,"keyword"):e.match(/"[^"]*"?/)?"string":t.allowPlaceholders&&e.match(/<[^>]*>?/)?"variable":(e.next(),e.eatWhile(/[^@"<#]/),null)}}},Symbol.toStringTag,{value:"Module"}));function yrt(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var brt,wrt=yrt("abstract as assert boolean break byte case catch char class const continue def default do double else enum extends final finally float for goto if implements import in instanceof int interface long native new package private protected public return short static strictfp super switch synchronized threadsafe throw throws trait transient try void volatile while"),Qrt=yrt("catch class def do else enum finally for if interface switch trait try while"),$rt=yrt("return break continue"),Srt=yrt("null true false this");function xrt(e,t){var n=e.next();if('"'==n||"'"==n)return krt(n,e,t);if(/[\[\]{}\(\),;\:\.]/.test(n))return brt=n,null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),e.eat(/eE/)&&(e.eat(/\+\-/),e.eatWhile(/\d/)),"number";if("/"==n){if(e.eat("*"))return t.tokenize.push(_rt),_rt(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";if(Crt(t.lastToken,!1))return krt(n,e,t)}if("-"==n&&e.eat(">"))return brt="->",null;if(/[+\-*&%=<>!?|\/~]/.test(n))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),"@"==n)return e.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(e.eat(":"))return brt="proplabel","property";var r=e.current();return Srt.propertyIsEnumerable(r)?"atom":wrt.propertyIsEnumerable(r)?(Qrt.propertyIsEnumerable(r)?brt="newstatement":$rt.propertyIsEnumerable(r)&&(brt="standalone"),"keyword"):"variable"}function krt(e,t,n){var r=!1;if("/"!=e&&t.eat(e)){if(!t.eat(e))return"string";r=!0}function i(t,n){for(var i,o=!1,a=!r;null!=(i=t.next());){if(i==e&&!o){if(!r)break;if(t.match(e+e)){a=!0;break}}if('"'==e&&"$"==i&&!o){if(t.eat("{"))return n.tokenize.push(Prt()),"string";if(t.match(/^\w/,!1))return n.tokenize.push(Trt),"string"}o=!o&&"\\"==i}return a&&n.tokenize.pop(),"string"}return n.tokenize.push(i),i(t,n)}function Prt(){var e=1;function t(t,n){if("}"==t.peek()){if(0==--e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)}else"{"==t.peek()&&e++;return xrt(t,n)}return t.isBase=!0,t}function Trt(e,t){var n=e.match(/^(\.|[\w\$_]+)/);return n&&e.match("."==n[0]?/^[\w$_]/:/^\./)||t.tokenize.pop(),n?"."==n[0]?null:"variable":t.tokenize[t.tokenize.length-1](e,t)}function _rt(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize.pop();break}r="*"==n}return"comment"}function Crt(e,t){return!e||"operator"==e||"->"==e||/[\.\[\{\(,;:]/.test(e)||"newstatement"==e||"keyword"==e||"proplabel"==e||"standalone"==e&&!t}function Ert(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function Rrt(e,t,n){return e.context=new Ert(e.indented,t,n,null,e.context)}function Xrt(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}xrt.isBase=!0;const Brt={name:"groovy",startState:function(e){return{tokenize:[xrt],context:new Ert(-e,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"statement"!=n.type||Crt(t.lastToken,!0)||(Xrt(t),n=t.context)),e.eatSpace())return null;brt=null;var r=t.tokenize[t.tokenize.length-1](e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=brt&&":"!=brt||"statement"!=n.type)if("->"==brt&&"statement"==n.type&&"}"==n.prev.type)Xrt(t),t.context.align=!1;else if("{"==brt)Rrt(t,e.column(),"}");else if("["==brt)Rrt(t,e.column(),"]");else if("("==brt)Rrt(t,e.column(),")");else if("}"==brt){for(;"statement"==n.type;)n=Xrt(t);for("}"==n.type&&(n=Xrt(t));"statement"==n.type;)n=Xrt(t)}else brt==n.type?Xrt(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==brt)&&Rrt(t,e.column(),"statement");else Xrt(t);return t.startOfLine=!1,t.lastToken=brt||r,r},indent:function(e,t,n){if(!e.tokenize[e.tokenize.length-1].isBase)return null;var r=t&&t.charAt(0),i=e.context;"statement"!=i.type||Crt(e.lastToken,!0)||(i=i.prev);var o=r==i.type;return"statement"==i.type?i.indented+("{"==r?0:n.unit):i.align?i.column+(o?0:1):i.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}},Urt=Object.freeze(Object.defineProperty({__proto__:null,groovy:Brt},Symbol.toStringTag,{value:"Module"}));function Drt(e,t,n){return t(n),n(e,t)}var Irt=/[a-z_]/,zrt=/[A-Z]/,Nrt=/\d/,Mrt=/[0-9A-Fa-f]/,Lrt=/[0-7]/,Vrt=/[a-z_A-Z0-9'\xa1-\uffff]/,qrt=/[-!#$%&*+.\/<=>?@\\^|~:]/,Frt=/[(),;[\]`{}]/,Wrt=/[ \t\v\f]/;function Zrt(e,t){if(e.eatWhile(Wrt))return null;var n=e.next();if(Frt.test(n)){if("{"==n&&e.eat("-")){var r="comment";return e.eat("#")&&(r="meta"),Drt(e,t,Yrt(r,1))}return null}if("'"==n)return e.eat("\\"),e.next(),e.eat("'")?"string":"error";if('"'==n)return Drt(e,t,jrt);if(zrt.test(n))return e.eatWhile(Vrt),e.eat(".")?"qualifier":"type";if(Irt.test(n))return e.eatWhile(Vrt),"variable";if(Nrt.test(n)){if("0"==n){if(e.eat(/[xX]/))return e.eatWhile(Mrt),"integer";if(e.eat(/[oO]/))return e.eatWhile(Lrt),"number"}e.eatWhile(Nrt);r="number";return e.match(/^\.\d+/)&&(r="number"),e.eat(/[eE]/)&&(r="number",e.eat(/[-+]/),e.eatWhile(Nrt)),r}return"."==n&&e.eat(".")?"keyword":qrt.test(n)?"-"==n&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(qrt))?(e.skipToEnd(),"comment"):(e.eatWhile(qrt),"variable"):"error"}function Yrt(e,t){return 0==t?Zrt:function(n,r){for(var i=t;!n.eol();){var o=n.next();if("{"==o&&n.eat("-"))++i;else if("-"==o&&n.eat("}")&&0==--i)return r(Zrt),e}return r(Yrt(e,i)),e}}function jrt(e,t){for(;!e.eol();){var n=e.next();if('"'==n)return t(Zrt),"string";if("\\"==n){if(e.eol()||e.eat(Wrt))return t(Grt),"string";e.eat("&")||e.next()}}return t(Zrt),"error"}function Grt(e,t){return e.eat("\\")?Drt(e,t,jrt):(e.next(),t(Zrt),"error")}var Hrt=function(){var e={};function t(t){return function(){for(var n=0;n<arguments.length;n++)e[arguments[n]]=t}}return t("keyword")("case","class","data","default","deriving","do","else","foreign","if","import","in","infix","infixl","infixr","instance","let","module","newtype","of","then","type","where","_"),t("keyword")("..",":","::","=","\\","<-","->","@","~","=>"),t("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),t("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),t("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3"),e}();const Krt={name:"haskell",startState:function(){return{f:Zrt}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,function(e){t.f=e}),r=e.current();return Hrt.hasOwnProperty(r)?Hrt[r]:n},languageData:{commentTokens:{line:"--",block:{open:"{-",close:"-}"}}}},Jrt=Object.freeze(Object.defineProperty({__proto__:null,haskell:Krt},Symbol.toStringTag,{value:"Module"}));function eit(e){return{type:e,style:"keyword"}}var tit,nit=eit("keyword a"),rit=eit("keyword b"),iit=eit("keyword c"),oit=eit("operator"),ait={type:"atom",style:"atom"},sit={type:"attribute",style:"attribute"},lit=eit("typedef"),cit={if:nit,while:nit,else:rit,do:rit,try:rit,return:iit,break:iit,continue:iit,new:iit,throw:iit,var:eit("var"),inline:sit,static:sit,using:eit("import"),public:sit,private:sit,cast:eit("cast"),import:eit("import"),macro:eit("macro"),function:eit("function"),catch:eit("catch"),untyped:eit("untyped"),callback:eit("cb"),for:eit("for"),switch:eit("switch"),case:eit("case"),default:eit("default"),in:oit,never:eit("property_access"),trace:eit("trace"),class:lit,abstract:lit,enum:lit,interface:lit,typedef:lit,extends:lit,implements:lit,dynamic:lit,true:ait,false:ait,null:ait},uit=/[+\-*&%=<>!?|]/;function Oit(e,t,n){return t.tokenize=n,n(e,t)}function dit(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t&&!r)return!0;r=!r&&"\\"==n}}function hit(e,t,n){return lit=e,tit=n,t}function fit(e,t){var n=e.next();if('"'==n||"'"==n)return Oit(e,t,(r=n,function(e,t){return dit(e,r)&&(t.tokenize=fit),hit("string","string")}));if(/[\[\]{}\(\),;\:\.]/.test(n))return hit(n);if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),hit("number","number");if(/\d/.test(n)||"-"==n&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),hit("number","number");if(t.reAllowed&&"~"==n&&e.eat(/\//))return dit(e,"/"),e.eatWhile(/[gimsu]/),hit("regexp","string.special");if("/"==n)return e.eat("*")?Oit(e,t,pit):e.eat("/")?(e.skipToEnd(),hit("comment","comment")):(e.eatWhile(uit),hit("operator",null,e.current()));if("#"==n)return e.skipToEnd(),hit("conditional","meta");if("@"==n)return e.eat(/:/),e.eatWhile(/[\w_]/),hit("metadata","meta");if(uit.test(n))return e.eatWhile(uit),hit("operator",null,e.current());if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),hit("type","type",i=e.current());e.eatWhile(/[\w_]/);var r,i=e.current(),o=cit.propertyIsEnumerable(i)&&cit[i];return o&&t.kwAllowed?hit(o.type,o.style,i):hit("variable","variable",i)}function pit(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=fit;break}r="*"==n}return hit("comment","comment")}var Ait={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function mit(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function git(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0}function vit(e,t){if(/[a-z]/.test(t.charAt(0)))return!1;for(var n=e.importedtypes.length,r=0;r<n;r++)if(e.importedtypes[r]==t)return!0}function yit(e){for(var t=bit.state,n=t.importedtypes;n;n=n.next)if(n.name==e)return;t.importedtypes={name:e,next:t.importedtypes}}var bit={state:null,marked:null,cc:null};function wit(){for(var e=arguments.length-1;e>=0;e--)bit.cc.push(arguments[e])}function Qit(){return wit.apply(null,arguments),!0}function $it(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function Sit(e){var t=bit.state;if(t.context){if(bit.marked="def",$it(e,t.localVars))return;t.localVars={name:e,next:t.localVars}}else if(t.globalVars){if($it(e,t.globalVars))return;t.globalVars={name:e,next:t.globalVars}}}var xit={name:"this",next:null};function kit(){bit.state.context||(bit.state.localVars=xit),bit.state.context={prev:bit.state.context,vars:bit.state.localVars}}function Pit(){bit.state.localVars=bit.state.context.vars,bit.state.context=bit.state.context.prev}function Tit(e,t){var n=function(){var n=bit.state;n.lexical=new mit(n.indented,bit.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function _it(){var e=bit.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function Cit(e){return function t(n){return n==e?Qit():";"==e?wit():Qit(t)}}function Eit(e){return"@"==e?Qit(Dit):"var"==e?Qit(Tit("vardef"),Wit,Cit(";"),_it):"keyword a"==e?Qit(Tit("form"),Rit,Eit,_it):"keyword b"==e?Qit(Tit("form"),Eit,_it):"{"==e?Qit(Tit("}"),kit,Fit,_it,Pit):";"==e?Qit():"attribute"==e?Qit(Uit):"function"==e?Qit(Git):"for"==e?Qit(Tit("form"),Cit("("),Tit(")"),Yit,Cit(")"),_it,Eit,_it):"variable"==e?Qit(Tit("stat"),Mit):"switch"==e?Qit(Tit("form"),Rit,Tit("}","switch"),Cit("{"),Fit,_it,_it):"case"==e?Qit(Rit,Cit(":")):"default"==e?Qit(Cit(":")):"catch"==e?Qit(Tit("form"),kit,Cit("("),eot,Cit(")"),Eit,_it,Pit):"import"==e?Qit(zit,Cit(";")):"typedef"==e?Qit(Nit):wit(Tit("stat"),Rit,Cit(";"),_it)}function Rit(e){return Ait.hasOwnProperty(e)||"type"==e?Qit(Bit):"function"==e?Qit(Git):"keyword c"==e?Qit(Xit):"("==e?Qit(Tit(")"),Xit,Cit(")"),_it,Bit):"operator"==e?Qit(Rit):"["==e?Qit(Tit("]"),qit(Xit,"]"),_it,Bit):"{"==e?Qit(Tit("}"),qit(Vit,"}"),_it,Bit):Qit()}function Xit(e){return e.match(/[;\}\)\],]/)?wit():wit(Rit)}function Bit(e,t){return"operator"==e&&/\+\+|--/.test(t)?Qit(Bit):"operator"==e||":"==e?Qit(Rit):";"!=e?"("==e?Qit(Tit(")"),qit(Rit,")"),_it,Bit):"."==e?Qit(Lit,Bit):"["==e?Qit(Tit("]"),Rit,Cit("]"),_it,Bit):void 0:void 0}function Uit(e){return"attribute"==e?Qit(Uit):"function"==e?Qit(Git):"var"==e?Qit(Wit):void 0}function Dit(e){return":"==e||"variable"==e?Qit(Dit):"("==e?Qit(Tit(")"),qit(Iit,")"),_it,Eit):void 0}function Iit(e){if("variable"==e)return Qit()}function zit(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(yit(t),Qit()):"variable"==e||"property"==e||"."==e||"*"==t?Qit(zit):void 0}function Nit(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(yit(t),Qit()):"type"==e&&/[A-Z]/.test(t.charAt(0))?Qit():void 0}function Mit(e){return":"==e?Qit(_it,Eit):wit(Bit,Cit(";"),_it)}function Lit(e){if("variable"==e)return bit.marked="property",Qit()}function Vit(e){if("variable"==e&&(bit.marked="property"),Ait.hasOwnProperty(e))return Qit(Cit(":"),Rit)}function qit(e,t){function n(r){return","==r?Qit(e,n):r==t?Qit():Qit(Cit(t))}return function(r){return r==t?Qit():wit(e,n)}}function Fit(e){return"}"==e?Qit():wit(Eit,Fit)}function Wit(e,t){return"variable"==e?(Sit(t),Qit(Hit,Zit)):Qit()}function Zit(e,t){return"="==t?Qit(Rit,Zit):","==e?Qit(Wit):void 0}function Yit(e,t){return"variable"==e?(Sit(t),Qit(jit,Rit)):wit()}function jit(e,t){if("in"==t)return Qit()}function Git(e,t){return"variable"==e||"type"==e?(Sit(t),Qit(Git)):"new"==t?Qit(Git):"("==e?Qit(Tit(")"),kit,qit(eot,")"),_it,Hit,Eit,Pit):void 0}function Hit(e){if(":"==e)return Qit(Kit)}function Kit(e){return"type"==e||"variable"==e?Qit():"{"==e?Qit(Tit("}"),qit(Jit,"}"),_it):void 0}function Jit(e){if("variable"==e)return Qit(Hit)}function eot(e,t){if("variable"==e)return Sit(t),Qit(Hit)}Pit.lex=!0,_it.lex=!0;const tot={name:"haxe",startState:function(e){return{tokenize:fit,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new mit(-e,0,"block",!1),importedtypes:["Int","Float","String","Void","Std","Bool","Dynamic","Array"],context:null,indented:0}},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==lit?n:(t.reAllowed=!("operator"!=lit&&"keyword c"!=lit&&!lit.match(/^[\[{}\(,;:]$/)),t.kwAllowed="."!=lit,function(e,t,n,r,i){var o=e.cc;for(bit.state=e,bit.stream=i,bit.marked=null,bit.cc=o,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():Eit)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return bit.marked?bit.marked:"variable"==n&&git(e,r)?"variableName.local":"variable"==n&&vit(e,r)?"variableName.special":t}}(t,n,lit,tit,e))},indent:function(e,t,n){if(e.tokenize!=fit)return 0;var r=t&&t.charAt(0),i=e.lexical;"stat"==i.type&&"}"==r&&(i=i.prev);var o=i.type,a=r==o;return"vardef"==o?i.indented+4:"form"==o&&"{"==r?i.indented:"stat"==o||"form"==o?i.indented+n.unit:"switch"!=i.info||a?i.align?i.column+(a?0:1):i.indented+(a?0:n.unit):i.indented+(/^(?:case|default)\b/.test(t)?n.unit:2*n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},not=Object.freeze(Object.defineProperty({__proto__:null,haxe:tot,hxml:{name:"hxml",startState:function(){return{define:!1,inString:!1}},token:function(e,t){var n=e.peek(),r=e.sol();if("#"==n)return e.skipToEnd(),"comment";if(r&&"-"==n){var i="variable-2";return e.eat(/-/),"-"==e.peek()&&(e.eat(/-/),i="keyword a"),"D"==e.peek()&&(e.eat(/[D]/),i="keyword c",t.define=!0),e.eatWhile(/[A-Z]/i),i}n=e.peek();return 0==t.inString&&"'"==n&&(t.inString=!0,e.next()),1==t.inString?(e.skipTo("'")||e.skipToEnd(),"'"==e.peek()&&(e.next(),t.inString=!1),"string"):(e.next(),null)},languageData:{commentTokens:{line:"#"}}}},Symbol.toStringTag,{value:"Module"}));function rot(e,t){return e.skipToEnd(),t.cur=cot,"error"}function iot(e,t){return e.match(/^HTTP\/\d\.\d/)?(t.cur=oot,"keyword"):e.match(/^[A-Z]+/)&&/[ \t]/.test(e.peek())?(t.cur=sot,"keyword"):rot(e,t)}function oot(e,t){var n=e.match(/^\d+/);if(!n)return rot(e,t);t.cur=aot;var r=Number(n[0]);return r>=100&&r<400?"atom":"error"}function aot(e,t){return e.skipToEnd(),t.cur=cot,null}function sot(e,t){return e.eatWhile(/\S/),t.cur=lot,"string.special"}function lot(e,t){return e.match(/^HTTP\/\d\.\d$/)?(t.cur=cot,"keyword"):rot(e,t)}function cot(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string")}function uot(e){return e.skipToEnd(),null}const Oot={name:"http",token:function(e,t){var n=t.cur;return n!=cot&&n!=uot&&e.eatSpace()?null:n(e,t)},blankLine:function(e){e.cur=uot},startState:function(){return{cur:iot}}},dot=Object.freeze(Object.defineProperty({__proto__:null,http:Oot},Symbol.toStringTag,{value:"Module"}));function hot(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var fot=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],pot=hot(fot),Aot=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],mot=hot(Aot),got=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),vot=/[+\-*&=<>\/@#~$]/,yot=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");const bot={name:"idl",token:function(e){return function(e){if(e.eatSpace())return null;if(e.match(";"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(mot)?"keyword":e.match(pot)?"builtin":e.match(got)?"variable":e.match(vot)||e.match(yot)?"operator":(e.next(),null)}(e)},languageData:{autocomplete:fot.concat(Aot)}},wot=Object.freeze(Object.defineProperty({__proto__:null,idl:bot},Symbol.toStringTag,{value:"Module"}));function Qot(e){var t,n,r=e.statementIndent,i=e.jsonld,o=e.json||i,a=e.typescript,s=e.wordCharacters||/[\w$\xa1-\uffff]/,l=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),c=/[+\-*&%=<>!?|~^@]/,u=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function O(e,r,i){return t=e,n=i,r}function d(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){var r,o=!1;if(i&&"@"==e.peek()&&e.match(u))return t.tokenize=d,O("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=n||o);)o=!o&&"\\"==r;return o||(t.tokenize=d),O("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return O("number","number");if("."==r&&e.match(".."))return O("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return O(r);if("="==r&&e.eat(">"))return O("=>","operator");if("0"==r&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return O("number","number");if(/\d/.test(r))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),O("number","number");if("/"==r)return e.eat("*")?(t.tokenize=h,h(e,t)):e.eat("/")?(e.skipToEnd(),O("comment","comment")):function(e,t,n){return t.tokenize==d&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-n))}(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),O("regexp","string.special")):(e.eat("="),O("operator","operator",e.current()));if("`"==r)return t.tokenize=f,f(e,t);if("#"==r&&"!"==e.peek())return e.skipToEnd(),O("meta","meta");if("#"==r&&e.eatWhile(s))return O("variable","property");if("<"==r&&e.match("!--")||"-"==r&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),O("comment","comment");if(c.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-|&?]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),"?"==r&&e.eat(".")?O("."):O("operator","operator",e.current());if(s.test(r)){e.eatWhile(s);var o=e.current();if("."!=t.lastType){if(l.propertyIsEnumerable(o)){var a=l[o];return O(a.type,a.style,o)}if("async"==o&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return O("async","keyword",o)}return O("variable","variable",o)}}function h(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=d;break}r="*"==n}return O("comment","comment")}function f(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=d;break}r=!r&&"\\"==n}return O("quasi","string.special",e.current())}function p(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(a){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,l=n-1;l>=0;--l){var c=e.string.charAt(l),u="([{}])".indexOf(c);if(u>=0&&u<3){if(!i){++l;break}if(0==--i){"("==c&&(o=!0);break}}else if(u>=3&&u<6)++i;else if(s.test(c))o=!0;else if(/["'\/`]/.test(c))for(;;--l){if(0==l)return;if(e.string.charAt(l-1)==c&&"\\"!=e.string.charAt(l-2)){l--;break}}else if(o&&!i){++l;break}}o&&!i&&(t.fatArrowAt=l)}}var A={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function m(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function g(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}var v={state:null,marked:null,cc:null};function y(){for(var e=arguments.length-1;e>=0;e--)v.cc.push(arguments[e])}function b(){return y.apply(null,arguments),!0}function w(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function Q(t){var n=v.state;if(v.marked="def",n.context)if("var"==n.lexical.info&&n.context&&n.context.block){var r=$(t,n.context);if(null!=r)return void(n.context=r)}else if(!w(t,n.localVars))return void(n.localVars=new k(t,n.localVars));e.globalVars&&!w(t,n.globalVars)&&(n.globalVars=new k(t,n.globalVars))}function $(e,t){if(t){if(t.block){var n=$(e,t.prev);return n?n==t.prev?t:new x(n,t.vars,!0):null}return w(e,t.vars)?t:new x(t.prev,new k(e,t.vars),!1)}return null}function S(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function x(e,t,n){this.prev=e,this.vars=t,this.block=n}function k(e,t){this.name=e,this.next=t}var P=new k("this",new k("arguments",null));function T(){v.state.context=new x(v.state.context,v.state.localVars,!1),v.state.localVars=P}function _(){v.state.context=new x(v.state.context,v.state.localVars,!0),v.state.localVars=null}function C(){v.state.localVars=v.state.context.vars,v.state.context=v.state.context.prev}function E(e,t){var n=function(){var n=v.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new m(r,v.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function R(){var e=v.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function X(e){return function t(n){return n==e?b():";"==e||"}"==n||")"==n||"]"==n?y():b(t)}}function B(e,t){return"var"==e?b(E("vardef",t),ve,X(";"),R):"keyword a"==e?b(E("form"),z,B,R):"keyword b"==e?b(E("form"),B,R):"keyword d"==e?v.stream.match(/^\s*$/,!1)?b():b(E("stat"),M,X(";"),R):"debugger"==e?b(X(";")):"{"==e?b(E("}"),_,re,R,C):";"==e?b():"if"==e?("else"==v.state.lexical.info&&v.state.cc[v.state.cc.length-1]==R&&v.state.cc.pop()(),b(E("form"),z,B,R,Se)):"function"==e?b(Te):"for"==e?b(E("form"),_,xe,B,C,R):"class"==e||a&&"interface"==t?(v.marked="keyword",b(E("form","class"==e?e:t),Xe,R)):"variable"==e?a&&"declare"==t?(v.marked="keyword",b(B)):a&&("module"==t||"enum"==t||"type"==t)&&v.stream.match(/^\s*\w/,!1)?(v.marked="keyword","enum"==t?b(We):"type"==t?b(Ce,X("operator"),le,X(";")):b(E("form"),ye,X("{"),E("}"),re,R,R)):a&&"namespace"==t?(v.marked="keyword",b(E("form"),D,B,R)):a&&"abstract"==t?(v.marked="keyword",b(B)):b(E("stat"),G):"switch"==e?b(E("form"),z,X("{"),E("}","switch"),_,re,R,R,C):"case"==e?b(D,X(":")):"default"==e?b(X(":")):"catch"==e?b(E("form"),T,U,B,R,C):"export"==e?b(E("stat"),Ie,R):"import"==e?b(E("stat"),Ne,R):"async"==e?b(B):"@"==t?b(D,B):y(E("stat"),D,X(";"),R)}function U(e){if("("==e)return b(Ee,X(")"))}function D(e,t){return N(e,t,!1)}function I(e,t){return N(e,t,!0)}function z(e){return"("!=e?y():b(E(")"),M,X(")"),R)}function N(e,t,n){if(v.state.fatArrowAt==v.stream.start){var r=n?Z:W;if("("==e)return b(T,E(")"),te(Ee,")"),R,X("=>"),r,C);if("variable"==e)return y(T,ye,X("=>"),r,C)}var i=n?V:L;return A.hasOwnProperty(e)?b(i):"function"==e?b(Te,i):"class"==e||a&&"interface"==t?(v.marked="keyword",b(E("form"),Re,R)):"keyword c"==e||"async"==e?b(n?I:D):"("==e?b(E(")"),M,X(")"),R,i):"operator"==e||"spread"==e?b(n?I:D):"["==e?b(E("]"),Fe,R,i):"{"==e?ne(K,"}",null,i):"quasi"==e?y(q,i):"new"==e?b(function(e){return function(t){return"."==t?b(e?j:Y):"variable"==t&&a?b(Ae,e?V:L):y(e?I:D)}}(n)):b()}function M(e){return e.match(/[;\}\)\],]/)?y():y(D)}function L(e,t){return","==e?b(M):V(e,t,!1)}function V(e,t,n){var r=0==n?L:V,i=0==n?D:I;return"=>"==e?b(T,n?Z:W,C):"operator"==e?/\+\+|--/.test(t)||a&&"!"==t?b(r):a&&"<"==t&&v.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?b(E(">"),te(le,">"),R,r):"?"==t?b(D,X(":"),i):b(i):"quasi"==e?y(q,r):";"!=e?"("==e?ne(I,")","call",r):"."==e?b(H,r):"["==e?b(E("]"),M,X("]"),R,r):a&&"as"==t?(v.marked="keyword",b(le,r)):"regexp"==e?(v.state.lastType=v.marked="operator",v.stream.backUp(v.stream.pos-v.stream.start-1),b(i)):void 0:void 0}function q(e,t){return"quasi"!=e?y():"${"!=t.slice(t.length-2)?b(q):b(M,F)}function F(e){if("}"==e)return v.marked="string.special",v.state.tokenize=f,b(q)}function W(e){return p(v.stream,v.state),y("{"==e?B:D)}function Z(e){return p(v.stream,v.state),y("{"==e?B:I)}function Y(e,t){if("target"==t)return v.marked="keyword",b(L)}function j(e,t){if("target"==t)return v.marked="keyword",b(V)}function G(e){return":"==e?b(R,B):y(L,X(";"),R)}function H(e){if("variable"==e)return v.marked="property",b()}function K(e,t){return"async"==e?(v.marked="property",b(K)):"variable"==e||"keyword"==v.style?(v.marked="property","get"==t||"set"==t?b(J):(a&&v.state.fatArrowAt==v.stream.start&&(n=v.stream.match(/^\s*:\s*/,!1))&&(v.state.fatArrowAt=v.stream.pos+n[0].length),b(ee))):"number"==e||"string"==e?(v.marked=i?"property":v.style+" property",b(ee)):"jsonld-keyword"==e?b(ee):a&&S(t)?(v.marked="keyword",b(K)):"["==e?b(D,ie,X("]"),ee):"spread"==e?b(I,ee):"*"==t?(v.marked="keyword",b(K)):":"==e?y(ee):void 0;var n}function J(e){return"variable"!=e?y(ee):(v.marked="property",b(Te))}function ee(e){return":"==e?b(I):"("==e?y(Te):void 0}function te(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:","==i){var a=v.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),b(function(n,r){return n==t||r==t?y():y(e)},r)}return i==t||o==t?b():n&&n.indexOf(";")>-1?y(e):b(X(t))}return function(n,i){return n==t||i==t?b():y(e,r)}}function ne(e,t,n){for(var r=3;r<arguments.length;r++)v.cc.push(arguments[r]);return b(E(t,n),te(e,t),R)}function re(e){return"}"==e?b():y(B,re)}function ie(e,t){if(a){if(":"==e)return b(le);if("?"==t)return b(ie)}}function oe(e,t){if(a&&(":"==e||"in"==t))return b(le)}function ae(e){if(a&&":"==e)return v.stream.match(/^\s*\w+\s+is\b/,!1)?b(D,se,le):b(le)}function se(e,t){if("is"==t)return v.marked="keyword",b()}function le(e,t){return"keyof"==t||"typeof"==t||"infer"==t||"readonly"==t?(v.marked="keyword",b("typeof"==t?I:le)):"variable"==e||"void"==t?(v.marked="type",b(pe)):"|"==t||"&"==t?b(le):"string"==e||"number"==e||"atom"==e?b(pe):"["==e?b(E("]"),te(le,"]",","),R,pe):"{"==e?b(E("}"),ue,R,pe):"("==e?b(te(fe,")"),ce,pe):"<"==e?b(te(le,">"),le):"quasi"==e?y(de,pe):void 0}function ce(e){if("=>"==e)return b(le)}function ue(e){return e.match(/[\}\)\]]/)?b():","==e||";"==e?b(ue):y(Oe,ue)}function Oe(e,t){return"variable"==e||"keyword"==v.style?(v.marked="property",b(Oe)):"?"==t||"number"==e||"string"==e?b(Oe):":"==e?b(le):"["==e?b(X("variable"),oe,X("]"),Oe):"("==e?y(_e,Oe):e.match(/[;\}\)\],]/)?void 0:b()}function de(e,t){return"quasi"!=e?y():"${"!=t.slice(t.length-2)?b(de):b(le,he)}function he(e){if("}"==e)return v.marked="string.special",v.state.tokenize=f,b(de)}function fe(e,t){return"variable"==e&&v.stream.match(/^\s*[?:]/,!1)||"?"==t?b(fe):":"==e?b(le):"spread"==e?b(fe):y(le)}function pe(e,t){return"<"==t?b(E(">"),te(le,">"),R,pe):"|"==t||"."==e||"&"==t?b(le):"["==e?b(le,X("]"),pe):"extends"==t||"implements"==t?(v.marked="keyword",b(le)):"?"==t?b(le,X(":"),le):void 0}function Ae(e,t){if("<"==t)return b(E(">"),te(le,">"),R,pe)}function me(){return y(le,ge)}function ge(e,t){if("="==t)return b(le)}function ve(e,t){return"enum"==t?(v.marked="keyword",b(We)):y(ye,ie,Qe,$e)}function ye(e,t){return a&&S(t)?(v.marked="keyword",b(ye)):"variable"==e?(Q(t),b()):"spread"==e?b(ye):"["==e?ne(we,"]"):"{"==e?ne(be,"}"):void 0}function be(e,t){return"variable"!=e||v.stream.match(/^\s*:/,!1)?("variable"==e&&(v.marked="property"),"spread"==e?b(ye):"}"==e?y():"["==e?b(D,X("]"),X(":"),be):b(X(":"),ye,Qe)):(Q(t),b(Qe))}function we(){return y(ye,Qe)}function Qe(e,t){if("="==t)return b(I)}function $e(e){if(","==e)return b(ve)}function Se(e,t){if("keyword b"==e&&"else"==t)return b(E("form","else"),B,R)}function xe(e,t){return"await"==t?b(xe):"("==e?b(E(")"),ke,R):void 0}function ke(e){return"var"==e?b(ve,Pe):"variable"==e?b(Pe):y(Pe)}function Pe(e,t){return")"==e?b():";"==e?b(Pe):"in"==t||"of"==t?(v.marked="keyword",b(D,Pe)):y(D,Pe)}function Te(e,t){return"*"==t?(v.marked="keyword",b(Te)):"variable"==e?(Q(t),b(Te)):"("==e?b(T,E(")"),te(Ee,")"),R,ae,B,C):a&&"<"==t?b(E(">"),te(me,">"),R,Te):void 0}function _e(e,t){return"*"==t?(v.marked="keyword",b(_e)):"variable"==e?(Q(t),b(_e)):"("==e?b(T,E(")"),te(Ee,")"),R,ae,C):a&&"<"==t?b(E(">"),te(me,">"),R,_e):void 0}function Ce(e,t){return"keyword"==e||"variable"==e?(v.marked="type",b(Ce)):"<"==t?b(E(">"),te(me,">"),R):void 0}function Ee(e,t){return"@"==t&&b(D,Ee),"spread"==e?b(Ee):a&&S(t)?(v.marked="keyword",b(Ee)):a&&"this"==e?b(ie,Qe):y(ye,ie,Qe)}function Re(e,t){return"variable"==e?Xe(e,t):Be(e,t)}function Xe(e,t){if("variable"==e)return Q(t),b(Be)}function Be(e,t){return"<"==t?b(E(">"),te(me,">"),R,Be):"extends"==t||"implements"==t||a&&","==e?("implements"==t&&(v.marked="keyword"),b(a?le:D,Be)):"{"==e?b(E("}"),Ue,R):void 0}function Ue(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||a&&S(t))&&v.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1)?(v.marked="keyword",b(Ue)):"variable"==e||"keyword"==v.style?(v.marked="property",b(De,Ue)):"number"==e||"string"==e?b(De,Ue):"["==e?b(D,ie,X("]"),De,Ue):"*"==t?(v.marked="keyword",b(Ue)):a&&"("==e?y(_e,Ue):";"==e||","==e?b(Ue):"}"==e?b():"@"==t?b(D,Ue):void 0}function De(e,t){if("!"==t||"?"==t)return b(De);if(":"==e)return b(le,Qe);if("="==t)return b(I);var n=v.state.lexical.prev;return y(n&&"interface"==n.info?_e:Te)}function Ie(e,t){return"*"==t?(v.marked="keyword",b(qe,X(";"))):"default"==t?(v.marked="keyword",b(D,X(";"))):"{"==e?b(te(ze,"}"),qe,X(";")):y(B)}function ze(e,t){return"as"==t?(v.marked="keyword",b(X("variable"))):"variable"==e?y(I,ze):void 0}function Ne(e){return"string"==e?b():"("==e?y(D):"."==e?y(L):y(Me,Le,qe)}function Me(e,t){return"{"==e?ne(Me,"}"):("variable"==e&&Q(t),"*"==t&&(v.marked="keyword"),b(Ve))}function Le(e){if(","==e)return b(Me,Le)}function Ve(e,t){if("as"==t)return v.marked="keyword",b(Me)}function qe(e,t){if("from"==t)return v.marked="keyword",b(D)}function Fe(e){return"]"==e?b():y(te(I,"]"))}function We(){return y(E("form"),ye,X("{"),E("}"),te(Ze,"}"),R,R)}function Ze(){return y(ye,Qe)}return T.lex=_.lex=!0,C.lex=!0,R.lex=!0,{name:e.name,startState:function(t){var n={tokenize:d,lastType:"sof",cc:[],lexical:new m(-t,0,"block",!1),localVars:e.localVars,context:e.localVars&&new x(null,null,!1),indented:0};return e.globalVars&&"object"==typeof e.globalVars&&(n.globalVars=e.globalVars),n},token:function(e,r){if(e.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=e.indentation(),p(e,r)),r.tokenize!=h&&e.eatSpace())return null;var i=r.tokenize(e,r);return"comment"==t?i:(r.lastType="operator"!=t||"++"!=n&&"--"!=n?t:"incdec",function(e,t,n,r,i){var a=e.cc;for(v.state=e,v.stream=i,v.marked=null,v.cc=a,v.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():o?D:B)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return v.marked?v.marked:"variable"==n&&g(e,r)?"variableName.local":t}}(r,i,t,n,e))},indent:function(t,n,i){if(t.tokenize==h||t.tokenize==f)return null;if(t.tokenize!=d)return 0;var o,a=n&&n.charAt(0),s=t.lexical;if(!/^\s*else\b/.test(n))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==R)s=s.prev;else if(u!=Se&&u!=C)break}for(;("stat"==s.type||"form"==s.type)&&("}"==a||(o=t.cc[t.cc.length-1])&&(o==L||o==V)&&!/^[,\.=+\-*:?[\(]/.test(n));)s=s.prev;r&&")"==s.type&&"stat"==s.prev.type&&(s=s.prev);var O=s.type,p=a==O;return"vardef"==O?s.indented+("operator"==t.lastType||","==t.lastType?s.info.length+1:0):"form"==O&&"{"==a?s.indented:"form"==O?s.indented+i.unit:"stat"==O?s.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||c.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?r||i.unit:0):"switch"!=s.info||p||0==e.doubleIndentSwitch?s.align?s.column+(p?0:1):s.indented+(p?0:i.unit):s.indented+(/^(?:case|default)\b/.test(n)?i.unit:2*i.unit)},languageData:{indentOnInput:/^\s*(?:case .*?:|default:|\{|\})$/,commentTokens:o?void 0:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]},wordChars:"$"}}}const $ot=Qot({name:"javascript"}),Sot=Qot({name:"json",json:!0}),xot=Qot({name:"json",jsonld:!0}),kot=Qot({name:"typescript",typescript:!0}),Pot=Object.freeze(Object.defineProperty({__proto__:null,javascript:$ot,json:Sot,jsonld:xot,typescript:kot},Symbol.toStringTag,{value:"Module"}));function Tot(e,t,n){return void 0===n&&(n=""),void 0===t&&(t="\\b"),new RegExp("^"+n+"(("+e.join(")|(")+"))"+t)}var _ot=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],Cot=Tot(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),Eot=/^[;,()[\]{}]/,Rot=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,Xot=Tot(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'"),Bot=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],Uot=["true","false","nothing","NaN","Inf"],Dot=Tot(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),Iot=Tot(["end","else","elseif","catch","finally"]),zot=Tot(Bot),Not=Tot(Uot),Mot=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,Lot=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,Vot=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,qot=Tot(_ot,"","@"),Fot=Tot(_ot,"",":");function Wot(e){return e.nestedArrays>0}function Zot(e,t){return void 0===t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)]}function Yot(e,t){if(e.match("#=",!1))return t.tokenize=Got,t.tokenize(e,t);var n=t.leavingExpr;if(e.sol()&&(n=!1),t.leavingExpr=!1,n&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var r,i=e.peek();if("#"===i)return e.skipToEnd(),"comment";if("["===i&&(t.scopes.push("["),t.nestedArrays++),"("===i&&(t.scopes.push("("),t.nestedGenerators++),Wot(t)&&"]"===i){for(;t.scopes.length&&"["!==Zot(t);)t.scopes.pop();t.scopes.pop(),t.nestedArrays--,t.leavingExpr=!0}if(function(e){return e.nestedGenerators>0}(t)&&")"===i){for(;t.scopes.length&&"("!==Zot(t);)t.scopes.pop();t.scopes.pop(),t.nestedGenerators--,t.leavingExpr=!0}if(Wot(t)){if("end"==t.lastToken&&e.match(":"))return"operator";if(e.match("end"))return"number"}if((r=e.match(Dot,!1))&&t.scopes.push(r[0]),e.match(Iot,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=jot,t.tokenize(e,t);if(!n&&(e.match(Lot)||e.match(Fot)))return"builtin";if(e.match(Cot))return"operator";if(e.match(/^\.?\d/,!1)){var o=RegExp(/^im\b/),a=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(a=!0),e.match(/^0x[0-9a-f_]+/i)&&(a=!0),e.match(/^0b[01_]+/i)&&(a=!0),e.match(/^0o[0-7_]+/i)&&(a=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(a=!0),e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(a=!0),a)return e.match(o),t.leavingExpr=!0,"number"}if(e.match("'"))return t.tokenize=Hot,t.tokenize(e,t);if(e.match(Vot))return t.tokenize=function(e){'"""'===e.substr(-3)?e='"""':'"'===e.substr(-1)&&(e='"');function t(t,n){if(t.eat("\\"))t.next();else{if(t.match(e))return n.tokenize=Yot,n.leavingExpr=!0,"string";t.eat(/[`"]/)}return t.eatWhile(/[^\\`"]/),"string"}return t}(e.current()),t.tokenize(e,t);if(e.match(Mot)||e.match(qot))return"meta";if(e.match(Eot))return null;if(e.match(zot))return"keyword";if(e.match(Not))return"builtin";var s=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(Rot)?s?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function jot(e,t){return e.match(/.*?(?=[,;{}()=\s]|$)/),e.match("{")?t.nestedParameters++:e.match("}")&&t.nestedParameters>0&&t.nestedParameters--,t.nestedParameters>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedParameters&&(t.tokenize=Yot),"builtin"}function Got(e,t){return e.match("#=")&&t.nestedComments++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match("=#")&&(t.nestedComments--,0==t.nestedComments&&(t.tokenize=Yot)),"comment"}function Hot(e,t){var n,r=!1;if(e.match(Xot))r=!0;else if(n=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){((i=parseInt(n[1],16))<=55295||i>=57344)&&(r=!0,e.next())}else if(n=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var i;(i=parseInt(n[1],16))<=1114111&&(r=!0,e.next())}return r?(t.leavingExpr=!0,t.tokenize=Yot,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match("'")&&(t.tokenize=Yot),"error")}const Kot={name:"julia",startState:function(){return{tokenize:Yot,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(e,t){var n=t.tokenize(e,t),r=e.current();return r&&n&&(t.lastToken=r),n},indent:function(e,t,n){var r=0;return("]"===t||")"===t||/^end\b/.test(t)||/^else/.test(t)||/^catch\b/.test(t)||/^elseif\b/.test(t)||/^finally/.test(t))&&(r=-1),(e.scopes.length+r)*n.unit},languageData:{indentOnInput:/^\s*(end|else|catch|finally)\b$/,commentTokens:{line:"#",block:{open:"#=",close:"=#"}},closeBrackets:{brackets:["(","[","{",'"']},autocomplete:Bot.concat(Uot)}},Jot=Object.freeze(Object.defineProperty({__proto__:null,julia:Kot},Symbol.toStringTag,{value:"Module"}));var eat=function(e,t){var n=t.next||"start";t.next=t.next;var r=oat[n];if(r.splice){for(var i=0;i<r.length;++i){var o=r[i];if(o.regex&&e.match(o.regex))return t.next=o.next||t.next,o.token}return e.next(),"error"}return e.match(o=oat[n])&&o.regex&&e.match(o.regex)?(t.next=o.next,o.token):(e.next(),"error")},tat="(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",nat=RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+tat+")?))\\s*$"),rat="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",iat={token:"string",regex:".+"},oat={start:[{token:"docComment",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+rat},{token:"atom",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+rat},{token:"invalid",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+rat},{token:"className.standard",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+rat},{token:"variableName.function.standard",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+rat},{token:"variableName.standard",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+rat},{token:"variableName",regex:tat+"\\s*:(?![:=])"},{token:"variableName",regex:tat},{token:"operatorKeyword",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"operatorKeyword",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"docString",regex:"'''",next:"qdoc"},{token:"docString",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"regexp",regex:"//",next:"heregex"},{token:"regexp",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"number",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"paren",regex:"[({[]"},{token:"paren",regex:"[)}\\]]",next:"key"},{token:"operatorKeyword",regex:"\\S+"},{token:"content",regex:"\\s+"}],heregex:[{token:"regexp",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"regexp",regex:"\\s*#{"},{token:"comment",regex:"\\s+(?:#.*)?"},{token:"regexp",regex:"\\S+"}],key:[{token:"operatorKeyword",regex:"[.?@!]+"},{token:"variableName",regex:tat,next:"start"},{token:"content",regex:"",next:"start"}],comment:[{token:"docComment",regex:".*?\\*/",next:"start"},{token:"docComment",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},iat],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},iat],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},iat],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},iat],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},iat],words:[{token:"string",regex:".*?\\]>",next:"key"},iat]};for(var aat in oat){var sat=oat[aat];if(sat.splice)for(var lat=0,cat=sat.length;lat<cat;++lat){var uat=sat[lat];"string"==typeof uat.regex&&(oat[aat][lat].regex=new RegExp("^"+uat.regex))}else"string"==typeof uat.regex&&(oat[aat].regex=new RegExp("^"+sat.regex))}const Oat={name:"livescript",startState:function(){return{next:"start",lastToken:{style:null,indent:0,content:""}}},token:function(e,t){for(;e.pos==e.start;)var n=eat(e,t);return t.lastToken={style:n,indent:e.indentation(),content:e.current()},n.replace(/\./g," ")},indent:function(e){var t=e.lastToken.indent;return e.lastToken.content.match(nat)&&(t+=2),t}},dat=Object.freeze(Object.defineProperty({__proto__:null,liveScript:Oat},Symbol.toStringTag,{value:"Module"}));function hat(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var fat=hat(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),pat=hat(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),Aat=hat(["function","if","repeat","do","\\(","{"]),mat=hat(["end","until","\\)","}"]),gat=new RegExp("^(?:"+["end","until","\\)","}","else","elseif"].join("|")+")","i");function vat(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function yat(e,t){var n,r=e.next();return"-"==r&&e.eat("-")?e.eat("[")&&/[\[=]/.test(e.peek())?(t.cur=bat(vat(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==r||"'"==r?(t.cur=(n=r,function(e,t){for(var r,i=!1;null!=(r=e.next())&&(r!=n||i);)i=!i&&"\\"==r;return i||(t.cur=yat),"string"}))(e,t):"["==r&&/[\[=]/.test(e.peek())?(t.cur=bat(vat(e),"string"))(e,t):/\d/.test(r)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(r)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function bat(e,t){return function(n,r){for(var i,o=null;null!=(i=n.next());)if(null==o)"]"==i&&(o=0);else if("="==i)++o;else{if("]"==i&&o==e){r.cur=yat;break}o=null}return t}}const wat={name:"lua",startState:function(){return{basecol:0,indentDepth:0,cur:yat}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),r=e.current();return"variable"==n&&(pat.test(r)?n="keyword":fat.test(r)&&(n="builtin")),"comment"!=n&&"string"!=n&&(Aat.test(r)?++t.indentDepth:mat.test(r)&&--t.indentDepth),n},indent:function(e,t,n){var r=gat.test(t);return e.basecol+n.unit*(e.indentDepth-(r?1:0))},languageData:{indentOnInput:/^\s*(?:end|until|else|\)|\})$/,commentTokens:{line:"--",block:{open:"--[[",close:"]]--"}}}},Qat=Object.freeze(Object.defineProperty({__proto__:null,lua:wat},Symbol.toStringTag,{value:"Module"}));function $at(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var Sat=$at("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),xat=$at("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),kat=$at("if elseif else and not or eq ne in ni for foreach while switch"),Pat=/[+\-*&%=<>!?^\/\|]/;function Tat(e,t,n){return t.tokenize=n,n(e,t)}function _at(e,t){var n=t.beforeParams;t.beforeParams=!1;var r=e.next();if(/[\[\]{}\(\),\.]/.test(r))return"("==r&&n?t.inParams=!0:")"==r&&(t.inParams=!1),null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("\\"==r)return e.eat("\\"),e.eat(/./),"number";if("/"==r&&e.eat("*"))return Tat(e,t,Cat);if(";"==r&&e.match(/ *\( *\(/))return Tat(e,t,Eat);if(";"!=r||t.inParams){if('"'==r)return e.eat(/"/),"keyword";if("$"==r)return e.eatWhile(/[$_a-z0-9A-Z\.:]/),Sat&&Sat.propertyIsEnumerable(e.current().toLowerCase())?"keyword":(t.beforeParams=!0,"builtin");if("%"==r)return e.eatWhile(/[^,\s()]/),t.beforeParams=!0,"string";if(Pat.test(r))return e.eatWhile(Pat),"operator";e.eatWhile(/[\w\$_{}]/);var i=e.current().toLowerCase();return xat&&xat.propertyIsEnumerable(i)?"keyword":kat&&kat.propertyIsEnumerable(i)?(t.beforeParams=!0,"keyword"):null}return e.skipToEnd(),"comment"}function Cat(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=_at;break}r="*"==n}return"comment"}function Eat(e,t){for(var n,r=0;n=e.next();){if(";"==n&&2==r){t.tokenize=_at;break}")"==n?r++:" "!=n&&(r=0)}return"meta"}const Rat={name:"mirc",startState:function(){return{tokenize:_at,beforeParams:!1,inParams:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}},Xat=Object.freeze(Object.defineProperty({__proto__:null,mirc:Rat},Symbol.toStringTag,{value:"Module"}));var Bat="[a-zA-Z\\$][a-zA-Z0-9\\$]*",Uat="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",Dat="(?:`(?:`?"+Uat+")?)",Iat=new RegExp("(?:(?:\\d+)(?:\\^\\^(?:\\.\\w+|\\w+\\.\\w*|\\w+)"+Dat+"?(?:\\*\\^[+-]?\\d+)?))"),zat=new RegExp("(?:"+Uat+Dat+"?(?:\\*\\^[+-]?\\d+)?)"),Nat=new RegExp("(?:`?)(?:"+Bat+")(?:`(?:"+Bat+"))*(?:`?)");function Mat(e,t){var n;return'"'===(n=e.next())?(t.tokenize=Lat,t.tokenize(e,t)):"("===n&&e.eat("*")?(t.commentLevel++,t.tokenize=Vat,t.tokenize(e,t)):(e.backUp(1),e.match(Iat,!0,!1)||e.match(zat,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string.special":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variableName.special":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"character":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variableName.constant":e.match(Nat,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function Lat(e,t){for(var n,r=!1,i=!1;null!=(n=e.next());){if('"'===n&&!i){r=!0;break}i=!i&&"\\"===n}return r&&!i&&(t.tokenize=Mat),"string"}function Vat(e,t){for(var n,r;t.commentLevel>0&&null!=(r=e.next());)"("===n&&"*"===r&&t.commentLevel++,"*"===n&&")"===r&&t.commentLevel--,n=r;return t.commentLevel<=0&&(t.tokenize=Mat),"comment"}const qat={name:"mathematica",startState:function(){return{tokenize:Mat,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{block:{open:"(*",close:"*)"}}}},Fat=Object.freeze(Object.defineProperty({__proto__:null,mathematica:qat},Symbol.toStringTag,{value:"Module"}));function Wat(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var Zat=Wat("algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within"),Yat=Wat("abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh"),jat=Wat("Real Boolean Integer String"),Gat=[].concat(Object.keys(Zat),Object.keys(Yat),Object.keys(jat)),Hat=/[;=\(:\),{}.*<>+\-\/^\[\]]/,Kat=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,Jat=/[0-9]/,est=/[_a-zA-Z]/;function tst(e,t){return e.skipToEnd(),t.tokenize=null,"comment"}function nst(e,t){for(var n,r=!1;n=e.next();){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return"comment"}function rst(e,t){for(var n,r=!1;null!=(n=e.next());){if('"'==n&&!r){t.tokenize=null,t.sol=!1;break}r=!r&&"\\"==n}return"string"}function ist(e,t){for(e.eatWhile(Jat);e.eat(Jat)||e.eat(est););var n=e.current();return!t.sol||"package"!=n&&"model"!=n&&"when"!=n&&"connector"!=n?t.sol&&"end"==n&&t.level>0&&t.level--:t.level++,t.tokenize=null,t.sol=!1,Zat.propertyIsEnumerable(n)?"keyword":Yat.propertyIsEnumerable(n)?"builtin":jat.propertyIsEnumerable(n)?"atom":"variable"}function ost(e,t){for(;e.eat(/[^']/););return t.tokenize=null,t.sol=!1,e.eat("'")?"variable":"error"}function ast(e,t){return e.eatWhile(Jat),e.eat(".")&&e.eatWhile(Jat),(e.eat("e")||e.eat("E"))&&(e.eat("-")||e.eat("+"),e.eatWhile(Jat)),t.tokenize=null,t.sol=!1,"number"}const sst={name:"modelica",startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(e,t){if(null!=t.tokenize)return t.tokenize(e,t);if(e.sol()&&(t.sol=!0),e.eatSpace())return t.tokenize=null,null;var n=e.next();if("/"==n&&e.eat("/"))t.tokenize=tst;else if("/"==n&&e.eat("*"))t.tokenize=nst;else{if(Kat.test(n+e.peek()))return e.next(),t.tokenize=null,"operator";if(Hat.test(n))return t.tokenize=null,"operator";if(est.test(n))t.tokenize=ist;else if("'"==n&&e.peek()&&"'"!=e.peek())t.tokenize=ost;else if('"'==n)t.tokenize=rst;else{if(!Jat.test(n))return t.tokenize=null,"error";t.tokenize=ast}}return t.tokenize(e,t)},indent:function(e,t,n){if(null!=e.tokenize)return null;var r=e.level;return/(algorithm)/.test(t)&&r--,/(equation)/.test(t)&&r--,/(initial algorithm)/.test(t)&&r--,/(initial equation)/.test(t)&&r--,/(end)/.test(t)&&r--,r>0?n.unit*r:0},languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Gat}},lst=Object.freeze(Object.defineProperty({__proto__:null,modelica:sst},Symbol.toStringTag,{value:"Module"}));function cst(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var ust=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),Ost=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),dst=new RegExp("^[\\.,:]"),hst=new RegExp("[()]"),fst=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),pst=cst(["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"]),Ast=cst(["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"]);const mst={name:"mumps",startState:function(){return{label:!1,commandMode:0}},token:function(e,t){var n=function(e,t){e.sol()&&(t.label=!0,t.commandMode=0);var n=e.peek();return" "==n||"\t"==n?(t.label=!1,0==t.commandMode?t.commandMode=1:(t.commandMode<0||2==t.commandMode)&&(t.commandMode=0)):"."!=n&&t.commandMode>0&&(t.commandMode=":"==n?-1:2),"("!==n&&"\t"!==n||(t.label=!1),";"===n?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==n?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(Ost)||e.match(ust)?"operator":e.match(dst)?null:hst.test(n)?(e.next(),"bracket"):t.commandMode>0&&e.match(Ast)?"controlKeyword":e.match(pst)?"builtin":e.match(fst)?"variable":"$"===n||"^"===n?(e.next(),"builtin"):"@"===n?(e.next(),"string.special"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}(e,t);return t.label?"tag":n}},gst=Object.freeze(Object.defineProperty({__proto__:null,mumps:mst},Symbol.toStringTag,{value:"Module"}));var vst=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],yst=["Date","Subject","Comments","Keywords","Resent-Date"],bst=/^[ \t]/,wst=/^From /,Qst=new RegExp("^("+vst.join("|")+"): "),$st=new RegExp("^("+yst.join("|")+"): "),Sst=/^[^:]+:/,xst=/^[^ ]+@[^ ]+/,kst=/^.*?(?=[^ ]+?@[^ ]+)/,Pst=/^<.*?>/,Tst=/^.*?(?=<.*>)/;const _st={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:function(e,t){if(e.sol()){if(t.inSeparator=!1,t.inHeader&&e.match(bst))return null;if(t.inHeader=!1,t.header=null,e.match(wst))return t.inHeaders=!0,t.inSeparator=!0,"atom";var n,r=!1;return(n=e.match($st))||(r=!0)&&(n=e.match(Qst))?(t.inHeaders=!0,t.inHeader=!0,t.emailPermitted=r,t.header=n[1],"atom"):t.inHeaders&&(n=e.match(Sst))?(t.inHeader=!0,t.emailPermitted=!0,t.header=n[1],"atom"):(t.inHeaders=!1,e.skipToEnd(),null)}if(t.inSeparator)return e.match(xst)?"link":(e.match(kst)||e.skipToEnd(),"atom");if(t.inHeader){var i="Subject"===t.header?"header":"string";if(t.emailPermitted){if(e.match(Pst))return i+" link";if(e.match(Tst))return i}return e.skipToEnd(),i}return e.skipToEnd(),null},blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:vst.concat(yst)}},Cst=Object.freeze(Object.defineProperty({__proto__:null,mbox:_st},Symbol.toStringTag,{value:"Module"}));function Est(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var Rst,Xst=Est("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),Bst=Est("http mail events server types location upstream charset_map limit_except if geo map"),Ust=Est("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files");function Dst(e,t){return Rst=t,e}function Ist(e,t){e.eatWhile(/[\w\$_]/);var n=e.current();if(Xst.propertyIsEnumerable(n))return"keyword";if(Bst.propertyIsEnumerable(n))return"controlKeyword";if(Ust.propertyIsEnumerable(n))return"controlKeyword";var r,i=e.next();return"@"==i?(e.eatWhile(/[\w\\\-]/),Dst("meta",e.current())):"/"==i&&e.eat("*")?(t.tokenize=zst,zst(e,t)):"<"==i&&e.eat("!")?(t.tokenize=Nst,Nst(e,t)):"="!=i?"~"!=i&&"|"!=i||!e.eat("=")?'"'==i||"'"==i?(t.tokenize=(r=i,function(e,t){for(var n,i=!1;null!=(n=e.next())&&(n!=r||i);)i=!i&&"\\"==n;return i||(t.tokenize=Ist),Dst("string","string")}),t.tokenize(e,t)):"#"==i?(e.skipToEnd(),Dst("comment","comment")):"!"==i?(e.match(/^\s*\w*/),Dst("keyword","important")):/\d/.test(i)?(e.eatWhile(/[\w.%]/),Dst("number","unit")):/[,.+>*\/]/.test(i)?Dst(null,"select-op"):/[;{}:\[\]]/.test(i)?Dst(null,i):(e.eatWhile(/[\w\\\-]/),Dst("variable","variable")):Dst(null,"compare"):void Dst(null,"compare")}function zst(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=Ist;break}r="*"==n}return Dst("comment","comment")}function Nst(e,t){for(var n,r=0;null!=(n=e.next());){if(r>=2&&">"==n){t.tokenize=Ist;break}r="-"==n?r+1:0}return Dst("comment","comment")}const Mst={name:"nginx",startState:function(){return{tokenize:Ist,baseIndent:0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;Rst=null;var n=t.tokenize(e,t),r=t.stack[t.stack.length-1];return"hash"==Rst&&"rule"==r?n="atom":"variable"==n&&("rule"==r?n="number":r&&"@media{"!=r||(n="tag")),"rule"==r&&/^[\{\};]$/.test(Rst)&&t.stack.pop(),"{"==Rst?"@media"==r?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):"}"==Rst?t.stack.pop():"@media"==Rst?t.stack.push("@media"):"{"==r&&"comment"!=Rst&&t.stack.push("rule"),n},indent:function(e,t,n){var r=e.stack.length;return/^\}/.test(t)&&(r-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+r*n.unit},languageData:{indentOnInput:/^\s*\}$/}},Lst=Object.freeze(Object.defineProperty({__proto__:null,nginx:Mst},Symbol.toStringTag,{value:"Module"})),Vst=oet({start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"keyword",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"keyword",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\!\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{name:"nsis",indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}}),qst=Object.freeze(Object.defineProperty({__proto__:null,nsis:Vst},Symbol.toStringTag,{value:"Module"}));var Fst=0,Wst=1,Zst=2,Yst=3,jst=4,Gst=5,Hst=6,Kst=7,Jst=8,elt=9,tlt=10,nlt=11,rlt=12;function ilt(e,t){var n,r=e.location;n=r==Fst&&"<"==t?Wst:r==Fst&&"_"==t?Zst:r==Yst&&"<"==t?jst:r==Gst&&"<"==t?Hst:r==Gst&&"_"==t?Kst:r==Gst&&'"'==t?Jst:r==Wst&&">"==t||r==Zst&&" "==t?Yst:r==jst&&">"==t?Gst:r==Hst&&">"==t||r==Kst&&" "==t||r==Jst&&'"'==t||r==elt&&" "==t||r==tlt&&">"==t?nlt:r==Jst&&"@"==t?elt:r==Jst&&"^"==t?tlt:" "!=t||r!=Fst&&r!=Yst&&r!=Gst&&r!=nlt?r==nlt&&"."==t?Fst:rlt:r,e.location=n}const olt={name:"ntriples",startState:function(){return{location:Fst,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(e,t){var n=e.next();if("<"==n){ilt(t,n);var r="";return e.eatWhile(function(e){return"#"!=e&&">"!=e&&(r+=e,!0)}),t.uris.push(r),e.match("#",!1)?"variable":(e.next(),ilt(t,">"),"variable")}if("#"==n){var i="";return e.eatWhile(function(e){return">"!=e&&" "!=e&&(i+=e,!0)}),t.anchors.push(i),"url"}if(">"==n)return ilt(t,">"),"variable";if("_"==n){ilt(t,n);var o="";return e.eatWhile(function(e){return" "!=e&&(o+=e,!0)}),t.bnodes.push(o),e.next(),ilt(t," "),"builtin"}if('"'==n)return ilt(t,n),e.eatWhile(function(e){return'"'!=e}),e.next(),"@"!=e.peek()&&"^"!=e.peek()&&ilt(t,'"'),"string";if("@"==n){ilt(t,"@");var a="";return e.eatWhile(function(e){return" "!=e&&(a+=e,!0)}),t.langs.push(a),e.next(),ilt(t," "),"string.special"}if("^"==n){e.next(),ilt(t,"^");var s="";return e.eatWhile(function(e){return">"!=e&&(s+=e,!0)}),t.types.push(s),e.next(),ilt(t,">"),"variable"}" "==n&&ilt(t,n),"."==n&&ilt(t,n)}},alt=Object.freeze(Object.defineProperty({__proto__:null,ntriples:olt},Symbol.toStringTag,{value:"Module"}));function slt(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var llt=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),clt=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),ult=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),Olt=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),dlt=new RegExp("^((>>=)|(<<=))"),hlt=new RegExp("^[\\]\\)]"),flt=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),plt=slt(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),Alt=slt(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function mlt(e,t){return e.sol()||"'"!==e.peek()?(t.tokenize=vlt,vlt(e,t)):(e.next(),t.tokenize=vlt,"operator")}function glt(e,t){return e.match(/^.*%}/)?(t.tokenize=vlt,"comment"):(e.skipToEnd(),"comment")}function vlt(e,t){if(e.eatSpace())return null;if(e.match("%{"))return t.tokenize=glt,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=vlt,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(slt(["nan","NaN","inf","Inf"])))return"number";var n=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return n?n[1]?"string":"error":e.match(Alt)?"keyword":e.match(plt)?"builtin":e.match(flt)?"variable":e.match(llt)||e.match(ult)?"operator":e.match(clt)||e.match(Olt)||e.match(dlt)?null:e.match(hlt)?(t.tokenize=mlt,null):(e.next(),"error")}const ylt={name:"octave",startState:function(){return{tokenize:vlt}},token:function(e,t){var n=t.tokenize(e,t);return"number"!==n&&"variable"!==n||(t.tokenize=mlt),n},languageData:{commentTokens:{line:"%"}}},blt=Object.freeze(Object.defineProperty({__proto__:null,octave:ylt},Symbol.toStringTag,{value:"Module"}));function wlt(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var Qlt=/[\^@!\|<>#~\.\*\-\+\\/,=]/,$lt=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,Slt=/(:::)|(\.\.\.)|(=<:)|(>=:)/,xlt=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],klt=["end"],Plt=wlt(["true","false","nil","unit"]),Tlt=wlt(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),_lt=wlt(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),Clt=wlt(xlt),Elt=wlt(klt);function Rlt(e,t){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(Slt)||e.match($lt))return"operator";if(e.match(Plt))return"atom";var n=e.match(_lt);if(n)return t.doInCurrentLine?t.doInCurrentLine=!1:t.currentIndent++,"proc"==n[0]||"fun"==n[0]?t.tokenize=Ult:"class"==n[0]?t.tokenize=Xlt:"meth"==n[0]&&(t.tokenize=Blt),"keyword";if(e.match(Clt)||e.match(Tlt))return"keyword";if(e.match(Elt))return t.currentIndent--,"keyword";var r,i=e.next();if('"'==i||"'"==i)return t.tokenize=(r=i,function(e,t){for(var n,i=!1,o=!1;null!=(n=e.next());){if(n==r&&!i){o=!0;break}i=!i&&"\\"==n}return!o&&i||(t.tokenize=Rlt),"string"}),t.tokenize(e,t);if(/[~\d]/.test(i)){if("~"==i){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==i&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==i?(e.skipToEnd(),"comment"):"/"==i&&e.eat("*")?(t.tokenize=Dlt,Dlt(e,t)):Qlt.test(i)?"operator":(e.eatWhile(/\w/),"variable")}function Xlt(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=Rlt,"type")}function Blt(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=Rlt,"def")}function Ult(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=Rlt,"def"):(t.tokenize=Rlt,null)}function Dlt(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=Rlt;break}r="*"==n}return"comment"}const Ilt={name:"oz",startState:function(){return{tokenize:Rlt,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(Elt)||r.match(Clt)||r.match(/(\[])/)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{indentOnInut:(zlt=xlt.concat(klt),new RegExp("[\\[\\]]|("+zlt.join("|")+")$")),commentTokens:{line:"%",block:{open:"/*",close:"*/"}}}};var zlt;const Nlt=Object.freeze(Object.defineProperty({__proto__:null,oz:Ilt},Symbol.toStringTag,{value:"Module"}));var Mlt=function(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}("absolute and array asm begin case const constructor destructor div do downto else end file for function goto if implementation in inherited inline interface label mod nil not object of operator or packed procedure program record reintroduce repeat self set shl shr string then to type unit until uses var while with xor as class dispinterface except exports finalization finally initialization inline is library on out packed property raise resourcestring threadvar try absolute abstract alias assembler bitpacked break cdecl continue cppdecl cvar default deprecated dynamic enumerator experimental export external far far16 forward generic helper implements index interrupt iocheck local message name near nodefault noreturn nostackframe oldfpccall otherwise overload override pascal platform private protected public published read register reintroduce result safecall saveregisters softfloat specialize static stdcall stored strict unaligned unimplemented varargs virtual write"),Llt={null:!0},Vlt=/[+\-*&%=<>!?|\/]/;function qlt(e,t){var n,r=e.next();if("#"==r&&t.startOfLine)return e.skipToEnd(),"meta";if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return!o&&i||(t.tokenize=null),"string"}),t.tokenize(e,t);if("("==r&&e.eat("*"))return t.tokenize=Flt,Flt(e,t);if("{"==r)return t.tokenize=Wlt,Wlt(e,t);if(/[\[\]\(\),;\:\.]/.test(r))return null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(Vlt.test(r))return e.eatWhile(Vlt),"operator";e.eatWhile(/[\w\$_]/);var i=e.current().toLowerCase();return Mlt.propertyIsEnumerable(i)?"keyword":Llt.propertyIsEnumerable(i)?"atom":"variable"}function Flt(e,t){for(var n,r=!1;n=e.next();){if(")"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function Wlt(e,t){for(var n;n=e.next();)if("}"==n){t.tokenize=null;break}return"comment"}const Zlt={name:"pascal",startState:function(){return{tokenize:null}},token:function(e,t){if(e.eatSpace())return null;var n=(t.tokenize||qlt)(e,t);return n},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}},Ylt=Object.freeze(Object.defineProperty({__proto__:null,pascal:Zlt},Symbol.toStringTag,{value:"Module"}));function jlt(e,t){return e.string.charAt(e.pos+(t||0))}function Glt(e,t){if(t){var n=e.pos-t;return e.string.substr(n>=0?n:0,t)}return e.string.substr(0,e.pos-1)}function Hlt(e,t){var n=e.string.length,r=n-e.pos+1;return e.string.substr(e.pos,t&&t<n?t:r)}function Klt(e,t){var n,r=e.pos+t;r<=0?e.pos=0:r>=(n=e.string.length-1)?e.pos=n:e.pos=r}var Jlt={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},ect="string.special",tct=/[goseximacplud]/;function nct(e,t,n,r,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var o,a=!1,s=0;o=e.next();){if(o===n[s]&&!a)return void 0!==n[++s]?(t.chain=n[s],t.style=r,t.tail=i):i&&e.eatWhile(i),t.tokenize=ict,r;a=!a&&"\\"==o}return r},t.tokenize(e,t)}function rct(e,t,n){return t.tokenize=function(e,t){return e.string==n&&(t.tokenize=ict),e.skipToEnd(),"string"},t.tokenize(e,t)}function ict(e,t){if(e.eatSpace())return null;if(t.chain)return nct(e,t,t.chain,t.style,t.tail);if(e.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(e.match(/^<<(?=[_a-zA-Z])/))return e.eatWhile(/\w/),rct(e,t,e.current().substr(2));if(e.sol()&&e.match(/^\=item(?!\w)/))return rct(e,t,"=cut");var n=e.next();if('"'==n||"'"==n){if(Glt(e,3)=="<<"+n){var r=e.pos;e.eatWhile(/\w/);var i=e.current().substr(1);if(i&&e.eat(n))return rct(e,t,i);e.pos=r}return nct(e,t,[n],"string")}if("q"==n&&(!(o=jlt(e,-2))||!/\w/.test(o)))if("x"==(o=jlt(e,0))){if("("==(o=jlt(e,1)))return Klt(e,2),nct(e,t,[")"],ect,tct);if("["==o)return Klt(e,2),nct(e,t,["]"],ect,tct);if("{"==o)return Klt(e,2),nct(e,t,["}"],ect,tct);if("<"==o)return Klt(e,2),nct(e,t,[">"],ect,tct);if(/[\^'"!~\/]/.test(o))return Klt(e,1),nct(e,t,[e.eat(o)],ect,tct)}else if("q"==o){if("("==(o=jlt(e,1)))return Klt(e,2),nct(e,t,[")"],"string");if("["==o)return Klt(e,2),nct(e,t,["]"],"string");if("{"==o)return Klt(e,2),nct(e,t,["}"],"string");if("<"==o)return Klt(e,2),nct(e,t,[">"],"string");if(/[\^'"!~\/]/.test(o))return Klt(e,1),nct(e,t,[e.eat(o)],"string")}else if("w"==o){if("("==(o=jlt(e,1)))return Klt(e,2),nct(e,t,[")"],"bracket");if("["==o)return Klt(e,2),nct(e,t,["]"],"bracket");if("{"==o)return Klt(e,2),nct(e,t,["}"],"bracket");if("<"==o)return Klt(e,2),nct(e,t,[">"],"bracket");if(/[\^'"!~\/]/.test(o))return Klt(e,1),nct(e,t,[e.eat(o)],"bracket")}else if("r"==o){if("("==(o=jlt(e,1)))return Klt(e,2),nct(e,t,[")"],ect,tct);if("["==o)return Klt(e,2),nct(e,t,["]"],ect,tct);if("{"==o)return Klt(e,2),nct(e,t,["}"],ect,tct);if("<"==o)return Klt(e,2),nct(e,t,[">"],ect,tct);if(/[\^'"!~\/]/.test(o))return Klt(e,1),nct(e,t,[e.eat(o)],ect,tct)}else if(/[\^'"!~\/(\[{<]/.test(o)){if("("==o)return Klt(e,1),nct(e,t,[")"],"string");if("["==o)return Klt(e,1),nct(e,t,["]"],"string");if("{"==o)return Klt(e,1),nct(e,t,["}"],"string");if("<"==o)return Klt(e,1),nct(e,t,[">"],"string");if(/[\^'"!~\/]/.test(o))return nct(e,t,[e.eat(o)],"string")}if("m"==n&&((!(o=jlt(e,-2))||!/\w/.test(o))&&(o=e.eat(/[(\[{<\^'"!~\/]/)))){if(/[\^'"!~\/]/.test(o))return nct(e,t,[o],ect,tct);if("("==o)return nct(e,t,[")"],ect,tct);if("["==o)return nct(e,t,["]"],ect,tct);if("{"==o)return nct(e,t,["}"],ect,tct);if("<"==o)return nct(e,t,[">"],ect,tct)}if("s"==n&&(!(o=/[\/>\]})\w]/.test(jlt(e,-2)))&&(o=e.eat(/[(\[{<\^'"!~\/]/))))return nct(e,t,"["==o?["]","]"]:"{"==o?["}","}"]:"<"==o?[">",">"]:"("==o?[")",")"]:[o,o],ect,tct);if("y"==n&&(!(o=/[\/>\]})\w]/.test(jlt(e,-2)))&&(o=e.eat(/[(\[{<\^'"!~\/]/))))return nct(e,t,"["==o?["]","]"]:"{"==o?["}","}"]:"<"==o?[">",">"]:"("==o?[")",")"]:[o,o],ect,tct);if("t"==n&&(!(o=/[\/>\]})\w]/.test(jlt(e,-2)))&&(o=e.eat("r"))&&(o=e.eat(/[(\[{<\^'"!~\/]/))))return nct(e,t,"["==o?["]","]"]:"{"==o?["}","}"]:"<"==o?[">",">"]:"("==o?[")",")"]:[o,o],ect,tct);if("`"==n)return nct(e,t,[n],"builtin");if("/"==n)return/~\s*$/.test(Glt(e))?nct(e,t,[n],ect,tct):"operator";if("$"==n){r=e.pos;if(e.eatWhile(/\d/)||e.eat("{")&&e.eatWhile(/\d/)&&e.eat("}"))return"builtin";e.pos=r}if(/[$@%]/.test(n)){r=e.pos;if(e.eat("^")&&e.eat(/[A-Z]/)||!/[@$%&]/.test(jlt(e,-2))&&e.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var o=e.current();if(Jlt[o])return"builtin"}e.pos=r}if(/[$@%&]/.test(n)&&(e.eatWhile(/[\w$]/)||e.eat("{")&&e.eatWhile(/[\w$]/)&&e.eat("}"))){o=e.current();return Jlt[o]?"builtin":"variable"}if("#"==n&&"$"!=jlt(e,-2))return e.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(n)){r=e.pos;if(e.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),Jlt[e.current()])return"operator";e.pos=r}if("_"==n&&1==e.pos){if("_END__"==Hlt(e,6))return nct(e,t,["\0"],"comment");if("_DATA__"==Hlt(e,7))return nct(e,t,["\0"],"builtin");if("_C__"==Hlt(e,7))return nct(e,t,["\0"],"string")}if(/\w/.test(n)){r=e.pos;if("{"==jlt(e,-2)&&("}"==jlt(e,0)||e.eatWhile(/\w/)&&"}"==jlt(e,0)))return"string";e.pos=r}if(/[A-Z]/.test(n)){var a=jlt(e,-2);r=e.pos;if(e.eatWhile(/[A-Z_]/),!/[\da-z]/.test(jlt(e,0)))return(o=Jlt[e.current()])?(o[1]&&(o=o[0]),":"!=a?1==o?"keyword":2==o?"def":3==o?"atom":4==o?"operator":5==o?"builtin":"meta":"meta"):"meta";e.pos=r}if(/[a-zA-Z_]/.test(n)){a=jlt(e,-2);return e.eatWhile(/\w/),(o=Jlt[e.current()])?(o[1]&&(o=o[0]),":"!=a?1==o?"keyword":2==o?"def":3==o?"atom":4==o?"operator":5==o?"builtin":"meta":"meta"):"meta"}return null}const oct={name:"perl",startState:function(){return{tokenize:ict,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||ict)(e,t)},languageData:{commentTokens:{line:"#"},wordChars:"$"}},act=Object.freeze(Object.defineProperty({__proto__:null,perl:oct},Symbol.toStringTag,{value:"Module"}));function sct(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var lct="ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER ",cct="VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE NEQ MATCHES TRUE FALSE DUMP",uct="BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP ",Oct=sct(lct),dct=sct(cct),hct=sct(uct),fct=/[*+\-%<>=&?:\/!|]/;function pct(e,t,n){return t.tokenize=n,n(e,t)}function Act(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=mct;break}r="*"==n}return"comment"}function mct(e,t){var n,r=e.next();return'"'==r||"'"==r?pct(e,t,(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return!o&&i||(t.tokenize=mct),"error"})):/[\[\]{}\(\),;\.]/.test(r)?null:/\d/.test(r)?(e.eatWhile(/[\w\.]/),"number"):"/"==r?e.eat("*")?pct(e,t,Act):(e.eatWhile(fct),"operator"):"-"==r?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(fct),"operator"):fct.test(r)?(e.eatWhile(fct),"operator"):(e.eatWhile(/[\w\$_]/),dct&&dct.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":Oct&&Oct.propertyIsEnumerable(e.current().toUpperCase())?"builtin":hct&&hct.propertyIsEnumerable(e.current().toUpperCase())?"type":"variable")}const gct={name:"pig",startState:function(){return{tokenize:mct,startOfLine:!0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{autocomplete:(lct+uct+cct).split(" ")}},vct=Object.freeze(Object.defineProperty({__proto__:null,pig:gct},Symbol.toStringTag,{value:"Module"}));function yct(e,t){for(var n=void 0!==(t=t||{}).prefix?t.prefix:"^",r=void 0!==t.suffix?t.suffix:"\\b",i=0;i<e.length;i++)e[i]instanceof RegExp?e[i]=e[i].source:e[i]=e[i].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new RegExp(n+"("+e.join("|")+")"+r,"i")}var bct="(?=[^A-Za-z\\d\\-_]|$)",wct=/[\w\-:]/,Qct=yct([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:bct}),$ct=yct(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),Sct=yct([$ct,/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""}),xct=yct([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),kct=yct([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),Pct={keyword:Qct,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:Sct,builtin:yct([/[A-Z]:|%|\?/i,xct,kct],{suffix:bct}),punctuation:/[\[\]{},;`\\\.]|@[({]/,variable:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};function Tct(e,t){var n=t.returnStack[t.returnStack.length-1];if(n&&n.shouldReturnFrom(t))return t.tokenize=n.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return t.bracketNesting-=1,"punctuation";for(var r in Pct)if(e.match(Pct[r]))return r;var i=e.next();if("'"===i)return function(e,t){var n;for(;null!=(n=e.peek());)if(e.next(),"'"===n&&!e.eat("'"))return t.tokenize=Tct,"string";return"error"}(e,t);if("$"===i)return Uct(e,t);if('"'===i)return _ct(e,t);if("<"===i&&e.eat("#"))return t.tokenize=Bct,Bct(e,t);if("#"===i)return e.skipToEnd(),"comment";if("@"===i){var o=e.eat(/["']/);if(o&&e.eol())return t.tokenize=Ict,t.startQuote=o[0],Ict(e,t);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(wct))return Uct(e,t)}return"error"}function _ct(e,t){for(var n;null!=(n=e.peek());){if("$"===n)return t.tokenize=Cct,"string";if(e.next(),"`"!==n){if('"'===n&&!e.eat('"'))return t.tokenize=Tct,"string"}else e.next()}return"error"}function Cct(e,t){return Xct(e,t,_ct)}function Ect(e,t){return t.tokenize=Ict,t.startQuote='"',Ict(e,t)}function Rct(e,t){return Xct(e,t,Ect)}function Xct(e,t,n){if(e.match("$(")){var r=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===r},tokenize:n}),t.tokenize=Tct,t.bracketNesting+=1,"punctuation"}return e.next(),t.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),t.tokenize=Uct,t.tokenize(e,t)}function Bct(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&">"==n){t.tokenize=Tct;break}r="#"===n}return"comment"}function Uct(e,t){var n=e.peek();return e.eat("{")?(t.tokenize=Dct,Dct(e,t)):null!=n&&n.match(wct)?(e.eatWhile(wct),t.tokenize=Tct,"variable"):(t.tokenize=Tct,"error")}function Dct(e,t){for(var n;null!=(n=e.next());)if("}"===n){t.tokenize=Tct;break}return"variable"}function Ict(e,t){var n=t.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))t.tokenize=Tct;else if('"'===n)for(;!e.eol();){var r=e.peek();if("$"===r)return t.tokenize=Rct,"string";e.next(),"`"===r&&e.next()}else e.skipToEnd();return"string"}const zct={name:"powershell",startState:function(){return{returnStack:[],bracketNesting:0,tokenize:Tct}},token:function(e,t){return t.tokenize(e,t)},languageData:{commentTokens:{line:"#",block:{open:"<#",close:"#>"}}}},Nct=Object.freeze(Object.defineProperty({__proto__:null,powerShell:zct},Symbol.toStringTag,{value:"Module"})),Mct=Object.freeze(Object.defineProperty({__proto__:null,properties:{name:"properties",token:function(e,t){var n=e.sol()||t.afterSection,r=e.eol();if(t.afterSection=!1,n&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),r&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),n)for(;e.eatSpace(););var i=e.next();return!n||"#"!==i&&"!"!==i&&";"!==i?n&&"["===i?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===i||":"===i?(t.position="quote",null):("\\"===i&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position):(t.position="comment",e.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}},Symbol.toStringTag,{value:"Module"}));var Lct=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],Vct=function(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}(Lct),qct=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");const Fct={name:"protobuf",token:function(e){if(e.eatSpace())return null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(Vct)?"keyword":e.match(qct)?"variable":(e.next(),null)},languageData:{autocomplete:Lct}},Wct=Object.freeze(Object.defineProperty({__proto__:null,protobuf:Fct},Symbol.toStringTag,{value:"Module"}));var Zct={"{":"}","(":")","[":"]"};function Yct(e){if("object"!=typeof e)return e;let t={};for(let n in e){let r=e[n];t[n]=r instanceof Array?r.slice():r}return t}let jct=class e{constructor(e){this.indentUnit=e,this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=$ot.startState(e),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken=""}copy(){var t=new e(this.indentUnit);return t.javaScriptLine=this.javaScriptLine,t.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,t.javaScriptArguments=this.javaScriptArguments,t.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,t.isInterpolating=this.isInterpolating,t.interpolationNesting=this.interpolationNesting,t.jsState=($ot.copyState||Yct)(this.jsState),t.restOfLine=this.restOfLine,t.isIncludeFiltered=this.isIncludeFiltered,t.isEach=this.isEach,t.lastTag=this.lastTag,t.isAttrs=this.isAttrs,t.attrsNest=this.attrsNest.slice(),t.inAttributeName=this.inAttributeName,t.attributeIsType=this.attributeIsType,t.attrValue=this.attrValue,t.indentOf=this.indentOf,t.indentToken=this.indentToken,t}};function Gct(e,t){if(e.match("#{"))return t.isInterpolating=!0,t.interpolationNesting=0,"punctuation"}function Hct(e,t){if(e.match(/^:([\w\-]+)/))return Jct(e,t),"atom"}function Kct(e,t){if(t.isAttrs){if(Zct[e.peek()]&&t.attrsNest.push(Zct[e.peek()]),t.attrsNest[t.attrsNest.length-1]===e.peek())t.attrsNest.pop();else if(e.eat(")"))return t.isAttrs=!1,"punctuation";if(t.inAttributeName&&e.match(/^[^=,\)!]+/))return"="!==e.peek()&&"!"!==e.peek()||(t.inAttributeName=!1,t.jsState=$ot.startState(2),"script"===t.lastTag&&"type"===e.current().trim().toLowerCase()?t.attributeIsType=!0:t.attributeIsType=!1),"attribute";var n=$ot.token(e,t.jsState);if(0===t.attrsNest.length&&("string"===n||"variable"===n||"keyword"===n))try{return Function("","var x "+t.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),t.inAttributeName=!0,t.attrValue="",e.backUp(e.current().length),Kct(e,t)}catch(r){}return t.attrValue+=e.current(),n||!0}}function Jct(e,t){t.indentOf=e.indentation(),t.indentToken="string"}const eut={startState:function(e){return new jct(e)},copyState:function(e){return e.copy()},token:function(e,t){var n=function(e,t){if(e.sol()&&(t.restOfLine=""),t.restOfLine){e.skipToEnd();var n=t.restOfLine;return t.restOfLine="",n}}(e,t)||function(e,t){if(t.isInterpolating){if("}"===e.peek()){if(t.interpolationNesting--,t.interpolationNesting<0)return e.next(),t.isInterpolating=!1,"punctuation"}else"{"===e.peek()&&t.interpolationNesting++;return $ot.token(e,t.jsState)||!0}}(e,t)||function(e,t){if(t.isIncludeFiltered){var n=Hct(e,t);return t.isIncludeFiltered=!1,t.restOfLine="string",n}}(e,t)||function(e,t){if(t.isEach){if(e.match(/^ in\b/))return t.javaScriptLine=!0,t.isEach=!1,"keyword";if(e.sol()||e.eol())t.isEach=!1;else if(e.next()){for(;!e.match(/^ in\b/,!1)&&e.next(););return"variable"}}}(e,t)||Kct(e,t)||function(e,t){if(e.sol()&&(t.javaScriptLine=!1,t.javaScriptLineExcludesColon=!1),t.javaScriptLine){if(t.javaScriptLineExcludesColon&&":"===e.peek())return t.javaScriptLine=!1,void(t.javaScriptLineExcludesColon=!1);var n=$ot.token(e,t.jsState);return e.eol()&&(t.javaScriptLine=!1),n||!0}}(e,t)||function(e,t){if(t.javaScriptArguments)return 0===t.javaScriptArgumentsDepth&&"("!==e.peek()?void(t.javaScriptArguments=!1):("("===e.peek()?t.javaScriptArgumentsDepth++:")"===e.peek()&&t.javaScriptArgumentsDepth--,0===t.javaScriptArgumentsDepth?void(t.javaScriptArguments=!1):$ot.token(e,t.jsState)||!0)}(e,t)||function(e,t){if(t.mixinCallAfter)return t.mixinCallAfter=!1,e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),!0}(e,t)||function(e){if(e.match(/^yield\b/))return"keyword"}(e)||function(e){if(e.match(/^(?:doctype) *([^\n]+)?/))return"meta"}(e)||Gct(e,t)||function(e,t){if(e.match(/^case\b/))return t.javaScriptLine=!0,"keyword"}(e,t)||function(e,t){if(e.match(/^when\b/))return t.javaScriptLine=!0,t.javaScriptLineExcludesColon=!0,"keyword"}(e,t)||function(e){if(e.match(/^default\b/))return"keyword"}(e)||function(e,t){if(e.match(/^extends?\b/))return t.restOfLine="string","keyword"}(e,t)||function(e,t){if(e.match(/^append\b/))return t.restOfLine="variable","keyword"}(e,t)||function(e,t){if(e.match(/^prepend\b/))return t.restOfLine="variable","keyword"}(e,t)||function(e,t){if(e.match(/^block\b *(?:(prepend|append)\b)?/))return t.restOfLine="variable","keyword"}(e,t)||function(e,t){if(e.match(/^include\b/))return t.restOfLine="string","keyword"}(e,t)||function(e,t){if(e.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&e.match("include"))return t.isIncludeFiltered=!0,"keyword"}(e,t)||function(e,t){if(e.match(/^mixin\b/))return t.javaScriptLine=!0,"keyword"}(e,t)||function(e,t){return e.match(/^\+([-\w]+)/)?(e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),"variable"):e.match("+#{",!1)?(e.next(),t.mixinCallAfter=!0,Gct(e,t)):void 0}(e,t)||function(e,t){if(e.match(/^(if|unless|else if|else)\b/))return t.javaScriptLine=!0,"keyword"}(e,t)||function(e,t){if(e.match(/^(- *)?(each|for)\b/))return t.isEach=!0,"keyword"}(e,t)||function(e,t){if(e.match(/^while\b/))return t.javaScriptLine=!0,"keyword"}(e,t)||function(e,t){var n;if(n=e.match(/^(\w(?:[-:\w]*\w)?)\/?/))return t.lastTag=n[1].toLowerCase(),"tag"}(e,t)||Hct(e,t)||function(e,t){if(e.match(/^(!?=|-)/))return t.javaScriptLine=!0,"punctuation"}(e,t)||function(e){if(e.match(/^#([\w-]+)/))return"builtin"}(e)||function(e){if(e.match(/^\.([\w-]+)/))return"className"}(e)||function(e,t){if("("==e.peek())return e.next(),t.isAttrs=!0,t.attrsNest=[],t.inAttributeName=!0,t.attrValue="",t.attributeIsType=!1,"punctuation"}(e,t)||function(e,t){if(e.match(/^&attributes\b/))return t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0,"keyword"}(e,t)||function(e){if(e.sol()&&e.eatSpace())return"indent"}(e)||function(e,t){return e.match(/^(?:\| ?| )([^\n]+)/)?"string":e.match(/^(<[^\n]*)/,!1)?(Jct(e,t),e.skipToEnd(),t.indentToken):void 0}(e,t)||function(e,t){if(e.match(/^ *\/\/(-)?([^\n]*)/))return t.indentOf=e.indentation(),t.indentToken="comment","comment"}(e,t)||function(e){if(e.match(/^: */))return"colon"}(e)||function(e,t){if(e.eat("."))return Jct(e,t),"dot"}(e,t)||function(e){return e.next(),null}(e);return!0===n?null:n}},tut=Object.freeze(Object.defineProperty({__proto__:null,pug:eut},Symbol.toStringTag,{value:"Module"}));var nut={},rut=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function iut(e,t){for(var n=t.split(" "),r=0;r<n.length;r++)nut[n[r]]=e}function out(e,t){for(var n,r,i=!1;!e.eol()&&(n=e.next())!=t.pending;){if("$"===n&&"\\"!=r&&'"'==t.pending){i=!0;break}r=n}return i&&e.backUp(1),n==t.pending?t.continueString=!1:t.continueString=!0,"string"}iut("keyword","class define site node include import inherits"),iut("keyword","case if else in and elsif default or"),iut("atom","false true running present absent file directory undef"),iut("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");const aut={name:"puppet",startState:function(){var e={inDefinition:!1,inInclude:!1,continueString:!1,pending:!1};return e},token:function(e,t){return e.eatSpace()?null:function(e,t){var n=e.match(/[\w]+/,!1),r=e.match(/(\s+)?\w+\s+=>.*/,!1),i=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),o=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),a=e.next();if("$"===a)return e.match(rut)?t.continueString?"variableName.special":"variable":"error";if(t.continueString)return e.backUp(1),out(e,t);if(t.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),t.inDefinition=!1}return t.inInclude?(e.match(/(\s+)?\S+(\s+)?/),t.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):r?(e.match(/(\s+)?\w+/),"tag"):n&&nut.hasOwnProperty(n)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(t.inDefinition=!0),"include"==n&&(t.inInclude=!0),nut[n]):/(^|\s+)[A-Z][\w:_]+/.test(n)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):i?(e.match(/(\s+)?[\w:_]+/),"def"):o?(e.match(/(\s+)?[@]{1,2}/),"atom"):"#"==a?(e.skipToEnd(),"comment"):"'"==a||'"'==a?(t.pending=a,out(e,t)):"{"==a||"}"==a?"bracket":"/"==a?(e.match(/^[^\/]*\//),"string.special"):a.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):"="==a?(">"==e.peek()&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}(e,t)}},sut=Object.freeze(Object.defineProperty({__proto__:null,puppet:aut},Symbol.toStringTag,{value:"Module"}));var lut,cut=new RegExp("^("+["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"].join("|")+")$"),uut=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function Out(e,t){var n=e.sol(),r=e.next();if(lut=null,n){if("/"==r)return(t.tokenize=dut)(e,t);if("\\"==r)return e.eol()||/\s/.test(e.peek())?(e.skipToEnd(),/^\\\s*$/.test(e.current())?(t.tokenize=fut)(e):t.tokenize=Out,"comment"):(t.tokenize=Out,"builtin")}if(/\s/.test(r))return"/"==e.peek()?(e.skipToEnd(),"comment"):"null";if('"'==r)return(t.tokenize=put)(e,t);if("`"==r)return e.eatWhile(/[A-Za-z\d_:\/.]/),"macroName";if("."==r&&/\d/.test(e.peek())||/\d/.test(r)){var i=null;return e.backUp(1),e.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||e.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||e.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||e.match(/^\d+[ptuv]{1}/)?i="temporal":(e.match(/^0[NwW]{1}/)||e.match(/^0x[\da-fA-F]*/)||e.match(/^[01]+[b]{1}/)||e.match(/^\d+[chijn]{1}/)||e.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(i="number"),!i||(r=e.peek())&&!uut.test(r)?(e.next(),"error"):i}return/[A-Za-z]|\./.test(r)?(e.eatWhile(/[A-Za-z._\d]/),cut.test(e.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(r)||/[{}\(\[\]\)]/.test(r)?null:"error"}function dut(e,t){return e.skipToEnd(),/^\/\s*$/.test(e.current())?(t.tokenize=hut)(e,t):t.tokenize=Out,"comment"}function hut(e,t){var n=e.sol()&&"\\"==e.peek();return e.skipToEnd(),n&&/^\\\s*$/.test(e.current())&&(t.tokenize=Out),"comment"}function fut(e){return e.skipToEnd(),"comment"}function put(e,t){for(var n,r=!1,i=!1;n=e.next();){if('"'==n&&!r){i=!0;break}r=!r&&"\\"==n}return i&&(t.tokenize=Out),"string"}function Aut(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function mut(e){e.indent=e.context.indent,e.context=e.context.prev}const gut={name:"q",startState:function(){return{tokenize:Out,context:null,indent:0,col:0}},token:function(e,t){e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation());var n=t.tokenize(e,t);if("comment"!=n&&t.context&&null==t.context.align&&"pattern"!=t.context.type&&(t.context.align=!0),"("==lut)Aut(t,")",e.column());else if("["==lut)Aut(t,"]",e.column());else if("{"==lut)Aut(t,"}",e.column());else if(/[\]\}\)]/.test(lut)){for(;t.context&&"pattern"==t.context.type;)mut(t);t.context&&lut==t.context.type&&mut(t)}else"."==lut&&t.context&&"pattern"==t.context.type?mut(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?Aut(t,"pattern",e.column()):"pattern"!=t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t,n){var r=t&&t.charAt(0),i=e.context;if(/[\]\}]/.test(r))for(;i&&"pattern"==i.type;)i=i.prev;var o=i&&r==i.type;return i?"pattern"==i.type?i.col:i.align?i.col+(o?0:1):i.indent+(o?0:n.unit):0},languageData:{commentTokens:{line:"/"}}},vut=Object.freeze(Object.defineProperty({__proto__:null,q:gut},Symbol.toStringTag,{value:"Module"}));function yut(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}var but,wut=["NULL","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","TRUE","FALSE"],Qut=["list","quote","bquote","eval","return","call","parse","deparse"],$ut=["if","else","repeat","while","function","for","in","next","break"],Sut=yut(wut),xut=yut(Qut),kut=yut($ut),Put=yut(["if","else","repeat","while","function","for"]),Tut=/[+\-*\/^<>=!&|~$:]/;function _ut(e,t){but=null;var n,r=e.next();if("#"==r)return e.skipToEnd(),"comment";if("0"==r&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if("."==r&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==r||'"'==r)return t.tokenize=(n=r,function(e,t){if(e.eat("\\")){var r=e.next();return"x"==r?e.match(/^[a-f0-9]{2}/i):("u"==r||"U"==r)&&e.eat("{")&&e.skipTo("}")?e.next():"u"==r?e.match(/^[a-f0-9]{4}/i):"U"==r?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(r)&&e.match(/^[0-7]{1,2}/),"string.special"}for(var i;null!=(i=e.next());){if(i==n){t.tokenize=_ut;break}if("\\"==i){e.backUp(1);break}}return"string"}),"string";if("`"==r)return e.match(/[^`]+`/),"string.special";if("."==r&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var i=e.current();return Sut.propertyIsEnumerable(i)?"atom":kut.propertyIsEnumerable(i)?(Put.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(but="block"),"keyword"):xut.propertyIsEnumerable(i)?"builtin":"variable"}return"%"==r?(e.skipTo("%")&&e.next(),"variableName.special"):"<"==r&&e.eat("-")||"<"==r&&e.match("<-")||"-"==r&&e.match(/>>?/)||"="==r&&t.ctx.argList?"operator":Tut.test(r)?("$"==r||e.eatWhile(Tut),"operator"):/[\(\){}\[\];]/.test(r)?(but=r,";"==r?"punctuation":null):null}function Cut(e,t,n){e.ctx={type:t,indent:e.indent,flags:0,column:n.column(),prev:e.ctx}}function Eut(e,t){var n=e.ctx;e.ctx={type:n.type,indent:n.indent,flags:n.flags|t,column:n.column,prev:n.prev}}function Rut(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}const Xut={name:"r",startState:function(e){return{tokenize:_ut,ctx:{type:"top",indent:-e,flags:2},indent:0,afterIdent:!1}},token:function(e,t){if(e.sol()&&(3&t.ctx.flags||(t.ctx.flags|=2),4&t.ctx.flags&&Rut(t),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==n||2&t.ctx.flags||Eut(t,1),";"!=but&&"{"!=but&&"}"!=but||"block"!=t.ctx.type||Rut(t),"{"==but?Cut(t,"}",e):"("==but?(Cut(t,")",e),t.afterIdent&&(t.ctx.argList=!0)):"["==but?Cut(t,"]",e):"block"==but?Cut(t,"block",e):but==t.ctx.type?Rut(t):"block"==t.ctx.type&&"comment"!=n&&Eut(t,4),t.afterIdent="variable"==n||"keyword"==n,n},indent:function(e,t,n){if(e.tokenize!=_ut)return 0;var r=t&&t.charAt(0),i=e.ctx,o=r==i.type;return 4&i.flags&&(i=i.prev),"block"==i.type?i.indent+("{"==r?0:n.unit):1&i.flags?i.column+(o?0:1):i.indent+(o?0:n.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:wut.concat(Qut,$ut)}},But=Object.freeze(Object.defineProperty({__proto__:null,r:Xut},Symbol.toStringTag,{value:"Module"}));var Uut=/^-+$/,Dut=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,Iut=/^[\w+.-]+@[\w.-]+/;const zut={name:"rpmchanges",token:function(e){if(e.sol()){if(e.match(Uut))return"tag";if(e.match(Dut))return"tag"}return e.match(Iut)?"string":(e.next(),null)}};var Nut=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,Mut=/^[a-zA-Z0-9()]+:/,Lut=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,Vut=/^%(ifnarch|ifarch|if)/,qut=/^%(else|endif)/,Fut=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;const Wut={name:"rpmspec",startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(e,t){if("#"==e.peek())return e.skipToEnd(),"comment";if(e.sol()){if(e.match(Mut))return"header";if(e.match(Lut))return"atom"}if(e.match(/^\$\w+/))return"def";if(e.match(/^\$\{\w+\}/))return"def";if(e.match(qut))return"keyword";if(e.match(Vut))return t.controlFlow=!0,"keyword";if(t.controlFlow){if(e.match(Fut))return"operator";if(e.match(/^(\d+)/))return"number";e.eol()&&(t.controlFlow=!1)}if(e.match(Nut))return e.eol()&&(t.controlFlow=!1),"number";if(e.match(/^%[\w]+/))return e.match("(")&&(t.macroParameters=!0),"keyword";if(t.macroParameters){if(e.match(/^\d+/))return"number";if(e.match(")"))return t.macroParameters=!1,"keyword"}return e.match(/^%\{\??[\w \-\:\!]+\}/)?(e.eol()&&(t.controlFlow=!1),"def"):(e.next(),null)}},Zut=Object.freeze(Object.defineProperty({__proto__:null,rpmChanges:zut,rpmSpec:Wut},Symbol.toStringTag,{value:"Module"}));function Yut(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}var jut,Gut=["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"],Hut=Yut(Gut),Kut=Yut(["def","class","case","for","while","until","module","catch","loop","proc","begin"]),Jut=Yut(["end","until"]),eOt={"[":"]","{":"}","(":")"},tOt={"]":"[","}":"{",")":"("};function nOt(e,t,n){return n.tokenize.push(e),e(t,n)}function rOt(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(sOt),"comment";if(e.eatSpace())return null;var n,r,i,o=e.next();if("`"==o||"'"==o||'"'==o)return nOt(aOt(o,"string",'"'==o||"`"==o),e,t);if("/"==o)return function(e){var t,n=e.pos,r=0,i=!1,o=!1;for(;null!=(t=e.next());)if(o)o=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){i=!0;break}o="\\"==t}return e.backUp(e.pos-n),i}(e)?nOt(aOt(o,"string.special",!0),e,t):"operator";if("%"==o){var a="string",s=!0;e.eat("s")?a="atom":e.eat(/[WQ]/)?a="string":e.eat(/[r]/)?a="string.special":e.eat(/[wxq]/)&&(a="string",s=!1);var l=e.eat(/[^\w\s=]/);return l?(eOt.propertyIsEnumerable(l)&&(l=eOt[l]),nOt(aOt(l,a,s,!0),e,t)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(n=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return nOt((r=n[2],i=n[1],function(e,t){return i&&e.eatSpace(),e.match(r)?t.tokenize.pop():e.skipToEnd(),"string"}),e,t);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?nOt(aOt("'","atom",!1),e,t):e.eat('"')?nOt(aOt('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"variable";if("|"!=o||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return jut=o,null;if("-"==o&&e.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var c=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||c||(jut="."),"operator"}return null}return jut="|",null}function iOt(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=iOt(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=iOt(e+1));return rOt(t,n)}}function oOt(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,rOt(t,n))}}function aOt(e,t,n,r){return function(i,o){var a,s=!1;for("read-quoted-paused"===o.context.type&&(o.context=o.context.prev,i.eat("}"));null!=(a=i.next());){if(a==e&&(r||!s)){o.tokenize.pop();break}if(n&&"#"==a&&!s){if(i.eat("{")){"}"==e&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(iOt());break}if(/[@\$]/.test(i.peek())){o.tokenize.push(oOt());break}}s=!s&&"\\"==a}return t}}function sOt(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}const lOt={name:"ruby",startState:function(e){return{tokenize:[rOt],indented:0,context:{type:"top",indented:-e},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){jut=null,e.sol()&&(t.indented=e.indentation());var n,r=t.tokenize[t.tokenize.length-1](e,t),i=jut;if("variable"==r){var o=e.current();"keyword"==(r="."==t.lastTok?"property":Hut.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(i=o,Kut.propertyIsEnumerable(o)?n="indent":Jut.propertyIsEnumerable(o)?n="dedent":"if"!=o&&"unless"!=o||e.column()!=e.indentation()?"do"==o&&t.context.indented<t.indented&&(n="indent"):n="indent")}return(jut||r&&"comment"!=r)&&(t.lastTok=i),"|"==jut&&(t.varList=!t.varList),"indent"==n||/[\(\[\{]/.test(jut)?t.context={prev:t.context,type:jut||r,indented:t.indented}:("dedent"==n||/[\)\]\}]/.test(jut))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==jut||"operator"==r),r},indent:function(e,t,n){if(e.tokenize[e.tokenize.length-1]!=rOt)return null;var r=t&&t.charAt(0),i=e.context,o=i.type==tOt[r]||"keyword"==i.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(t);return i.indented+(o?0:n.unit)+(e.continuedLine?n.unit:0)},languageData:{indentOnInput:/^\s*(?:end|rescue|elsif|else|\})$/,commentTokens:{line:"#"},autocomplete:Gut}},cOt=Object.freeze(Object.defineProperty({__proto__:null,ruby:lOt},Symbol.toStringTag,{value:"Module"}));var uOt={},OOt={eq:"operator",lt:"operator",le:"operator",gt:"operator",ge:"operator",in:"operator",ne:"operator",or:"operator"},dOt=/(<=|>=|!=|<>)/,hOt=/[=\(:\),{}.*<>+\-\/^\[\]]/;function fOt(e,t,n){if(n)for(var r=t.split(" "),i=0;i<r.length;i++)uOt[r[i]]={style:e,state:n}}fOt("def","stack pgm view source debug nesting nolist",["inDataStep"]),fOt("def","if while until for do do; end end; then else cancel",["inDataStep"]),fOt("def","label format _n_ _error_",["inDataStep"]),fOt("def","ALTER BUFNO BUFSIZE CNTLLEV COMPRESS DLDMGACTION ENCRYPT ENCRYPTKEY EXTENDOBSCOUNTER GENMAX GENNUM INDEX LABEL OBSBUF OUTREP PW PWREQ READ REPEMPTY REPLACE REUSE ROLE SORTEDBY SPILL TOBSNO TYPE WRITE FILECLOSE FIRSTOBS IN OBS POINTOBS WHERE WHEREUP IDXNAME IDXWHERE DROP KEEP RENAME",["inDataStep"]),fOt("def","filevar finfo finv fipname fipnamel fipstate first firstobs floor",["inDataStep"]),fOt("def","varfmt varinfmt varlabel varlen varname varnum varray varrayx vartype verify vformat vformatd vformatdx vformatn vformatnx vformatw vformatwx vformatx vinarray vinarrayx vinformat vinformatd vinformatdx vinformatn vinformatnx vinformatw vinformatwx vinformatx vlabel vlabelx vlength vlengthx vname vnamex vnferr vtype vtypex weekday",["inDataStep"]),fOt("def","zipfips zipname zipnamel zipstate",["inDataStep"]),fOt("def","put putc putn",["inDataStep"]),fOt("builtin","data run",["inDataStep"]),fOt("def","data",["inProc"]),fOt("def","%if %end %end; %else %else; %do %do; %then",["inMacro"]),fOt("builtin","proc run; quit; libname filename %macro %mend option options",["ALL"]),fOt("def","footnote title libname ods",["ALL"]),fOt("def","%let %put %global %sysfunc %eval ",["ALL"]),fOt("variable","&sysbuffr &syscc &syscharwidth &syscmd &sysdate &sysdate9 &sysday &sysdevic &sysdmg &sysdsn &sysencoding &sysenv &syserr &syserrortext &sysfilrc &syshostname &sysindex &sysinfo &sysjobid &syslast &syslckrc &syslibrc &syslogapplname &sysmacroname &sysmenv &sysmsg &sysncpu &sysodspath &sysparm &syspbuff &sysprocessid &sysprocessname &sysprocname &sysrc &sysscp &sysscpl &sysscpl &syssite &sysstartid &sysstartname &systcpiphostname &systime &sysuserid &sysver &sysvlong &sysvlong4 &syswarningtext",["ALL"]),fOt("def","source2 nosource2 page pageno pagesize",["ALL"]),fOt("def","_all_ _character_ _cmd_ _freq_ _i_ _infile_ _last_ _msg_ _null_ _numeric_ _temporary_ _type_ abort abs addr adjrsq airy alpha alter altlog altprint and arcos array arsin as atan attrc attrib attrn authserver autoexec awscontrol awsdef awsmenu awsmenumerge awstitle backward band base betainv between blocksize blshift bnot bor brshift bufno bufsize bxor by byerr byline byte calculated call cards cards4 catcache cbufno cdf ceil center cexist change chisq cinv class cleanup close cnonct cntllev coalesce codegen col collate collin column comamid comaux1 comaux2 comdef compbl compound compress config continue convert cos cosh cpuid create cross crosstab css curobs cv daccdb daccdbsl daccsl daccsyd dacctab dairy datalines datalines4 datejul datepart datetime day dbcslang dbcstype dclose ddfm ddm delete delimiter depdb depdbsl depsl depsyd deptab dequote descending descript design= device dflang dhms dif digamma dim dinfo display distinct dkricond dkrocond dlm dnum do dopen doptname doptnum dread drop dropnote dsname dsnferr echo else emaildlg emailid emailpw emailserver emailsys encrypt end endsas engine eof eov erf erfc error errorcheck errors exist exp fappend fclose fcol fdelete feedback fetch fetchobs fexist fget file fileclose fileexist filefmt filename fileref fmterr fmtsearch fnonct fnote font fontalias fopen foptname foptnum force formatted formchar formdelim formdlim forward fpoint fpos fput fread frewind frlen from fsep fuzz fwrite gaminv gamma getoption getvarc getvarn go goto group gwindow hbar hbound helpenv helploc hms honorappearance hosthelp hostprint hour hpct html hvar ibessel ibr id if index indexc indexw initcmd initstmt inner input inputc inputn inr insert int intck intnx into intrr invaliddata irr is jbessel join juldate keep kentb kurtosis label lag last lbound leave left length levels lgamma lib library libref line linesize link list log log10 log2 logpdf logpmf logsdf lostcard lowcase lrecl ls macro macrogen maps mautosource max maxdec maxr mdy mean measures median memtype merge merror min minute missing missover mlogic mod mode model modify month mopen mort mprint mrecall msglevel msymtabmax mvarsize myy n nest netpv new news nmiss no nobatch nobs nocaps nocardimage nocenter nocharcode nocmdmac nocol nocum nodate nodbcs nodetails nodmr nodms nodmsbatch nodup nodupkey noduplicates noechoauto noequals noerrorabend noexitwindows nofullstimer noicon noimplmac noint nolist noloadlist nomiss nomlogic nomprint nomrecall nomsgcase nomstored nomultenvappl nonotes nonumber noobs noovp nopad nopercent noprint noprintinit normal norow norsasuser nosetinit nosplash nosymbolgen note notes notitle notitles notsorted noverbose noxsync noxwait npv null number numkeys nummousekeys nway obs on open order ordinal otherwise out outer outp= output over ovp p(1 5 10 25 50 75 90 95 99) pad pad2 paired parm parmcards path pathdll pathname pdf peek peekc pfkey pmf point poisson poke position printer probbeta probbnml probchi probf probgam probhypr probit probnegb probnorm probsig probt procleave prt ps pw pwreq qtr quote r ranbin rancau random ranexp rangam range ranks rannor ranpoi rantbl rantri ranuni rcorr read recfm register regr remote remove rename repeat repeated replace resolve retain return reuse reverse rewind right round rsquare rtf rtrace rtraceloc s s2 samploc sasautos sascontrol sasfrscr sasmsg sasmstore sasscript sasuser saving scan sdf second select selection separated seq serror set setcomm setot sign simple sin sinh siteinfo skewness skip sle sls sortedby sortpgm sortseq sortsize soundex spedis splashlocation split spool sqrt start std stderr stdin stfips stimer stname stnamel stop stopover sub subgroup subpopn substr sum sumwgt symbol symbolgen symget symput sysget sysin sysleave sysmsg sysparm sysprint sysprintfont sysprod sysrc system t table tables tan tanh tapeclose tbufsize terminal test then timepart tinv tnonct to today tol tooldef totper transformout translate trantab tranwrd trigamma trim trimn trunc truncover type unformatted uniform union until upcase update user usericon uss validate value var weight when where while wincharset window work workinit workterm write wsum xsync xwait yearcutoff yes yyq min max",["inDataStep","inProc"]),fOt("operator","and not ",["inDataStep","inProc"]);const pOt={name:"sas",startState:function(){return{inDataStep:!1,inProc:!1,inMacro:!1,nextword:!1,continueString:null,continueComment:!1}},token:function(e,t){return e.eatSpace()?null:function(e,t){var n=e.next();if("/"===n&&e.eat("*"))return t.continueComment=!0,"comment";if(!0===t.continueComment)return"*"===n&&"/"===e.peek()?(e.next(),t.continueComment=!1):e.skipTo("*")?(e.skipTo("*"),e.next(),e.eat("/")&&(t.continueComment=!1)):e.skipToEnd(),"comment";if("*"==n&&e.column()==e.indentation())return e.skipToEnd(),"comment";var r,i=n+e.peek();if(!('"'!==n&&"'"!==n||t.continueString))return t.continueString=n,"string";if(t.continueString)return t.continueString==n?t.continueString=null:e.skipTo(t.continueString)?(e.next(),t.continueString=null):e.skipToEnd(),"string";if(null!==t.continueString&&e.eol())return e.skipTo(t.continueString)||e.skipToEnd(),"string";if(/[\d\.]/.test(n))return"."===n?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"===n?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(dOt.test(n+e.peek()))return e.next(),"operator";if(OOt.hasOwnProperty(i)){if(e.next()," "===e.peek())return OOt[i.toLowerCase()]}else if(hOt.test(n))return"operator";if(null!=e.match(/[%&;\w]+/,!1)){if(r=n+e.match(/[%&;\w]+/,!0),/&/.test(r))return"variable"}else r=n;if(t.nextword)return e.match(/[\w]+/),"."===e.peek()&&e.skipTo(" "),t.nextword=!1,"variableName.special";if(r=r.toLowerCase(),t.inDataStep){if("run;"===r||e.match(/run\s;/))return t.inDataStep=!1,"builtin";if(r&&"."===e.next())return/\w/.test(e.peek())?"variableName.special":"variable";if(r&&uOt.hasOwnProperty(r)&&(-1!==uOt[r].state.indexOf("inDataStep")||-1!==uOt[r].state.indexOf("ALL"))){e.start<e.pos&&e.backUp(e.pos-e.start);for(var o=0;o<r.length;++o)e.next();return uOt[r].style}}if(t.inProc){if("run;"===r||"quit;"===r)return t.inProc=!1,"builtin";if(r&&uOt.hasOwnProperty(r)&&(-1!==uOt[r].state.indexOf("inProc")||-1!==uOt[r].state.indexOf("ALL")))return e.match(/[\w]+/),uOt[r].style}return t.inMacro?"%mend"===r?(";"===e.peek()&&e.next(),t.inMacro=!1,"builtin"):r&&uOt.hasOwnProperty(r)&&(-1!==uOt[r].state.indexOf("inMacro")||-1!==uOt[r].state.indexOf("ALL"))?(e.match(/[\w]+/),uOt[r].style):"atom":r&&uOt.hasOwnProperty(r)?(e.backUp(1),e.match(/[\w]+/),"data"===r&&!1===/=/.test(e.peek())?(t.inDataStep=!0,t.nextword=!0,"builtin"):"proc"===r?(t.inProc=!0,t.nextword=!0,"builtin"):"%macro"===r?(t.inMacro=!0,t.nextword=!0,"builtin"):/title[1-9]/.test(r)?"def":"footnote"===r?(e.eat(/[1-9]/),"def"):!0===t.inDataStep&&-1!==uOt[r].state.indexOf("inDataStep")||!0===t.inProc&&-1!==uOt[r].state.indexOf("inProc")||!0===t.inMacro&&-1!==uOt[r].state.indexOf("inMacro")||-1!==uOt[r].state.indexOf("ALL")?uOt[r].style:null):null}(e,t)},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}},AOt=Object.freeze(Object.defineProperty({__proto__:null,sas:pOt},Symbol.toStringTag,{value:"Module"}));var mOt="comment",gOt="string",vOt="symbol",yOt="atom",bOt="number",wOt="bracket";function QOt(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var $Ot=QOt("λ case-lambda call/cc class cond-expand define-class define-values exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax define-macro defmacro delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),SOt=QOt("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function xOt(e,t,n){this.indent=e,this.type=t,this.prev=n}function kOt(e,t,n){e.indentStack=new xOt(t,n,e.indentStack)}var POt=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),TOt=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),_Ot=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),COt=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function EOt(e){return e.match(POt)}function ROt(e){return e.match(TOt)}function XOt(e,t){return!0===t&&e.backUp(1),e.match(COt)}function BOt(e){return e.match(_Ot)}function UOt(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t.token&&!r){t.state.mode=!1;break}r=!r&&"\\"==n}}const DOt={name:"scheme",startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=e.indentation()),e.eatSpace())return null;var n=null;switch(t.mode){case"string":UOt(e,{token:'"',state:t}),n=gOt;break;case"symbol":UOt(e,{token:"|",state:t}),n=vOt;break;case"comment":for(var r,i=!1;null!=(r=e.next());){if("#"==r&&i){t.mode=!1;break}i="|"==r}n=mOt;break;case"s-expr-comment":if(t.mode=!1,"("!=e.peek()&&"["!=e.peek()){e.eatWhile(/[^\s\(\)\[\]]/),n=mOt;break}t.sExprComment=0;default:var o=e.next();if('"'==o)t.mode="string",n=gOt;else if("'"==o)"("==e.peek()||"["==e.peek()?("number"!=typeof t.sExprQuote&&(t.sExprQuote=0),n=yOt):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=yOt);else if("|"==o)t.mode="symbol",n=vOt;else if("#"==o)if(e.eat("|"))t.mode="comment",n=mOt;else if(e.eat(/[tf]/i))n=yOt;else if(e.eat(";"))t.mode="s-expr-comment",n=mOt;else{var a=null,s=!1,l=!0;e.eat(/[ei]/i)?s=!0:e.backUp(1),e.match(/^#b/i)?a=EOt:e.match(/^#o/i)?a=ROt:e.match(/^#x/i)?a=BOt:e.match(/^#d/i)?a=XOt:e.match(/^[-+0-9.]/,!1)?(l=!1,a=XOt):s||e.eat("#"),null!=a&&(l&&!s&&e.match(/^#[ei]/i),a(e)&&(n=bOt))}else if(/^[-+0-9.]/.test(o)&&XOt(e,!0))n=bOt;else if(";"==o)e.skipToEnd(),n=mOt;else if("("==o||"["==o){for(var c,u="",O=e.column();null!=(c=e.eat(/[^\s\(\[\;\)\]]/));)u+=c;u.length>0&&SOt.propertyIsEnumerable(u)?kOt(t,O+2,o):(e.eatSpace(),e.eol()||";"==e.peek()?kOt(t,O+1,o):kOt(t,O+e.current().length,o)),e.backUp(e.current().length-1),"number"==typeof t.sExprComment&&t.sExprComment++,"number"==typeof t.sExprQuote&&t.sExprQuote++,n=wOt}else")"==o||"]"==o?(n=wOt,null!=t.indentStack&&t.indentStack.type==(")"==o?"(":"[")&&(!function(e){e.indentStack=e.indentStack.prev}(t),"number"==typeof t.sExprComment&&0==--t.sExprComment&&(n=mOt,t.sExprComment=!1),"number"==typeof t.sExprQuote&&0==--t.sExprQuote&&(n=yOt,t.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=$Ot&&$Ot.propertyIsEnumerable(e.current())?"builtin":"variable")}return"number"==typeof t.sExprComment?mOt:"number"==typeof t.sExprQuote?yOt:n},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:";;"}}},IOt=Object.freeze(Object.defineProperty({__proto__:null,scheme:DOt},Symbol.toStringTag,{value:"Module"}));var zOt={};function NOt(e,t){for(var n=0;n<t.length;n++)zOt[t[n]]=e}var MOt=["true","false"],LOt=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],VOt=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];function qOt(e,t){if(e.eatSpace())return null;var n,r=e.sol(),i=e.next();if("\\"===i)return e.next(),null;if("'"===i||'"'===i||"`"===i)return t.tokens.unshift(FOt(i,"`"===i?"quote":"string")),YOt(e,t);if("#"===i)return r&&e.eat("!")?(e.skipToEnd(),"meta"):(e.skipToEnd(),"comment");if("$"===i)return t.tokens.unshift(ZOt),YOt(e,t);if("+"===i||"="===i)return"operator";if("-"===i)return e.eat("-"),e.eatWhile(/\w/),"attribute";if("<"==i){if(e.match("<<"))return"operator";var o=e.match(/^<-?\s*(?:['"]([^'"]*)['"]|([^'"\s]*))/);if(o)return t.tokens.unshift((n=o[1]||o[2],function(e,t){return e.sol()&&e.string==n&&t.tokens.shift(),e.skipToEnd(),"string.special"})),"string.special"}if(/\d/.test(i)&&(e.eatWhile(/\d/),e.eol()||!/\w/.test(e.peek())))return"number";e.eatWhile(/[\w-]/);var a=e.current();return"="===e.peek()&&/\w+/.test(a)?"def":zOt.hasOwnProperty(a)?zOt[a]:null}function FOt(e,t){var n="("==e?")":"{"==e?"}":e;return function(r,i){for(var o,a=!1;null!=(o=r.next());){if(o===n&&!a){i.tokens.shift();break}if("$"===o&&!a&&"'"!==e&&r.peek()!=n){a=!0,r.backUp(1),i.tokens.unshift(ZOt);break}if(!a&&e!==n&&o===e)return i.tokens.unshift(FOt(e,t)),YOt(r,i);if(!a&&/['"]/.test(o)&&!/['"]/.test(e)){i.tokens.unshift(WOt(o,"string")),r.backUp(1);break}a=!a&&"\\"===o}return t}}function WOt(e,t){return function(n,r){return r.tokens[0]=FOt(e,t),n.next(),YOt(n,r)}}NOt("atom",MOt),NOt("keyword",LOt),NOt("builtin",VOt);var ZOt=function(e,t){t.tokens.length>1&&e.eat("$");var n=e.next();return/['"({]/.test(n)?(t.tokens[0]=FOt(n,"("==n?"quote":"{"==n?"def":"string"),YOt(e,t)):(/\d/.test(n)||e.eatWhile(/\w/),t.tokens.shift(),"def")};function YOt(e,t){return(t.tokens[0]||qOt)(e,t)}const jOt={name:"shell",startState:function(){return{tokens:[]}},token:function(e,t){return YOt(e,t)},languageData:{autocomplete:MOt.concat(LOt,VOt),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}},GOt=Object.freeze(Object.defineProperty({__proto__:null,shell:jOt},Symbol.toStringTag,{value:"Module"}));function HOt(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var KOt=HOt("if elsif else stop require"),JOt=HOt("true false not");function edt(e,t){var n,r=e.next();if("/"==r&&e.eat("*"))return t.tokenize=ndt,ndt(e,t);if("#"===r)return e.skipToEnd(),"comment";if('"'==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1;null!=(r=e.next())&&(r!=n||i);)i=!i&&"\\"==r;return i||(t.tokenize=edt),"string"}),t.tokenize(e,t);if("("==r)return t._indent.push("("),t._indent.push("{"),null;if("{"===r)return t._indent.push("{"),null;if(")"==r&&(t._indent.pop(),t._indent.pop()),"}"===r)return t._indent.pop(),null;if(","==r)return null;if(";"==r)return null;if(/[{}\(\),;]/.test(r))return null;if(/\d/.test(r))return e.eatWhile(/[\d]/),e.eat(/[KkMmGg]/),"number";if(":"==r)return e.eatWhile(/[a-zA-Z_]/),e.eatWhile(/[a-zA-Z0-9_]/),"operator";e.eatWhile(/\w/);var i=e.current();return"text"==i&&e.eat(":")?(t.tokenize=tdt,"string"):KOt.propertyIsEnumerable(i)?"keyword":JOt.propertyIsEnumerable(i)?"atom":null}function tdt(e,t){return t._multiLineString=!0,e.sol()?("."==e.next()&&e.eol()&&(t._multiLineString=!1,t.tokenize=edt),"string"):(e.eatSpace(),"#"==e.peek()?(e.skipToEnd(),"comment"):(e.skipToEnd(),"string"))}function ndt(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=edt;break}r="*"==n}return"comment"}const rdt={name:"sieve",startState:function(e){return{tokenize:edt,baseIndent:e||0,_indent:[]}},token:function(e,t){return e.eatSpace()?null:(t.tokenize||edt)(e,t)},indent:function(e,t,n){var r=e._indent.length;return t&&"}"==t[0]&&r--,r<0&&(r=0),r*n.unit},languageData:{indentOnInput:/^\s*\}$/}},idt=Object.freeze(Object.defineProperty({__proto__:null,sieve:rdt},Symbol.toStringTag,{value:"Module"}));var odt=/[+\-\/\\*~<>=@%|&?!.,:;^]/,adt=/true|false|nil|self|super|thisContext/,sdt=function(e,t){this.next=e,this.parent=t},ldt=function(e,t,n){this.name=e,this.context=t,this.eos=n},cdt=function(){this.context=new sdt(udt,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};cdt.prototype.userIndent=function(e,t){this.userIndentationDelta=e>0?e/t-this.indentation:0};var udt=function(e,t,n){var r=new ldt(null,t,!1),i=e.next();return'"'===i?r=Odt(e,new sdt(Odt,t)):"'"===i?r=ddt(e,new sdt(ddt,t)):"#"===i?"'"===e.peek()?(e.next(),r=hdt(e,new sdt(hdt,t))):e.eatWhile(/[^\s.{}\[\]()]/)?r.name="string.special":r.name="meta":"$"===i?("<"===e.next()&&(e.eatWhile(/[^\s>]/),e.next()),r.name="string.special"):"|"===i&&n.expectVariable?r.context=new sdt(fdt,t):/[\[\]{}()]/.test(i)?(r.name="bracket",r.eos=/[\[{(]/.test(i),"["===i?n.indentation++:"]"===i&&(n.indentation=Math.max(0,n.indentation-1))):odt.test(i)?(e.eatWhile(odt),r.name="operator",r.eos=";"!==i):/\d/.test(i)?(e.eatWhile(/[\w\d]/),r.name="number"):/[\w_]/.test(i)?(e.eatWhile(/[\w\d_]/),r.name=n.expectVariable?adt.test(e.current())?"keyword":"variable":null):r.eos=n.expectVariable,r},Odt=function(e,t){return e.eatWhile(/[^"]/),new ldt("comment",e.eat('"')?t.parent:t,!0)},ddt=function(e,t){return e.eatWhile(/[^']/),new ldt("string",e.eat("'")?t.parent:t,!1)},hdt=function(e,t){return e.eatWhile(/[^']/),new ldt("string.special",e.eat("'")?t.parent:t,!1)},fdt=function(e,t){var n=new ldt(null,t,!1);return"|"===e.next()?(n.context=t.parent,n.eos=!0):(e.eatWhile(/[^|]/),n.name="variable"),n};const pdt={name:"smalltalk",startState:function(){return new cdt},token:function(e,t){if(t.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;var n=t.context.next(e,t.context,t);return t.context=n.context,t.expectVariable=n.eos,n.name},blankLine:function(e,t){e.userIndent(0,t)},indent:function(e,t,n){var r=e.context.next===udt&&t&&"]"===t.charAt(0)?-1:e.userIndentationDelta;return(e.indentation+r)*n.unit},languageData:{indentOnInput:/^\s*\]$/}},Adt=Object.freeze(Object.defineProperty({__proto__:null,smalltalk:pdt},Symbol.toStringTag,{value:"Module"}));var mdt=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,gdt=/[\|\!\+\-\*\?\~\^\&]/,vdt=/^(OR|AND|NOT|TO)$/;function ydt(e){return function(t,n){for(var r=e;(e=t.peek())&&null!=e.match(mdt);)r+=t.next();return n.tokenize=bdt,vdt.test(r)?"operator":function(e){return parseFloat(e).toString()===e}(r)?"number":":"==t.peek()?"propertyName":"string"}}function bdt(e,t){var n,r,i=e.next();return'"'==i?t.tokenize=(r=i,function(e,t){for(var n,i=!1;null!=(n=e.next())&&(n!=r||i);)i=!i&&"\\"==n;return i||(t.tokenize=bdt),"string"}):gdt.test(i)?t.tokenize=(n=i,function(e,t){return"|"==n?e.eat(/\|/):"&"==n&&e.eat(/\&/),t.tokenize=bdt,"operator"}):mdt.test(i)&&(t.tokenize=ydt(i)),t.tokenize!=bdt?t.tokenize(e,t):null}const wdt={name:"solr",startState:function(){return{tokenize:bdt}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}},Qdt=Object.freeze(Object.defineProperty({__proto__:null,solr:wdt},Symbol.toStringTag,{value:"Module"}));var $dt;function Sdt(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var xdt=Sdt(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),kdt=Sdt(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),Pdt=/[*+\-<>=&|\^\/!\?]/,Tdt="[A-Za-z_\\-0-9]",_dt=new RegExp("[A-Za-z]"),Cdt=new RegExp("(("+Tdt+"|\\.)*("+Tdt+"))?:");function Edt(e,t){var n,r=e.next();if($dt=null,"$"==r||"?"==r)return"?"==r&&e.match(/\s/,!1)?"operator":(e.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variableName.local");if("<"==r&&!e.match(/^[\s\u00a0=]/,!1))return e.match(/^[^\s\u00a0>]*>?/),"atom";if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1;null!=(r=e.next());){if(r==n&&!i){t.tokenize=Edt;break}i=!i&&"\\"==r}return"string"}),t.tokenize(e,t);if(/[{}\(\),\.;\[\]]/.test(r))return $dt=r,"bracket";if("#"==r)return e.skipToEnd(),"comment";if(Pdt.test(r))return"operator";if(":"==r)return Rdt(e),"atom";if("@"==r)return e.eatWhile(/[a-z\d\-]/i),"meta";if(_dt.test(r)&&e.match(Cdt))return Rdt(e),"atom";e.eatWhile(/[_\w\d]/);var i=e.current();return xdt.test(i)?"builtin":kdt.test(i)?"keyword":"variable"}function Rdt(e){e.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function Xdt(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function Bdt(e){e.indent=e.context.indent,e.context=e.context.prev}const Udt={name:"sparql",startState:function(){return{tokenize:Edt,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!=n&&t.context&&null==t.context.align&&"pattern"!=t.context.type&&(t.context.align=!0),"("==$dt)Xdt(t,")",e.column());else if("["==$dt)Xdt(t,"]",e.column());else if("{"==$dt)Xdt(t,"}",e.column());else if(/[\]\}\)]/.test($dt)){for(;t.context&&"pattern"==t.context.type;)Bdt(t);t.context&&$dt==t.context.type&&(Bdt(t),"}"==$dt&&t.context&&"pattern"==t.context.type&&Bdt(t))}else"."==$dt&&t.context&&"pattern"==t.context.type?Bdt(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?Xdt(t,"pattern",e.column()):"pattern"!=t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t,n){var r=t&&t.charAt(0),i=e.context;if(/[\]\}]/.test(r))for(;i&&"pattern"==i.type;)i=i.prev;var o=i&&r==i.type;return i?"pattern"==i.type?i.col:i.align?i.col+(o?0:1):i.indent+(o?0:n.unit):0},languageData:{commentTokens:{line:"#"}}},Ddt=Object.freeze(Object.defineProperty({__proto__:null,sparql:Udt},Symbol.toStringTag,{value:"Module"})),Idt=Object.freeze(Object.defineProperty({__proto__:null,spreadsheet:{name:"spreadsheet",startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.stack.unshift("string"))),t.stack[0]){case"string":for(;"string"===t.stack[0]&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===t.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string.special":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable":-1!=["[","]","(",")","{","}"].indexOf(n)?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}},Symbol.toStringTag,{value:"Module"}));var zdt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],Ndt=["domain","regexp","url-prefix","url"],Mdt=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],Ldt=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],Vdt=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],qdt=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],Fdt=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],Wdt=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],Zdt=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],Ydt=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],jdt=["for","if","else","unless","from","to"],Gdt=["null","true","false","href","title","type","not-allowed","readonly","disabled"],Hdt=zdt.concat(Ndt,Mdt,Ldt,Vdt,qdt,Wdt,Zdt,Fdt,Ydt,jdt,Gdt,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);function Kdt(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function Jdt(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}var eht,tht,nht,rht,iht=Jdt(zdt),oht=/^(a|b|i|s|col|em)$/i,aht=Jdt(Vdt),sht=Jdt(qdt),lht=Jdt(Zdt),cht=Jdt(Wdt),uht=Jdt(Ndt),Oht=Kdt(Ndt),dht=Jdt(Ldt),hht=Jdt(Mdt),fht=Jdt(Fdt),pht=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,Aht=Kdt(Ydt),mht=Jdt(jdt),ght=new RegExp(/^\-(moz|ms|o|webkit)-/i),vht=Jdt(Gdt),yht="",bht={};function wht(e,t){if(yht=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=yht?yht[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),eht=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=Qht,Qht(e,t);if('"'==eht||"'"==eht)return e.next(),t.tokenize=$ht(eht),t.tokenize(e,t);if("@"==eht)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==eht){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(ght)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==eht?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==eht&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(Oht)?("("==e.peek()&&(t.tokenize=Sht),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variableName.special","reference"]):e.match(/^&{1}\s*$/)?["variableName.special","reference"]:e.match(Aht)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!_ht(e.current())?(e.match("."),["variable","variable-name"]):["variable","word"]:e.match(pht)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(eht)?(e.next(),[null,eht]):(e.next(),[null,null])}function Qht(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}function $ht(e){return function(t,n){for(var r,i=!1;null!=(r=t.next());){if(r==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==r}return(r==e||!i&&")"!=e)&&(n.tokenize=null),["string","string"]}}function Sht(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=$ht(")"),[null,"("]}function xht(e,t,n,r){this.type=e,this.indent=t,this.prev=n,this.line=r||{firstWord:"",indent:0}}function kht(e,t,n,r){return r=r>=0?r:t.indentUnit,e.context=new xht(n,t.indentation()+r,e.context),n}function Pht(e,t,n){var r=e.context.indent-t.indentUnit;return n=n||!1,e.context=e.context.prev,n&&(e.context.indent=r),e.context.type}function Tht(e,t,n,r){for(var i=1;i>0;i--)n.context=n.context.prev;return function(e,t,n){return bht[n.context.type](e,t,n)}(e,t,n)}function _ht(e){return e.toLowerCase()in iht}function Cht(e){return(e=e.toLowerCase())in aht||e in fht}function Eht(e){return e.toLowerCase()in mht}function Rht(e){return e.toLowerCase().match(ght)}function Xht(e){var t=e.toLowerCase(),n="variable";return _ht(e)?n="tag":Eht(e)?n="block-keyword":Cht(e)?n="property":t in lht||t in vht?n="atom":"return"==t||t in cht?n="keyword":e.match(/^[A-Z]/)&&(n="string"),n}function Bht(e,t){return zht(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function Uht(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function Dht(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function Iht(e){return e.sol()||e.string.match(new RegExp("^\\s*"+e.current().replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")))}function zht(e){return e.eol()||e.match(/^\s*$/,!1)}function Nht(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,n="string"==typeof e?e.match(t):e.string.match(t);return n?n[0].replace(/^\s*/,""):""}bht.block=function(e,t,n){if("comment"==e&&Iht(t)||","==e&&zht(t)||"mixin"==e)return kht(n,t,"block",0);if(Uht(e,t))return kht(n,t,"interpolation");if(zht(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!_ht(Nht(t)))return kht(n,t,"block",0);if(Bht(e,t))return kht(n,t,"block");if("}"==e&&zht(t))return kht(n,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||Eht(Nht(t))?kht(n,t,"variableName"):kht(n,t,"variableName",0);if("="==e)return zht(t)||Eht(Nht(t))?kht(n,t,"block"):kht(n,t,"block",0);if("*"==e&&(zht(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return rht="tag",kht(n,t,"block");if(Dht(e,t))return kht(n,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return kht(n,t,zht(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return kht(n,t,"keyframes");if(/@extends?/.test(e))return kht(n,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&Cht(t.current().slice(1))?(rht="variable","block"):/(@import|@require|@charset)/.test(e)?kht(n,t,"block",0):kht(n,t,"block");if("reference"==e&&zht(t))return kht(n,t,"block");if("("==e)return kht(n,t,"parens");if("vendor-prefixes"==e)return kht(n,t,"vendorPrefixes");if("word"==e){var r=t.current();if("property"==(rht=Xht(r)))return Iht(t)?kht(n,t,"block",0):(rht="atom","block");if("tag"==rht){if(/embed|menu|pre|progress|sub|table/.test(r)&&Cht(Nht(t)))return rht="atom","block";if(t.string.match(new RegExp("\\[\\s*"+r+"|"+r+"\\s*\\]")))return rht="atom","block";if(oht.test(r)&&(Iht(t)&&t.string.match(/=/)||!Iht(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!_ht(Nht(t))))return rht="variable",Eht(Nht(t))?"block":kht(n,t,"block",0);if(zht(t))return kht(n,t,"block")}if("block-keyword"==rht)return rht="keyword",t.current(/(if|unless)/)&&!Iht(t)?"block":kht(n,t,"block");if("return"==r)return kht(n,t,"block",0);if("variable"==rht&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return kht(n,t,"block")}return n.context.type},bht.parens=function(e,t,n){if("("==e)return kht(n,t,"parens");if(")"==e)return"parens"==n.context.prev.type?Pht(n,t):t.string.match(/^[a-z][\w-]*\(/i)&&zht(t)||Eht(Nht(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(Nht(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&_ht(Nht(t))?kht(n,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?kht(n,t,"block",0):zht(t)?kht(n,t,"block"):kht(n,t,"block",0);if(e&&"@"==e.charAt(0)&&Cht(t.current().slice(1))&&(rht="variable"),"word"==e){var r=t.current();"tag"==(rht=Xht(r))&&oht.test(r)&&(rht="variable"),"property"!=rht&&"to"!=r||(rht="atom")}return"variable-name"==e?kht(n,t,"variableName"):Dht(e,t)?kht(n,t,"pseudo"):n.context.type},bht.vendorPrefixes=function(e,t,n){return"word"==e?(rht="property",kht(n,t,"block",0)):Pht(n,t)},bht.pseudo=function(e,t,n){return Cht(Nht(t.string))?Tht(e,t,n):(t.match(/^[a-z-]+/),rht="variableName.special",zht(t)?kht(n,t,"block"):Pht(n,t))},bht.atBlock=function(e,t,n){if("("==e)return kht(n,t,"atBlock_parens");if(Bht(e,t))return kht(n,t,"block");if(Uht(e,t))return kht(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();if("tag"==(rht=/^(only|not|and|or)$/.test(r)?"keyword":uht.hasOwnProperty(r)?"tag":hht.hasOwnProperty(r)?"attribute":dht.hasOwnProperty(r)?"property":sht.hasOwnProperty(r)?"string.special":Xht(t.current()))&&zht(t))return kht(n,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(rht="keyword"),n.context.type},bht.atBlock_parens=function(e,t,n){if("{"==e||"}"==e)return n.context.type;if(")"==e)return zht(t)?kht(n,t,"block"):kht(n,t,"atBlock");if("word"==e){var r=t.current().toLowerCase();return rht=Xht(r),/^(max|min)/.test(r)&&(rht="property"),"tag"==rht&&(rht=oht.test(r)?"variable":"atom"),n.context.type}return bht.atBlock(e,t,n)},bht.keyframes=function(e,t,n){return"0"==t.indentation()&&("}"==e&&Iht(t)||"]"==e||"hash"==e||"qualifier"==e||_ht(t.current()))?Tht(e,t,n):"{"==e?kht(n,t,"keyframes"):"}"==e?Iht(t)?Pht(n,t,!0):kht(n,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?kht(n,t,"keyframes"):"word"==e&&"block-keyword"==(rht=Xht(t.current()))?(rht="keyword",kht(n,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?kht(n,t,zht(t)?"block":"atBlock"):"mixin"==e?kht(n,t,"block",0):n.context.type},bht.interpolation=function(e,t,n){return"{"==e&&Pht(n,t)&&kht(n,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&_ht(Nht(t))?kht(n,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?kht(n,t,"block",0):kht(n,t,"block"):"variable-name"==e?kht(n,t,"variableName",0):("word"==e&&"tag"==(rht=Xht(t.current()))&&(rht="atom"),n.context.type)},bht.extend=function(e,t,n){return"["==e||"="==e?"extend":"]"==e?Pht(n,t):"word"==e?(rht=Xht(t.current()),"extend"):Pht(n,t)},bht.variableName=function(e,t,n){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(rht="variable"),"variableName"):Tht(e,t,n)};const Mht={name:"stylus",startState:function(){return{tokenize:null,state:"block",context:new xht("block",0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((tht=(t.tokenize||wht)(e,t))&&"object"==typeof tht&&(nht=tht[1],tht=tht[0]),rht=tht,t.state=bht[t.state](nht,e,t),rht)},indent:function(e,t,n){var r=e.context,i=t&&t.charAt(0),o=r.indent,a=Nht(t),s=r.line.indent,l=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:s;return r.prev&&("}"==i&&("block"==r.type||"atBlock"==r.type||"keyframes"==r.type)||")"==i&&("parens"==r.type||"atBlock_parens"==r.type)||"{"==i&&"at"==r.type)?o=r.indent-n.unit:/(\})/.test(i)||(/@|\$|\d/.test(i)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||Eht(a)?o=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(i)||_ht(a)?o=/\,\s*$/.test(l)?c:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||_ht(l)?s<=c?c:c+n.unit:s:/,\s*$/.test(t)||!Rht(a)&&!Cht(a)||(o=Eht(l)?s<=c?c:c+n.unit:/^\{/.test(l)?s<=c?s:c+n.unit:Rht(l)||Cht(l)?s>=c?c:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||_ht(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?c+n.unit:s)),o},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Hdt}},Lht=Object.freeze(Object.defineProperty({__proto__:null,stylus:Mht},Symbol.toStringTag,{value:"Module"}));function Vht(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var qht=Vht(["_","var","let","actor","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super","convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is","break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while","defer","return","inout","mutating","nonmutating","isolated","nonisolated","catch","do","rethrows","throw","throws","async","await","try","didSet","get","set","willSet","assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right","Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"]),Fht=Vht(["var","let","actor","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"]),Wht=Vht(["true","false","nil","self","super","_"]),Zht=Vht(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String","UInt8","UInt16","UInt32","UInt64","Void"]),Yht=/^\-?0b[01][01_]*/,jht=/^\-?0o[0-7][0-7_]*/,Ght=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,Hht=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,Kht=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,Jht=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,eft=/^\#[A-Za-z]+/,tft=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function nft(e,t,n){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var r,i=e.peek();if("/"==i){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(oft),oft(e,t)}if(e.match(eft))return"builtin";if(e.match(tft))return"attribute";if(e.match(Yht))return"number";if(e.match(jht))return"number";if(e.match(Ght))return"number";if(e.match(Hht))return"number";if(e.match(Jht))return"property";if("+-/*%=|&<>~^?!".indexOf(i)>-1)return e.next(),"operator";if(":;,.(){}[]".indexOf(i)>-1)return e.next(),e.match(".."),"punctuation";if(r=e.match(/("""|"|')/)){var o=ift.bind(null,r[0]);return t.tokenize.push(o),o(e,t)}if(e.match(Kht)){var a=e.current();return Zht.hasOwnProperty(a)?"type":Wht.hasOwnProperty(a)?"atom":qht.hasOwnProperty(a)?(Fht.hasOwnProperty(a)&&(t.prev="define"),"keyword"):"define"==n?"def":"variable"}return e.next(),null}function rft(){var e=0;return function(t,n,r){var i=nft(t,n,r);if("punctuation"==i)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}return i}}function ift(e,t,n){for(var r,i=1==e.length,o=!1;r=t.peek();)if(o){if(t.next(),"("==r)return n.tokenize.push(rft()),"string";o=!1}else{if(t.match(e))return n.tokenize.pop(),"string";t.next(),o="\\"==r}return i&&n.tokenize.pop(),"string"}function oft(e,t){for(var n;n=e.next();)if("/"===n&&e.eat("*"))t.tokenize.push(oft);else if("*"===n&&e.eat("/")){t.tokenize.pop();break}return"comment"}function aft(e,t,n){this.prev=e,this.align=t,this.indented=n}function sft(e,t){var n=t.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:t.column()+1;e.context=new aft(e.context,n,e.indented)}function lft(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}const cft={name:"swift",startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var r=(t.tokenize[t.tokenize.length-1]||nft)(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?lft:sft)(t,e)}return r},indent:function(e,t,n){var r=e.context;if(!r)return 0;var i=/^[\]\}\)]/.test(t);return null!=r.align?r.align-(i?1:0):r.indented+(i?0:n.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}},uft=Object.freeze(Object.defineProperty({__proto__:null,swift:cft},Symbol.toStringTag,{value:"Module"}));function Oft(e){function t(e,t){e.cmdState.push(t)}function n(e){return e.cmdState.length>0?e.cmdState[e.cmdState.length-1]:null}function r(e,t,n){return function(){this.name=e,this.bracketNo=0,this.style=t,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var i={};function o(e,t){e.f=t}function a(e,r){var a;if(e.match(/^\\[a-zA-Z@\xc0-\u1fff\u2060-\uffff]+/)){var c=e.current().slice(1);return t(r,a=new(a=i.hasOwnProperty(c)?i[c]:i.DEFAULT)),o(r,l),a.style}if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/\\]/))return"tag";if(e.match("\\["))return o(r,function(e,t){return s(e,t,"\\]")}),"keyword";if(e.match("\\("))return o(r,function(e,t){return s(e,t,"\\)")}),"keyword";if(e.match("$$"))return o(r,function(e,t){return s(e,t,"$$")}),"keyword";if(e.match("$"))return o(r,function(e,t){return s(e,t,"$")}),"keyword";var u=e.next();return"%"==u?(e.skipToEnd(),"comment"):"}"==u||"]"==u?(a=n(r))?(a.closeBracket(u),o(r,l),"bracket"):"error":"{"==u||"["==u?(t(r,a=new(a=i.DEFAULT)),"bracket"):/\d/.test(u)?(e.eatWhile(/[\w.%]/),"atom"):(e.eatWhile(/[\w\-_]/),a=function(e){for(var t=e.cmdState,n=t.length-1;n>=0;n--){var r=t[n];if("DEFAULT"!=r.name)return r}return{styleIdentifier:function(){return null}}}(r),"begin"==a.name&&(a.argument=e.current()),a.styleIdentifier())}function s(e,t,n){if(e.eatSpace())return null;if(n&&e.match(n))return o(t,a),"keyword";if(e.match(/^\\[a-zA-Z@]+/))return"tag";if(e.match(/^[a-zA-Z]+/))return"variableName.special";if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/]/))return"tag";if(e.match(/^[\^_&]/))return"tag";if(e.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(e.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var r=e.next();return"{"==r||"}"==r||"["==r||"]"==r||"("==r||")"==r?"bracket":"%"==r?(e.skipToEnd(),"comment"):"error"}function l(e,t){var r=e.peek();return"{"==r||"["==r?(n(t).openBracket(r),e.eat(r),o(t,a),"bracket"):/[ \t\r]/.test(r)?(e.eat(r),null):(o(t,a),function(e){var t=e.cmdState.pop();t&&t.closeBracket()}(t),a(e,t))}return i.importmodule=r("importmodule","tag",["string","builtin"]),i.documentclass=r("documentclass","tag",["","atom"]),i.usepackage=r("usepackage","tag",["atom"]),i.begin=r("begin","tag",["atom"]),i.end=r("end","tag",["atom"]),i.label=r("label","tag",["atom"]),i.ref=r("ref","tag",["atom"]),i.eqref=r("eqref","tag",["atom"]),i.cite=r("cite","tag",["atom"]),i.bibitem=r("bibitem","tag",["atom"]),i.Bibitem=r("Bibitem","tag",["atom"]),i.RBibitem=r("RBibitem","tag",["atom"]),i.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{name:"stex",startState:function(){return{cmdState:[],f:e?function(e,t){return s(e,t)}:a}},copyState:function(e){return{cmdState:e.cmdState.slice(),f:e.f}},token:function(e,t){return t.f(e,t)},blankLine:function(e){e.f=a,e.cmdState.length=0},languageData:{commentTokens:{line:"%"}}}}const dft=Oft(!1),hft=Oft(!0),fft=Object.freeze(Object.defineProperty({__proto__:null,stex:dft,stexMath:hft},Symbol.toStringTag,{value:"Module"}));function pft(e){var t=e.statementIndentUnit,n=e.dontAlignCalls,r=e.noIndentKeywords||[],i=e.multiLineStrings,o=e.hooks||{};function a(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var s,l,c=a("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),u=/[\+\-\*\/!~&|^%=?:]/,O=/[\[\]{}()]/,d=/\d[0-9_]*/,h=/\d*\s*'s?d\s*\d[0-9_]*/i,f=/\d*\s*'s?b\s*[xz01][xz01_]*/i,p=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,A=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,m=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,g=/^((\w+)|[)}\]])/,v=/[)}\]]/,y=a("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),b={};for(var w in y)b[w]="end"+w;for(var Q in b.begin="end",b.casex="endcase",b.casez="endcase",b.do="while",b.fork="join;join_any;join_none",b.covergroup="endgroup",r){w=r[Q];b[w]&&(b[w]=void 0)}var $=a("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");function S(e,t){var n,r,a=e.peek();if(o[a]&&0!=(n=o[a](e,t)))return n;if(o.tokenBase&&0!=(n=o.tokenBase(e,t)))return n;if(/[,;:\.]/.test(a))return s=e.next(),null;if(O.test(a))return s=e.next(),"bracket";if("`"==a)return e.next(),e.eatWhile(/[\w\$_]/)?"def":null;if("$"==a)return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if("#"==a)return e.next(),e.eatWhile(/[\d_.]/),"def";if('"'==a)return e.next(),t.tokenize=(r=a,function(e,t){for(var n,o=!1,a=!1;null!=(n=e.next());){if(n==r&&!o){a=!0;break}o=!o&&"\\"==n}return(a||!o&&!i)&&(t.tokenize=S),"string"}),t.tokenize(e,t);if("/"==a){if(e.next(),e.eat("*"))return t.tokenize=x,x(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(m)||e.match(h)||e.match(f)||e.match(p)||e.match(A)||e.match(d)||e.match(m))return"number";if(e.eatWhile(u))return"meta";if(e.eatWhile(/[\w\$_]/)){var g=e.current();return c[g]?(b[g]&&(s="newblock"),$[g]&&(s="newstatement"),l=g,"keyword"):"variable"}return e.next(),null}function x(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=S;break}r="*"==n}return"comment"}function k(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function P(e,t,n){var r=new k(e.indented,t,n,null,e.context);return e.context=r}function T(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function _(e,t){if(e==t)return!0;var n=t.split(";");for(var r in n)if(e==n[r])return!0;return!1}return{name:"verilog",startState:function(e){var t={tokenize:null,context:new k(-e,0,"top",!1),indented:0,startOfLine:!0};return o.startState&&o.startState(t),t},token:function(e,t){var n,r=t.context;if((e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),o.token)&&void 0!==(n=o.token(e,t)))return n;if(e.eatSpace())return null;if(s=null,l=null,"comment"==(n=(t.tokenize||S)(e,t))||"meta"==n||"variable"==n)return n;if(null==r.align&&(r.align=!0),s==r.type)T(t);else if(";"==s&&"statement"==r.type||r.type&&_(l,r.type))for(r=T(t);r&&"statement"==r.type;)r=T(t);else if("{"==s)P(t,e.column(),"}");else if("["==s)P(t,e.column(),"]");else if("("==s)P(t,e.column(),")");else if(r&&"endcase"==r.type&&":"==s)P(t,e.column(),"statement");else if("newstatement"==s)P(t,e.column(),"statement");else if("newblock"==s)if("function"!=l||!r||"statement"!=r.type&&"endgroup"!=r.type)if("task"==l&&r&&"statement"==r.type);else{var i=b[l];P(t,e.column(),i)}else;return t.startOfLine=!1,n},indent:function(e,r,i){if(e.tokenize!=S&&null!=e.tokenize)return null;if(o.indent){var a=o.indent(e);if(a>=0)return a}var s=e.context,l=r&&r.charAt(0);"statement"==s.type&&"}"==l&&(s=s.prev);var c=!1,u=r.match(g);return u&&(c=_(u[0],s.type)),"statement"==s.type?s.indented+("{"==l?0:t||i.unit):v.test(s.type)&&s.align&&!n?s.column+(c?0:1):")"!=s.type||c?s.indented+(c?0:i.unit):s.indented+(t||i.unit)},languageData:{indentOnInput:function(){var e=[];for(var t in b)if(b[t]){var n=b[t].split(";");for(var r in n)e.push(n[r])}return new RegExp("[{}()\\[\\]]|("+e.join("|")+")$")}(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}const Aft=pft({});var mft={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},gft={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},vft=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,yft=/^[! ] */,bft=/^\/[\/\*]/;const wft=pft({hooks:{electricInput:!1,token:function(e,t){var n,r=void 0;if(e.sol()&&!t.tlvInBlockComment){"\\"==e.peek()&&(r="def",e.skipToEnd(),e.string.match(/\\SV/)?t.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(t.tlvCodeActive=!0)),t.tlvCodeActive&&0==e.pos&&0==t.indented&&(n=e.match(yft,!1))&&(t.indented=n[0].length);var i=t.indented,o=i/3;if(o<=t.tlvIndentationStyle.length){var a=e.string.length==i,s=3*o;if(s<e.string.length){var l=e.string.slice(s),c=l[0];gft[c]&&(n=l.match(vft))&&mft[n[1]]&&(i+=3,"\\"==c&&s>0||(t.tlvIndentationStyle[o]=gft[c],o++))}if(!a)for(;t.tlvIndentationStyle.length>o;)t.tlvIndentationStyle.pop()}t.tlvNextIndent=i}if(t.tlvCodeActive)if(void 0!==r);else if(t.tlvInBlockComment)e.match(/^.*?\*\//)?t.tlvInBlockComment=!1:e.skipToEnd(),r="comment";else if((n=e.match(bft))&&!t.tlvInBlockComment)"//"==n[0]?e.skipToEnd():t.tlvInBlockComment=!0,r="comment";else if(n=e.match(vft)){var u=n[1],O=n[2];mft.hasOwnProperty(u)&&(O.length>0||e.eol())?r=mft[u]:e.backUp(e.current().length-1)}else e.match(/^\t+/)?r="invalid":e.match(/^[\[\]{}\(\);\:]+/)?r="meta":(n=e.match(/^[mM]4([\+_])?[\w\d_]*/))?r="+"==n[1]?"keyword.special":"keyword":e.match(/^ +/)?e.eol()&&(r="error"):e.match(/^[\w\d_]+/)?r="number":e.next();else e.match(/^[mM]4([\w\d_]*)/)&&(r="keyword");return r},indent:function(e){return 1==e.tlvCodeActive?e.tlvNextIndent:-1},startState:function(e){e.tlvIndentationStyle=[],e.tlvCodeActive=!0,e.tlvNextIndent=-1,e.tlvInBlockComment=!1}}}),Qft=Object.freeze(Object.defineProperty({__proto__:null,tlv:wft,verilog:Aft},Symbol.toStringTag,{value:"Module"}));function $ft(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var Sft=$ft("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"),xft=$ft("if elseif else and not or eq ne in ni for foreach while switch"),kft=/[+\-*&%=<>!?^\/\|]/;function Pft(e,t,n){return t.tokenize=n,n(e,t)}function Tft(e,t){var n=t.beforeParams;t.beforeParams=!1;var r,i=e.next();if('"'!=i&&"'"!=i||!t.inParams){if(/[\[\]{}\(\),;\.]/.test(i))return"("==i&&n?t.inParams=!0:")"==i&&(t.inParams=!1),null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if("#"==i)return e.eat("*")?Pft(e,t,_ft):"#"==i&&e.match(/ *\[ *\[/)?Pft(e,t,Cft):(e.skipToEnd(),"comment");if('"'==i)return e.skipTo(/"/),"comment";if("$"==i)return e.eatWhile(/[$_a-z0-9A-Z\.{:]/),e.eatWhile(/}/),t.beforeParams=!0,"builtin";if(kft.test(i))return e.eatWhile(kft),"comment";e.eatWhile(/[\w\$_{}\xa1-\uffff]/);var o=e.current().toLowerCase();return Sft&&Sft.propertyIsEnumerable(o)?"keyword":xft&&xft.propertyIsEnumerable(o)?(t.beforeParams=!0,"keyword"):null}return Pft(e,t,(r=i,function(e,t){for(var n,i=!1,o=!1;null!=(n=e.next());){if(n==r&&!i){o=!0;break}i=!i&&"\\"==n}return o&&(t.tokenize=Tft),"string"}))}function _ft(e,t){for(var n,r=!1;n=e.next();){if("#"==n&&r){t.tokenize=Tft;break}r="*"==n}return"comment"}function Cft(e,t){for(var n,r=0;n=e.next();){if("#"==n&&2==r){t.tokenize=Tft;break}"]"==n?r++:" "!=n&&(r=0)}return"meta"}const Eft={name:"tcl",startState:function(){return{tokenize:Tft,beforeParams:!1,inParams:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{line:"#"}}},Rft=Object.freeze(Object.defineProperty({__proto__:null,tcl:Eft},Symbol.toStringTag,{value:"Module"}));var Xft={addition:"inserted",attributes:"propertyName",bold:"strong",cite:"keyword",code:"monospace",definitionList:"list",deletion:"deleted",div:"punctuation",em:"emphasis",footnote:"variable",footCite:"qualifier",header:"heading",html:"comment",image:"atom",italic:"emphasis",link:"link",linkDefinition:"link",list1:"list",list2:"list.special",list3:"list",notextile:"string.special",pre:"operator",p:"content",quote:"bracket",span:"quote",specialChar:"character",strong:"strong",sub:"content.special",sup:"content.special",table:"variableName.special",tableHeading:"operator"};function Bft(e,t,n){if("_"===n)return e.eat("_")?Uft(e,t,"italic",/__/,2):Uft(e,t,"em",/_/,1);if("*"===n)return e.eat("*")?Uft(e,t,"bold",/\*\*/,2):Uft(e,t,"strong",/\*/,1);if("["===n)return e.match(/\d+\]/)&&(t.footCite=!0),Dft(t);if("("===n&&e.match(/^(r|tm|c)\)/))return Xft.specialChar;if("<"===n&&e.match(/(\w+)[^>]+>[^<]+<\/\1>/))return Xft.html;if("?"===n&&e.eat("?"))return Uft(e,t,"cite",/\?\?/,2);if("="===n&&e.eat("="))return Uft(e,t,"notextile",/==/,2);if("-"===n&&!e.eat("-"))return Uft(e,t,"deletion",/-/,1);if("+"===n)return Uft(e,t,"addition",/\+/,1);if("~"===n)return Uft(e,t,"sub",/~/,1);if("^"===n)return Uft(e,t,"sup",/\^/,1);if("%"===n)return Uft(e,t,"span",/%/,1);if("@"===n)return Uft(e,t,"code",/@/,1);if("!"===n){var r=Uft(e,t,"image",/(?:\([^\)]+\))?!/,1);return e.match(/^:\S+/),r}return Dft(t)}function Uft(e,t,n,r,i){var o=e.pos>i?e.string.charAt(e.pos-i-1):null,a=e.peek();if(t[n]){if((!a||/\W/.test(a))&&o&&/\S/.test(o)){var s=Dft(t);return t[n]=!1,s}}else(!o||/\W/.test(o))&&a&&/\S/.test(a)&&e.match(new RegExp("^.*\\S"+r.source+"(?:\\W|$)"),!1)&&(t[n]=!0,t.mode=Mft.attributes);return Dft(t)}function Dft(e){var t=Ift(e);if(t)return t;var n=[];return e.layoutType&&n.push(Xft[e.layoutType]),n=n.concat(function(e){for(var t=[],n=1;n<arguments.length;++n)e[arguments[n]]&&t.push(Xft[arguments[n]]);return t}(e,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),"header"===e.layoutType&&n.push(Xft.header+"-"+e.header),n.length?n.join(" "):null}function Ift(e){var t=e.layoutType;switch(t){case"notextile":case"code":case"pre":return Xft[t];default:return e.notextile?Xft.notextile+(t?" "+Xft[t]:""):null}}var zft={cache:{},single:{bc:"bc",bq:"bq",definitionList:/- .*?:=+/,definitionListEnd:/.*=:\s*$/,div:"div",drawTable:/\|.*\|/,foot:/fn\d+/,header:/h[1-6]/,html:/\s*<(?:\/)?(\w+)(?:[^>]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(e){switch(e){case"drawTable":return zft.makeRe("^",zft.single.drawTable,"$");case"html":return zft.makeRe("^",zft.single.html,"(?:",zft.single.html,")*","$");case"linkDefinition":return zft.makeRe("^",zft.single.linkDefinition,"$");case"listLayout":return zft.makeRe("^",zft.single.list,Nft("allAttributes"),"*\\s+");case"tableCellAttributes":return zft.makeRe("^",zft.choiceRe(zft.single.tableCellAttributes,Nft("allAttributes")),"+\\.");case"type":return zft.makeRe("^",Nft("allTypes"));case"typeLayout":return zft.makeRe("^",Nft("allTypes"),Nft("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return zft.makeRe("^",Nft("allAttributes"),"+");case"allTypes":return zft.choiceRe(zft.single.div,zft.single.foot,zft.single.header,zft.single.bc,zft.single.bq,zft.single.notextile,zft.single.pre,zft.single.table,zft.single.para);case"allAttributes":return zft.choiceRe(zft.attributes.selector,zft.attributes.css,zft.attributes.lang,zft.attributes.align,zft.attributes.pad);default:return zft.makeRe("^",zft.single[e])}},makeRe:function(){for(var e="",t=0;t<arguments.length;++t){var n=arguments[t];e+="string"==typeof n?n:n.source}return new RegExp(e)},choiceRe:function(){for(var e=[arguments[0]],t=1;t<arguments.length;++t)e[2*t-1]="|",e[2*t]=arguments[t];return e.unshift("(?:"),e.push(")"),zft.makeRe.apply(null,e)}};function Nft(e){return zft.cache[e]||(zft.cache[e]=zft.createRe(e))}var Mft={newLayout:function(e,t){return e.match(Nft("typeLayout"),!1)?(t.spanningLayout=!1,(t.mode=Mft.blockType)(e,t)):(Ift(t)||(e.match(Nft("listLayout"),!1)?n=Mft.list:e.match(Nft("drawTable"),!1)?n=Mft.table:e.match(Nft("linkDefinition"),!1)?n=Mft.linkDefinition:e.match(Nft("definitionList"))?n=Mft.definitionList:e.match(Nft("html"),!1)&&(n=Mft.html)),(t.mode=n||Mft.text)(e,t));var n},blockType:function(e,t){var n,r;return t.layoutType=null,(n=e.match(Nft("type")))?((n=(r=n[0]).match(Nft("header")))?(t.layoutType="header",t.header=parseInt(n[0][1])):r.match(Nft("bq"))?t.layoutType="quote":r.match(Nft("bc"))?t.layoutType="code":r.match(Nft("foot"))?t.layoutType="footnote":r.match(Nft("notextile"))?t.layoutType="notextile":r.match(Nft("pre"))?t.layoutType="pre":r.match(Nft("div"))?t.layoutType="div":r.match(Nft("table"))&&(t.layoutType="table"),t.mode=Mft.attributes,Dft(t)):(t.mode=Mft.text)(e,t)},text:function(e,t){if(e.match(Nft("text")))return Dft(t);var n=e.next();return'"'===n?(t.mode=Mft.link)(e,t):Bft(e,t,n)},attributes:function(e,t){return t.mode=Mft.layoutLength,e.match(Nft("attributes"))?Xft.attributes:Dft(t)},layoutLength:function(e,t){return e.eat(".")&&e.eat(".")&&(t.spanningLayout=!0),t.mode=Mft.text,Dft(t)},list:function(e,t){var n=e.match(Nft("list"));t.listDepth=n[0].length;var r=(t.listDepth-1)%3;return t.layoutType=r?1===r?"list2":"list3":"list1",t.mode=Mft.attributes,Dft(t)},link:function(e,t){return t.mode=Mft.text,e.match(Nft("link"))?(e.match(/\S+/),Xft.link):Dft(t)},linkDefinition:function(e){return e.skipToEnd(),Xft.linkDefinition},definitionList:function(e,t){return e.match(Nft("definitionList")),t.layoutType="definitionList",e.match(/\s*$/)?t.spanningLayout=!0:t.mode=Mft.attributes,Dft(t)},html:function(e){return e.skipToEnd(),Xft.html},table:function(e,t){return t.layoutType="table",(t.mode=Mft.tableCell)(e,t)},tableCell:function(e,t){return e.match(Nft("tableHeading"))?t.tableHeading=!0:e.eat("|"),t.mode=Mft.tableCellAttributes,Dft(t)},tableCellAttributes:function(e,t){return t.mode=Mft.tableText,e.match(Nft("tableCellAttributes"))?Xft.attributes:Dft(t)},tableText:function(e,t){return e.match(Nft("tableText"))?Dft(t):"|"===e.peek()?(t.mode=Mft.tableCell,Dft(t)):Bft(e,t,e.next())}};const Lft={name:"textile",startState:function(){return{mode:Mft.newLayout}},token:function(e,t){return e.sol()&&function(e,t){t.mode=Mft.newLayout,t.tableHeading=!1,"definitionList"===t.layoutType&&t.spanningLayout&&e.match(Nft("definitionListEnd"),!1)&&(t.spanningLayout=!1)}(e,t),t.mode(e,t)},blankLine:function(e){var t=e.spanningLayout,n=e.layoutType;for(var r in e)e.hasOwnProperty(r)&&delete e[r];e.mode=Mft.newLayout,t&&(e.layoutType=n,e.spanningLayout=!0)}},Vft=Object.freeze(Object.defineProperty({__proto__:null,textile:Lft},Symbol.toStringTag,{value:"Module"}));var qft={},Fft={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},Wft=/[\w_\-]/i,Zft=/^\-\-\-\-+$/,Yft=/^\/\*\*\*$/,jft=/^\*\*\*\/$/,Gft=/^<<<$/,Hft=/^\/\/\{\{\{$/,Kft=/^\/\/\}\}\}$/,Jft=/^<!--\{\{\{-->$/,ept=/^<!--\}\}\}-->$/,tpt=/^\{\{\{$/,npt=/^\}\}\}$/,rpt=/.*?\}\}\}/;function ipt(e,t,n){return t.tokenize=n,n(e,t)}function opt(e,t){var n=e.sol(),r=e.peek();if(t.block=!1,n&&/[<\/\*{}\-]/.test(r)){if(e.match(tpt))return t.block=!0,ipt(e,t,lpt);if(e.match(Gft))return"quote";if(e.match(Yft)||e.match(jft))return"comment";if(e.match(Hft)||e.match(Kft)||e.match(Jft)||e.match(ept))return"comment";if(e.match(Zft))return"contentSeparator"}if(e.next(),n&&/[\/\*!#;:>|]/.test(r)){if("!"==r)return e.skipToEnd(),"header";if("*"==r)return e.eatWhile("*"),"comment";if("#"==r)return e.eatWhile("#"),"comment";if(";"==r)return e.eatWhile(";"),"comment";if(":"==r)return e.eatWhile(":"),"comment";if(">"==r)return e.eatWhile(">"),"quote";if("|"==r)return"header"}if("{"==r&&e.match("{{"))return ipt(e,t,lpt);if(/[hf]/i.test(r)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if('"'==r)return"string";if("~"==r)return"brace";if(/[\[\]]/.test(r)&&e.match(r))return"brace";if("@"==r)return e.eatWhile(Wft),"link";if(/\d/.test(r))return e.eatWhile(/\d/),"number";if("/"==r){if(e.eat("%"))return ipt(e,t,apt);if(e.eat("/"))return ipt(e,t,cpt)}if("_"==r&&e.eat("_"))return ipt(e,t,upt);if("-"==r&&e.eat("-")){if(" "!=e.peek())return ipt(e,t,Opt);if(" "==e.peek())return"brace"}return"'"==r&&e.eat("'")?ipt(e,t,spt):"<"==r&&e.eat("<")?ipt(e,t,dpt):(e.eatWhile(/[\w\$_]/),qft.propertyIsEnumerable(e.current())?"keyword":null)}function apt(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=opt;break}r="%"==n}return"comment"}function spt(e,t){for(var n,r=!1;n=e.next();){if("'"==n&&r){t.tokenize=opt;break}r="'"==n}return"strong"}function lpt(e,t){var n=t.block;return n&&e.current()?"comment":!n&&e.match(rpt)||n&&e.sol()&&e.match(npt)?(t.tokenize=opt,"comment"):(e.next(),"comment")}function cpt(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=opt;break}r="/"==n}return"emphasis"}function upt(e,t){for(var n,r=!1;n=e.next();){if("_"==n&&r){t.tokenize=opt;break}r="_"==n}return"link"}function Opt(e,t){for(var n,r=!1;n=e.next();){if("-"==n&&r){t.tokenize=opt;break}r="-"==n}return"deleted"}function dpt(e,t){if("<<"==e.current())return"meta";var n=e.next();return n?">"==n&&">"==e.peek()?(e.next(),t.tokenize=opt,"meta"):(e.eatWhile(/[\w\$_]/),Fft.propertyIsEnumerable(e.current())?"keyword":null):(t.tokenize=opt,null)}const hpt={name:"tiddlywiki",startState:function(){return{tokenize:opt}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}},fpt=Object.freeze(Object.defineProperty({__proto__:null,tiddlyWiki:hpt},Symbol.toStringTag,{value:"Module"}));function ppt(e,t,n){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=mpt;break}r.next()}return n&&(i.tokenize=n),e}}function Apt(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=mpt,e}}function mpt(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.sol(),i=e.next();switch(i){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=wpt,"tag";case"_":if(e.eat("_"))return n(ppt("strong","__",mpt));break;case"'":if(e.eat("'"))return n(ppt("em","''",mpt));break;case"(":if(e.eat("("))return n(ppt("link","))",mpt));break;case"[":return n(ppt("url","]",mpt));case"|":if(e.eat("|"))return n(ppt("comment","||"));break;case"-":if(e.eat("="))return n(ppt("header string","=-",mpt));if(e.eat("-"))return n(ppt("error tw-deleted","--",mpt));break;case"=":if(e.match("=="))return n(ppt("tw-underline","===",mpt));break;case":":if(e.eat(":"))return n(ppt("comment","::"));break;case"^":return n(ppt("tw-box","^"));case"~":if(e.match("np~"))return n(ppt("meta","~/np~"))}if(r)switch(i){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),n(Apt("header string"));case"*":case"#":case"+":return n(Apt("tw-listitem bracket"))}return null}var gpt,vpt,ypt,bpt;function wpt(e,t){var n,r=e.next(),i=e.peek();return"}"==r?(t.tokenize=mpt,"tag"):"("==r||")"==r?"bracket":"="==r?(vpt="equals",">"==i&&(e.next(),i=e.peek()),/[\'\"]/.test(i)||(t.tokenize=function(e,t){for(;!e.eol();){var n=e.next(),r=e.peek();if(" "==n||","==n||/[ )}]/.test(r)){t.tokenize=wpt;break}}return"string"}),"operator"):/[\'\"]/.test(r)?(t.tokenize=(n=r,function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=wpt;break}return"string"}),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function Qpt(){for(var e=arguments.length-1;e>=0;e--)ypt.cc.push(arguments[e])}function $pt(){return Qpt.apply(null,arguments),!0}function Spt(e,t){var n=ypt.context&&ypt.context.noIndent;ypt.context={prev:ypt.context,pluginName:e,indent:ypt.indented,startOfLine:t,noIndent:n}}function xpt(){ypt.context&&(ypt.context=ypt.context.prev)}function kpt(e){if("openPlugin"==e)return ypt.pluginName=gpt,$pt(Ppt,(n=ypt.startOfLine,function(e){return"selfclosePlugin"==e||"endPlugin"==e?$pt():"endPlugin"==e?(Spt(ypt.pluginName,n),$pt()):$pt()}));if("closePlugin"==e){var t=!1;return ypt.context?(t=ypt.context.pluginName!=gpt,xpt()):t=!0,t&&(bpt="error"),$pt(function(e){return function(t){return e&&(bpt="error"),"endPlugin"==t?$pt():Qpt()}}(t))}return"string"==e?(ypt.context&&"!cdata"==ypt.context.name||Spt("!cdata"),ypt.tokenize==mpt&&xpt(),$pt()):$pt();var n}function Ppt(e){return"keyword"==e?(bpt="attribute",$pt(Ppt)):"equals"==e?$pt(Tpt,Ppt):Qpt()}function Tpt(e){return"keyword"==e?(bpt="string",$pt()):"string"==e?$pt(_pt):Qpt()}function _pt(e){return"string"==e?$pt(_pt):Qpt()}const Cpt={name:"tiki",startState:function(){return{tokenize:mpt,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;bpt=vpt=gpt=null;var n=t.tokenize(e,t);if((n||vpt)&&"comment"!=n)for(ypt=t;;){if((t.cc.pop()||kpt)(vpt||n))break}return t.startOfLine=!1,bpt||n},indent:function(e,t,n){var r=e.context;if(r&&r.noIndent)return 0;for(r&&/^{\//.test(t)&&(r=r.prev);r&&!r.startOfLine;)r=r.prev;return r?r.indent+n.unit:0}},Ept=Object.freeze(Object.defineProperty({__proto__:null,tiki:Cpt},Symbol.toStringTag,{value:"Module"})),Rpt=Object.freeze(Object.defineProperty({__proto__:null,toml:{name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,t){let n;if(!t.inString&&(n=e.match(/^('''|"""|'|")/))&&(t.stringType=n[0],t.inString=!0),e.sol()&&!t.inString&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString;)if(e.match(t.stringType))t.inString=!1;else if("\\"===e.peek())e.next(),e.next();else{if(e.eol())break;e.match(/^.[^\\\"\']*/)}return t.lhs?"property":"string"}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom"},languageData:{commentTokens:{line:"#"}}}},Symbol.toStringTag,{value:"Module"}));var Xpt={};function Bpt(e){if(e.eatSpace())return null;var t=e.sol(),n=e.next();if("\\"===n)return e.match("fB")||e.match("fR")||e.match("fI")||e.match("u")||e.match("d")||e.match("%")||e.match("&")?"string":e.match("m[")?(e.skipTo("]"),e.next(),"string"):e.match("s+")||e.match("s-")?(e.eatWhile(/[\d-]/),"string"):e.match("(")||e.match("*(")?(e.eatWhile(/[\w-]/),"string"):"string";if(t&&("."===n||"'"===n)&&e.eat("\\")&&e.eat('"'))return e.skipToEnd(),"comment";if(t&&"."===n){if(e.match("B ")||e.match("I ")||e.match("R "))return"attribute";if(e.match("TH ")||e.match("SH ")||e.match("SS ")||e.match("HP "))return e.skipToEnd(),"quote";if(e.match(/[A-Z]/)&&e.match(/[A-Z]/)||e.match(/[a-z]/)&&e.match(/[a-z]/))return"attribute"}e.eatWhile(/[\w-]/);var r=e.current();return Xpt.hasOwnProperty(r)?Xpt[r]:null}function Upt(e,t){return(t.tokens[0]||Bpt)(e,t)}const Dpt={name:"troff",startState:function(){return{tokens:[]}},token:function(e,t){return Upt(e,t)}},Ipt=Object.freeze(Object.defineProperty({__proto__:null,troff:Dpt},Symbol.toStringTag,{value:"Module"}));function zpt(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}const Npt={keywords:zpt("activate address alive all alt altstep and and4b any break case component const continue control deactivate display do else encode enumerated except exception execute extends extension external for from function goto group if import in infinity inout interleave label language length log match message mixed mod modifies module modulepar mtc noblock not not4b nowait of on optional or or4b out override param pattern port procedure record recursive rem repeat return runs select self sender set signature system template testcase to type union value valueof var variant while with xor xor4b"),builtin:zpt("bit2hex bit2int bit2oct bit2str char2int char2oct encvalue decomp decvalue float2int float2str hex2bit hex2int hex2oct hex2str int2bit int2char int2float int2hex int2oct int2str int2unichar isbound ischosen ispresent isvalue lengthof log2str oct2bit oct2char oct2hex oct2int oct2str regexp replace rnd sizeof str2bit str2float str2hex str2int str2oct substr unichar2int unichar2char enum2int"),types:zpt("anytype bitstring boolean char charstring default float hexstring integer objid octetstring universal verdicttype timer"),timerOps:zpt("read running start stop timeout"),portOps:zpt("call catch check clear getcall getreply halt raise receive reply send trigger"),configOps:zpt("create connect disconnect done kill killed map unmap"),verdictOps:zpt("getverdict setverdict"),sutOps:zpt("action"),functionOps:zpt("apply derefers refers"),verdictConsts:zpt("error fail inconc none pass"),booleanConsts:zpt("true false"),otherConsts:zpt("null NULL omit"),visibilityModifiers:zpt("private public friend"),templateMatch:zpt("complement ifpresent subset superset permutation")};var Mpt=[];function Lpt(e){if(e)for(var t in e)e.hasOwnProperty(t)&&Mpt.push(t)}Lpt(Npt.keywords),Lpt(Npt.builtin),Lpt(Npt.timerOps),Lpt(Npt.portOps);var Vpt,qpt=Npt.keywords||{},Fpt=Npt.builtin||{},Wpt=Npt.timerOps||{},Zpt=Npt.portOps||{},Ypt=Npt.configOps||{},jpt=Npt.verdictOps||{},Gpt=Npt.sutOps||{},Hpt=Npt.functionOps||{},Kpt=Npt.verdictConsts||{},Jpt=Npt.booleanConsts||{},eAt=Npt.otherConsts||{},tAt=Npt.types||{},nAt=Npt.visibilityModifiers||{},rAt=Npt.templateMatch||{},iAt=!1!==Npt.indentStatements,oAt=/[+\-*&@=<>!\/]/;function aAt(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){var a=e.peek();a&&("b"!=(a=a.toLowerCase())&&"h"!=a&&"o"!=a||e.next()),o=!0;break}i=!i&&"\\"==r}return o&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]{}\(\),;\\:\?\.]/.test(r))return Vpt=r,"punctuation";if("#"==r)return e.skipToEnd(),"atom";if("%"==r)return e.eatWhile(/\b/),"atom";if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r){if(e.eat("*"))return t.tokenize=sAt,sAt(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(oAt.test(r))return"@"==r&&(e.match("try")||e.match("catch")||e.match("lazy"))?"keyword":(e.eatWhile(oAt),"operator");e.eatWhile(/[\w\$_\xa1-\uffff]/);var i=e.current();return qpt.propertyIsEnumerable(i)?"keyword":Fpt.propertyIsEnumerable(i)?"builtin":Wpt.propertyIsEnumerable(i)||Ypt.propertyIsEnumerable(i)||jpt.propertyIsEnumerable(i)||Zpt.propertyIsEnumerable(i)||Gpt.propertyIsEnumerable(i)||Hpt.propertyIsEnumerable(i)?"def":Kpt.propertyIsEnumerable(i)||Jpt.propertyIsEnumerable(i)||eAt.propertyIsEnumerable(i)?"string":tAt.propertyIsEnumerable(i)?"typeName.standard":nAt.propertyIsEnumerable(i)?"modifier":rAt.propertyIsEnumerable(i)?"atom":"variable"}function sAt(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function lAt(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function cAt(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new lAt(r,t,n,null,e.context)}function uAt(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const OAt={name:"ttcn",startState:function(){return{tokenize:null,context:new lAt(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;Vpt=null;var r=(t.tokenize||aAt)(e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=Vpt&&":"!=Vpt&&","!=Vpt||"statement"!=n.type)if("{"==Vpt)cAt(t,e.column(),"}");else if("["==Vpt)cAt(t,e.column(),"]");else if("("==Vpt)cAt(t,e.column(),")");else if("}"==Vpt){for(;"statement"==n.type;)n=uAt(t);for("}"==n.type&&(n=uAt(t));"statement"==n.type;)n=uAt(t)}else Vpt==n.type?uAt(t):iAt&&(("}"==n.type||"top"==n.type)&&";"!=Vpt||"statement"==n.type&&"newstatement"==Vpt)&&cAt(t,e.column(),"statement");else uAt(t);return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Mpt}},dAt=Object.freeze(Object.defineProperty({__proto__:null,ttcn:OAt},Symbol.toStringTag,{value:"Module"}));function hAt(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}const fAt={keywords:hAt("Yes No LogFile FileMask ConsoleMask AppendFile TimeStampFormat LogEventTypes SourceInfoFormat LogEntityName LogSourceInfo DiskFullAction LogFileNumber LogFileSize MatchingHints Detailed Compact SubCategories Stack Single None Seconds DateTime Time Stop Error Retry Delete TCPPort KillTimer NumHCs UnixSocketsEnabled LocalAddress"),fileNCtrlMaskOptions:hAt("TTCN_EXECUTOR TTCN_ERROR TTCN_WARNING TTCN_PORTEVENT TTCN_TIMEROP TTCN_VERDICTOP TTCN_DEFAULTOP TTCN_TESTCASE TTCN_ACTION TTCN_USER TTCN_FUNCTION TTCN_STATISTICS TTCN_PARALLEL TTCN_MATCHING TTCN_DEBUG EXECUTOR ERROR WARNING PORTEVENT TIMEROP VERDICTOP DEFAULTOP TESTCASE ACTION USER FUNCTION STATISTICS PARALLEL MATCHING DEBUG LOG_ALL LOG_NOTHING ACTION_UNQUALIFIED DEBUG_ENCDEC DEBUG_TESTPORT DEBUG_UNQUALIFIED DEFAULTOP_ACTIVATE DEFAULTOP_DEACTIVATE DEFAULTOP_EXIT DEFAULTOP_UNQUALIFIED ERROR_UNQUALIFIED EXECUTOR_COMPONENT EXECUTOR_CONFIGDATA EXECUTOR_EXTCOMMAND EXECUTOR_LOGOPTIONS EXECUTOR_RUNTIME EXECUTOR_UNQUALIFIED FUNCTION_RND FUNCTION_UNQUALIFIED MATCHING_DONE MATCHING_MCSUCCESS MATCHING_MCUNSUCC MATCHING_MMSUCCESS MATCHING_MMUNSUCC MATCHING_PCSUCCESS MATCHING_PCUNSUCC MATCHING_PMSUCCESS MATCHING_PMUNSUCC MATCHING_PROBLEM MATCHING_TIMEOUT MATCHING_UNQUALIFIED PARALLEL_PORTCONN PARALLEL_PORTMAP PARALLEL_PTC PARALLEL_UNQUALIFIED PORTEVENT_DUALRECV PORTEVENT_DUALSEND PORTEVENT_MCRECV PORTEVENT_MCSEND PORTEVENT_MMRECV PORTEVENT_MMSEND PORTEVENT_MQUEUE PORTEVENT_PCIN PORTEVENT_PCOUT PORTEVENT_PMIN PORTEVENT_PMOUT PORTEVENT_PQUEUE PORTEVENT_STATE PORTEVENT_UNQUALIFIED STATISTICS_UNQUALIFIED STATISTICS_VERDICT TESTCASE_FINISH TESTCASE_START TESTCASE_UNQUALIFIED TIMEROP_GUARD TIMEROP_READ TIMEROP_START TIMEROP_STOP TIMEROP_TIMEOUT TIMEROP_UNQUALIFIED USER_UNQUALIFIED VERDICTOP_FINAL VERDICTOP_GETVERDICT VERDICTOP_SETVERDICT VERDICTOP_UNQUALIFIED WARNING_UNQUALIFIED"),externalCommands:hAt("BeginControlPart EndControlPart BeginTestCase EndTestCase")};var pAt,AAt=fAt.keywords,mAt=fAt.fileNCtrlMaskOptions,gAt=fAt.externalCommands,vAt=!1!==fAt.indentStatements,yAt=/[\|]/;function bAt(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){var a=e.peek();a&&("b"!=(a=a.toLowerCase())&&"h"!=a&&"o"!=a||e.next()),o=!0;break}i=!i&&"\\"==r}return o&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[:=]/.test(r))return pAt=r,"punctuation";if("#"==r)return e.skipToEnd(),"comment";if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if(yAt.test(r))return e.eatWhile(yAt),"operator";if("["==r)return e.eatWhile(/[\w_\]]/),"number";e.eatWhile(/[\w\$_]/);var i=e.current();return AAt.propertyIsEnumerable(i)?"keyword":mAt.propertyIsEnumerable(i)?"atom":gAt.propertyIsEnumerable(i)?"deleted":"variable"}function wAt(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function QAt(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new wAt(r,t,n,null,e.context)}function $At(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const SAt={name:"ttcn",startState:function(){return{tokenize:null,context:new wAt(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;pAt=null;var r=(t.tokenize||bAt)(e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=pAt&&":"!=pAt&&","!=pAt||"statement"!=n.type)if("{"==pAt)QAt(t,e.column(),"}");else if("["==pAt)QAt(t,e.column(),"]");else if("("==pAt)QAt(t,e.column(),")");else if("}"==pAt){for(;"statement"==n.type;)n=$At(t);for("}"==n.type&&(n=$At(t));"statement"==n.type;)n=$At(t)}else pAt==n.type?$At(t):vAt&&(("}"==n.type||"top"==n.type)&&";"!=pAt||"statement"==n.type&&"newstatement"==pAt)&&QAt(t,e.column(),"statement");else $At(t);return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"#"}}},xAt=Object.freeze(Object.defineProperty({__proto__:null,ttcnCfg:SAt},Symbol.toStringTag,{value:"Module"}));var kAt;function PAt(e){return new RegExp("^(?:"+e.join("|")+")$","i")}PAt([]);var TAt=PAt(["@prefix","@base","a"]),_At=/[*+\-<>=&|]/;function CAt(e,t){var n,r=e.next();if(kAt=null,"<"!=r||e.match(/^[\s\u00a0=]/,!1)){if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1;null!=(r=e.next());){if(r==n&&!i){t.tokenize=CAt;break}i=!i&&"\\"==r}return"string"}),t.tokenize(e,t);if(/[{}\(\),\.;\[\]]/.test(r))return kAt=r,null;if("#"==r)return e.skipToEnd(),"comment";if(_At.test(r))return e.eatWhile(_At),null;if(":"==r)return"operator";if(e.eatWhile(/[_\w\d]/),":"==e.peek())return"variableName.special";var i=e.current();return TAt.test(i)?"meta":r>="A"&&r<="Z"?"comment":"keyword"}return e.match(/^[^\s\u00a0>]*>?/),"atom"}function EAt(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function RAt(e){e.indent=e.context.indent,e.context=e.context.prev}const XAt={name:"turtle",startState:function(){return{tokenize:CAt,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!=n&&t.context&&null==t.context.align&&"pattern"!=t.context.type&&(t.context.align=!0),"("==kAt)EAt(t,")",e.column());else if("["==kAt)EAt(t,"]",e.column());else if("{"==kAt)EAt(t,"}",e.column());else if(/[\]\}\)]/.test(kAt)){for(;t.context&&"pattern"==t.context.type;)RAt(t);t.context&&kAt==t.context.type&&RAt(t)}else"."==kAt&&t.context&&"pattern"==t.context.type?RAt(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?EAt(t,"pattern",e.column()):"pattern"!=t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t,n){var r=t&&t.charAt(0),i=e.context;if(/[\]\}]/.test(r))for(;i&&"pattern"==i.type;)i=i.prev;var o=i&&r==i.type;return i?"pattern"==i.type?i.col:i.align?i.col+(o?0:1):i.indent+(o?0:n.unit):0},languageData:{commentTokens:{line:"#"}}},BAt=Object.freeze(Object.defineProperty({__proto__:null,turtle:XAt},Symbol.toStringTag,{value:"Module"}));function UAt(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var DAt=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],IAt=UAt(DAt),zAt=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],NAt=UAt(zAt),MAt=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],LAt=UAt(MAt),VAt=["true","false","Infinity","NaN","null"],qAt=UAt(VAt),FAt=UAt(["callback","dictionary","enum","interface"]),WAt=UAt(["typedef"]),ZAt=/^[:<=>?]/,YAt=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,jAt=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,GAt=/^_?[A-Za-z][0-9A-Z_a-z-]*/,HAt=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,KAt=/^"[^"]*"/,JAt=/^\/\*.*?\*\//,emt=/^\/\*.*/,tmt=/^.*?\*\//;const nmt={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var n=function(e,t){if(e.eatSpace())return null;if(t.inComment)return e.match(tmt)?(t.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(JAt))return"comment";if(e.match(emt))return t.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(YAt)||e.match(jAt)))return"number";if(e.match(KAt))return"string";if(t.startDef&&e.match(GAt))return"def";if(t.endDef&&e.match(HAt))return t.endDef=!1,"def";if(e.match(LAt))return"keyword";if(e.match(NAt)){var n=t.lastToken,r=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===n||"implements"===n||"implements"===r||"="===r?"builtin":"type"}return e.match(IAt)?"builtin":e.match(qAt)?"atom":e.match(GAt)?"variable":e.match(ZAt)?"operator":(e.next(),null)}(e,t);if(n){var r=e.current();t.lastToken=r,"keyword"===n?(t.startDef=FAt.test(r),t.endDef=t.endDef||WAt.test(r)):t.startDef=!1}return n},languageData:{autocomplete:DAt.concat(zAt).concat(MAt).concat(VAt)}},rmt=Object.freeze(Object.defineProperty({__proto__:null,webIDL:nmt},Symbol.toStringTag,{value:"Module"}));var imt="error";function omt(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var amt=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),smt=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),lmt=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),cmt=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),umt=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),Omt=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),dmt=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],hmt=["else","elseif","case","catch","finally"],fmt=["next","loop"],pmt=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],Amt=omt(pmt),mmt=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],gmt=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],vmt=omt(mmt),ymt=omt(gmt),bmt=omt(dmt),wmt=omt(hmt),Qmt=omt(fmt),$mt=omt(["end"]),Smt=omt(["do"]);function xmt(e,t){t.currentIndent++}function kmt(e,t){t.currentIndent--}function Pmt(e,t){if(e.eatSpace())return null;var n,r,i;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var o=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(o=!0),o)return e.eat(/J/i),"number";var a=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?a=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),a=!0):e.match(/^0(?![\dx])/i)&&(a=!0),a)return e.eat(/L/i),"number"}return e.match('"')?(t.tokenize=(n=e.current(),r=1==n.length,i="string",function(e,t){for(;!e.eol();){if(e.eatWhile(/[^'"]/),e.match(n))return t.tokenize=Pmt,i;e.eat(/['"]/)}return r&&(t.tokenize=Pmt),i}),t.tokenize(e,t)):e.match(umt)||e.match(cmt)?null:e.match(lmt)||e.match(amt)||e.match(Amt)?"operator":e.match(smt)?null:e.match(Smt)?(xmt(0,t),t.doInCurrentLine=!0,"keyword"):e.match(bmt)?(t.doInCurrentLine?t.doInCurrentLine=!1:xmt(0,t),"keyword"):e.match(wmt)?"keyword":e.match($mt)?(kmt(0,t),kmt(0,t),"keyword"):e.match(Qmt)?(kmt(0,t),"keyword"):e.match(ymt)||e.match(vmt)?"keyword":e.match(Omt)?"variable":(e.next(),imt)}const Tmt={name:"vb",startState:function(){return{tokenize:Pmt,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n=function(e,t){var n=t.tokenize(e,t),r=e.current();if("."===r)return"variable"===(n=t.tokenize(e,t))?"variable":imt;var i="[({".indexOf(r);return-1!==i&&xmt(0,t),-1!==(i="])}".indexOf(r))&&kmt(0,t)?imt:n}(e,t);return t.lastToken={style:n,content:e.current()},n},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(Qmt)||r.match($mt)||r.match(wmt)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:dmt.concat(hmt).concat(fmt).concat(pmt).concat(mmt).concat(gmt)}},_mt=Object.freeze(Object.defineProperty({__proto__:null,vb:Tmt},Symbol.toStringTag,{value:"Module"}));function Cmt(e){var t="error";function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),i=new RegExp("^((<>)|(<=)|(>=))"),o=new RegExp("^[\\.,]"),a=new RegExp("^[\\(\\)]"),s=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),l=n(["and","or","not","xor","is","mod","eqv","imp"]),c=["WScript","err","debug","RegExp"],u=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"].concat(["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"]);c=c.concat(["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"]),e.isASP&&(c=c.concat(["server","response","request","session","application"]),u=u.concat(["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"]));var O=n(["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"]),d=n(["true","false","nothing","empty","null"]),h=n(["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"]),f=n(c),p=n(u),A=n(["class","sub","select","while","if","function","property","with","for"]),m=n(["else","elseif","case"]),g=n(["next","loop","wend"]),v=n(["end"]),y=n(["do"]),b=n(["on error resume next","exit"]),w=n(["rem"]);function Q(e,t){t.currentIndent++}function $(e,t){t.currentIndent--}function S(e,n){if(e.eatSpace())return null;var c,u,x;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(w))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var k=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(k=!0),k)return e.eat(/J/i),"number";var P=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?P=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),P=!0):e.match(/^0(?![\dx])/i)&&(P=!0),P)return e.eat(/L/i),"number"}return e.match('"')?(n.tokenize=(c=e.current(),u=1==c.length,x="string",function(e,t){for(;!e.eol();){if(e.eatWhile(/[^'"]/),e.match(c))return t.tokenize=S,x;e.eat(/['"]/)}return u&&(t.tokenize=S),x}),n.tokenize(e,n)):e.match(i)||e.match(r)||e.match(l)?"operator":e.match(o)?null:e.match(a)?"bracket":e.match(b)?(n.doInCurrentLine=!0,"keyword"):e.match(y)?(Q(0,n),n.doInCurrentLine=!0,"keyword"):e.match(A)?(n.doInCurrentLine?n.doInCurrentLine=!1:Q(0,n),"keyword"):e.match(m)?"keyword":e.match(v)?($(0,n),$(0,n),"keyword"):e.match(g)?(n.doInCurrentLine?n.doInCurrentLine=!1:$(0,n),"keyword"):e.match(O)?"keyword":e.match(d)?"atom":e.match(p)?"variableName.special":e.match(h)||e.match(f)?"builtin":e.match(s)?"variable":(e.next(),t)}return{name:"vbscript",startState:function(){return{tokenize:S,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=function(e,n){var r=n.tokenize(e,n),i=e.current();return"."===i?(r=n.tokenize(e,n),i=e.current(),!r||"variable"!==r.substr(0,8)&&"builtin"!==r&&"keyword"!==r?t:("builtin"!==r&&"keyword"!==r||(r="variable"),u.indexOf(i.substr(1))>-1&&(r="keyword"),r)):r}(e,n);return n.lastToken={style:r,content:e.current()},null===r&&(r=null),r},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(g)||r.match(v)||r.match(m)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit}}}const Emt=Cmt({}),Rmt=Cmt({isASP:!0}),Xmt=Object.freeze(Object.defineProperty({__proto__:null,vbScript:Emt,vbScriptASP:Rmt},Symbol.toStringTag,{value:"Module"}));function Bmt(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}var Umt=Bmt("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"),Dmt=Bmt("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"),Imt=Bmt("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"),zmt=/[+\-*&%=<>!?:\/|]/;function Nmt(e,t,n){return t.tokenize=n,n(e,t)}function Mmt(e,t){var n=t.beforeParams;t.beforeParams=!1;var r=e.next();if("'"==r&&!t.inString&&t.inParams)return t.lastTokenWasBuiltin=!1,Nmt(e,t,Lmt(r));if('"'!=r){if(/[\[\]{}\(\),;\.]/.test(r))return"("==r&&n?t.inParams=!0:")"==r&&(t.inParams=!1,t.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return t.lastTokenWasBuiltin=!1,e.eatWhile(/[\w\.]/),"number";if("#"==r&&e.eat("*"))return t.lastTokenWasBuiltin=!1,Nmt(e,t,Vmt);if("#"==r&&e.match(/ *\[ *\[/))return t.lastTokenWasBuiltin=!1,Nmt(e,t,qmt);if("#"==r&&e.eat("#"))return t.lastTokenWasBuiltin=!1,e.skipToEnd(),"comment";if("$"==r)return e.eat("!"),e.eatWhile(/[\w\d\$_\.{}-]/),Imt&&Imt.propertyIsEnumerable(e.current())?"keyword":(t.lastTokenWasBuiltin=!0,t.beforeParams=!0,"builtin");if(zmt.test(r))return t.lastTokenWasBuiltin=!1,e.eatWhile(zmt),"operator";e.eatWhile(/[\w\$_{}@]/);var i=e.current();return Umt&&Umt.propertyIsEnumerable(i)?"keyword":Dmt&&Dmt.propertyIsEnumerable(i)||e.current().match(/^#@?[a-z0-9_]+ *$/i)&&"("==e.peek()&&(!Dmt||!Dmt.propertyIsEnumerable(i.toLowerCase()))?(t.beforeParams=!0,t.lastTokenWasBuiltin=!1,"keyword"):t.inString?(t.lastTokenWasBuiltin=!1,"string"):e.pos>i.length&&"."==e.string.charAt(e.pos-i.length-1)&&t.lastTokenWasBuiltin?"builtin":(t.lastTokenWasBuiltin=!1,null)}return t.lastTokenWasBuiltin=!1,t.inString?(t.inString=!1,"string"):t.inParams?Nmt(e,t,Lmt(r)):void 0}function Lmt(e){return function(t,n){for(var r,i=!1,o=!1;null!=(r=t.next());){if(r==e&&!i){o=!0;break}if('"'==e&&"$"==t.peek()&&!i){n.inString=!0,o=!0;break}i=!i&&"\\"==r}return o&&(n.tokenize=Mmt),"string"}}function Vmt(e,t){for(var n,r=!1;n=e.next();){if("#"==n&&r){t.tokenize=Mmt;break}r="*"==n}return"comment"}function qmt(e,t){for(var n,r=0;n=e.next();){if("#"==n&&2==r){t.tokenize=Mmt;break}"]"==n?r++:" "!=n&&(r=0)}return"meta"}const Fmt={name:"velocity",startState:function(){return{tokenize:Mmt,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}},Wmt=Object.freeze(Object.defineProperty({__proto__:null,velocity:Fmt},Symbol.toStringTag,{value:"Module"}));function Zmt(e){for(var t={},n=e.split(","),r=0;r<n.length;++r){var i=n[r].toUpperCase(),o=n[r].charAt(0).toUpperCase()+n[r].slice(1);t[n[r]]=!0,t[i]=!0,t[o]=!0}return t}function Ymt(e){return e.eatWhile(/[\w\$_]/),"meta"}var jmt,Gmt=Zmt("null"),Hmt={"`":Ymt,$:Ymt},Kmt=Zmt("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),Jmt=Zmt("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),egt=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/;function tgt(e,t){var n,r=e.next();if(Hmt[r]){var i=Hmt[r](e,t);if(!1!==i)return i}if('"'==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"--"==r}return!o&&i||(t.tokenize=tgt),"string.special"}),t.tokenize(e,t);if("'"==r)return t.tokenize=function(e){return function(t,n){for(var r,i=!1,o=!1;null!=(r=t.next());){if(r==e&&!i){o=!0;break}i=!i&&"--"==r}return!o&&i||(n.tokenize=tgt),"string"}}(r),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return jmt=r,null;if(/[\d']/.test(r))return e.eatWhile(/[\w\.']/),"number";if("-"==r&&e.eat("-"))return e.skipToEnd(),"comment";if(egt.test(r))return e.eatWhile(egt),"operator";e.eatWhile(/[\w\$_]/);var o=e.current();return Kmt.propertyIsEnumerable(o.toLowerCase())?(Jmt.propertyIsEnumerable(o)&&(jmt="newstatement"),"keyword"):Gmt.propertyIsEnumerable(o)?"atom":"variable"}function ngt(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function rgt(e,t,n){return e.context=new ngt(e.indented,t,n,null,e.context)}function igt(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const ogt={name:"vhdl",startState:function(e){return{tokenize:null,context:new ngt(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;jmt=null;var r=(t.tokenize||tgt)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=jmt&&":"!=jmt||"statement"!=n.type)if("{"==jmt)rgt(t,e.column(),"}");else if("["==jmt)rgt(t,e.column(),"]");else if("("==jmt)rgt(t,e.column(),")");else if("}"==jmt){for(;"statement"==n.type;)n=igt(t);for("}"==n.type&&(n=igt(t));"statement"==n.type;)n=igt(t)}else jmt==n.type?igt(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==jmt)&&rgt(t,e.column(),"statement");else igt(t);return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=tgt&&null!=e.tokenize)return 0;var r=t&&t.charAt(0),i=e.context,o=r==i.type;return"statement"==i.type?i.indented+("{"==r?0:n.unit):i.align?i.column+(o?0:1):i.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"--"}}},agt=Object.freeze(Object.defineProperty({__proto__:null,vhdl:ogt},Symbol.toStringTag,{value:"Module"}));var sgt=function(){function e(e){return{type:e,style:"keyword"}}for(var t=e("operator"),n={type:"atom",style:"atom"},r={type:"axis_specifier",style:"qualifier"},i={",":{type:"punctuation",style:null}},o=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],a=0,s=o.length;a<s;a++)i[o[a]]=e(o[a]);var l=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"];for(a=0,s=l.length;a<s;a++)i[l[a]]=n;var c=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"];for(a=0,s=c.length;a<s;a++)i[c[a]]=t;var u=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"];for(a=0,s=u.length;a<s;a++)i[u[a]]=r;return i}();function lgt(e,t,n){return t.tokenize=n,n(e,t)}function cgt(e,t){var n=e.next(),r=!1,i=function(e){return'"'===e.current()?e.match(/^[^\"]+\"\:/,!1):"'"===e.current()&&e.match(/^[^\"]+\'\:/,!1)}(e);if("<"==n){if(e.match("!--",!0))return lgt(e,t,fgt);if(e.match("![CDATA",!1))return t.tokenize=pgt,"tag";if(e.match("?",!1))return lgt(e,t,Agt);var o=e.eat("/");e.eatSpace();for(var a,s="";a=e.eat(/[^\s\u00a0=<>\"\'\/?]/);)s+=a;return lgt(e,t,function(e,t){return function(n,r){return n.eatSpace(),t&&n.eat(">")?(bgt(r),r.tokenize=cgt,"tag"):(n.eat("/")||ygt(r,{type:"tag",name:e,tokenize:cgt}),n.eat(">")?(r.tokenize=cgt,"tag"):(r.tokenize=hgt,"tag"))}}(s,o))}if("{"==n)return ygt(t,{type:"codeblock"}),null;if("}"==n)return bgt(t),null;if(mgt(t))return">"==n?"tag":"/"==n&&e.eat(">")?(bgt(t),"tag"):"variable";if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===n&&e.eat(":"))return ygt(t,{type:"comment"}),lgt(e,t,ugt);if(i||'"'!==n&&"'"!==n){if("$"===n)return lgt(e,t,dgt);if(":"===n&&e.eat("="))return"keyword";if("("===n)return ygt(t,{type:"paren"}),null;if(")"===n)return bgt(t),null;if("["===n)return ygt(t,{type:"bracket"}),null;if("]"===n)return bgt(t),null;var l=sgt.propertyIsEnumerable(n)&&sgt[n];if(i&&'"'===n)for(;'"'!==e.next(););if(i&&"'"===n)for(;"'"!==e.next(););l||e.eatWhile(/[\w\$_-]/);var c=e.eat(":");!e.eat(":")&&c&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(r=!0);var u=e.current();return l=sgt.propertyIsEnumerable(u)&&sgt[u],r&&!l&&(l={type:"function_call",style:"def"}),function(e){return vgt(e,"xmlconstructor")}(t)?(bgt(t),"variable"):("element"!=u&&"attribute"!=u&&"axis_specifier"!=l.type||ygt(t,{type:"xmlconstructor"}),l?l.style:"variable")}return Ogt(e,t,n)}function ugt(e,t){for(var n,r=!1,i=!1,o=0;n=e.next();){if(")"==n&&r){if(!(o>0)){bgt(t);break}o--}else":"==n&&i&&o++;r=":"==n,i="("==n}return"comment"}function Ogt(e,t,n,r){let i=function(e,t){return function(n,r){for(var i;i=n.next();){if(i==e){bgt(r),t&&(r.tokenize=t);break}if(n.match("{",!1)&&ggt(r))return ygt(r,{type:"codeblock"}),r.tokenize=cgt,"string"}return"string"}}(n,r);return ygt(t,{type:"string",name:n,tokenize:i}),lgt(e,t,i)}function dgt(e,t){var n=/[\w\$_-]/;if(e.eat('"')){for(;'"'!==e.next(););e.eat(":")}else e.eatWhile(n),e.match(":=",!1)||e.eat(":");return e.eatWhile(n),t.tokenize=cgt,"variable"}function hgt(e,t){var n=e.next();return"/"==n&&e.eat(">")?(ggt(t)&&bgt(t),mgt(t)&&bgt(t),"tag"):">"==n?(ggt(t)&&bgt(t),"tag"):"="==n?null:'"'==n||"'"==n?Ogt(e,t,n,hgt):(ggt(t)||ygt(t,{type:"attribute",tokenize:hgt}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(bgt(t),t.tokenize=cgt),"attribute")}function fgt(e,t){for(var n;n=e.next();)if("-"==n&&e.match("->",!0))return t.tokenize=cgt,"comment"}function pgt(e,t){for(var n;n=e.next();)if("]"==n&&e.match("]",!0))return t.tokenize=cgt,"comment"}function Agt(e,t){for(var n;n=e.next();)if("?"==n&&e.match(">",!0))return t.tokenize=cgt,"processingInstruction"}function mgt(e){return vgt(e,"tag")}function ggt(e){return vgt(e,"attribute")}function vgt(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function ygt(e,t){e.stack.push(t)}function bgt(e){e.stack.pop();var t=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=t||cgt}const wgt={name:"xquery",startState:function(){return{tokenize:cgt,cc:[],stack:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}},Qgt=Object.freeze(Object.defineProperty({__proto__:null,xQuery:wgt},Symbol.toStringTag,{value:"Module"}));var $gt=function(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),Sgt="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",xgt=new RegExp("(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)"),kgt=new RegExp(Sgt),Pgt=new RegExp(Sgt+"?_"+Sgt),Tgt=new RegExp(Sgt+"\\s*\\(");function _gt(e,t){var n;if('"'===(n=e.next()))return t.tokenize=Cgt,t.tokenize(e,t);if("/"===n){if(e.eat("*"))return t.tokenize=Egt,t.tokenize(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}e.backUp(1);var r=e.match(/^(\w+)\s*\(/,!1);null!==r&&$gt.hasOwnProperty(r[1])&&t.scopes.push("bodied");var i=Rgt(t);if("bodied"===i&&"["===n&&t.scopes.pop(),"["!==n&&"{"!==n&&"("!==n||t.scopes.push(n),("["===(i=Rgt(t))&&"]"===n||"{"===i&&"}"===n||"("===i&&")"===n)&&t.scopes.pop(),";"===n)for(;"bodied"===i;)t.scopes.pop(),i=Rgt(t);return e.match(/\d+ *#/,!0,!1)?"qualifier":e.match(xgt,!0,!1)?"number":e.match(Pgt,!0,!1)?"variableName.special":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(Tgt,!0,!1)?(e.backUp(1),"variableName.function"):e.match(kgt,!0,!1)?"variable":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function Cgt(e,t){for(var n,r=!1,i=!1;null!=(n=e.next());){if('"'===n&&!i){r=!0;break}i=!i&&"\\"===n}return r&&!i&&(t.tokenize=_gt),"string"}function Egt(e,t){for(var n,r;null!=(r=e.next());){if("*"===n&&"/"===r){t.tokenize=_gt;break}n=r}return"comment"}function Rgt(e){var t=null;return e.scopes.length>0&&(t=e.scopes[e.scopes.length-1]),t}const Xgt={name:"yacas",startState:function(){return{tokenize:_gt,scopes:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},indent:function(e,t,n){if(e.tokenize!==_gt&&null!==e.tokenize)return null;var r=0;return"]"!==t&&"];"!==t&&"}"!==t&&"};"!==t&&");"!==t||(r=-1),(e.scopes.length+r)*n.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},Bgt=Object.freeze(Object.defineProperty({__proto__:null,yacas:Xgt},Symbol.toStringTag,{value:"Module"}));function Ugt(e){var t,n;e?(t=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,n=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(t=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,n=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var r=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,i=/^(n?[zc]|p[oe]?|m)\b/i,o=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,a=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(s,l){if(s.column()||(l.context=0),s.eatSpace())return null;var c;if(s.eatWhile(/\w/)){if(e&&s.eat(".")&&s.eatWhile(/\w/),c=s.current(),!s.indentation())return s.match(a)?"number":null;if((1==l.context||4==l.context)&&r.test(c))return l.context=4,"variable";if(2==l.context&&i.test(c))return l.context=4,"variableName.special";if(t.test(c))return l.context=1,"keyword";if(n.test(c))return l.context=2,"keyword";if(4==l.context&&a.test(c))return"number";if(o.test(c))return"error"}else{if(s.eat(";"))return s.skipToEnd(),"comment";if(s.eat('"')){for(;(c=s.next())&&'"'!=c;)"\\"==c&&s.next();return"string"}if(s.eat("'")){if(s.match(/\\?.'/))return"number"}else if(s.eat(".")||s.sol()&&s.eat("#")){if(l.context=5,s.eatWhile(/\w/))return"def"}else if(s.eat("$")){if(s.eatWhile(/[\da-f]/i))return"number"}else if(s.eat("%")){if(s.eatWhile(/[01]/))return"number"}else s.next()}return null}}}const Dgt=Ugt(!1),Igt=Ugt(!0),zgt=Object.freeze(Object.defineProperty({__proto__:null,ez80:Igt,z80:Dgt},Symbol.toStringTag,{value:"Module"}));function Ngt(e){return{name:"mscgen",startState:Wgt,copyState:Zgt,token:(t=e,function(e,n){if(e.match(Fgt(t.brackets),!0,!0))return"bracket";if(!n.inComment){if(e.match(/\/\*[^\*\/]*/,!0,!0))return n.inComment=!0,"comment";if(e.match(Fgt(t.singlecomment),!0,!0))return e.skipToEnd(),"comment"}if(n.inComment)return e.match(/[^\*\/]*\*\//,!0,!0)?n.inComment=!1:e.skipToEnd(),"comment";if(!n.inString&&e.match(/\"(\\\"|[^\"])*/,!0,!0))return n.inString=!0,"string";if(n.inString)return e.match(/[^\"]*\"/,!0,!0)?n.inString=!1:e.skipToEnd(),"string";if(t.keywords&&e.match(qgt(t.keywords),!0,!0))return"keyword";if(e.match(qgt(t.options),!0,!0))return"keyword";if(e.match(qgt(t.arcsWords),!0,!0))return"keyword";if(e.match(Fgt(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&e.match(Fgt(t.operators),!0,!0))return"operator";if(t.constants&&e.match(Fgt(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&e.match("[",!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(null!==t.attributes&&e.match(qgt(t.attributes),!0,!0))return"attribute";if(e.match("]",!0,!0))return t.inAttributeList=!1,"bracket"}return e.next(),null}),languageData:{commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}};var t}const Mgt=Ngt({keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),Lgt=Ngt({keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),Vgt=Ngt({keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]});function qgt(e){return new RegExp("^\\b("+e.join("|")+")\\b","i")}function Fgt(e){return new RegExp("^(?:"+e.join("|")+")","i")}function Wgt(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function Zgt(e){return{inComment:e.inComment,inString:e.inString,inAttributeList:e.inAttributeList,inScript:e.inScript}}const Ygt=Object.freeze(Object.defineProperty({__proto__:null,mscgen:Mgt,msgenny:Lgt,xu:Vgt},Symbol.toStringTag,{value:"Module"})),jgt=Yje.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new Rje("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new Rje("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new Rje("[~RPwxU~ZOp~~",11,15),new Rje("[~RPrsU~ZOn~~",11,14),new Rje("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new Rje("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),Ggt=HKe.parser.configure({top:"SingleExpression"}),Hgt=jgt.configure({props:[DDe({Text:iIe.content,Is:iIe.definitionOperator,AttributeName:iIe.attributeName,VueAttributeName:iIe.keyword,Identifier:iIe.variableName,"AttributeValue ScriptAttributeValue":iIe.attributeValue,Entity:iIe.character,"{{ }}":iIe.brace,"@ :":iIe.punctuation})]}),Kgt={parser:Ggt},Jgt={parser:Hgt.configure({wrap:vDe((e,t)=>"InterpolationContent"==e.name?Kgt:null)})},evt={parser:Hgt.configure({wrap:vDe((e,t)=>"AttributeScript"==e.name?Kgt:null),top:"Attribute"})},tvt=DJe();function nvt(e){return e.configure({dialect:"selfClosing",wrap:vDe(ivt)},"vue")}const rvt=nvt(tvt.language);function ivt(e,t){switch(e.name){case"Attribute":return/^(@|:|v-)/.test(t.read(e.from,e.from+2))?evt:null;case"Text":return Jgt}return null}const ovt=Object.freeze(Object.defineProperty({__proto__:null,vue:function(e={}){let t=tvt;if(e.base){if("html"!=e.base.language.name||!(e.base.language instanceof OIe))throw new RangeError("The base option must be the result of calling html(...)");t=e.base}return new wIe(t.language==tvt.language?rvt:nvt(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])},vueLanguage:rvt},Symbol.toStringTag,{value:"Module"})),avt=new Xje(e=>{let t=e.pos;for(;;){if(10==e.next){e.advance();break}if(123==e.next&&123==e.peek(1)||e.next<0)break;e.advance()}e.pos>t&&e.acceptToken(1)});function svt(e,t,n){return new Xje(r=>{let i=r.pos;for(;r.next!=e&&r.next>=0&&(n||38!=r.next&&(123!=r.next||123!=r.peek(1)));)r.advance();r.pos>i&&r.acceptToken(t)})}const lvt=svt(39,33,!1),cvt=svt(34,34,!1),uvt=svt(39,35,!0),Ovt=svt(34,36,!0),dvt=Yje.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^",stateData:"&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O",goto:"#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf",nodeNames:"⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue",maxTerm:42,nodeProps:[["openedBy",3,"{{",15,"("],["closedBy",4,"}}",14,")"],["isolate",-4,5,19,25,27,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*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#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~",tokenizers:[avt,lvt,cvt,uvt,Ovt,0,1],topRules:{Content:[0,2],Attribute:[1,9]},tokenPrec:0}),hvt=HKe.parser.configure({top:"SingleExpression"}),fvt=dvt.configure({props:[DDe({Text:iIe.content,Is:iIe.definitionOperator,AttributeName:iIe.attributeName,"AttributeValue ExpressionAttributeValue StatementAttributeValue":iIe.attributeValue,Entity:iIe.character,InvalidEntity:iIe.invalid,"BoundAttributeName/Identifier":iIe.attributeName,"EventName/Identifier":iIe.special(iIe.attributeName),"ReferenceName/Identifier":iIe.variableName,"DirectiveName/Identifier":iIe.keyword,"{{ }}":iIe.brace,"( )":iIe.paren,"[ ]":iIe.bracket,"# '*'":iIe.punctuation})]}),pvt={parser:hvt},Avt={parser:HKe.parser},mvt={parser:fvt.configure({wrap:vDe((e,t)=>"InterpolationContent"==e.name?pvt:null)})},gvt={parser:fvt.configure({wrap:vDe((e,t)=>{var n;return"InterpolationContent"==e.name?pvt:"AttributeInterpolation"!=e.name?null:"StatementAttributeValue"==(null===(n=e.node.parent)||void 0===n?void 0:n.name)?Avt:pvt}),top:"Attribute"})},vvt=DJe({selfClosingTags:!0});function yvt(e){return e.configure({wrap:vDe(wvt)},"angular")}const bvt=yvt(vvt.language);function wvt(e,t){switch(e.name){case"Attribute":return/^[*#(\[]|\{\{/.test(t.read(e.from,e.to))?gvt:null;case"Text":return mvt}return null}const Qvt=Object.freeze(Object.defineProperty({__proto__:null,angular:function(e={}){let t=vvt;if(e.base){if("html"!=e.base.language.name||!(e.base.language instanceof OIe))throw new RangeError("The base option must be the result of calling html(...)");t=e.base}return new wIe(t.language==vvt.language?bvt:yvt(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])},angularLanguage:bvt},Symbol.toStringTag,{value:"Module"}));export{rr as $,im as A,ap as B,op as C,gi as D,ar as E,pa as F,ia as G,na as H,Vr as I,Ka as J,hn as K,Sp as L,qn as M,d as N,Lf as O,ep as P,ih as Q,Di as R,la as S,fa as T,xr as U,zp as V,Xp as W,ui as X,Oi as Y,ha as Z,ya as _,y as a,$l as a$,va as a0,re as a1,le as a2,Ta as a3,Fi as a4,ir as a5,Ci as a6,Sa as a7,Qa as a8,Te as a9,pv as aA,Q as aB,wv as aC,Zv as aD,pn as aE,Tf as aF,ip as aG,Gv as aH,rn as aI,Tp as aJ,R as aK,fp as aL,ah as aM,Bf as aN,Ti as aO,Ei as aP,V as aQ,ey as aR,ce as aS,ba as aT,np as aU,Sl as aV,Hf as aW,kl as aX,yi as aY,zf as aZ,zl as a_,Bs as aa,vs as ab,wa as ac,ra as ad,$p as ae,Hp as af,Qi as ag,Qn as ah,oh as ai,Yt as aj,yn as ak,Jh as al,bi as am,gp as an,fl as ao,jg as ap,Ff as aq,kp as ar,Gt as as,on as at,Wi as au,Dl as av,Ui as aw,Bi as ax,mp as ay,vp as az,P as b,UW as b$,Cp as b0,T as b1,zi as b2,lp as b3,Gd as b4,iy as b5,uy as b6,fy as b7,gy as b8,wy as b9,aje as bA,Gy as bB,Ky as bC,Hy as bD,nw as bE,Xu as bF,su as bG,Dy as bH,bPe as bI,wPe as bJ,rb as bK,cw as bL,$a as bM,dw as bN,Aw as bO,yw as bP,$w as bQ,TT as bR,U_ as bS,eE as bT,NF as bU,wz as bV,sJ as bW,aJ as bX,E1 as bY,qq as bZ,TW as b_,xy as ba,bp as bb,dp as bc,De as bd,Up as be,Id as bf,_y as bg,qf as bh,Zf as bi,Fl as bj,Df as bk,Ep as bl,Ip as bm,Bp as bn,Dp as bo,mg as bp,Qg as bq,vg as br,bg as bs,yg as bt,wg as bu,gg as bv,_p as bw,Wl as bx,M as by,jt as bz,x as c,yq as c0,R1 as c1,sz as c2,fW as c3,lW as c4,UG as c5,vW as c6,LW as c7,dZ as c8,mZ as c9,A1 as ca,Gq as cb,UK as cc,wK as cd,fF as ce,NK as cf,LK as cg,FK as ch,VK as ci,IK as cj,Yhe as ck,Zhe as cl,hPe as cm,Uu as cn,d2 as co,Ha as d,Ba as e,Nf as f,Fd as g,v as h,Vf as i,un as j,hr as k,fn as l,cp as m,L as n,z as o,vi as p,Or as q,cn as r,tp as s,wi as t,Rp as u,sr as v,ts as w,ln as x,S as y,ze as z};
1074